LogSource/arise-source/config/main.css

203 lines
3.8 KiB
CSS
Raw Normal View History

2025-10-13 18:45:47 -03:00
/*** Core page styles ***/
2025-09-08 17:38:31 -03:00
2025-10-13 18:45:47 -03:00
/* Base styling */
2025-09-08 17:38:31 -03:00
html * {
2025-10-13 18:45:47 -03:00
font-family: system-ui, sans-serif;
2025-09-08 17:38:31 -03:00
}
2025-10-13 18:45:47 -03:00
body {
margin: 40px auto;
max-width: 650px;
line-height: 1.6;
font-size: 18px;
color: #e0d5b3; /* soft warm parchment gold */
background-color: #101010; /* deep neutral dark */
padding: 0 10px;
2025-09-08 17:38:31 -03:00
}
2025-10-13 18:26:09 -03:00
/*** Post styling ***/
2025-09-08 17:38:31 -03:00
img {
max-width: 100%;
max-height: 100%;
2025-10-13 18:45:47 -03:00
margin: 20px auto;
border-radius: 16px;
2025-09-08 17:38:31 -03:00
display: block;
}
code {
2025-10-13 18:45:47 -03:00
font-family: monospace, "Courier New", Courier, monospace;
2025-09-08 17:38:31 -03:00
}
pre {
2025-10-13 18:45:47 -03:00
overflow-x: auto;
white-space: pre-wrap;
word-wrap: break-word;
2025-09-08 17:38:31 -03:00
}
blockquote {
2025-10-13 18:45:47 -03:00
border-left: 2px solid #7a8a56; /* moss/olive accent */
margin: 1em 40px 1em 30px;
padding-left: 10px;
font-style: italic;
color: #bfa074; /* warm subtle tone */
2025-09-08 17:38:31 -03:00
}
hr {
2025-10-13 18:45:47 -03:00
border: none;
border-top: 1px solid #c57c3b; /* burnt sienna */
margin: 1.5em auto;
max-width: 300px;
2025-09-08 17:38:31 -03:00
}
2025-10-13 18:28:51 -03:00
#endline {
2025-10-13 18:45:47 -03:00
border: none;
border-top: 1px solid #6b5633; /* bronze */
margin: 80px auto 0;
max-width: 300px;
2025-09-08 17:38:31 -03:00
}
a {
2025-10-13 18:45:47 -03:00
color: #c9a66b; /* muted gold */
2025-10-13 18:23:48 -03:00
text-decoration: none;
2025-10-13 18:13:55 -03:00
}
a:hover {
2025-10-13 18:45:47 -03:00
color: #f0d89a; /* soft amber */
2025-09-08 17:38:31 -03:00
}
2025-10-13 18:45:47 -03:00
h1 {
line-height: 1.2;
color: #e0d5b3;
2025-09-08 17:38:31 -03:00
}
2025-10-13 18:45:47 -03:00
h2, h3 {
padding-top: 24px;
line-height: 1.2;
color: #d6b676;
2025-09-08 17:38:31 -03:00
}
2025-10-13 18:26:09 -03:00
/* Inline dates */
2025-09-08 17:38:31 -03:00
.date {
2025-10-13 18:45:47 -03:00
padding-bottom: 0;
margin-bottom: 0;
font-size: 14px;
2025-09-08 17:38:31 -03:00
}
@media screen and (max-width: 900px) {
2025-10-13 18:45:47 -03:00
.date {
text-align: right;
}
2025-09-08 17:38:31 -03:00
}
@media screen and (min-width: 901px) {
2025-10-13 18:45:47 -03:00
.date {
float: right;
margin-left: 30px;
}
2025-09-08 17:38:31 -03:00
}
2025-10-13 18:26:09 -03:00
/*** Modular components ***/
2025-09-08 17:38:31 -03:00
2025-10-13 18:26:09 -03:00
/* Logo */
2025-09-08 17:38:31 -03:00
.logo {
2025-10-13 18:45:47 -03:00
margin-bottom: 20px;
text-align: center;
2025-09-08 17:38:31 -03:00
}
2025-10-13 18:23:48 -03:00
.logo img {
2025-10-13 18:45:47 -03:00
max-height: 80px;
opacity: 0.95;
2025-10-13 18:23:48 -03:00
}
2025-09-08 17:38:31 -03:00
2025-10-13 18:26:09 -03:00
/* Navbar styling */
2025-09-08 17:38:31 -03:00
.topbar {
2025-10-13 18:45:47 -03:00
text-align: center;
padding: 10px 0;
border-top: 1px solid #6b5633; /* bronze */
border-bottom: 1px solid #c57c3b; /* burnt sienna */
margin-bottom: 20px;
2025-09-08 17:38:31 -03:00
}
.topbar a {
2025-10-13 18:45:47 -03:00
color: #c9a66b;
2025-10-13 18:23:48 -03:00
padding: 0 8px;
2025-10-13 18:45:47 -03:00
text-decoration: none;
2025-10-13 18:23:48 -03:00
}
.topbar a:hover {
color: #f0d89a;
2025-09-08 17:38:31 -03:00
}
2025-10-13 18:45:47 -03:00
.topbar .sep {
color: #7a6f50; /* muted bronze */
padding: 0 6px;
}
2025-09-08 17:38:31 -03:00
2025-10-13 18:26:09 -03:00
/* Footer styling */
2025-09-08 17:38:31 -03:00
.footer {
2025-10-13 18:26:09 -03:00
border-top: 1px solid #6b5633; /* bronze */
2025-10-13 18:13:55 -03:00
color: #a89064;
font-size: 13px;
margin-top: 100px;
text-align: center;
2025-10-13 18:45:47 -03:00
padding: 15px 0 20px 0;
2025-10-13 18:13:55 -03:00
line-height: 1.5;
}
.footer a {
2025-10-13 18:26:09 -03:00
color: #c57c3b;
2025-10-13 18:13:55 -03:00
text-decoration: none;
}
.footer a:hover {
color: #f0d89a;
}
.footer span {
opacity: 0.8;
2025-09-08 17:38:31 -03:00
}
2025-10-13 18:45:47 -03:00
/*** Arise Syntax Highlighted Code ***/
2025-10-13 18:40:35 -03:00
pre.sourceCode,
pre.sourceCode code,
pre.sourceCode code span {
font-family: monospace, "Courier New", Courier, monospace;
2025-10-13 18:45:47 -03:00
background-color: #1a1a1a;
color: #e0d5b3;
border-radius: 16px;
padding: 1px 30px;
line-height: 2em;
display: block;
overflow-x: auto;
2025-10-13 18:40:35 -03:00
}
2025-10-13 18:45:47 -03:00
/* Syntax accent colors */
pre.sourceCode code .co { color: #7a8a56; } /* comments */
2025-10-13 18:40:35 -03:00
pre.sourceCode code .kw { color: #b05a3c; } /* keywords */
2025-10-13 18:45:47 -03:00
pre.sourceCode code .bu { color: #f0d89a; } /* builtins/commands */
2025-10-13 18:40:35 -03:00
pre.sourceCode code .st { color: #d6b676; } /* strings */
2025-10-13 18:45:47 -03:00
pre.sourceCode code .fu { color: #c57c3b; } /* functions/variables */
pre.sourceCode code .va { color: #f0d89a; } /* variable values */
/*** Tables for Arise Index and Markdown ***/
.arise-toc-td {
border-width: 1px;
border-color: #6b5633;
border-top-style: solid;
text-align: center;
padding-right: 10px;
padding-bottom: 5px;
}
.arise-toc-th {
padding-bottom: 20px;
border-bottom: 1px;
border-bottom-style: solid;
}
table {
border-collapse: collapse;
margin: 20px 0;
width: 100%;
}
table th, table td {
border: 1px solid #6b5633;
padding: 6px 10px;
}
table th {
background-color: #161412;
color: #e0d5b3;
}
table td {
background-color: #121010;
color: #d6b676;
}