137 lines
2.3 KiB
CSS
137 lines
2.3 KiB
CSS
|
@font-face {
|
||
|
font-family: "Orbitron";
|
||
|
src: url(fonts/Orbitron-Regular.ttf) format("truetype");
|
||
|
}
|
||
|
@font-face {
|
||
|
font-family: "Roboto";
|
||
|
src: url(fonts/Roboto-Regular.ttf) format("truetype");
|
||
|
}
|
||
|
|
||
|
/* start light mode styling */
|
||
|
:root {
|
||
|
--text: darkslategrey;
|
||
|
--border: lightgrey;
|
||
|
--accent: teal;
|
||
|
--bg: #dce3e1;
|
||
|
--gradientTop: white;
|
||
|
--gradientBottom: rgb(240, 248, 255, 0.8);
|
||
|
}
|
||
|
header {
|
||
|
background: url("***light mode banner image***");
|
||
|
}
|
||
|
/* end light mode styling */
|
||
|
|
||
|
/* start dark mode styling */
|
||
|
@media (prefers-color-scheme: dark) {
|
||
|
:root {
|
||
|
--text: #cdd6f4;
|
||
|
--border: #585b70;
|
||
|
--accent: #f38ba8;
|
||
|
--bg: #1e1e2e;
|
||
|
--gradientBottom: #11111b;
|
||
|
--gradientTop: #313244;
|
||
|
a:link {
|
||
|
color: #f38ba8;
|
||
|
}
|
||
|
}
|
||
|
header {
|
||
|
background: url("https://images.freeimages.com/images/large-previews/913/sea-3-1188161.jpg");
|
||
|
}
|
||
|
}
|
||
|
/* end dark mode styling */
|
||
|
|
||
|
* {
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
body {
|
||
|
padding-right: 40px;
|
||
|
padding: 0px;
|
||
|
font-family: "Orbitron", sans-serif;
|
||
|
color: var(--text);
|
||
|
|
||
|
|
||
|
/* optional button styling like in the preview */
|
||
|
div.small > img {
|
||
|
display: block;
|
||
|
margin: 5px auto;
|
||
|
border: 2px ridge var(--border);
|
||
|
border-radius: 5px;
|
||
|
}
|
||
|
|
||
|
div {
|
||
|
padding-bottom: 50px
|
||
|
}
|
||
|
|
||
|
section {
|
||
|
border: 2px ridge var(--border);
|
||
|
border-radius: 5px;
|
||
|
background: linear-gradient(var(--gradientTop), var(--gradientBottom));
|
||
|
padding: 5px;
|
||
|
}
|
||
|
|
||
|
footer {
|
||
|
text-align: center;
|
||
|
margin-bottom: 5vw;
|
||
|
font-size: 0.8rem;
|
||
|
}
|
||
|
footer a {
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
|
||
|
h1,
|
||
|
h2,
|
||
|
h3,
|
||
|
h4,
|
||
|
h5,
|
||
|
h6 {
|
||
|
font-family: "Orbitron", sans-serif;
|
||
|
margin: 5px;
|
||
|
line-height: 1.2;
|
||
|
}
|
||
|
h1 {
|
||
|
font-size: 1.4rem;
|
||
|
letter-spacing: 2px;
|
||
|
font-weight: normal;
|
||
|
text-align: center;
|
||
|
border-bottom: 2px ridge var(--border);
|
||
|
padding-bottom: 5px;
|
||
|
}
|
||
|
h2 {
|
||
|
font-size: 1.25rem;
|
||
|
font-weight: normal;
|
||
|
text-align: center;
|
||
|
}
|
||
|
h3 {
|
||
|
font-size: 1.1rem;
|
||
|
}
|
||
|
h4 {
|
||
|
font-size: 1rem;
|
||
|
color: var(--accent);
|
||
|
padding-left: 12px;
|
||
|
}
|
||
|
p {
|
||
|
font-family: "Roboto", sans-serif;
|
||
|
margin: 5px;
|
||
|
line-height: 1.2;
|
||
|
text-indent: 1em;
|
||
|
}
|
||
|
/* prevents overflow on smaller screens */
|
||
|
img {
|
||
|
max-width: 100%;
|
||
|
margin-top: 0.25em;
|
||
|
}
|
||
|
pre {
|
||
|
overflow-x: auto;
|
||
|
}
|
||
|
ul,
|
||
|
ol {
|
||
|
font-family: "Roboto";
|
||
|
}
|
||
|
a:hover,
|
||
|
a:focus {
|
||
|
font-style: italic;
|
||
|
}
|
||
|
a:visited {
|
||
|
color: var(--accent);
|
||
|
}
|