improve styling

This commit is contained in:
Pat Dryburgh
2018-10-24 18:30:30 -07:00
parent a2cf0cef48
commit 50ddb76068
4 changed files with 15 additions and 4 deletions

View File

@ -23,10 +23,16 @@
text-indent: 0;
}
.post dl,
.post ul,
.post ol {
margin: 1.5em;
}
.post li {
margin-left: 1.5rem;
margin-right: 1.5rem;
}
}
.post-content:first-child {
margin-top: 4em;

View File

@ -55,6 +55,10 @@ a {
color: $text-color;
}
a:hover {
background: $highlight;
}
a:focus {
outline: 1px dashed $text-color;
}
@ -154,7 +158,7 @@ figcaption {
transition: all .125s ease-in-out;
&:hover,
&:focus {
background: darken($brand-color, 2.5%);
background: lighten($brand-color, 2.5%);
border-color: $text-color;
margin-top: 0;
}

View File

@ -3,7 +3,7 @@
*/
code.highlighter-rouge {
background: #eef;
background: $highlight;
font-family: courier, monospace;
font-size: .875em;
}
@ -19,7 +19,7 @@ code.highlighter-rouge {
}
.highlighter-rouge & {
background: #eef;
background: $highlight;
}
.c { color: #998; font-style: italic } // Comment

View File

@ -1,4 +1,5 @@
$brand-color: #f2e300;
$highlight: lighten($brand-color, 35%);
$text-color: #0b0404;
$muted-text-color: #79785b;
$font-family: "EB Garamond", Garamond, "Times New Roman", serif;