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

171 lines
2.0 KiB
CSS

/* resets */
*,
*::after,
*::before {
box-sizing: border-box;
margin: 0;
padding: 0;
border: 0;
}
/* regions */
body {
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 */
}
.section {
display: flex;
padding-top: 1em;
padding-bottom: 1em;
align-items: center;
flex-direction: column;
}
/* mobile first column */
.section__container {
display: flex;
width: 95%;
align-items: center;
flex-direction: column;
}
#footer {
min-height: 300px;
}
/* Typography */
body {
font-size: 12px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
/* display: block; */
text-align: center;
font-weight: bold;
line-height: 1.45;
}
h1 {
font-size: 2em;
}
h2 {
font-size: 1.5em;
}
h3 {
font-size: 1.17em;
}
h4 {
font-size: 1em;
}
h5 {
font-size: 0.83em;
}
h6 {
font-size: 0.67em;
}
p {
text-align: left;
font-size: 1em;
line-height: 1.2;
}
li {
font-size: 1em;
}
/* elements */
nav,
ul {
list-style: none;
}
a {
color: inherit;
opacity: 0.8;
outline: 0;
text-decoration: none;
cursor: pointer;
}
a:hover {
opacity: 1;
}
.btn {
padding: 0.3em;
color: white;
background-color: black;
border: 4px solid grey;
border-radius: 10px;
text-transform: uppercase;
font-weight: bold;
cursor: pointer;
}
img {
max-width: 100%;
}
figure {
display: block;
padding: 1em;
}
figcaption {
display: block;
margin: 1em 0;
text-align: center;
font-style: italic;
orphans: 2;
}
/* divider */
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;
}
.flex-col-center {
display: flex;
align-items: center;
flex-direction: column;
}
.flex-col-left {
display: flex;
align-items: flex-start;
flex-direction: column;
}
.flex-row {
display: flex;
align-content: center;
flex-direction: row;
flex-wrap: wrap;
justify-content: flex-start;
}