website/static/style.css
J S ef43fe3f0a
feat[posts] Added org-agenda post.
I added a post on org-agenda
I renamed zettelkasten-tooling post's slug.
I made the link color slightly brighter.
2023-12-27 23:00:14 -05:00

288 lines
6.3 KiB
CSS

:root {
/* colors */
--cl-border: #E7E7E7;
--cl-foreground: #FFFFFF;
--cl-background: #212121;
--cl-gray: #828282;
--cl-note: #F2FFDD;
--cl-link: #4074D9;
--cl-meta: #F7A32E;
/* -- 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;
}
}
article h1:first-child { font-size: 36px;
line-height: 38px;
}
.post__meta {
font-size: 14px;
color: var(--cl-meta);
}
/* -- table -- */
main table { width: 100% }
main table th { text-align: left; }
/* -- Highlight Note Class -- */
.note {
margin-top: 20px;
background-color: var(--cl-note);
padding: 20px;
border-radius: 2px;
font-size: 13px;
line-height: 22px;
margin-bottom: 30px;
}
.note p {
margin: 0;
padding: 0;
}
.alert {
margin-top: 20px;
padding: 10px;
padding-left: 20px;
border-radius: 2px;
font-size: 13px;
line-height: 22px;
margin-bottom: 30px;
border-color: #ed6a5a;
border-left: 5px solid #ed6a5a;
background-color: #ed6a5a30
}
.alert-heading {
font-family: sans-serif;
font-size: 1.5rem;
color: #ed6a5a;
weight: bold;
}
blockquote {
margin-top: 20px;
padding: 10px;
padding-left: 20px;
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;
border-color: #ed6a5a;
margin-bottom: 1rem;
border-left: 5px solid #ed6a5a;
background-color: #ed6a5a30
}
.alert-heading {
font-family: sans-serif;
font-size: 1.5rem;
color: #ed6a5a;
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;
}
.todo {
color: var(--cl-meta);
}
.done {
color: var(--cl-gray);
}