sarmentine/static/css/style.css
Butter 5d64a3137a add auth, FLCL reference
but I don't like sour drinks
2026-04-20 09:37:09 -04:00

341 lines
5.8 KiB
CSS

* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background: #4a4060;
}
pre {
overflow-x: auto;
}
.site {
background: #fdf6e3;
color: #4a4060;
font-family: 'VT323', monospace;
font-size: 18px;
min-height: 100vh;
border: 3px ridge #d4879c;
position: relative;
overflow: hidden;
max-width: 960px;
margin: 0 auto;
}
.tiled-bg {
position: absolute;
inset: 0;
background-image: radial-gradient(circle, #d4879c22 1px, transparent 1px);
background-size: 20px 20px;
pointer-events: none;
}
.nav {
background: #4a4060;
display: flex;
border-bottom: 3px solid #d4879c;
font-family: 'Silkscreen', monospace;
font-size: 11px;
position: relative;
z-index: 1;
}
.nav a {
color: #fdf6e3;
padding: 6px 14px;
text-decoration: none;
border-right: 1px solid #6b5b8a;
display: block;
}
.nav a:hover {
background: #d4879c;
}
.layout {
display: flex;
position: relative;
z-index: 1;
}
.sidebar {
width: 120px;
flex-shrink: 0;
border-right: 2px solid #d4879c;
padding: 12px 8px;
background: #fdf6e3cc;
display: flex;
flex-direction: column;
gap: 12px;
}
.sidebar-box {
border: 2px solid #b48ead;
background: #fff8f0;
padding: 8px;
font-size: 14px;
line-height: 1.4;
}
.sidebar-box-title {
font-family: 'Silkscreen', monospace;
font-size: 10px;
color: #d4879c;
border-bottom: 1px solid #d4879c;
margin-bottom: 6px;
padding-bottom: 3px;
text-transform: uppercase;
}
.sidebar-text {
font-size: 14px;
color: #4a4060;
line-height: 1.5;
}
.sidebar-meta {
font-size: 12px;
color: #b48ead;
margin-bottom: 3px;
}
.visitor-counter {
font-family: 'Silkscreen', monospace;
font-size: 10px;
color: #4a4060;
background: #ebcb8b;
border: 2px inset #4a4060;
padding: 2px 6px;
display: inline-block;
letter-spacing: 2px;
margin-top: 4px;
}
.now-playing {
font-size: 13px;
color: #4a4060;
line-height: 1.5;
}
.marquee-wrap {
overflow: hidden;
border: 1px solid #d4879c;
background: #4a4060;
padding: 2px 0;
margin-top: 4px;
}
.marquee-inner {
display: inline-block;
color: #ebcb8b;
font-family: 'Silkscreen', monospace;
font-size: 9px;
white-space: nowrap;
animation: marquee 12s linear infinite;
}
@keyframes marquee {
from { transform: translateX(160px); }
to { transform: translateX(-100%); }
}
.blinkie {
display: inline-block;
background: #d4879c;
color: #fdf6e3;
font-family: 'Silkscreen', monospace;
font-size: 9px;
padding: 2px 4px;
animation: blink 1s step-end infinite;
width: 100%;
text-align: center;
}
@keyframes blink {
50% { background: #b48ead; }
}
.main {
flex: 1;
max-width: 100%;
min-width: 0;
height: auto;
padding: 16px;
background: #fdf6e3ee;
}
.main img {
max-width: 100%;
height: auto;
}
.site-title {
font-family: 'VT323', monospace;
font-size: 42px;
color: #d4879c;
text-shadow: 2px 2px 0 #b48ead, 4px 4px 0 #ebcb8b;
line-height: 1;
margin-bottom: 4px;
}
.site-subtitle {
font-family: 'Silkscreen', monospace;
font-size: 10px;
color: #b48ead;
margin-bottom: 16px;
letter-spacing: 1px;
}
.divider {
border: none;
border-top: 2px dashed #d4879c;
margin: 12px 0;
}
.post {
border: 2px solid #b48ead;
background: #fff8f0;
padding: 10px 12px;
margin-bottom: 10px;
}
.post-title {
font-family: 'Silkscreen', monospace;
font-size: 12px;
color: #d4879c;
margin-bottom: 4px;
text-decoration: none;
display: block;
}
.post-title:hover {
color: #b48ead;
}
.post-meta {
font-size: 13px;
color: #b48ead;
margin-bottom: 6px;
}
.post-body {
font-size: 16px;
color: #4a4060;
line-height: 1.3;
}
.tag {
display: inline-block;
background: #b48ead;
color: #fdf6e3;
font-family: 'Silkscreen', monospace;
font-size: 9px;
padding: 2px 5px;
margin-right: 3px;
}
.status-bar {
background: #4a4060;
color: #ebcb8b;
font-family: 'Silkscreen', monospace;
font-size: 9px;
padding: 3px 8px;
display: flex;
justify-content: space-between;
border-top: 2px solid #d4879c;
position: relative;
z-index: 1;
}
.button-large {
image-rendering: pixelated;
width: calc(88px * 2);
height: calc(31px * 2);
}
/* ── nav right (login/logout) ───────────────────────────── */
.nav {
justify-content: flex-start;
}
.nav-right {
margin-left: auto;
display: flex;
}
.nav-right a,
.nav-logout {
color: #fdf6e3;
padding: 6px 14px;
text-decoration: none;
border-left: 1px solid #6b5b8a;
display: block;
font-family: 'Silkscreen', monospace;
font-size: 11px;
background: none;
border-top: none;
border-right: none;
border-bottom: none;
cursor: pointer;
}
.nav-right a:hover,
.nav-logout:hover {
background: #d4879c;
}
/* ── layout: no sidebar ─────────────────────────────────── */
.layout {
display: block;
}
.main {
max-width: 100%;
}
/* ── forms ──────────────────────────────────────────────── */
.form-field {
margin-bottom: 10px;
}
.form-label {
display: block;
font-family: 'Silkscreen', monospace;
font-size: 10px;
color: #b48ead;
text-transform: uppercase;
margin-bottom: 4px;
}
.form-input {
width: 100%;
background: #fdf6e3;
border: 2px solid #b48ead;
color: #4a4060;
font-family: 'VT323', monospace;
font-size: 18px;
padding: 4px 8px;
outline: none;
}
.form-input:focus {
border-color: #d4879c;
}
.form-submit {
background: #4a4060;
color: #fdf6e3;
border: 2px solid #4a4060;
font-family: 'Silkscreen', monospace;
font-size: 11px;
padding: 6px 14px;
cursor: pointer;
margin-top: 6px;
}
.form-submit:hover {
background: #d4879c;
border-color: #d4879c;
}