2023-12-21 19:06:53 +00:00
|
|
|
:root {
|
|
|
|
/* colors */
|
|
|
|
--cl-border: #E7E7E7;
|
|
|
|
--cl-foreground: #FFFFFF;
|
|
|
|
--cl-background: #212121;
|
|
|
|
--cl-gray: #828282;
|
2024-01-18 17:55:02 +00:00
|
|
|
|
|
|
|
--cl-note: #4074D9;
|
|
|
|
--cl-note-background: #4074D930;
|
|
|
|
|
|
|
|
--cl-alert: #ed6a5a;
|
|
|
|
--cl-alert-background: #ed6a5a30;
|
|
|
|
|
2023-12-28 04:00:14 +00:00
|
|
|
--cl-link: #4074D9;
|
2023-12-24 07:30:51 +00:00
|
|
|
|
|
|
|
--cl-meta: #F7A32E;
|
|
|
|
|
2023-12-21 19:06:53 +00:00
|
|
|
|
|
|
|
/* -- Code Block Colors -- */
|
|
|
|
|
|
|
|
/* --- Monokai Theme */
|
|
|
|
--cl-code-monokai-background: #272822;
|
|
|
|
--cl-code-monokai-foreground: #F8F8F2;
|
|
|
|
--cl-code-monokai-comment: #75715E;
|
|
|
|
--cl-code-monokai-red: #F92672;
|
|
|
|
--cl-code-monokai-orange: #FD971F;
|
|
|
|
--cl-code-monokai-light-orange: #E69F66;
|
|
|
|
--cl-code-monokai-yellow: #E6DB74;
|
|
|
|
--cl-code-monokai-green: #A6E22E;
|
|
|
|
--cl-code-monokai-blue: #66D9EF;
|
|
|
|
--cl-code-monokai-purple: #AE81FF;
|
|
|
|
|
|
|
|
|
|
|
|
/* The comments they have are way too dim to be easy reading. */
|
|
|
|
--cl-code-custom-background: #000000;
|
|
|
|
--cl-code-custom-foreground: #F8F8F2;
|
|
|
|
--cl-code-custom-comment: #95919E;
|
|
|
|
--cl-code-custom-red: #F92672;
|
|
|
|
--cl-code-custom-orange: #FD971F;
|
|
|
|
--cl-code-custom-light-orange: #E69F66;
|
|
|
|
--cl-code-custom-yellow: #E6DB74;
|
|
|
|
--cl-code-custom-green: #A6E22E;
|
|
|
|
--cl-code-custom-blue: #66D9EF;
|
|
|
|
--cl-code-custom-purple: #AE81FF;
|
|
|
|
|
|
|
|
|
|
|
|
/* --- Theme Variables */
|
|
|
|
--cl-code-background: var(--cl-code-custom-background);
|
|
|
|
--cl-code-foreground: var(--cl-code-custom-foreground);
|
|
|
|
--cl-code-builtin: var(--cl-code-custom-green);
|
|
|
|
--cl-code-comment: var(--cl-code-custom-comment);
|
|
|
|
--cl-code-function-name: var(--cl-code-custom-green);
|
|
|
|
--cl-code-keyword: var(--cl-code-custom-red);
|
|
|
|
--cl-code-string: var(--cl-code-custom-yellow);
|
|
|
|
--cl-code-type: var(--cl-code-custom-blue);
|
|
|
|
--cl-code-variable-name: var(--cl-code-custom-orange);
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
font-family: "Segoe UI", Helvetica, Arial, sans-serif;
|
|
|
|
background: var(--cl-background);
|
|
|
|
color: var(--cl-foreground);
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
min-height: 100vh;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
line-height: 1.5em;
|
|
|
|
font-size: 1.2em;
|
|
|
|
overscroll-behavior-y: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
header {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
border-bottom: 1px solid var(--cl-border);
|
|
|
|
padding: 10px 30px;
|
|
|
|
margin-bottom: 40px;
|
|
|
|
}
|
|
|
|
header h1 { font-size: 24px; }
|
|
|
|
header nav {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
header nav ul {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
header nav ul li {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* helper classes */
|
|
|
|
.visually-hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu li {
|
|
|
|
padding-left: 50px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
.menu a {
|
|
|
|
color: var(--cl-foreground);
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* -- main content -- */
|
|
|
|
a { color: var(--cl-link); }
|
|
|
|
a:hover {
|
|
|
|
transition: 0.2s;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
line-height: 25px;
|
|
|
|
font-size: 15px;
|
|
|
|
padding-bottom: 20px;
|
|
|
|
}
|
|
|
|
h2 {
|
|
|
|
font-size: 24px;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
main {
|
|
|
|
width: 600px;
|
|
|
|
margin: 0 auto;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
@media (max-width: 599px) {
|
|
|
|
main {
|
|
|
|
width: calc(100% - 20px);
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
}
|
2023-12-24 07:30:51 +00:00
|
|
|
article h1:first-child { font-size: 36px;
|
|
|
|
line-height: 38px;
|
|
|
|
}
|
2023-12-21 19:06:53 +00:00
|
|
|
.post__meta {
|
|
|
|
font-size: 14px;
|
2023-12-24 07:30:51 +00:00
|
|
|
color: var(--cl-meta);
|
2023-12-21 19:06:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* -- table -- */
|
|
|
|
main table { width: 100% }
|
|
|
|
main table th { text-align: left; }
|
|
|
|
|
|
|
|
/* -- Highlight Note Class -- */
|
|
|
|
.note {
|
|
|
|
margin-top: 20px;
|
|
|
|
padding: 20px;
|
|
|
|
border-radius: 2px;
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 22px;
|
|
|
|
margin-bottom: 30px;
|
2024-01-18 17:55:02 +00:00
|
|
|
border-left: 5px solid var(--cl-note);
|
|
|
|
background-color: var(--cl-note-background);
|
2023-12-21 19:06:53 +00:00
|
|
|
}
|
2024-01-18 17:55:02 +00:00
|
|
|
|
2023-12-21 19:06:53 +00:00
|
|
|
.note p {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
margin-top: 20px;
|
2023-12-24 07:30:51 +00:00
|
|
|
padding: 10px;
|
|
|
|
padding-left: 20px;
|
2023-12-21 19:06:53 +00:00
|
|
|
border-radius: 2px;
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 22px;
|
|
|
|
margin-bottom: 30px;
|
|
|
|
background-color: #131313;
|
|
|
|
border-left: 5px solid #ccc;
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.quote-citation{
|
|
|
|
text-align: right;
|
|
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* -- Page -- */
|
|
|
|
|
|
|
|
li.post-title {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* -- Code Blocks -- */
|
|
|
|
.org-builtin { color: var(--cl-code-builtin); }
|
|
|
|
.org-doc { color: var(--cl-code-doc); }
|
|
|
|
.org-function-name { color: var(--cl-code-function-name); }
|
|
|
|
.org-keyword { color: var(--cl-code-keyword); }
|
|
|
|
.org-string { color: var(--cl-code-string); }
|
|
|
|
.org-type { color: var(--cl-code-type); }
|
|
|
|
.org-variable-name { color: var(--cl-code-variable-name); }
|
|
|
|
.org-comment, .org-comment-delimiter { color: var(--cl-code-comment); }
|
|
|
|
.org-src-container { color: var(--cl-code-foreground);
|
|
|
|
background: var(--cl-code-background);
|
|
|
|
border: 1px solid var(--cl-border-src);
|
|
|
|
padding: 0px 15px;
|
|
|
|
max-width: 100%;
|
|
|
|
overflow-y: scroll;
|
|
|
|
border-radius: 5px; }
|
|
|
|
.example {
|
|
|
|
color: var(--cl-code-foreground);
|
|
|
|
background: var(--cl-code-background);
|
|
|
|
border: 1px solid var(--cl-border-src);
|
|
|
|
padding: 0px 15px;
|
|
|
|
max-width: 100%;
|
|
|
|
overflow-y: scroll;
|
|
|
|
border-radius: 5px; }
|
|
|
|
|
|
|
|
/* -- Footer --*/
|
|
|
|
footer {
|
|
|
|
background: var(--cl-background);
|
|
|
|
color: var(--cl-foreground);
|
|
|
|
height: 70px;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
border-top: solid;
|
|
|
|
border-width: thin;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100%; }
|
|
|
|
|
|
|
|
a {
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert {
|
|
|
|
position: relative;
|
|
|
|
padding: 0rem 1rem;
|
|
|
|
padding-top: 1px;
|
|
|
|
padding-bottom: 1px;
|
|
|
|
margin-bottom: 1rem;
|
2024-01-18 17:55:02 +00:00
|
|
|
border-left: 5px solid var(--cl-alert);
|
|
|
|
background-color: var(--cl-alert-background)
|
2023-12-21 19:06:53 +00:00
|
|
|
}
|
|
|
|
.alert-heading {
|
|
|
|
font-family: sans-serif;
|
|
|
|
font-size: 1.5rem;
|
2024-01-18 17:55:02 +00:00
|
|
|
color: var(--cl-alert);
|
2023-12-21 19:06:53 +00:00
|
|
|
weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
table, th, td{
|
|
|
|
border: 1px solid;
|
|
|
|
border-collapse: collapse;
|
|
|
|
padding: 2pt;
|
|
|
|
}
|
|
|
|
|
|
|
|
th {
|
|
|
|
border: 2px solid;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
line-height: 25px;
|
|
|
|
font-size: 17px;
|
|
|
|
padding-bottom: 0px;
|
|
|
|
}
|
2023-12-24 07:30:51 +00:00
|
|
|
|
|
|
|
.todo {
|
|
|
|
color: var(--cl-meta);
|
|
|
|
}
|
|
|
|
|
|
|
|
.done {
|
|
|
|
color: var(--cl-gray);
|
|
|
|
}
|
2024-01-18 17:55:02 +00:00
|
|
|
|
|
|
|
|
|
|
|
.org-ul {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|