back
Some checks are pending
Deploy Arise to html branch / Deploy Arise (push) Waiting to run

This commit is contained in:
Jose Falanga 2025-10-13 18:50:56 -03:00
parent b29d434196
commit 2b8ab02de6

View file

@ -2,15 +2,15 @@
/* Base styling */ /* Base styling */
html * { html * {
font-family: system-ui, sans-serif; font-family: sans-serif;
} }
body { body{
margin: 40px auto; margin: 40px auto;
max-width: 650px; max-width: 650px;
line-height: 1.6; line-height: 1.6;
font-size: 18px; font-size: 18px;
color: #f0e6d2; /* soft parchment */ color: #65f85a; /* green text */
background-color: #1c1a18; /* deep dark brown-black, warmer than pure black */ background-color: #121619; /* almost black */
padding: 0 10px; padding: 0 10px;
} }
@ -18,71 +18,74 @@ body {
img { img {
max-width: 100%; max-width: 100%;
max-height: 100%; max-height: 100%;
margin: 20px auto; margin-top: 20px;
margin-bottom: 20px;
border-radius: 16px; border-radius: 16px;
margin-left: auto;
margin-right: auto;
display: block; display: block;
} }
code { code {
font-family: monospace, "Courier New", Courier, monospace; background-color: #293137;
border-radius: 16px;
padding-left: 30px;
padding-right: 30px;
padding-top: 1px;
padding-bottom: 1px;
line-height: 2em;
color: #65f85a;
font-family: monospace;
} }
pre { pre {
overflow-x: auto; overflow-x: auto;
white-space: pre-wrap; white-space: pre-wrap;
white-space: -moz-pre-wrap;
white-space: -pre-wrap;
white-space: -o-pre-wrap;
word-wrap: break-word; word-wrap: break-word;
margin: 1em 0;
} }
/* Reduce interline spacing for code blocks */
pre.sourceCode,
pre.sourceCode code,
pre.sourceCode code span {
line-height: 1.4em; /* tighter than before */
}
/* Blockquote styling */
blockquote { blockquote {
border-left: 3px solid #8aa89a; /* subtle sage/green accent */ border-left: 1px solid #65f85a;
margin: 1em 40px 1em 30px; display: block;
margin-top: 1em;
margin-bottom: 1em;
margin-left: 30px;
padding-left: 10px; padding-left: 10px;
margin-right: 40px;
font-style: italic; font-style: italic;
color: #d4c99f; /* warm beige */ color: #46ab3e;
} }
/* Horizontal rules */
hr { hr {
border: none; color: #65f85a;
border-top: 1px solid #c5946a; /* muted orange/gold */ margin-left: auto;
margin: 1.5em auto; margin-right: auto;
max-width: 300px; max-width: 300px;
} }
#endline { #endline {
border: none; color: #65f85a;
border-top: 1px solid #7a6b5a; /* soft bronze */ margin-left: auto;
margin: 80px auto 0; margin-right: auto;
max-width: 300px; max-width: 300px;
margin-top: 80px;
} }
/* Links */
a { a {
color: #d8b68f; /* warm gold */ color: #b8f1b4;
text-decoration: none; text-decoration: none;
} }
a:hover {
color: #f0e3b8; /* pale yellow highlight */ h1{
line-height: 1.2;
} }
/* Headings */ h2, h3{
h1 {
line-height: 1.2;
color: #f3e6c9; /* soft, slightly lighter than body */
}
h2, h3 {
padding-top: 24px; padding-top: 24px;
line-height: 1.2; line-height: 1.2;
color: #e6c990; /* muted complementary accent */
} }
/* Inline dates */ /* Inline dates */
@ -91,6 +94,7 @@ h2, h3 {
margin-bottom: 0; margin-bottom: 0;
font-size: 14px; font-size: 14px;
} }
@media screen and (max-width: 900px) { @media screen and (max-width: 900px) {
.date { .date {
text-align: right; text-align: right;
@ -110,103 +114,24 @@ h2, h3 {
margin-bottom: 20px; margin-bottom: 20px;
text-align: center; text-align: center;
} }
.logo img {
max-height: 80px;
opacity: 0.95;
}
/* Navbar styling */ /* Navbar styling */
.topbar { .topbar {
text-align: center; padding-right: 10px;
padding: 10px 0; border-top: 1px solid #65f85a;
border-top: 1px solid #8c7564; /* muted tan */ border-bottom: 1px solid #65f85a;
border-bottom: 1px solid #c5946a; /* warm accent */
margin-bottom: 20px; margin-bottom: 20px;
text-align: center;
} }
.topbar a { .topbar a {
color: #d8b68f; color: #65f85a;
padding: 0 8px;
text-decoration: none; text-decoration: none;
} }
.topbar a:hover {
color: #f0e3b8;
}
.topbar .sep {
color: #7a6b5a;
padding: 0 6px;
}
/* Footer styling */ /* Footer styling */
.footer { .footer {
border-top: 1px solid #7a6b5a; border-top: 2px solid #65f85a;
color: #c9b68f; font-size: 12px;
font-size: 13px; margin-top: 120px;
margin-top: 100px;
text-align: center; text-align: center;
padding: 15px 0 20px 0;
line-height: 1.5;
}
.footer a {
color: #d8b68f;
text-decoration: none;
}
.footer a:hover {
color: #f0e3b8;
}
.footer span {
opacity: 0.8;
}
/*** Arise Syntax Highlighted Code ***/
pre.sourceCode,
pre.sourceCode code,
pre.sourceCode code span {
font-family: monospace, "Courier New", Courier, monospace;
background-color: #28241f; /* softer dark than before */
color: #f0e6d2;
border-radius: 12px;
padding: 6px 16px;
line-height: 1.4em; /* tighter lines */
display: block;
overflow-x: auto;
}
/* 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 */
/*** Tables for Arise Index and Markdown ***/
.arise-toc-td {
border-width: 1px;
border-color: #7a6b5a;
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 #7a6b5a;
padding: 6px 10px;
}
table th {
background-color: #1f1c19;
color: #f0e6d2;
}
table td {
background-color: #1c1a18;
color: #e6c990;
} }