158 lines
2.2 KiB
CSS
158 lines
2.2 KiB
CSS
|
:root {
|
||
|
--clarity: 1;
|
||
|
|
||
|
--theme: #c3202f;
|
||
|
--white: #FFF;
|
||
|
--black: #000;
|
||
|
--tint: #ACACAC;
|
||
|
--background: #EEE;
|
||
|
--surface: #FFF;
|
||
|
--primary: var(--theme);
|
||
|
|
||
|
}
|
||
|
|
||
|
/* CSS Reset */
|
||
|
|
||
|
html {
|
||
|
box-sizing: border-box;
|
||
|
font-family: "Roboto", georgia, serif;
|
||
|
font-size: 16px;
|
||
|
line-height: 1.4em;
|
||
|
color: #474747;
|
||
|
-webkit-font-smoothing: antialiased;
|
||
|
}
|
||
|
|
||
|
*,
|
||
|
*:before,
|
||
|
*:after {
|
||
|
box-sizing: inherit;
|
||
|
}
|
||
|
|
||
|
html,
|
||
|
body {
|
||
|
height: 100%;
|
||
|
}
|
||
|
|
||
|
body,
|
||
|
html,
|
||
|
span,
|
||
|
div {
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
font-weight: normal;
|
||
|
}
|
||
|
|
||
|
ol,
|
||
|
ul {
|
||
|
list-style: none;
|
||
|
}
|
||
|
|
||
|
img,
|
||
|
embed,
|
||
|
iframe,
|
||
|
object,
|
||
|
audio,
|
||
|
video {
|
||
|
height: auto;
|
||
|
max-width: 100%;
|
||
|
border: none;
|
||
|
}
|
||
|
|
||
|
table {
|
||
|
border-collapse: collapse;
|
||
|
border-spacing: 0;
|
||
|
}
|
||
|
|
||
|
input[type="checkbox"],
|
||
|
input[type="radio"] {
|
||
|
margin-right: .5em;
|
||
|
}
|
||
|
|
||
|
a {
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
|
||
|
a:hover {
|
||
|
text-decoration: underline;
|
||
|
}
|
||
|
|
||
|
/* Nav */
|
||
|
|
||
|
.nav {
|
||
|
background: var(--theme);
|
||
|
color: var(--white);
|
||
|
}
|
||
|
|
||
|
.nav a {color: var(--white)}
|
||
|
|
||
|
/* Layout */
|
||
|
|
||
|
.row {
|
||
|
display: flex;
|
||
|
direction: row;
|
||
|
align-items: center;
|
||
|
align-content: space-between;
|
||
|
justify-content: space-between;
|
||
|
}
|
||
|
|
||
|
.col, .col-1, .col-2, .col-3, .col-4, .col-5 {
|
||
|
display: flex;
|
||
|
direction: column;
|
||
|
}
|
||
|
|
||
|
.col-1 {flex: 1}
|
||
|
.col-2 {flex: 2}
|
||
|
.col-3 {flex: 3}
|
||
|
.col-4 {flex: 4}
|
||
|
.col-5 {flex: 5}
|
||
|
|
||
|
.content {
|
||
|
padding: .5em;
|
||
|
}
|
||
|
|
||
|
.box {
|
||
|
padding: .5em;
|
||
|
margin: .5em;
|
||
|
border: 1px solid var(--primary);
|
||
|
}
|
||
|
|
||
|
.title {
|
||
|
font-size: 1.1rem;
|
||
|
font-weight: bold;
|
||
|
margin: 0;
|
||
|
}
|
||
|
|
||
|
.weak {color: #727272}
|
||
|
|
||
|
|
||
|
h1 {font-size: 2.4em}
|
||
|
h2 {font-size: 1.8em}
|
||
|
h3 {font-size: 1.6em}
|
||
|
h4 {font-size: 1.4em}
|
||
|
h5 {font-size: 1.2em}
|
||
|
h6 {font-size: 1em}
|
||
|
|
||
|
/* utility */
|
||
|
|
||
|
.capitalized {text-transform: capitalize}
|
||
|
.uppercased {text-transform: uppercase}
|
||
|
.lowercased {text-transform: lowercase}
|
||
|
.inline {display: inline;}
|
||
|
|
||
|
|
||
|
.shadowed {
|
||
|
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
|
||
|
}
|
||
|
|
||
|
.surfaced {
|
||
|
background-color: var(--surface);
|
||
|
margin-bottom: .5rem;
|
||
|
border-bottom: 1px solid var(--tint);
|
||
|
}
|
||
|
|
||
|
.right {float: right}
|
||
|
.left {float: left}
|
||
|
.centered {text-align: center;}
|
||
|
|
||
|
|