2020-08-16 05:25:54 -05:00
|
|
|
/*
|
|
|
|
* styles.css
|
|
|
|
* Copyright (C) 2020 Vintage Salt
|
|
|
|
*
|
|
|
|
* Distributed under terms of the MIT license.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* GLOBALS */
|
|
|
|
|
|
|
|
:root {
|
2020-08-16 12:08:38 -05:00
|
|
|
--background-bright: #fdfcfa;
|
|
|
|
--background: #ecebe9;
|
2021-02-14 20:07:03 -06:00
|
|
|
--line: rgba(0,0,0,0.1);
|
2021-02-09 05:24:58 -06:00
|
|
|
--greenlink: #327117;
|
|
|
|
--greenlink-hover: #47b625;
|
2021-05-14 13:41:49 -05:00
|
|
|
--warning: #f7cf04;
|
|
|
|
--error: #d95757;
|
2020-08-16 12:08:38 -05:00
|
|
|
--link: #286a9d;
|
|
|
|
--link-hover: #3ea5f3;
|
2021-02-14 20:05:02 -06:00
|
|
|
--shadow: 8px -5px rgba(0,0,0,0.1);
|
2020-08-16 12:08:38 -05:00
|
|
|
--text: #414040;
|
2020-09-23 20:01:46 -05:00
|
|
|
--text-code: #a7674e;
|
2020-08-16 05:25:54 -05:00
|
|
|
}
|
|
|
|
html {
|
|
|
|
overflow-y: scroll;
|
|
|
|
}
|
|
|
|
body {
|
|
|
|
background: var(--background);
|
|
|
|
color: var(--text);
|
2020-09-01 06:43:27 -05:00
|
|
|
font-family: "Roboto", sans-serif;
|
2020-08-16 05:25:54 -05:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* TYPES */
|
|
|
|
/* a */
|
|
|
|
a {
|
|
|
|
color: var(--link);
|
|
|
|
text-decoration: none;
|
2021-01-20 19:45:28 -06:00
|
|
|
transition: .04s ease-in;
|
2020-08-16 05:25:54 -05:00
|
|
|
}
|
|
|
|
a:hover {
|
|
|
|
color: var(--link-hover);
|
|
|
|
}
|
|
|
|
code {
|
2020-09-23 20:01:46 -05:00
|
|
|
color: var(--text-code);
|
2020-08-16 05:40:05 -05:00
|
|
|
display: inline-block;
|
2020-09-23 20:01:46 -05:00
|
|
|
font-size: 12pt;
|
2020-08-16 05:25:54 -05:00
|
|
|
padding: 2px 4px;
|
|
|
|
}
|
2020-08-16 06:32:49 -05:00
|
|
|
dl {
|
|
|
|
list-style-type: none;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
dl dt {
|
|
|
|
font-weight: bold;
|
|
|
|
margin: 1em 0 0 0;
|
|
|
|
}
|
|
|
|
dl dd {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2021-05-07 00:54:01 -05:00
|
|
|
ol,ul {
|
|
|
|
margin: 1em 2em;
|
|
|
|
}
|
|
|
|
ol li,ul li {
|
|
|
|
padding: 0.25em 0.5em;
|
|
|
|
}
|
2020-08-16 05:25:54 -05:00
|
|
|
|
2020-08-16 05:40:05 -05:00
|
|
|
/* CUSTOM DIVS AND SPANS */
|
|
|
|
a.quickbutton {
|
2021-08-24 22:09:28 -05:00
|
|
|
background: var(--link);
|
2020-08-16 05:40:05 -05:00
|
|
|
border-radius: 8px;
|
|
|
|
box-shadow: 5px 5px var(--shadow);
|
2021-08-24 22:09:28 -05:00
|
|
|
color: var(--background);
|
2020-08-16 05:40:05 -05:00
|
|
|
display: block;
|
|
|
|
font-size: 150%;
|
|
|
|
margin: 0.5em 0;
|
|
|
|
padding: 1em;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
a.quickbutton:hover {
|
|
|
|
background: var(--link-hover);
|
|
|
|
color: var(--background);
|
|
|
|
}
|
|
|
|
div.break {
|
|
|
|
width: 4em;
|
|
|
|
margin: 2em auto;
|
2020-09-27 16:39:02 -05:00
|
|
|
border-bottom: 3px double var(--line);
|
2020-08-16 05:40:05 -05:00
|
|
|
}
|
2021-01-19 22:14:15 -06:00
|
|
|
div.quote {
|
|
|
|
border-left: 4px solid var(--line);
|
|
|
|
margin: 1em 4em;
|
|
|
|
padding: 1em;
|
|
|
|
}
|
2021-05-14 13:41:49 -05:00
|
|
|
div.warning,div.error {
|
|
|
|
border-radius: 8px;
|
|
|
|
box-shadow: 5px 5px var(--shadow);
|
|
|
|
padding: 1em;
|
|
|
|
border: 2px solid var(--text);
|
|
|
|
margin: 1em;
|
|
|
|
}
|
|
|
|
div.warning {
|
|
|
|
border-color: var(--warning);
|
|
|
|
}
|
|
|
|
div.warning i {
|
|
|
|
color: var(--warning);
|
|
|
|
}
|
|
|
|
div.error {
|
|
|
|
border-color: var(--error);
|
|
|
|
}
|
|
|
|
div.error i {
|
|
|
|
color: var(--error);
|
|
|
|
}
|
2020-09-27 17:04:20 -05:00
|
|
|
i.badge {
|
|
|
|
font-size: 200%;
|
|
|
|
float: right;
|
|
|
|
}
|
2020-08-16 05:40:05 -05:00
|
|
|
img.bigimg {
|
|
|
|
border-radius: 8px;
|
|
|
|
box-shadow: 5px 5px var(--shadow);
|
|
|
|
display: block;
|
|
|
|
margin: 1em auto;
|
|
|
|
}
|
|
|
|
|
2020-08-16 05:25:54 -05:00
|
|
|
/* HIERARCHICAL CLASSES */
|
|
|
|
/* HEADER */
|
|
|
|
.header {
|
|
|
|
background: var(--background-bright);
|
|
|
|
box-shadow: 0 5px var(--shadow);
|
|
|
|
}
|
|
|
|
.logocontainer {
|
2020-08-16 06:55:34 -05:00
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2020-08-16 05:25:54 -05:00
|
|
|
padding: 1em 0;
|
|
|
|
}
|
|
|
|
.logo {
|
|
|
|
border-radius: 50%;
|
2020-08-16 06:55:34 -05:00
|
|
|
height: 64px;
|
2020-08-16 05:25:54 -05:00
|
|
|
vertical-align: middle;
|
2020-08-16 06:55:34 -05:00
|
|
|
margin: 0 1em;
|
2020-08-16 05:25:54 -05:00
|
|
|
max-width: 64px;
|
|
|
|
}
|
|
|
|
.header h1 {
|
|
|
|
display: inline;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2020-08-16 06:55:34 -05:00
|
|
|
.header p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2020-08-16 05:25:54 -05:00
|
|
|
.header nav ul {
|
|
|
|
list-style-type: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.header nav ul li {
|
|
|
|
display: inline-block;
|
2021-05-07 00:54:01 -05:00
|
|
|
padding: 1em;
|
2020-08-16 05:25:54 -05:00
|
|
|
}
|
|
|
|
.header nav ul li:hover {
|
|
|
|
background: var(--link-hover);
|
|
|
|
color: var(--background);
|
2021-01-20 19:45:28 -06:00
|
|
|
transition: .04s ease-in;
|
2020-08-16 05:25:54 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/* CONTENT */
|
|
|
|
.content {
|
|
|
|
max-width: 48em;
|
|
|
|
margin: 2em auto;
|
|
|
|
padding: 1em;
|
|
|
|
}
|
2020-08-16 05:40:05 -05:00
|
|
|
.subcontainer {
|
|
|
|
background: var(--background-bright);
|
|
|
|
border-radius: 8px;
|
|
|
|
box-shadow: 5px 5px var(--shadow);
|
|
|
|
margin: 1em 0;
|
2021-05-07 00:54:01 -05:00
|
|
|
padding: 2em;
|
2020-08-16 05:40:05 -05:00
|
|
|
}
|
2020-09-22 15:37:14 -05:00
|
|
|
.subcontainer h2 {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2020-08-22 21:13:20 -05:00
|
|
|
.toc {
|
|
|
|
background: var(--background-bright);
|
|
|
|
border-radius: 4px;
|
|
|
|
box-shadow: 5px 5px var(--shadow);
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0 1em 1em 1em;
|
|
|
|
padding: 0 1em;
|
|
|
|
width: auto;
|
|
|
|
}
|
2020-08-16 05:25:54 -05:00
|
|
|
|
|
|
|
/* FOOTER */
|
|
|
|
.footer {
|
|
|
|
font-size: 11px;
|
|
|
|
line-height: 1.3;
|
2020-08-16 05:40:05 -05:00
|
|
|
margin: 0 0 4em 0;
|
2020-08-16 05:25:54 -05:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.footer p {
|
|
|
|
margin: 0;
|
2021-05-07 00:54:01 -05:00
|
|
|
opacity: 0.8;
|
2020-08-16 05:25:54 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/* MOBILE */
|
|
|
|
@media only screen and (max-width: 600px) {
|
|
|
|
.nomobile {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|