uci-hugo-landingpage/static/css/page.css

131 lines
1.9 KiB
CSS
Raw Normal View History

2017-03-10 22:59:27 -08:00
/* sections */
2017-03-10 22:59:27 -08:00
.section-headline {
text-align: center;
}
2017-03-10 22:59:27 -08:00
.section__content {
display: flex;
flex-direction: column;
align-items: center;
}
2017-03-11 20:11:20 -08:00
.section__content ul {
display: flex;
flex-direction: column;
align-items: flex-start;
max-width: 80%;
padding-top: 0.3em;
2017-03-11 20:11:20 -08:00
padding-bottom: 1em;
padding-left: 0.5em;
padding-right: 0.5em;
2017-03-11 20:11:20 -08:00
}
.section__content li {
padding-bottom: 0.7em;
2017-03-11 20:11:20 -08:00
}
.section__content li::before {
font-family: FontAwesome;
content: "\f18e";
padding-right: 0.5em;
padding-left: 0;
2017-03-11 20:11:20 -08:00
}
.section__content ul li {
text-indent: -1.2rem;
2017-03-11 20:11:20 -08:00
}
2017-03-10 22:59:27 -08:00
.section--even {
color: white;
background-color: black;
2017-03-11 20:11:20 -08:00
}
.section--even .btn {
color: black;
background-color: white;
text-transform: uppercase;
2017-03-04 20:02:56 -08:00
}
2017-03-10 22:59:27 -08:00
.section--footer {
color: white;
background-color: darkgrey;
min-height: 4000px;
}
/* ----------------
2017-03-10 22:59:27 -08:00
Hero Section
---------------- */
2017-03-10 22:59:27 -08:00
#hero {
background-image: url("../images/hero.jpg");
background-size: cover;
background-position: center;
display: flex;
align-items: center;
justify-content: center;
}
2017-03-10 22:59:27 -08:00
#hero .text {
text-align: center;
color: white;
}
/* ----------------
2017-03-10 22:59:27 -08:00
Components/Shortcodes Styling
---------------- */
/* box creates a flexbox wrapper */
2017-03-10 22:59:27 -08:00
.box {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-content: center;
justify-content: center;
padding: 0.5em;
}
.box--column {
flex-direction: column;
align-items: center;
}
.box--image {
max-width: 450px;
}
.box--headline {
}
.box--text {
}
2017-03-10 22:59:27 -08:00
.box--btn {
padding: 1rem;
}
2017-03-10 22:59:27 -08:00
.box__embed {
/*height: 100vh;*/
width: 100%;
2017-03-10 22:59:27 -08:00
display: flex;
flex-direction: column;
flex-wrap: nowrap;
justify-content: center;
2017-03-10 22:59:27 -08:00
align-items: center;
}
/*turn off default bullets*/
2017-03-10 22:59:27 -08:00
.box--gallery {
list-style: none;
}
.box--gallery li,
.box--gallery__item {
padding: 0.2em;
}
/*turn off fontawesome bullets*/
.box--gallery li::before,
.box--gallery__item li::before {
display: none;
}