style change
Some checks are pending
Deploy Arise to html branch / Deploy Arise (push) Waiting to run
Some checks are pending
Deploy Arise to html branch / Deploy Arise (push) Waiting to run
This commit is contained in:
parent
1a5dedf9de
commit
b277b9fd25
1 changed files with 159 additions and 155 deletions
|
|
@ -1,179 +1,183 @@
|
||||||
/*** Core page styles ***/
|
/* ===========================
|
||||||
|
Thergic Cyber Markdown Theme
|
||||||
|
Expanded Neon Palette Edition
|
||||||
|
=========================== */
|
||||||
|
|
||||||
/* Base styling */
|
/*** Base colors ***/
|
||||||
|
:root {
|
||||||
|
--bg-main: #121619;
|
||||||
|
--bg-surface: #1c2024;
|
||||||
|
--text-main: #cfd6cf;
|
||||||
|
--text-bright: #e6ffe8;
|
||||||
|
--accent-green: #65f85a;
|
||||||
|
--accent-teal: #3af8c2;
|
||||||
|
--accent-violet: #b86aff;
|
||||||
|
--border-dim: #2a2f33;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*** General layout ***/
|
||||||
body {
|
body {
|
||||||
margin: 40px auto;
|
background-color: var(--bg-main);
|
||||||
max-width: 650px;
|
color: var(--text-main);
|
||||||
line-height: 1.6;
|
font-family: "Inter", "Segoe UI", sans-serif;
|
||||||
font-size: 18px;
|
line-height: 1.65;
|
||||||
font-family: sans-serif;
|
font-size: 18px;
|
||||||
color: #65f85a;
|
margin: 40px auto;
|
||||||
background-color: #121619;
|
max-width: 750px;
|
||||||
padding: 0 10px;
|
padding: 0 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*** Post styling ***/
|
/*** Headings ***/
|
||||||
img {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
max-width: 100%;
|
color: var(--accent-green);
|
||||||
max-height: 100%;
|
font-weight: 700;
|
||||||
margin-top: 20px;
|
margin-top: 2.2em;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 0.8em;
|
||||||
border-radius: 16px;
|
line-height: 1.25;
|
||||||
margin-left: auto;
|
text-shadow: 0 0 6px rgba(101, 248, 90, 0.3);
|
||||||
margin-right: auto;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Inline code */
|
|
||||||
code {
|
|
||||||
background-color: #293137;
|
|
||||||
border-radius: 8px; /* slightly smaller radius */
|
|
||||||
padding: 2px 6px; /* much smaller padding */
|
|
||||||
line-height: 1.4em; /* reasonable line height */
|
|
||||||
color: #65f85a;
|
|
||||||
font-family: monospace !important; /* force monospace */
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Pre background and alignment */
|
|
||||||
pre.sourceCode {
|
|
||||||
background-color: #293137;
|
|
||||||
border-radius: 16px;
|
|
||||||
padding: 12px 16px;
|
|
||||||
overflow-x: auto;
|
|
||||||
line-height: 1.35em; /* keep tight but readable */
|
|
||||||
font-family: monospace !important; /* force monospace */
|
|
||||||
color: #65f85a;
|
|
||||||
white-space: pre; /* prevent text wrap issues */
|
|
||||||
}
|
|
||||||
pre.sourceCode * {
|
|
||||||
font-family: monospace !important; /* enforce monospace inside spans */
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Reset span backgrounds so lines don’t stack weirdly */
|
|
||||||
pre.sourceCode span,
|
|
||||||
pre.sourceCode span a {
|
|
||||||
background: none !important;
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Syntax highlight colors */
|
|
||||||
pre.sourceCode .co { color: #6ab04c; } /* comments */
|
|
||||||
pre.sourceCode .kw { color: #eb4d4b; } /* keywords */
|
|
||||||
pre.sourceCode .st { color: #f9ca24; } /* strings */
|
|
||||||
pre.sourceCode .bu { color: #12CBC4; } /* built-ins */
|
|
||||||
pre.sourceCode .fu { color: #ff7979; } /* function names */
|
|
||||||
pre.sourceCode .va { color: #e056fd; } /* variables */
|
|
||||||
|
|
||||||
/* Standard pre for other purposes */
|
|
||||||
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 {
|
|
||||||
border-left: 1px solid #65f85a;
|
|
||||||
display: block;
|
|
||||||
margin-top: 1em;
|
|
||||||
margin-bottom: 1em;
|
|
||||||
margin-left: 30px;
|
|
||||||
padding-left: 10px;
|
|
||||||
margin-right: 40px;
|
|
||||||
font-style: italic;
|
|
||||||
color: #46ab3e;
|
|
||||||
}
|
|
||||||
|
|
||||||
hr {
|
|
||||||
color: #65f85a;
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
max-width: 300px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#endline {
|
|
||||||
color: #65f85a;
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
max-width: 300px;
|
|
||||||
margin-top: 80px;
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
color: #b8f1b4;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
line-height: 1.2;
|
font-size: 2.2em;
|
||||||
|
letter-spacing: 1px;
|
||||||
|
border-bottom: 1px solid var(--accent-green);
|
||||||
|
padding-bottom: 0.4em;
|
||||||
|
}
|
||||||
|
h2 { font-size: 1.7em; }
|
||||||
|
h3 { font-size: 1.3em; color: var(--accent-teal); }
|
||||||
|
|
||||||
|
/*** Paragraphs and lists ***/
|
||||||
|
p, ul, ol {
|
||||||
|
margin: 0 0 1.2em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2, h3 {
|
ul li, ol li {
|
||||||
padding-top: 24px;
|
margin: 0.25em 0;
|
||||||
line-height: 1.2;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Inline dates */
|
hr {
|
||||||
.date {
|
border: none;
|
||||||
padding-bottom: 0;
|
height: 1px;
|
||||||
margin-bottom: 0;
|
background: linear-gradient(
|
||||||
font-size: 14px;
|
90deg,
|
||||||
|
transparent,
|
||||||
|
var(--accent-green),
|
||||||
|
transparent
|
||||||
|
);
|
||||||
|
margin: 2.2em 0;
|
||||||
|
opacity: 0.6;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 900px) {
|
/*** Links ***/
|
||||||
.date {
|
a {
|
||||||
text-align: right;
|
color: var(--accent-teal);
|
||||||
}
|
text-decoration: none;
|
||||||
|
transition: color 0.25s ease, text-shadow 0.25s ease;
|
||||||
}
|
}
|
||||||
@media screen and (min-width: 901px) {
|
a:hover {
|
||||||
.date {
|
color: var(--accent-violet);
|
||||||
float: right;
|
text-shadow: 0 0 8px var(--accent-violet);
|
||||||
margin-left: 30px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*** Modular component styles ***/
|
/*** Code blocks ***/
|
||||||
|
code, pre {
|
||||||
/* Logo */
|
font-family: "JetBrains Mono", "Fira Code", monospace;
|
||||||
.logo {
|
font-size: 0.95em;
|
||||||
margin-bottom: 20px;
|
|
||||||
text-align: center;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Navbar styling */
|
code {
|
||||||
.topbar {
|
background: rgba(184, 106, 255, 0.08);
|
||||||
padding-right: 10px;
|
color: var(--accent-violet);
|
||||||
border-top: 1px solid #65f85a;
|
padding: 2px 5px;
|
||||||
border-bottom: 1px solid #65f85a;
|
border-radius: 4px;
|
||||||
margin-bottom: 20px;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
.topbar a {
|
|
||||||
color: #65f85a;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Footer styling */
|
pre {
|
||||||
.footer {
|
background: var(--bg-surface);
|
||||||
border-top: 2px solid #65f85a;
|
padding: 1em;
|
||||||
font-size: 12px;
|
border-radius: 8px;
|
||||||
margin-top: 120px;
|
overflow-x: auto;
|
||||||
text-align: center;
|
margin: 1.5em 0;
|
||||||
|
border: 1px solid var(--border-dim);
|
||||||
|
box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*** Arise Index Style ***/
|
pre code {
|
||||||
.arise-toc-td {
|
background: none;
|
||||||
border-width: 1px;
|
color: var(--text-bright);
|
||||||
border-color: #65f85a;
|
|
||||||
border-top-style: solid;
|
|
||||||
text-align: center;
|
|
||||||
padding-right: 10px;
|
|
||||||
padding-bottom: 5px;
|
|
||||||
}
|
}
|
||||||
.arise-toc-th {
|
|
||||||
padding-bottom: 20px;
|
/*** Syntax highlighting (light-touch pseudo) ***/
|
||||||
border-bottom: 1px;
|
pre span.kw { color: var(--accent-teal); }
|
||||||
border-bottom-style: solid;
|
pre span.fn { color: var(--accent-violet); }
|
||||||
|
pre span.str { color: var(--accent-green); }
|
||||||
|
pre span.num { color: #f8cb3a; }
|
||||||
|
|
||||||
|
/*** Blockquotes ***/
|
||||||
|
blockquote {
|
||||||
|
border-left: 3px solid var(--accent-violet);
|
||||||
|
background: rgba(184, 106, 255, 0.05);
|
||||||
|
padding: 0.8em 1em;
|
||||||
|
margin: 1.8em 0;
|
||||||
|
font-style: italic;
|
||||||
|
color: var(--text-bright);
|
||||||
|
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(101, 248, 90, 0.1);
|
||||||
|
color: var(--accent-green);
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
tr:nth-child(even) td {
|
||||||
|
background: rgba(255, 255, 255, 0.02);
|
||||||
|
}
|
||||||
|
tr:hover td {
|
||||||
|
background: rgba(58, 248, 194, 0.05);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*** Misc elements ***/
|
||||||
|
em { color: var(--accent-teal); }
|
||||||
|
strong { color: var(--accent-green); }
|
||||||
|
del { opacity: 0.6; }
|
||||||
|
sup { font-size: 0.7em; }
|
||||||
|
|
||||||
|
img {
|
||||||
|
display: block;
|
||||||
|
max-width: 100%;
|
||||||
|
height: auto;
|
||||||
|
border-radius: 8px;
|
||||||
|
margin: 1.5em auto;
|
||||||
|
border: 1px solid var(--border-dim);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*** Footer ***/
|
||||||
|
footer {
|
||||||
|
border-top: 1px solid var(--accent-green);
|
||||||
|
margin-top: 3em;
|
||||||
|
padding-top: 1em;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 0.85em;
|
||||||
|
opacity: 0.8;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*** Transitions / Interactions ***/
|
||||||
|
button, a, code, pre, table, blockquote {
|
||||||
|
transition: all 0.25s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*** Glow hover for fun ***/
|
||||||
|
pre:hover, blockquote:hover, table:hover {
|
||||||
|
box-shadow: 0 0 8px rgba(101, 248, 90, 0.25);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue