150 lines
2.6 KiB
CSS
150 lines
2.6 KiB
CSS
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,700");
|
|
|
|
:root {
|
|
--background: #222;
|
|
--background-secondary: #111;
|
|
--foreground: #DEE;
|
|
--accent: #159957;
|
|
--accent-secondary: #155799;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--background);
|
|
color: var(--foreground);
|
|
font-family: "Open Sans", sans-serif;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2em;
|
|
}
|
|
|
|
h1:target, h2:target, h3:target, h4:target, h5:target, h6:target {
|
|
text-shadow: 0em 0em 0.2em;
|
|
}
|
|
|
|
a {
|
|
color: #1E6BB8;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
hr {
|
|
border-style: none;
|
|
background-image: linear-gradient(to right, #3FA244 25%, #38387F 25%, #38387F 50%, #C40026 50%, #C40026 75%, #F2AB00 75%, #F2AB00 100%);
|
|
height: 2px;
|
|
}
|
|
|
|
header {
|
|
padding: 5rem 6rem;
|
|
text-align: center;
|
|
background-image: linear-gradient(2rad, var(--accent-secondary), var(--accent));
|
|
}
|
|
|
|
footer > hr {
|
|
background: var(--background-secondary);
|
|
opacity: 0.7;
|
|
}
|
|
|
|
p {
|
|
padding: 0em 0.5em;
|
|
}
|
|
|
|
img {
|
|
border-radius: 0.3rem;
|
|
max-width: 100%;
|
|
}
|
|
|
|
blockquote, pre {
|
|
border-radius: 0.15rem;
|
|
box-shadow: var(--background-secondary) 0rem 0rem 0.15rem;
|
|
margin: 0rem 2rem;
|
|
}
|
|
|
|
blockquote {
|
|
border-color: var(--accent-secondary);
|
|
border-left-width: 0.2rem;
|
|
border-left-style: solid;
|
|
}
|
|
|
|
pre {
|
|
white-space: pre-wrap;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.shadow {
|
|
text-shadow: var(--background) 0em 0em 0.08em;
|
|
}
|
|
|
|
.page-content {
|
|
font-size: 1.1rem;
|
|
margin: auto;
|
|
max-width: 75%;
|
|
padding: 2rem 5rem;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.page-content :first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.page-content h1, .page-content h2, .page-content h3, .page-content h4, .page-content h5, .page-content h6 {
|
|
color: var(--accent);
|
|
font-weight: normal;
|
|
margin-top: 2rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.title {
|
|
font-size: 3.25rem;
|
|
margin-top: 0;
|
|
margin-bottom: 0.1rem;
|
|
}
|
|
|
|
.title > a {
|
|
color: var(--foreground);
|
|
}
|
|
|
|
.subtitle {
|
|
font-size: 1.25rem;
|
|
font-weight: normal;
|
|
margin-bottom: 2rem;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.button {
|
|
color: rgba(255, 255, 255, 0.7);
|
|
background-color: rgba(255, 255, 255, 0.08);
|
|
border-color: rgba(255, 255, 255, 0.2);
|
|
transition: color 0.2s, background-color 0.2s, border-color 0.2s;
|
|
border-style: solid;
|
|
border-width: 1px;
|
|
border-radius: 0.3rem;
|
|
padding: 0.75rem 1rem;
|
|
}
|
|
|
|
.button:hover {
|
|
color: rgba(255, 255, 255, 0.8);
|
|
background-color: rgba(255, 255, 255, 0.2);
|
|
border-color: rgba(255, 255, 255, 0.3);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.button:active {
|
|
outline: 0;
|
|
}
|
|
|
|
.button + .button {
|
|
margin-left: 1rem;
|
|
}
|
|
|
|
.power-indicator {
|
|
background-image: radial-gradient(ellipse, red 60%, transparent 75%);
|
|
width: 2.25rem;
|
|
height: 0.9rem;
|
|
}
|