aboutsummaryrefslogtreecommitdiff
path: root/static/css
diff options
context:
space:
mode:
Diffstat (limited to 'static/css')
-rw-r--r--static/css/custom.css190
1 files changed, 10 insertions, 180 deletions
diff --git a/static/css/custom.css b/static/css/custom.css
index 914db04..26c0436 100644
--- a/static/css/custom.css
+++ b/static/css/custom.css
@@ -1,204 +1,34 @@
-/* Base styles */
body {
margin: 0;
- font-family: Verdana, sans-serif;
font-size: 1rem;
- line-height: 1.6;
- color: black;
+ line-height: 2;
background-color: #f4f4f4;
+ font-weight: normal;
+ font-style: normal;
+ font-family: monospace;
+ color: #333333;
+ padding: 20px;
}
main {
max-width: 50rem;
margin: 0 auto;
padding: 0 1em;
- padding-top: 2em;
+ padding-top: 6em;
padding-bottom: 2em;
}
-/* Typography */
-h1,
-h2,
-h3 {
- margin: 0 0 0.5em;
- line-height: 1.25;
- font-weight: 600;
-}
-
-h1 {
- font-size: 1.4rem;
-}
-
-h2 {
- font-size: 1.3rem;
-}
-
-h3 {
- font-size: 1.2rem;
-}
-
p {
margin: 0 0 1em;
}
-/* Links */
a {
- color: #047bc2;
- text-decoration: underline;
-}
-
-a:hover,
-a:focus,
-a:active {
- text-decoration: underline;
-}
-
-div.metadata {
- font-size: 90%;
- margin-bottom: 0.4em;
-}
-
-span.tag {
-}
-
-span.date {
+ color: inherit;
+ text-decoration: none;
+ border-bottom: 1px solid #b1b1b1
}
-/* Lists */
ul {
display: block;
padding-left: 1em;
}
-
-/* Code blocks */
-p code {
- font-family: monospace;
- font-size: 90%;
- border-radius: 0.3rem;
- padding: 0.025rem 0.3rem;
- border: 1px solid #52576f;
- background-color: #eeeaaa;
-}
-
-pre {
- overflow-x: auto;
-}
-
-pre > code {
- display: block;
- font-family: monospace;
- font-size: 90%;
- padding: 0.5rem;
-}
-
-p > code {
- padding: 0.1em 0.3em;
-}
-
-/* Tables */
-table {
- width: 100%;
- border-collapse: collapse;
-}
-
-th,
-td {
- border: 1px solid #ddd;
- padding: 8px;
- text-align: left;
-}
-
-th {
- background-color: #f5f5f5;
- font-weight: bold;
-}
-
-tr:nth-child(even) {
- background-color: #f9f9f9;
-}
-
-/* Blockquotes */
-blockquote {
- font-style: italic;
- margin: 0 0 1.5em;
- padding-left: 1em;
- border-left: 0.2em solid #bdbdbd;
-}
-
-/* Post list */
-.post-list {
- list-style-type: none;
- padding: 0;
- margin: 0;
-}
-
-.post-list li {
- display: flex;
- justify-content: space-between;
- align-items: baseline;
- margin-bottom: 0.5em;
-}
-
-.post-list a {
- max-width: 70%;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
-}
-
-.post-list a:hover {
- text-decoration: underline;
-}
-
-.post-date {
- font-size: 0.9em;
- color: #666;
-}
-
-/* Navigation */
-.main-nav {
- padding: 1em 0;
- margin-bottom: 0.2em;
-}
-
-.main-nav ul {
- list-style-type: none;
- padding: 0;
- margin: 0;
- display: flex;
- flex-wrap: wrap;
-}
-
-.main-nav li {
- margin: 0 1.5em 0.5em 0;
-}
-
-.main-nav a {
- color: #047bc2;
- transition: color 0.3s;
-}
-
-.main-nav a:hover {
- color: #035891;
-}
-
-/* Responsive layout */
-@media (max-width: 768px) {
- .main-nav {
- padding: 0.5em 0em;
- }
-
- .main-nav li {
- margin-right: 1em;
- }
-
- .post-list li {
- flex-direction: column;
- align-items: flex-start;
- }
-
- .post-list a {
- max-width: 100%;
- margin-bottom: 0.2em;
- }
-}