$dch-color: #09192f; @font-face { font-family: 'DejaVu Sans'; font-weight: 100; src: url("fonts/dejavusans-extralight.woff") format("woff"); } /* Global styles */ html, body { background-color: #121212; color: #ffffff; box-sizing: border-box; } * { box-sizing: inherit; } body { display: flex; flex-direction: column; min-height: 100vh; font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif } body.index { background-color: $dch-color; } a:link, a:visited { color: #ffffff; } h1, h2, h3, h4, h5, h6 { color: #ffffff; } /* Header */ @media only screen and (min-width: 800px) { header.page-header { display: flex; justify-content: space-between; } } header.page-header { background-color: #09192f; box-shadow: 2px 2px 8px 0 #000000; z-index: 100; position: -webkit-sticky; position: sticky; top: 0; } svg#dustin-logo { margin-bottom: -35px; } svg#dustin-logo path { fill: #ffffff; } nav.main-nav ul { list-style: none; margin: 0; padding: 0; } nav.main-nav li { display: inline-block; margin: 0; padding: 0; } nav.main-nav li:last-child { border-right: none; } nav.main-nav li a { display: block; padding: 1em; } nav.main-nav a:link, nav.main-nav a:visited, nav.main-nav a:active, nav.main-nav a:hover { text-decoration: none; } nav.main-nav li:hover { background-color: #333f58; } /* Body */ main.main-content { color: #e8e8e8; flex-grow: 1; display: flex; flex-direction: row; justify-content: space-around; } main.main-content div.main-content { margin: 0 auto; width: 100%; max-width: 10in; padding: 0 1em; } @media only screen and (min-height: 1000px) and (min-width: 1000px) { .index main.main-content div.main-content { margin-top: 7rem; } } .home h1.my-name { display: flex; justify-content: space-around; font-size: 48pt; font-weight: lighter; text-align: center; margin-bottom: 0; font-family: 'DejaVu Sans'; } .home ul.my-attributes { font-size: 10pt; text-align: center; list-style-type: none; margin: 0; padding: 0; } .home ul.my-attributes li { display: inline; } .home ul.my-attributes li:last-child::after { content: none; } .home ul.my-attributes li::after { content: " • "; } .recent-posts h2 { margin-top: 3em; } .recent-posts h3.post-title { margin-bottom: 0; text-decoration: underline; } .recent-posts a { text-decoration: none; } .recent-posts .post-summary { margin-bottom: 2.5em; } .recent-posts a.post-summary { display: block; color: #eeeeee; } .recent-posts a.post-summary:hover { color: #ffffff; } .post-date { font-size: 10pt; } .post { background-color: #282828; padding: 1rem; box-shadow: 1px 1px 8px 0 #000000; } article.post .post-title { margin: 0; } article.post .post-date { margin-bottom: 3em; } .post pre { margin: 0 .25em; padding: .25em .5em; } /* Footer */ footer.page-footer { font-size: 9pt; text-align: center; margin-top: 5em; margin-bottom: 0.5em; } footer.page-footer hr { margin-bottom: 1em; width: 20%; }