Skip to content

Commit

Permalink
improve styling
Browse files Browse the repository at this point in the history
  • Loading branch information
patdryburgh committed Oct 25, 2018
1 parent a2cf0ce commit 50ddb76
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
8 changes: 7 additions & 1 deletion _sass/_article.scss
Expand Up @@ -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;
Expand Down
6 changes: 5 additions & 1 deletion _sass/_base.scss
Expand Up @@ -55,6 +55,10 @@ a {
color: $text-color;
}

a:hover {
background: $highlight;
}

a:focus {
outline: 1px dashed $text-color;
}
Expand Down Expand Up @@ -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;
}
Expand Down
4 changes: 2 additions & 2 deletions _sass/_syntax-highlighting.scss
Expand Up @@ -3,7 +3,7 @@
*/

code.highlighter-rouge {
background: #eef;
background: $highlight;
font-family: courier, monospace;
font-size: .875em;
}
Expand All @@ -19,7 +19,7 @@ code.highlighter-rouge {
}

.highlighter-rouge & {
background: #eef;
background: $highlight;
}

.c { color: #998; font-style: italic } // Comment
Expand Down
1 change: 1 addition & 0 deletions _sass/_variables.scss
@@ -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;
Expand Down

0 comments on commit 50ddb76

Please sign in to comment.