Decruft CSS

master
Tait Hoyem 3 years ago
parent 01e6cc0731
commit 2583c861be

@ -5,6 +5,7 @@ plugins:
highlihger: rouge highlihger: rouge
permalink: /:categories/:year/:month/:day/:title/ permalink: /:categories/:year/:month/:day/:title/
collections: collections:
emacspeak_tutorials: emacspeak_tutorials:
output: true output: true

@ -12,6 +12,12 @@ $line-height: 1.5em;
$term-line-height: 1em; $term-line-height: 1em;
$file-line-height: 1.2em; $file-line-height: 1.2em;
$terminal-bg: #121212;
$terminal-fg: #00FF41;
$file-bg: #dfdfdf;
$file-fg: #000000;
body { body {
background-color: #fefefe; background-color: #fefefe;
padding: 16px; padding: 16px;
@ -21,6 +27,7 @@ body {
line-height: $line-height; line-height: $line-height;
overflow-wrap: break-word; overflow-wrap: break-word;
} }
#wrapper { #wrapper {
max-width: 800px; max-width: 800px;
margin: auto; margin: auto;
@ -34,42 +41,53 @@ body {
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
.clear-list li { .clear-list li {
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
.projects a { .projects a {
font-weight: bold; font-weight: bold;
} }
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
line-height: 1em; line-height: 1em;
} }
.center { .center {
text-align: center; text-align: center;
} }
header { header {
margin-bottom: 32px; margin-bottom: 32px;
} }
hr { hr {
border: none; border: none;
border-bottom: 1px solid #999; border-bottom: 1px solid #999;
} }
a { a {
text-decoration: underline; text-decoration: underline;
color: $link-color; color: $link-color;
} }
a:visited { a:visited {
color: $visited-link-color; color: $visited-link-color;
} }
a.nav-link, a.nav-link,
a.post-title-link { a.post-title-link {
color: $nav-link-color; color: $nav-link-color;
text-decoration: none; text-decoration: none;
} }
.post-title { .post-title {
line-height: $line-height; line-height: $line-height;
color: $nav-link-color; color: $nav-link-color;
} }
a.citation-link { a.citation-link {
text-decoration: none; text-decoration: none;
} }
@ -78,12 +96,14 @@ nav {
text-align: center; text-align: center;
padding: $nav-padd 0px; padding: $nav-padd 0px;
} }
nav a { nav a {
margin: 1em; margin: 1em;
color: $nav-link-color; color: $nav-link-color;
font-weight: bold; font-weight: bold;
font-style: none; font-style: none;
} }
nav a:hover { nav a:hover {
text-decoration: underline; text-decoration: underline;
} }
@ -92,10 +112,6 @@ li {
margin: .5em; margin: .5em;
} }
p {
padding: .1em 0;
}
table, table,
table tr, table tr,
table td, table td,
@ -123,6 +139,7 @@ img {
blockquote { blockquote {
font-style: italic; font-style: italic;
} }
address { address {
font-style: normal; font-style: normal;
} }
@ -131,13 +148,6 @@ address {
body { body {
width: 90%; width: 90%;
} }
#info {
margin: 0 7px;
}
.menu-content {
max-height: 0;
overflow: hidden;
}
nav { nav {
text-align: left; text-align: left;
width: 100%; width: 100%;
@ -158,11 +168,6 @@ address {
font-weight: bold; font-weight: bold;
} }
sup {
margin: 0;
padding: 0;
}
figcaption { figcaption {
margin-top: 10px; margin-top: 10px;
font-style: italic; font-style: italic;
@ -173,22 +178,22 @@ footer {
margin-bottom: 100px; margin-bottom: 100px;
} }
.terminal,
.file {
padding: 10px;
overflow: scroll;
}
.terminal { .terminal {
line-height: $term-line-height; line-height: $term-line-height;
overflow: scroll; color: $terminal-fg;
padding: 10px; background-color: $terminal-bg;
color: #00FF41;
margin: 0px;
background-color: #151515;
} }
.file { .file {
overflow: scroll;
padding: 10px;
margin: 0px;
line-height: $file-line-height; line-height: $file-line-height;
background-color: #dfdfdf; background-color: $file-bg;
color: #000; color: $file-fg;
} }
.small-image { .small-image {
@ -196,14 +201,15 @@ footer {
} }
.post-date { .post-date {
font-size: 18px;
text-transform: uppercase; text-transform: uppercase;
font-weight: bold; font-weight: bold;
color: #555; color: #555;
} }
.post-excerpt { .post-excerpt {
margin: 16px; margin-left: 24px;
margin-bottom: 0;
} }
.post-header {
margin-bottom: 12px;
}

@ -5,7 +5,7 @@ title: "Blog"
<h1>Blog</h1> <h1>Blog</h1>
{% for post in site.posts %} {% for post in site.posts %}
<article> <article>
<header> <header class="post-header">
<h2 class="post-title"> <h2 class="post-title">
<a class="post-title-link" href="{{ post.url }}">{{ post.title }}</a> <a class="post-title-link" href="{{ post.url }}">{{ post.title }}</a>
</h2> </h2>

Loading…
Cancel
Save