LogSource/arise-source/config/main.css
Jose Falanga f20d7b036e
Some checks are pending
Deploy Arise to html branch / Deploy Arise (push) Waiting to run
adjustments
2025-10-14 10:58:17 -03:00

187 lines
4 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* =========================================
Thergic Log - IDE Dark Theme Refinement
Monokai / JetBrains-inspired palette
========================================= */
:root {
--bg-main: #1e1f22;
--bg-surface: #2b2d31;
--text-main: #e8e8e3;
--text-muted: #b6b6b0;
--accent-green: #98c379;
--accent-blue: #61afef;
--accent-orange: #d19a66;
--accent-purple: #c678dd;
--accent-red: #e06c75;
--border-dim: #2f3237;
}
/*** Layout ***/
body {
background-color: var(--bg-main);
color: var(--text-main);
font-family: "Inter", "Segoe UI", sans-serif;
font-size: 18px;
line-height: 1.65;
margin: 40px auto;
max-width: 750px;
padding: 0 16px;
}
/*** Header logo and nav ***/
header img {
display: block;
margin: 0 auto;
max-width: 300px;
height: auto;
border: none; /* ✅ remove unwanted border on transparent PNGs */
box-shadow: none;
background: none;
}
header nav {
text-align: center; /* ✅ recenter navigation */
margin-top: 0.5em;
font-size: 0.95em;
}
header nav a {
color: var(--accent-blue);
text-decoration: none;
margin: 0 6px;
}
header nav a:hover {
color: var(--accent-green);
}
/*** Headings ***/
h1, h2, h3, h4, h5, h6 {
font-weight: 700;
margin-top: 2.2em;
margin-bottom: 0.8em;
line-height: 1.3;
}
h1 {
color: var(--accent-green);
font-size: 2.1em;
border-bottom: 1px solid var(--border-dim);
padding-bottom: 0.4em;
}
h2 {
color: var(--accent-blue);
font-size: 1.6em;
}
h3 {
color: var(--accent-orange);
font-size: 1.25em;
}
/*** Links ***/
a {
color: var(--accent-blue);
text-decoration: none;
transition: color 0.25s ease;
}
a:hover {
color: var(--accent-purple);
}
/*** Text elements ***/
p, ul, ol {
margin: 0 0 1.2em;
}
strong { color: var(--accent-green); }
em { color: var(--accent-orange); }
del { opacity: 0.6; }
/*** Inline code ***/
code {
font-family: "JetBrains Mono", "Fira Code", monospace;
font-size: 0.95em;
background: #2b2d31;
color: var(--accent-orange);
padding: 2px 5px;
border-radius: 4px;
}
/*** Code blocks ***/
pre {
background: var(--bg-surface);
padding: 1em;
border-radius: 8px;
overflow-x: auto;
margin: 1.5em 0;
border: 1px solid var(--border-dim);
box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.35);
}
pre code {
color: var(--text-main);
background: none;
}
/*** Syntax highlight Monokai / JetBrains style ***/
pre .kw { color: var(--accent-red); font-weight: 600; } /* keywords */
pre .fn { color: var(--accent-blue); } /* functions */
pre .str { color: var(--accent-green); } /* strings */
pre .num { color: #d19a66; } /* numbers */
pre .com { color: #7f848e; font-style: italic; } /* comments */
pre .cls { color: var(--accent-purple); } /* classes */
pre .var { color: #e5c07b; } /* variables */
/*** Blockquotes ***/
blockquote {
border-left: 3px solid var(--accent-blue);
background: rgba(97, 175, 239, 0.07);
padding: 0.8em 1em;
margin: 1.8em 0;
font-style: italic;
color: var(--text-muted);
border-radius: 4px;
}
/*** Tables ***/
table {
width: 100%;
border-collapse: collapse;
margin: 2em 0;
font-size: 0.95em;
}
th, td {
border: 1px solid var(--border-dim);
padding: 0.6em 0.8em;
}
th {
background: rgba(97, 175, 239, 0.1);
color: var(--accent-blue);
text-align: left;
}
tr:nth-child(even) td {
background: rgba(255, 255, 255, 0.02);
}
/*** HR separator ***/
hr {
border: none;
height: 1px;
background: var(--border-dim);
margin: 2.2em 0;
}
/*** Footer ***/
footer {
border-top: 1px solid var(--border-dim);
margin-top: 3em;
padding-top: 1em;
text-align: center;
font-size: 0.85em;
color: var(--text-muted);
}
/*** Transitions ***/
a, code, pre, table, blockquote {
transition: all 0.25s ease;
}
/*** Remove over-bright glows ***/
pre:hover, blockquote:hover, table:hover {
box-shadow: 0 0 6px rgba(97, 175, 239, 0.15);
}