380 lines
5.3 KiB
SCSS
380 lines
5.3 KiB
SCSS
$primary-color: #505050;
|
|
$primary-color-dark: #282828;
|
|
$primary-color-light: #7c7c7c;
|
|
|
|
$secondary-color: #333f58;
|
|
$secondary-color-light: #5e6a85;
|
|
$secondary-color-dark: #09192f;
|
|
|
|
$background-color: #121212;
|
|
$text-color: #ffffff;
|
|
$panel-color: $primary-color-dark;
|
|
$toolbar-color: $primary-color;
|
|
|
|
@font-face {
|
|
font-family: "DejaVu Sans";
|
|
font-weight: 100;
|
|
src: url("fonts/dejavusans-extralight.woff") format("woff");
|
|
}
|
|
|
|
/* Global styles */
|
|
|
|
html,
|
|
body {
|
|
background-color: $background-color;
|
|
color: $text-color;
|
|
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: $secondary-color-dark;
|
|
}
|
|
|
|
a:link,
|
|
a:visited {
|
|
color: $text-color;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
color: $text-color;
|
|
}
|
|
|
|
code {
|
|
background-color: #191919;
|
|
}
|
|
|
|
/* Header */
|
|
|
|
@media only screen and (min-width: 800px) {
|
|
header.page-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
}
|
|
|
|
header.page-header {
|
|
background-color: $secondary-color-dark;
|
|
box-shadow: 2px 2px 8px 0 #000000;
|
|
z-index: 100;
|
|
position: -webkit-sticky;
|
|
position: sticky;
|
|
top: 0;
|
|
}
|
|
|
|
svg#dustin-logo path {
|
|
fill: $text-color;
|
|
}
|
|
|
|
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: $secondary-color-light;
|
|
}
|
|
|
|
.panel {
|
|
background-color: $panel-color;
|
|
}
|
|
|
|
@media screen {
|
|
.panel {
|
|
box-shadow: 2px 2px 8px 0 #000000;
|
|
}
|
|
|
|
}
|
|
|
|
@media print {
|
|
header.page-header {
|
|
display: none;
|
|
}
|
|
|
|
body {
|
|
font-size: 10pt;
|
|
}
|
|
}
|
|
|
|
|
|
/* 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: 12in;
|
|
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: " • ";
|
|
}
|
|
|
|
#songquote {
|
|
display: none;
|
|
font-size: 120%;
|
|
text-align: center;
|
|
}
|
|
|
|
#songquote::after {
|
|
content: "♪";
|
|
padding-left: .75em;
|
|
}
|
|
|
|
#songquote::before {
|
|
content: "♪";
|
|
padding-right: .75em;
|
|
}
|
|
|
|
#songquote .citation .title {
|
|
font-style: italic;
|
|
}
|
|
|
|
#songquote .citation .artist {
|
|
font-variant: small-caps;
|
|
}
|
|
|
|
.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: $text-color;
|
|
}
|
|
|
|
.post-date {
|
|
font-size: 10pt;
|
|
}
|
|
|
|
.post.panel {
|
|
padding: 1rem;
|
|
}
|
|
|
|
article.post .post-title {
|
|
margin: 0;
|
|
}
|
|
|
|
article.post .post-date {
|
|
margin-bottom: 3em;
|
|
}
|
|
|
|
.post pre {
|
|
margin: 0 0.25em;
|
|
padding: 0.25em 0.5em;
|
|
overflow: auto;
|
|
}
|
|
|
|
/* CV */
|
|
|
|
.cv.panel {
|
|
padding: 0 1rem 1rem;
|
|
}
|
|
|
|
.cv .content ul {
|
|
list-style-type: '➢ ';
|
|
}
|
|
|
|
.cv .content ul ul {
|
|
list-style-type: '‣ ';
|
|
}
|
|
|
|
@media (min-width: 10in) {
|
|
.row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.row .col {
|
|
flex: 0 0 50%;
|
|
}
|
|
}
|
|
|
|
.cv nav.cv-nav {
|
|
background-color: $toolbar-color;
|
|
padding-top: .5em;
|
|
margin: 0 -1em;
|
|
}
|
|
|
|
.cv nav.cv-nav ul {
|
|
list-style-type: none;
|
|
}
|
|
|
|
nav.cv-nav ul {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
@media only screen and (min-width: 900px) {
|
|
nav.cv-nav {
|
|
display: flex;
|
|
justify-content: space-around;
|
|
}
|
|
|
|
nav.cv-nav ul {
|
|
display: flex;
|
|
}
|
|
}
|
|
|
|
nav.cv-nav li {
|
|
text-transform: uppercase;
|
|
font-size: smaller;
|
|
display: inline-block;
|
|
margin: 0;
|
|
padding: 0;
|
|
border-bottom: 3px solid transparent;
|
|
}
|
|
|
|
nav.cv-nav li:last-child {
|
|
border-right: none;
|
|
}
|
|
|
|
nav.cv-nav li a {
|
|
display: block;
|
|
padding: 1em;
|
|
color: rgba($text-color, .66);
|
|
}
|
|
|
|
nav.cv-nav a:link,
|
|
nav.cv-nav a:visited,
|
|
nav.cv-nav a:active,
|
|
nav.cv-nav a:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
nav.cv-nav li:hover {
|
|
background-color: $primary-color-light;
|
|
}
|
|
|
|
nav.cv-nav li.active {
|
|
color: $text-color;
|
|
border-bottom: 3px solid $text-color;
|
|
}
|
|
|
|
nav.cv-nav li.active a:link,
|
|
nav.cv-nav li.active a:visited,
|
|
nav.cv-nav li.active a:active,
|
|
nav.cv-nav li.active a:hover {
|
|
color: $text-color;
|
|
}
|
|
|
|
@media print {
|
|
nav.cv-nav {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
a.continue-reading {
|
|
font-size: .75rem;
|
|
}
|
|
|
|
/* 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%;
|
|
}
|