LogSource/arise-source/config/main.css

188 lines
4 KiB
CSS
Raw Normal View History

2025-10-14 10:58:17 -03:00
/* =========================================
Thergic Log - IDE Dark Theme Refinement
Monokai / JetBrains-inspired palette
========================================= */
2025-10-14 10:47:32 -03:00
:root {
2025-10-14 10:58:17 -03:00
--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 ***/
2025-10-13 19:11:32 -03:00
body {
2025-10-14 10:47:32 -03:00
background-color: var(--bg-main);
color: var(--text-main);
font-family: "Inter", "Segoe UI", sans-serif;
font-size: 18px;
2025-10-14 10:58:17 -03:00
line-height: 1.65;
2025-10-14 10:47:32 -03:00
margin: 40px auto;
max-width: 750px;
padding: 0 16px;
}
2025-10-14 10:58:17 -03:00
/*** 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);
}
2025-10-14 10:47:32 -03:00
/*** Headings ***/
h1, h2, h3, h4, h5, h6 {
font-weight: 700;
margin-top: 2.2em;
margin-bottom: 0.8em;
2025-10-14 10:58:17 -03:00
line-height: 1.3;
2025-09-08 17:38:31 -03:00
}
2025-10-14 10:47:32 -03:00
h1 {
2025-10-14 10:58:17 -03:00
color: var(--accent-green);
font-size: 2.1em;
border-bottom: 1px solid var(--border-dim);
2025-10-14 10:47:32 -03:00
padding-bottom: 0.4em;
2025-09-08 17:38:31 -03:00
}
2025-10-14 10:58:17 -03:00
h2 {
color: var(--accent-blue);
font-size: 1.6em;
2025-09-08 17:38:31 -03:00
}
2025-10-14 10:58:17 -03:00
h3 {
color: var(--accent-orange);
font-size: 1.25em;
2025-10-14 10:47:32 -03:00
}
/*** Links ***/
a {
2025-10-14 10:58:17 -03:00
color: var(--accent-blue);
2025-10-14 10:47:32 -03:00
text-decoration: none;
2025-10-14 10:58:17 -03:00
transition: color 0.25s ease;
2025-10-14 10:47:32 -03:00
}
a:hover {
2025-10-14 10:58:17 -03:00
color: var(--accent-purple);
2025-09-08 17:38:31 -03:00
}
2025-10-14 10:58:17 -03:00
/*** Text elements ***/
p, ul, ol {
margin: 0 0 1.2em;
2025-09-08 17:38:31 -03:00
}
2025-10-14 10:58:17 -03:00
strong { color: var(--accent-green); }
em { color: var(--accent-orange); }
del { opacity: 0.6; }
2025-09-08 17:38:31 -03:00
2025-10-14 10:58:17 -03:00
/*** Inline code ***/
2025-10-14 10:47:32 -03:00
code {
2025-10-14 10:58:17 -03:00
font-family: "JetBrains Mono", "Fira Code", monospace;
font-size: 0.95em;
background: #2b2d31;
color: var(--accent-orange);
2025-10-14 10:47:32 -03:00
padding: 2px 5px;
border-radius: 4px;
2025-10-13 18:13:55 -03:00
}
2025-09-08 17:38:31 -03:00
2025-10-14 10:58:17 -03:00
/*** Code blocks ***/
2025-10-14 10:47:32 -03:00
pre {
background: var(--bg-surface);
padding: 1em;
border-radius: 8px;
overflow-x: auto;
margin: 1.5em 0;
border: 1px solid var(--border-dim);
2025-10-14 10:58:17 -03:00
box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.35);
2025-09-08 17:38:31 -03:00
}
2025-10-14 10:47:32 -03:00
pre code {
2025-10-14 10:58:17 -03:00
color: var(--text-main);
2025-10-14 10:47:32 -03:00
background: none;
2025-09-08 17:38:31 -03:00
}
2025-10-14 10:58:17 -03:00
/*** 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 */
2025-10-14 10:47:32 -03:00
/*** Blockquotes ***/
blockquote {
2025-10-14 10:58:17 -03:00
border-left: 3px solid var(--accent-blue);
background: rgba(97, 175, 239, 0.07);
2025-10-14 10:47:32 -03:00
padding: 0.8em 1em;
margin: 1.8em 0;
font-style: italic;
2025-10-14 10:58:17 -03:00
color: var(--text-muted);
2025-10-14 10:47:32 -03:00
border-radius: 4px;
2025-09-08 17:38:31 -03:00
}
2025-10-13 18:50:56 -03:00
2025-10-14 10:47:32 -03:00
/*** 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;
2025-09-08 17:38:31 -03:00
}
2025-10-14 10:47:32 -03:00
th {
2025-10-14 10:58:17 -03:00
background: rgba(97, 175, 239, 0.1);
color: var(--accent-blue);
2025-10-14 10:47:32 -03:00
text-align: left;
}
tr:nth-child(even) td {
background: rgba(255, 255, 255, 0.02);
}
2025-09-08 17:38:31 -03:00
2025-10-14 10:58:17 -03:00
/*** HR separator ***/
hr {
border: none;
height: 1px;
background: var(--border-dim);
margin: 2.2em 0;
2025-09-08 17:38:31 -03:00
}
2025-10-14 10:47:32 -03:00
/*** Footer ***/
footer {
2025-10-14 10:58:17 -03:00
border-top: 1px solid var(--border-dim);
2025-10-14 10:47:32 -03:00
margin-top: 3em;
padding-top: 1em;
text-align: center;
font-size: 0.85em;
2025-10-14 10:58:17 -03:00
color: var(--text-muted);
2025-10-13 18:23:48 -03:00
}
2025-09-08 17:38:31 -03:00
2025-10-14 10:58:17 -03:00
/*** Transitions ***/
a, code, pre, table, blockquote {
2025-10-14 10:47:32 -03:00
transition: all 0.25s ease;
2025-10-13 18:54:08 -03:00
}
2025-10-14 10:58:17 -03:00
/*** Remove over-bright glows ***/
2025-10-14 10:47:32 -03:00
pre:hover, blockquote:hover, table:hover {
2025-10-14 10:58:17 -03:00
box-shadow: 0 0 6px rgba(97, 175, 239, 0.15);
2025-10-13 18:45:47 -03:00
}