LogSource/arise-source/config/main.css

178 lines
3.4 KiB
CSS
Raw Normal View History

2025-10-13 19:14:37 -03:00
/*** Core page styles ***/
2025-10-13 18:54:08 -03:00
2025-10-13 19:14:37 -03:00
/* Base styling */
2025-09-08 17:38:31 -03:00
html * {
2025-10-13 19:11:32 -03:00
font-family: sans-serif;
2025-09-08 17:38:31 -03:00
}
2025-10-13 19:11:32 -03:00
body {
margin: 40px auto;
max-width: 650px;
line-height: 1.6;
font-size: 18px;
color: #65f85a;
background-color: #121619;
padding: 0 10px;
2025-09-08 17:38:31 -03:00
}
2025-10-13 19:11:32 -03:00
/*** Post styling ***/
2025-09-08 17:38:31 -03:00
img {
max-width: 100%;
max-height: 100%;
2025-10-13 19:11:32 -03:00
margin-top: 20px;
margin-bottom: 20px;
border-radius: 16px;
2025-10-13 18:50:56 -03:00
margin-left: auto;
margin-right: auto;
2025-09-08 17:38:31 -03:00
display: block;
}
2025-10-13 19:11:32 -03:00
/* Inline code */
2025-09-08 17:38:31 -03:00
code {
2025-10-13 19:11:32 -03:00
background-color: #293137;
border-radius: 16px;
2025-10-13 19:14:37 -03:00
padding: 1px 30px;
2025-10-13 19:11:32 -03:00
line-height: 2em;
color: #65f85a;
font-family: monospace;
}
2025-10-13 19:17:35 -03:00
/* Pre background and alignment */
pre.sourceCode {
background-color: #293137; /* full block background */
border-radius: 16px;
padding: 12px 16px;
overflow-x: auto;
line-height: 1.35em; /* tight but readable */
2025-10-13 19:11:32 -03:00
font-family: monospace, "Courier New", Courier, monospace;
color: #65f85a;
2025-10-13 19:13:46 -03:00
}
2025-10-13 19:17:35 -03:00
/* Reset span backgrounds so lines dont stack weirdly */
pre.sourceCode span,
pre.sourceCode span a {
background: none !important; /* remove small rectangles */
display: inline; /* normal inline stacking */
2025-09-08 17:38:31 -03:00
}
2025-10-13 19:17:35 -03:00
/* 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 */
2025-10-13 19:14:37 -03:00
/* Standard pre for other purposes */
2025-09-08 17:38:31 -03:00
pre {
2025-10-13 19:11:32 -03:00
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;
2025-10-13 18:49:33 -03:00
}
2025-09-08 17:38:31 -03:00
blockquote {
2025-10-13 19:11:32 -03:00
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;
2025-09-08 17:38:31 -03:00
}
hr {
2025-10-13 19:11:32 -03:00
color: #65f85a;
margin-left: auto;
margin-right: auto;
max-width: 300px;
2025-09-08 17:38:31 -03:00
}
2025-10-13 19:11:32 -03:00
#endline {
color: #65f85a;
margin-left: auto;
margin-right: auto;
max-width: 300px;
margin-top: 80px;
2025-09-08 17:38:31 -03:00
}
a {
2025-10-13 19:11:32 -03:00
color: #b8f1b4;
text-decoration: none;
2025-10-13 18:13:55 -03:00
}
2025-09-08 17:38:31 -03:00
2025-10-13 19:11:32 -03:00
h1 {
line-height: 1.2;
2025-09-08 17:38:31 -03:00
}
2025-10-13 18:50:56 -03:00
2025-10-13 19:11:32 -03:00
h2, h3 {
padding-top: 24px;
line-height: 1.2;
2025-09-08 17:38:31 -03:00
}
2025-10-13 19:11:32 -03:00
/* Inline dates */
2025-09-08 17:38:31 -03:00
.date {
2025-10-13 19:11:32 -03:00
padding-bottom: 0;
margin-bottom: 0;
font-size: 14px;
2025-09-08 17:38:31 -03:00
}
2025-10-13 18:50:56 -03:00
2025-09-08 17:38:31 -03:00
@media screen and (max-width: 900px) {
2025-10-13 19:11:32 -03:00
.date {
text-align: right;
}
2025-09-08 17:38:31 -03:00
}
@media screen and (min-width: 901px) {
2025-10-13 19:11:32 -03:00
.date {
float: right;
margin-left: 30px;
}
2025-09-08 17:38:31 -03:00
}
2025-10-13 19:11:32 -03:00
/*** Modular component styles ***/
2025-09-08 17:38:31 -03:00
2025-10-13 19:11:32 -03:00
/* Logo */
2025-09-08 17:38:31 -03:00
.logo {
2025-10-13 19:11:32 -03:00
margin-bottom: 20px;
text-align: center;
2025-09-08 17:38:31 -03:00
}
2025-10-13 19:11:32 -03:00
/* Navbar styling */
2025-09-08 17:38:31 -03:00
.topbar {
2025-10-13 19:11:32 -03:00
padding-right: 10px;
border-top: 1px solid #65f85a;
border-bottom: 1px solid #65f85a;
margin-bottom: 20px;
text-align: center;
2025-09-08 17:38:31 -03:00
}
.topbar a {
2025-10-13 19:11:32 -03:00
color: #65f85a;
text-decoration: none;
2025-10-13 18:23:48 -03:00
}
2025-09-08 17:38:31 -03:00
2025-10-13 19:11:32 -03:00
/* Footer styling */
2025-09-08 17:38:31 -03:00
.footer {
2025-10-13 19:11:32 -03:00
border-top: 2px solid #65f85a;
font-size: 12px;
margin-top: 120px;
text-align: center;
2025-10-13 18:54:08 -03:00
}
2025-10-13 19:14:37 -03:00
/*** Arise Index Style ***/
2025-10-13 18:54:08 -03:00
.arise-toc-td {
2025-10-13 19:11:32 -03:00
border-width: 1px;
border-color: #65f85a;
border-top-style: solid;
text-align: center;
padding-right: 10px;
padding-bottom: 5px;
2025-10-13 18:54:08 -03:00
}
.arise-toc-th {
2025-10-13 19:11:32 -03:00
padding-bottom: 20px;
border-bottom: 1px;
border-bottom-style: solid;
2025-10-13 18:45:47 -03:00
}