Remove useless nesting that Hugo used to require
author |
Steve Losh <steve@stevelosh.com> |
date |
Sun, 05 Jan 2020 18:36:56 -0500 |
parents |
65c17aa7972b |
children |
(none) |
html {
overflow-y: scroll;
}
body {
text-rendering: optimizeLegibility;
margin: 10px auto 200px;
width: 700px;
font-family: Palatino, "Palatino Linotype", serif;
font-size: 17px;
line-height: 24px;
background: #fcfcfc;
color: black;
}
hr {
border: none;
padding: 0;
margin: 12px 0px;
height: 1px;
border-top: 1px solid #d0d0d0;
border-bottom: 1px solid #ddd;
}
header {
color: #777;
text-transform: lowercase;
font-size: 20px;
line-height: 30px;
}
header > nav {
float: right;
font-size: 17px;
line-height: 30px;
}
footer {
font-style: italic;
font-size: 14px;
line-height: 30px;
}
footer > nav {
margin: 0 auto;
text-align: center;
}
main {
margin: 36px 0px;
}
p, ul, ol {
margin: 0px 0px 24px;
}
a {
color: #e50053;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* Headings ---------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
font-family: HoeflerText-Regular, 'Hoefler Text', 'Goudy Old Style','Palatino', 'Palatino Linotype', serif;
font-weight: normal;
}
h1 a, h2 a, h3 a, h4 a {
color: black
}
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover {
color: #e50053; text-decoration: none;
}
h1 { font-size: 36px; line-height: 48px; margin: 24px 0; }
h2 { font-size: 30px; line-height: 36px; margin: 24px 0; }
h3 { font-size: 25px; line-height: 24px; margin: 24px 0; }
h4 { font-size: 20px; line-height: 24px; margin: 24px 0; }
/* Code -------------------------------------------------------------------- */
code, pre {
font-family: Consolas, Menlo, "Courier New", monospace;
}
p code, li code, table code {
border: 1px solid #ccc;
background-color: #fafafa;
border-radius: 2px;
font-size: 14px;
padding: 0px 3px;
line-height: 20px;
margin: 0;
}
pre {
font-size: 14px;
line-height: 20px;
overflow-x: auto;
border: 1px solid #d5d5d5;
border-left: 10px solid #d5d5d5;
background-color: #fafafa;
padding: 11px 15px 12px;
margin: 0px 0px 24px -25px;
}
pre i {
/* come on, 3bmd */
font-style: normal;
}
pre span.string {
font-style: italic;
}
pre span.comment {
font-style: italic;
font-weight: bold;
color: #714678;
}
pre.lineart {
background: none;
border: none;
line-height: 16px;
}
/* Bits & Bobs ------------------------------------------------------------- */
a#logo { color: #000000; }
a#logo:hover { color: #e50053; }
/* Index Pages ------------------------------------------------------------- */
ol.index {
list-style-type: none;
padding: 0px;
}
ol.index li.item {
margin-bottom: 24px;
}
ol.index p.snippet {
font-style: italic;
}
ol.index p.date {
margin: 0px;
color: #666;
float: right;
}
/* Individual Pages -------------------------------------------------------- */
main#page-blog-entry p.date,
main#page-photography-gallery p.date,
main#page-simple p.date {
margin: -20px 0px 24px;
color: #666;
}
main#page-blog-entry img {
display: block;
margin: 25px auto 26px;
border: 11px solid #e5e5e5;
padding: 1px;
background: black;
max-width: 676px;
}
main#page-blog-entry canvas {
display: block;
margin: 25px auto 26px;
border: 11px solid #e5e5e5;
padding: 1px;
background: black;
}
main#page-blog-entry div.threejs {
margin: 0px 0px 24px;
}
main#page-photography-gallery ul {
margin: 0px 0px 24px 0px;
padding: 0;
}
main#page-photography-gallery li {
display: inline-block;
margin: 0;
}
main#page-photography-gallery img {
display: inline-block;
margin: 0px 12px 12px 0px;
border: 1px solid black;
width: 160px;
height: 160px;
}