377 lines
6.9 KiB
CSS
377 lines
6.9 KiB
CSS
|
body { display: flex; flex-wrap: wrap; font-family: sans; }
|
||
|
header { flex-basis: 100%; flex-shrink: 0; }
|
||
|
article { flex-basis: 60%; padding-left: 1em; }
|
||
|
footer { flex-basis: 100%; flex-shrink: 0; }
|
||
|
header nav { display: flex; justify-content: space-between; }
|
||
|
nav a, header a { text-decoration: none ; color: inherit; }
|
||
|
header h1 span { margin-left: 1em; font-size: 50%; font-style: italic; }
|
||
|
body > nav { flex-basis: content; padding-right: 1vw; min-width: 16em; }
|
||
|
nav ul { display: flex; flex-direction: column; list-style-type: none; list-style-position: outside; padding-left: 0; }
|
||
|
nav li ul { padding-left: 0.6em }
|
||
|
footer { display: flex; justify-content: space-between; }
|
||
|
|
||
|
:root {
|
||
|
--alt-accent2: #C0CEE8ff;
|
||
|
--primary-accent: #AEA3F0ff;
|
||
|
--rebecca-purple: #5B3D8Aff;
|
||
|
--primary-dark: #0C072Cff;
|
||
|
--alt-accent: #989898ff;
|
||
|
--back-secondary: #1C202Fff;
|
||
|
--back-primary: #000300ff;
|
||
|
--primary: #E4F0FEff;
|
||
|
--white: white;
|
||
|
--secondary-accent: #A4D1ADff;
|
||
|
--link: #2667deff;
|
||
|
--code: #18A02Cff;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
background:
|
||
|
linear-gradient(to right, rgba(0, 5, 10, 0.9), rgba(0, 5, 5, 0.9)),
|
||
|
url('imgs/back.jpeg'),
|
||
|
var(--back-primary);
|
||
|
background-color: var(--back-primary);
|
||
|
background-position: center center;
|
||
|
background-size: 110vh 75vh;
|
||
|
background-repeat: repeat-y;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
font-size: 84%;
|
||
|
font-family: verdana, helvetica, arial, sans-serif;
|
||
|
}
|
||
|
|
||
|
a {
|
||
|
text-decoration: none;
|
||
|
color: var(--link);
|
||
|
}
|
||
|
|
||
|
a:hover {
|
||
|
text-decoration: underline;
|
||
|
}
|
||
|
|
||
|
/* header and top bar */
|
||
|
header nav {
|
||
|
background-color: var(--primary-accent);
|
||
|
color: var(--primary-dark);
|
||
|
border-bottom: 3px solid var(--primary-dark);
|
||
|
padding: 0.3em;
|
||
|
font-size: 91%;
|
||
|
}
|
||
|
|
||
|
header h1 {
|
||
|
display: flex;
|
||
|
background-color: var(--back-secondary);
|
||
|
color: var(--primary);
|
||
|
margin: 0;
|
||
|
border-bottom: 3px solid var(--primary-dark);
|
||
|
font-size: 200%;
|
||
|
font-weight: bold;
|
||
|
padding: 0.5ex 0 0.5ex 0.6ex;
|
||
|
}
|
||
|
|
||
|
header h1 #headerSubTitle {
|
||
|
display: block;
|
||
|
margin-left: 2em;
|
||
|
font-size: 40%;
|
||
|
color: var(--secondary-accent)
|
||
|
}
|
||
|
|
||
|
header h1 .headerLink {
|
||
|
display: inline-block;
|
||
|
margin-top: 0.2ex;
|
||
|
margin-left: 0.6ex;
|
||
|
}
|
||
|
|
||
|
header h1 a img {
|
||
|
width: 50px;
|
||
|
}
|
||
|
|
||
|
header a:hover {
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
|
||
|
header nav a {
|
||
|
padding: 0.2ex 0.5ex 0.2ex;
|
||
|
transition: background-color 0.3s ease;
|
||
|
}
|
||
|
|
||
|
header nav a:hover {
|
||
|
text-decoration: underline;
|
||
|
background-color: rgba(255, 255, 255, 0.2);
|
||
|
}
|
||
|
|
||
|
header nav .right {
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
/* sidebar */
|
||
|
body>nav {
|
||
|
padding: 0;
|
||
|
border-right: 3px solid var(--alt-accent2);
|
||
|
}
|
||
|
|
||
|
body>nav>div a,
|
||
|
input[type="submit"] {
|
||
|
color: var(--secondary-accent);
|
||
|
display: block;
|
||
|
font-weight: bold;
|
||
|
padding: 0.25em 1ex 0.25em 2mm;
|
||
|
font-size: 102%
|
||
|
}
|
||
|
|
||
|
body>nav>div a:hover,
|
||
|
input[type="submit"]:hover {
|
||
|
color: var(--primary-accent) !important;
|
||
|
background-color: var(--back-primary);
|
||
|
border-left: var(--secondary-accent) solid 0.3em;
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
|
||
|
input[type="submit"] {
|
||
|
background-color: transparent;
|
||
|
font-family: inherit;
|
||
|
border: none;
|
||
|
margin-top: 0;
|
||
|
}
|
||
|
|
||
|
fieldset input[type="submit"]:hover {
|
||
|
border: 2px ridge var(--secondary-accent);
|
||
|
border-left: var(--secondary-accent) solid 0.3em;
|
||
|
}
|
||
|
|
||
|
fieldset input[type="submit"] {
|
||
|
border: 2px solid var(--secondary-accent);
|
||
|
margin-top: 0.6em;
|
||
|
}
|
||
|
|
||
|
fieldset {
|
||
|
padding: 1em;
|
||
|
max-width: 1000px;
|
||
|
}
|
||
|
|
||
|
input[type="text"], textarea {
|
||
|
width: 100%;
|
||
|
padding: 10px;
|
||
|
margin-bottom: 10px;
|
||
|
box-sizing: border-box;
|
||
|
font-size: 12px;
|
||
|
font-family: monospace;
|
||
|
}
|
||
|
|
||
|
.log input[type="text"] {
|
||
|
padding: 2px;
|
||
|
width: unset;
|
||
|
}
|
||
|
|
||
|
body>nav>div .dt {
|
||
|
color: var(--primary);
|
||
|
}
|
||
|
|
||
|
body>nav>div a:hover .dt {
|
||
|
color: var(--primary-accent);
|
||
|
}
|
||
|
|
||
|
body>nav>div p {
|
||
|
font-weight: bold;
|
||
|
margin: 0 0 0.5em 2mm;
|
||
|
padding: 1em 0 0 0;
|
||
|
}
|
||
|
|
||
|
/* main copy */
|
||
|
article {
|
||
|
padding: 0.5ex 1vw 5vh 1vw;
|
||
|
color: var(--primary);
|
||
|
backdrop-filter: blur(3px);
|
||
|
flex: 1 1 60%;
|
||
|
max-width: 1100px;
|
||
|
}
|
||
|
|
||
|
article h1,
|
||
|
article h2 {
|
||
|
color: var(--primary-accent);
|
||
|
font-weight: bold;
|
||
|
margin: 1em 0 1em 0;
|
||
|
}
|
||
|
|
||
|
article h3 {
|
||
|
color: var(--secondary-accent);
|
||
|
font-weight: bold;
|
||
|
margin: 2em 0 0 0;
|
||
|
}
|
||
|
|
||
|
article h4 article h5 {
|
||
|
color: var(--primary);
|
||
|
margin: 2em 0 0 0;
|
||
|
}
|
||
|
|
||
|
article h6,
|
||
|
article h7,
|
||
|
article h8 {
|
||
|
color: var(--primary);
|
||
|
font-weight: bold;
|
||
|
margin: 2em 0 0 0;
|
||
|
}
|
||
|
|
||
|
article a {
|
||
|
color: var(--link);
|
||
|
}
|
||
|
|
||
|
article a:hover {
|
||
|
filter: brightness(85%)
|
||
|
}
|
||
|
|
||
|
article img {
|
||
|
width: 90%;
|
||
|
max-width: 600px;
|
||
|
border: 0.4em solid var(--back-primary);
|
||
|
background-color: black !important;
|
||
|
padding: 0.2em;
|
||
|
}
|
||
|
|
||
|
.center {
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
img[title="main"] {
|
||
|
display: block;
|
||
|
margin-left: auto;
|
||
|
margin-right: auto;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
hr {
|
||
|
color: var(--alt-accent2)
|
||
|
}
|
||
|
|
||
|
/* footer */
|
||
|
footer {
|
||
|
color: white;
|
||
|
background-color: color-mix(in srgb, var(--primary-back), transparent 86%);
|
||
|
}
|
||
|
|
||
|
footer a {
|
||
|
color: inherit;
|
||
|
}
|
||
|
|
||
|
footer div {
|
||
|
padding: 1em;
|
||
|
}
|
||
|
|
||
|
/* tables */
|
||
|
table {
|
||
|
border: 1px solid rgba(128, 128, 128, 0.5);
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
th {
|
||
|
color: white;
|
||
|
background-color: rgb(100, 135, 220);
|
||
|
}
|
||
|
|
||
|
tr:nth-child(odd) {
|
||
|
background-color: rgba(128, 128, 128, 0.1)
|
||
|
}
|
||
|
|
||
|
/* accents */
|
||
|
.accent {
|
||
|
color: var(--primary-accent)
|
||
|
}
|
||
|
|
||
|
.accent2 {
|
||
|
color: var(--secondary-accent)
|
||
|
}
|
||
|
|
||
|
/* dates */
|
||
|
.date {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
text-align: center;
|
||
|
font-weight: normal;
|
||
|
max-width: fit-content;
|
||
|
font-size: x-small;
|
||
|
color: var(--primary);
|
||
|
}
|
||
|
|
||
|
.date::before,
|
||
|
.date::after {
|
||
|
content: '⋆★⋆';
|
||
|
flex: 1;
|
||
|
color: var(--alt-accent)
|
||
|
}
|
||
|
|
||
|
.date:not(:empty)::before {
|
||
|
margin-right: .25em;
|
||
|
}
|
||
|
|
||
|
.date:not(:empty)::after {
|
||
|
margin-left: .25em;
|
||
|
}
|
||
|
|
||
|
.bfeed p {
|
||
|
margin: 0.6ex 0 0.6ex;
|
||
|
}
|
||
|
|
||
|
.bfeed h2 {
|
||
|
margin-bottom: 0.2ex;
|
||
|
}
|
||
|
|
||
|
.bfeed h2 a {
|
||
|
font-size: 90%;
|
||
|
color: var(--primary-accent);
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
|
||
|
.bfeed h2 a:hover {
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
|
||
|
blockquote {
|
||
|
font-style: italic;
|
||
|
color: var(--secondary-accent);
|
||
|
border-left: 3px solid var(--alt-accent);
|
||
|
padding-left: 1em;
|
||
|
}
|
||
|
|
||
|
/* animations */
|
||
|
|
||
|
.fire {
|
||
|
color: #f48c06;
|
||
|
text-shadow:
|
||
|
0px -1px 3px #f48c06,
|
||
|
0px -2px 6px #dc2f02,
|
||
|
0px -6px 12px #9d0208;
|
||
|
animation: flicker 3s infinite;
|
||
|
}
|
||
|
|
||
|
@keyframes flicker {
|
||
|
|
||
|
0%,
|
||
|
100% {
|
||
|
text-shadow:
|
||
|
0px -1px 3px #f48c06,
|
||
|
0px -2px 6px #dc2f02,
|
||
|
0px -6px 12px #9d0208;
|
||
|
}
|
||
|
|
||
|
50% {
|
||
|
text-shadow:
|
||
|
0 -2px 6px #f48c06,
|
||
|
0 -4px 12px #dc2f02,
|
||
|
0 -8px 16px #9d0208;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* media */
|
||
|
@media screen and (max-width: 600px) {
|
||
|
article {
|
||
|
flex-basis: 100%;
|
||
|
padding: 0.5em;
|
||
|
}
|
||
|
body > nav {
|
||
|
flex-basis: 100%;
|
||
|
border-right: none;
|
||
|
border-bottom: 3px solid var(--alt-accent2);
|
||
|
border-top: 3px solid var(--alt-accent2);
|
||
|
padding-bottom: 1em;
|
||
|
}
|
||
|
}
|