LogSource/arise-source/config/main.css

213 lines
4.3 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;
2025-10-13 18:49:33 -03:00
color: #f0e6d2; /* soft parchment */
background-color: #1c1a18; /* deep dark brown-black, warmer than pure black */
2025-10-13 18:45:47 -03:00
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-10-13 18:49:33 -03:00
margin: 1em 0;
2025-09-08 17:38:31 -03:00
}
2025-10-13 18:49:33 -03:00
/* Reduce interline spacing for code blocks */
pre.sourceCode,
pre.sourceCode code,
pre.sourceCode code span {
line-height: 1.4em; /* tighter than before */
}
/* Blockquote styling */
2025-09-08 17:38:31 -03:00
blockquote {
2025-10-13 18:49:33 -03:00
border-left: 3px solid #8aa89a; /* subtle sage/green accent */
2025-10-13 18:45:47 -03:00
margin: 1em 40px 1em 30px;
padding-left: 10px;
font-style: italic;
2025-10-13 18:49:33 -03:00
color: #d4c99f; /* warm beige */
2025-09-08 17:38:31 -03:00
}
2025-10-13 18:49:33 -03:00
/* Horizontal rules */
2025-09-08 17:38:31 -03:00
hr {
2025-10-13 18:45:47 -03:00
border: none;
2025-10-13 18:49:33 -03:00
border-top: 1px solid #c5946a; /* muted orange/gold */
2025-10-13 18:45:47 -03:00
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;
2025-10-13 18:49:33 -03:00
border-top: 1px solid #7a6b5a; /* soft bronze */
2025-10-13 18:45:47 -03:00
margin: 80px auto 0;
max-width: 300px;
2025-09-08 17:38:31 -03:00
}
2025-10-13 18:49:33 -03:00
/* Links */
2025-09-08 17:38:31 -03:00
a {
2025-10-13 18:49:33 -03:00
color: #d8b68f; /* warm 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:49:33 -03:00
color: #f0e3b8; /* pale yellow highlight */
2025-09-08 17:38:31 -03:00
}
2025-10-13 18:49:33 -03:00
/* Headings */
2025-10-13 18:45:47 -03:00
h1 {
line-height: 1.2;
2025-10-13 18:49:33 -03:00
color: #f3e6c9; /* soft, slightly lighter than body */
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;
2025-10-13 18:49:33 -03:00
color: #e6c990; /* muted complementary accent */
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;
2025-10-13 18:49:33 -03:00
border-top: 1px solid #8c7564; /* muted tan */
border-bottom: 1px solid #c5946a; /* warm accent */
2025-10-13 18:45:47 -03:00
margin-bottom: 20px;
2025-09-08 17:38:31 -03:00
}
.topbar a {
2025-10-13 18:49:33 -03:00
color: #d8b68f;
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 {
2025-10-13 18:49:33 -03:00
color: #f0e3b8;
2025-09-08 17:38:31 -03:00
}
2025-10-13 18:45:47 -03:00
.topbar .sep {
2025-10-13 18:49:33 -03:00
color: #7a6b5a;
2025-10-13 18:45:47 -03:00
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:49:33 -03:00
border-top: 1px solid #7a6b5a;
color: #c9b68f;
2025-10-13 18:13:55 -03:00
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:49:33 -03:00
color: #d8b68f;
2025-10-13 18:13:55 -03:00
text-decoration: none;
}
.footer a:hover {
2025-10-13 18:49:33 -03:00
color: #f0e3b8;
2025-10-13 18:13:55 -03:00
}
.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:49:33 -03:00
background-color: #28241f; /* softer dark than before */
color: #f0e6d2;
border-radius: 12px;
padding: 6px 16px;
line-height: 1.4em; /* tighter lines */
2025-10-13 18:45:47 -03:00
display: block;
overflow-x: auto;
2025-10-13 18:40:35 -03:00
}
2025-10-13 18:49:33 -03:00
/* Syntax accent colors using split-complementary palette */
pre.sourceCode code .co { color: #7aa88d; } /* comments - sage green */
pre.sourceCode code .kw { color: #d97c5f; } /* keywords - muted coral */
pre.sourceCode code .bu { color: #f0d89a; } /* builtins/commands - pale yellow */
pre.sourceCode code .st { color: #e6c990; } /* strings - soft gold */
pre.sourceCode code .fu { color: #c5946a; } /* functions/variables - warm tan */
pre.sourceCode code .va { color: #f0e3b8; } /* variable values - light cream */
2025-10-13 18:45:47 -03:00
/*** Tables for Arise Index and Markdown ***/
.arise-toc-td {
border-width: 1px;
2025-10-13 18:49:33 -03:00
border-color: #7a6b5a;
2025-10-13 18:45:47 -03:00
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 {
2025-10-13 18:49:33 -03:00
border: 1px solid #7a6b5a;
2025-10-13 18:45:47 -03:00
padding: 6px 10px;
}
table th {
2025-10-13 18:49:33 -03:00
background-color: #1f1c19;
color: #f0e6d2;
2025-10-13 18:45:47 -03:00
}
table td {
2025-10-13 18:49:33 -03:00
background-color: #1c1a18;
color: #e6c990;
2025-10-13 18:45:47 -03:00
}