-
-
Save bnb/8251b8c3d20a2ff228d68fe2e4367c3e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* { | |
box-sizing: border-box; | |
} | |
.clearfix { | |
clear: both; | |
} | |
.right { | |
float: right; | |
} | |
.left { | |
float: left; | |
} | |
a { | |
color: #bbb; | |
transition: color 0.5s; | |
text-decoration: none; | |
} | |
a:hover { | |
color: #b13737; | |
transition: color 0.5s; | |
} | |
small, p, a { | |
font-family: 'Source Serif Pro'; | |
font-style: normal; | |
font-weight: 400; | |
} | |
.content pre { | |
width: 100%; | |
} | |
.content pre code { | |
max-width: 800px; | |
max-height: 600px; | |
margin: 1em auto; | |
padding: 1em 0; | |
display: block; | |
overflow: scroll; | |
} | |
.em { | |
font-weight: bold; | |
color: #b13737; | |
transition: all 0.15s; | |
} | |
.em:hover { | |
transition: all 0.15s; | |
border-bottom: 2px solid #b13737; | |
} | |
.inline { | |
display: inline-block; | |
vertical-align: top; | |
} | |
.half { /* Or thereabouts */ | |
width: 49.8%; | |
} | |
h1 { | |
padding: 2em 0 1.7em 0; | |
font-family: 'TeX Gyre Heros'; | |
font-style: normal; | |
font-weight: 700; | |
border-bottom: none; | |
} | |
h2 { | |
padding: 1.7em 0 1.5em 0; | |
font-family: 'Tex Gyre Heros'; | |
font-style: normal; | |
font-weight: 400; | |
} | |
h3 { | |
padding: 1.5em 0 1.3em 0; | |
font-family: 'TeX Gyre Heros'; | |
font-style: normal; | |
font-weight: 700; | |
} | |
.content li { | |
list-style:inside; | |
color: #888; | |
} | |
.content li a { | |
color: #888; | |
text-decoration: underline; | |
} | |
blockquote { | |
background-color: #f6f6f6; | |
border-top: 8px solid #efefef; | |
font-family: "Alegreya"; | |
font-style: italic; | |
font-weight: 400; | |
font-size: 1.6em; | |
} | |
blockquote strong { | |
background-color: #f6f6f6; | |
border-top: 8px solid #efefef; | |
font-family: "Alegreya"; | |
font-style: italic; | |
font-weight: 700; | |
font-size: 1em; | |
} | |
blockquote a { | |
font-family: "Alegreya"; | |
font-style: italic; | |
font-weight: 400; | |
font-size: 1em; | |
} | |
@media screen and (max-width: 543px) { | |
blockquote { | |
width: inherit; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment