uci-hugo-landingpage/assets/css/base.css

171 lines
2.0 KiB
CSS
Raw Normal View History

/* resets */
2017-03-10 22:59:27 -08:00
*,
*::after,
*::before {
box-sizing: border-box;
margin: 0;
padding: 0;
border: 0;
2017-03-10 22:59:27 -08:00
}
/* regions */
body {
2017-03-10 22:59:27 -08:00
display: flex;
color: black;
background-color: white;
align-items: center;
font-family: 'Roboto', sans-serif;
font-size: 1.4rem;
flex-direction: column;
/* 14px default before jquery scalling */
2017-03-10 22:59:27 -08:00
}
.section {
display: flex;
padding-top: 1em;
padding-bottom: 1em;
align-items: center;
flex-direction: column;
2017-03-10 22:59:27 -08:00
}
/* mobile first column */
.section__container {
display: flex;
width: 95%;
align-items: center;
flex-direction: column;
}
#footer {
min-height: 300px;
2017-03-10 22:59:27 -08:00
}
/* Typography */
body {
font-size: 12px;
}
2017-03-10 22:59:27 -08:00
h1,
h2,
h3,
h4,
h5,
h6 {
/* display: block; */
text-align: center;
font-weight: bold;
line-height: 1.45;
}
2017-03-10 22:59:27 -08:00
h1 {
font-size: 2em;
}
2017-03-10 22:59:27 -08:00
h2 {
font-size: 1.5em;
}
2017-03-10 22:59:27 -08:00
h3 {
font-size: 1.17em;
2017-03-10 22:59:27 -08:00
}
h4 {
font-size: 1em;
}
2017-03-10 22:59:27 -08:00
h5 {
font-size: 0.83em;
2017-03-10 22:59:27 -08:00
}
h6 {
font-size: 0.67em;
}
2017-03-10 22:59:27 -08:00
p {
text-align: left;
font-size: 1em;
line-height: 1.2;
}
2017-03-10 22:59:27 -08:00
li {
font-size: 1em;
2017-03-10 22:59:27 -08:00
}
/* elements */
nav,
ul {
list-style: none;
}
2017-03-10 22:59:27 -08:00
a {
color: inherit;
opacity: 0.8;
outline: 0;
text-decoration: none;
cursor: pointer;
2017-03-10 22:59:27 -08:00
}
a:hover {
opacity: 1;
2017-03-10 22:59:27 -08:00
}
2017-03-11 20:11:20 -08:00
.btn {
padding: 0.3em;
color: white;
background-color: black;
border: 4px solid grey;
border-radius: 10px;
text-transform: uppercase;
font-weight: bold;
cursor: pointer;
2017-03-10 22:59:27 -08:00
}
img {
max-width: 100%;
2017-03-10 22:59:27 -08:00
}
figure {
display: block;
padding: 1em;
2017-03-10 22:59:27 -08:00
}
figcaption {
display: block;
margin: 1em 0;
text-align: center;
font-style: italic;
orphans: 2;
2017-03-10 22:59:27 -08:00
}
/* divider */
2017-03-10 22:59:27 -08:00
hr {
width: 50%;
height: 0;
margin: 4px auto;
border-top-color: white;
border-bottom-color: rgba(0, 0, 0, 0.2);
border-width: 2px;
border-style: solid;
2017-03-10 22:59:27 -08:00
}
.flex-col-center {
display: flex;
align-items: center;
flex-direction: column;
2017-03-10 22:59:27 -08:00
}
.flex-col-left {
display: flex;
align-items: flex-start;
flex-direction: column;
2017-03-10 22:59:27 -08:00
}
.flex-row {
display: flex;
align-content: center;
flex-direction: row;
flex-wrap: wrap;
justify-content: flex-start;
2017-03-10 22:59:27 -08:00
}