You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

216 lines
2.7 KiB

$normal-text-color: #444444;
$nav-link-color: #333;
$nav-link-hover-color: black;
$link-color: #47a;
$visited-link-color: #941452;
$last-p-padd: 1.5em;
$nav-padd: 1em;
$line-under: 1px solid #aaa;
$line-height: 1.5em;
$term-line-height: 1em;
$file-line-height: 1.2em;
$terminal-bg: #121212;
$terminal-fg: #00FF41;
$file-bg: #dfdfdf;
$file-fg: #000000;
body {
background-color: #fefefe;
padding: 16px;
font-family: -apple-system, helvetica, arial, sans-serif;
font-size: 16px;
color: $normal-text-color;
line-height: $line-height;
overflow-wrap: break-word;
}
#wrapper {
max-width: 800px;
margin: auto;
> header {
text-align: center;
}
}
.clear-list {
list-style-type: none;
margin: 0;
padding: 0;
}
.clear-list li {
margin: 0;
padding: 0;
}
.projects a {
font-weight: bold;
}
h1, h2, h3, h4, h5, h6 {
line-height: 1em;
}
.center {
text-align: center;
}
header {
margin-bottom: 32px;
}
hr {
border: none;
border-bottom: 1px solid #999;
}
a {
text-decoration: underline;
color: $link-color;
}
a:visited {
color: $visited-link-color;
}
a.nav-link,
a.post-title-link {
color: $nav-link-color;
text-decoration: none;
}
.post-title {
line-height: $line-height;
color: $nav-link-color;
}
a.citation-link {
text-decoration: none;
}
nav {
text-align: center;
padding: $nav-padd 0px;
}
nav a {
margin: 1em;
color: $nav-link-color;
font-weight: bold;
font-style: none;
}
nav a:hover {
text-decoration: underline;
}
li {
margin: .5em;
}
table,
table tr,
table td,
table th {
border: 1px solid #aaa;
border-collapse: collapse;
padding: 5px;
font-weight: normal;
}
table th {
font-weight: bold;
}
table {
width: 75%;
margin: auto;
}
img {
display: block;
width: 55%;
margin-left: auto;
margin-right: auto;
}
blockquote {
font-style: italic;
}
address {
font-style: normal;
}
@media screen and (max-width: 600px){
body {
width: 90%;
}
nav {
text-align: left;
width: 100%;
}
nav a {
display: block;
text-align: left;
padding-left: 0;
margin-left: 0;
}
}
.mono {
font-family: monospace;
}
.bold {
font-weight: bold;
}
figcaption {
margin-top: 10px;
font-style: italic;
}
footer {
padding-top: 16px;
margin-bottom: 100px;
}
.terminal,
.file {
padding: 10px;
overflow: scroll;
}
.terminal {
line-height: $term-line-height;
color: $terminal-fg;
background-color: $terminal-bg;
}
.file {
line-height: $file-line-height;
background-color: $file-bg;
color: $file-fg;
}
.small-image {
width: 100%;
}
.post-date {
text-transform: uppercase;
font-weight: bold;
color: #555;
}
.post-excerpt {
margin-left: 24px;
}
.post-header {
margin-bottom: 12px;
}