137 lines
2.1 KiB
SCSS
137 lines
2.1 KiB
SCSS
/* vim: set ts=2 sw=2 et tw=80: */
|
|
|
|
$header-border: 1px solid #eee;
|
|
|
|
body {
|
|
background-color: $background-color;
|
|
font-family: 'IBM Plex Mono', monospace;
|
|
display: flex;
|
|
min-height: 100vh;
|
|
flex-direction: column;
|
|
}
|
|
|
|
main {
|
|
flex: 1 0 auto;
|
|
}
|
|
|
|
.navbar-list .navbar-item {
|
|
text-transform: uppercase;
|
|
font-weight: 400;
|
|
margin: 1em;
|
|
}
|
|
|
|
ul.navbar-list {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.header {
|
|
border-bottom: 1px solid black;
|
|
|
|
.head.navbar {
|
|
display: flex;
|
|
|
|
h1 {
|
|
flex: 2;
|
|
font-size: 1.5rem;
|
|
margin-bottom: .25rem;
|
|
display: inline;
|
|
margin: 0;
|
|
}
|
|
|
|
.links {
|
|
flex: 1 fit-content;
|
|
white-space: nowrap;
|
|
line-height: 2.3rem;
|
|
text-align: right;
|
|
height: 100%;
|
|
padding-left: 1rem;
|
|
padding-right: 1rem;
|
|
border-left: 1px solid #555;
|
|
|
|
a {
|
|
font-weight: bold;
|
|
text-transform: uppercase;
|
|
padding: 0 .5rem;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: 700px) {
|
|
.navbar-list .navbar-item {
|
|
width: calc(100% - 2em);
|
|
}
|
|
}
|
|
|
|
|
|
ul.post-list, ul.navbar-list {
|
|
list-style-type: none;
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
}
|
|
|
|
ul.post-list li {
|
|
padding-top: 2rem;
|
|
}
|
|
|
|
ul.post-list li:first-child {
|
|
padding-top: 0;
|
|
}
|
|
|
|
.header, footer {
|
|
background-color: #EEE;
|
|
}
|
|
|
|
footer {
|
|
padding-top: 1rem;
|
|
}
|
|
|
|
footer .author {
|
|
text-align: center;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.container {
|
|
padding-top: 1rem;
|
|
padding-bottom: 1rem;
|
|
}
|
|
|
|
.icons {
|
|
text-align: center;
|
|
}
|
|
|
|
a.icon {
|
|
display: inline-table;
|
|
background-color: rgba(255,255,255,0.5);
|
|
border-radius: 1.75em;
|
|
width: 3.5em;
|
|
height: 3.5em;
|
|
text-align: center;
|
|
line-height: 3.5em;
|
|
margin: .5em;
|
|
color: white;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* Disable underlining in icon links inside the footer */
|
|
a.icon:link, a.icon:hover, a.icon:visited, a.icon:active {
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* Light up footer icon links when hovering */
|
|
a.icon:hover {
|
|
background-color: #bbbbbb;
|
|
}
|
|
|
|
a.icon i.fa {
|
|
font-size: 2em;
|
|
display: table-cell;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
/* Utility class for centering block elements */
|
|
.block-center {
|
|
display: block;
|
|
margin: auto;
|
|
}
|