LogSource/arise-source/config/main.css

219 lines
4.7 KiB
CSS
Raw Normal View History

2025-09-08 17:38:31 -03:00
/*** Core page styles to set the primary colours and styles to be inherited by everything else ***/
/* Core Styling */
html * {
2025-10-13 18:23:48 -03:00
font-family: system-ui, sans-serif;
2025-09-08 17:38:31 -03:00
}
body{
margin:40px auto;
max-width:650px;
line-height:1.6;
font-size:18px;
2025-10-13 18:28:51 -03:00
color: #e0c997; /* main warm gold text */
background-color: #121212; /* deep desaturated dark base */
2025-09-08 17:38:31 -03:00
padding:0 10px;
}
/********************************/
/********************************/
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%;
margin-top:20px;
margin-bottom:20px;
border-radius:16px;
margin-left: auto;
margin-right: auto;
display: block;
}
code {
2025-10-13 18:28:51 -03:00
background-color: #1f1c19; /* darker warm code background */
2025-09-08 17:38:31 -03:00
border-radius:16px;
padding-left:30px;
padding-right:30px;
line-height:2em;
padding-top:1px;
padding-bottom:1px;
2025-10-13 18:28:51 -03:00
color: #d2b48c;
2025-10-13 18:23:48 -03:00
font-family:monospace;
2025-09-08 17:38:31 -03:00
}
pre {
overflow-x: auto;
white-space: pre-wrap;
white-space: -moz-pre-wrap;
white-space: -pre-wrap;
white-space: -o-pre-wrap;
word-wrap: break-word;
}
blockquote {
2025-10-13 18:28:51 -03:00
border-left: 2px solid #8a9a5b; /* moss/olive */
2025-09-08 17:38:31 -03:00
display:block;
margin-top: 1em;
margin-bottom: 1em;
margin-left: 30px;
padding-left: 10px;
margin-right: 40px;
font-style: italic;
2025-10-13 18:28:51 -03:00
color: #bfa074; /* subtle warm text */
2025-09-08 17:38:31 -03:00
}
hr {
2025-10-13 18:23:48 -03:00
border: none;
2025-10-13 18:26:09 -03:00
border-top: 1px solid #c57c3b; /* burnt sienna */
2025-10-13 18:23:48 -03:00
margin: 1.5em auto;
2025-09-08 17:38:31 -03:00
max-width: 300px;
}
2025-10-13 18:28:51 -03:00
#endline {
2025-10-13 18:23:48 -03:00
border: none;
2025-10-13 18:26:09 -03:00
border-top:1px solid #6b5633; /* bronze */
2025-09-08 17:38:31 -03:00
margin-left: auto;
margin-right: auto;
max-width: 300px;
margin-top: 80px;
}
a {
2025-10-13 18:26:09 -03:00
color: #c57c3b; /* burnt sienna links */
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:28:51 -03:00
color: #f0d89a; /* amber hover */
2025-09-08 17:38:31 -03:00
}
h1{
2025-10-13 18:26:09 -03:00
line-height:1.2;
2025-10-13 18:28:51 -03:00
color: #e0d5aa; /* slightly lighter heading */
2025-09-08 17:38:31 -03:00
}
h2,h3{
padding-top:24px;
2025-10-13 18:26:09 -03:00
line-height:1.2;
2025-10-13 18:28:51 -03:00
color: #d6b676; /* muted gold */
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 {
padding-bottom:0;
margin-bottom:0;
font-size:14px;
}
@media screen and (max-width: 900px) {
.date {
text-align:right;
}
}
@media screen and (min-width: 901px) {
.date {
float:right;
margin-left:30px;
}
}
/********************************/
/********************************/
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 {
margin-bottom:20px;
text-align:center;
}
2025-10-13 18:23:48 -03:00
.logo img {
max-height: 80px;
opacity: 0.95;
}
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:23:48 -03:00
text-align: center;
padding: 10px 0;
2025-10-13 18:26:09 -03:00
border-top: 1px solid #6b5633; /* bronze */
border-bottom: 1px solid #c57c3b; /* burnt sienna */
2025-10-13 18:23:48 -03:00
margin-bottom: 20px;
2025-09-08 17:38:31 -03:00
}
.topbar a {
2025-10-13 18:23:48 -03:00
color: #d2b48c;
padding: 0 8px;
text-decoration:none;
}
.topbar a:hover {
color: #f0d89a;
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;
padding-top: 15px;
padding-bottom: 20px;
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
}
/********************************/
/********************************/
/*** Other misc garbage ***/
/* Arise Index Style */
.arise-toc-td {
border-width: 1px;
2025-10-13 18:13:55 -03:00
border-color: #6b5633;
2025-09-08 17:38:31 -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;
}
2025-10-13 18:28:51 -03:00
/*** Optional subtle code “syntax accents” using analogous palette ***/
code span.number { color: #f0d89a; } /* amber numbers */
code span.comment { color: #8a9a5b; } /* moss comments */
code span.keyword { color: #b05a3c; } /* rust keywords */
2025-10-13 18:40:35 -03:00
/* ============================= */
/* Arise Syntax Highlighted Code */
/* ============================= */
pre.sourceCode,
pre.sourceCode code,
pre.sourceCode code span {
font-family: monospace, "Courier New", Courier, monospace;
background-color: #1f1c19; /* dark warm background */
color: #d2b48c; /* default gold text */
}
/* Optional: color accents for syntax highlighting */
pre.sourceCode code .co { color: #8a9a5b; } /* comments */
pre.sourceCode code .kw { color: #b05a3c; } /* keywords */
pre.sourceCode code .bu { color: #f0d89a; } /* builtins / commands */
pre.sourceCode code .st { color: #d6b676; } /* strings */
pre.sourceCode code .fu { color: #c57c3b; } /* functions / variables */
pre.sourceCode code .va { color: #f0d89a; } /* variable values */