2020-08-24 01:48:03 -05:00
|
|
|
$bg_color: {{ .Site.Params.backgroundColor | default "#242629" }};
|
|
|
|
$fg_color: {{ .Site.Params.foregroundColor | default "white" }};
|
|
|
|
$dim_fg_color: {{ .Site.Params.dimForegroundColor | default "#bababa" }};
|
|
|
|
$stroke_color: {{ .Site.Params.strokeColor | default "#4f4f4f" }};
|
|
|
|
$accent_color: {{ .Site.Params.accentColor | default "#db5793" }};
|
|
|
|
|
2020-09-05 03:47:45 -05:00
|
|
|
::selection, ::-moz-selection {
|
|
|
|
background: $accent_color;
|
|
|
|
color: $fg_color;
|
|
|
|
}
|
|
|
|
|
2021-01-04 06:20:55 -06:00
|
|
|
* {
|
|
|
|
transition: all .15s ease-in-out;
|
|
|
|
}
|
|
|
|
|
2020-08-24 01:48:03 -05:00
|
|
|
body, html {
|
2021-01-04 03:10:39 -06:00
|
|
|
font-family: "Symbols Nerd Font", "JetBrains Mono", monospace;
|
2020-08-24 01:48:03 -05:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
background-color: $bg_color;
|
|
|
|
color: $fg_color;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $fg_color;
|
|
|
|
text-decoration: none;
|
|
|
|
border-bottom: 2px solid $fg_color;
|
|
|
|
&:hover {
|
2021-01-03 06:15:46 -06:00
|
|
|
border-color: $accent_color !important;
|
2020-08-24 01:48:03 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#content {
|
|
|
|
max-width: 1000px;
|
|
|
|
padding: 15px;
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
|
|
|
color: $dim_fg_color;
|
|
|
|
a {
|
|
|
|
color: $dim_fg_color;
|
|
|
|
}
|
2021-01-03 14:38:54 -06:00
|
|
|
hr {
|
|
|
|
margin-top: 50px;
|
|
|
|
}
|
2020-08-24 01:48:03 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#titleContainer {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-weight: normal;
|
|
|
|
font-size: 1.6em;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
margin-right: 10px;
|
|
|
|
width: 50px;
|
|
|
|
max-height: 50px;
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
nav, #links {
|
|
|
|
ul {
|
|
|
|
list-style-type: none;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
nav {
|
|
|
|
font-size: .9em;
|
|
|
|
ul {
|
|
|
|
li {
|
|
|
|
border-right: 1px solid $accent_color;
|
|
|
|
&:last-child {
|
|
|
|
border-right: none;
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
padding: 2px 20px;
|
|
|
|
color: $accent_color;
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#links {
|
2021-01-03 14:45:12 -06:00
|
|
|
padding: 15px 0;
|
2020-08-24 01:48:03 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
article, .articlePreview {
|
|
|
|
img {
|
|
|
|
margin: auto;
|
|
|
|
display: block;
|
|
|
|
max-width: 80%;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre, code {
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
pre {
|
|
|
|
padding: 20px;
|
|
|
|
border: 1px solid $stroke_color;
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
|
|
|
font-family: "JetBrains Mono", monospace;
|
|
|
|
font-size: .8em;
|
|
|
|
padding: 2px;
|
|
|
|
border: 1px solid $stroke_color;
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre code {
|
|
|
|
border: none;
|
|
|
|
border-radius: none;
|
|
|
|
padding: 0
|
|
|
|
}
|
|
|
|
|
2021-01-03 06:15:46 -06:00
|
|
|
.date, .date a {
|
2020-08-24 01:48:03 -05:00
|
|
|
color: $dim_fg_color;
|
2021-01-03 06:15:46 -06:00
|
|
|
border-color: $dim_fg_color;
|
2020-08-24 01:48:03 -05:00
|
|
|
font-size: .9em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#pageNavigation, .nerdlink, nav {
|
|
|
|
a {
|
|
|
|
border-bottom: none;
|
|
|
|
&:hover {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#pageNavigation {
|
|
|
|
text-align: right;
|
|
|
|
a {
|
|
|
|
color: $accent_color;
|
|
|
|
}
|
2021-01-04 06:20:55 -06:00
|
|
|
&.nav-circles {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: flex-end;
|
|
|
|
align-items: center;
|
|
|
|
a, span {
|
|
|
|
margin: 5px;
|
|
|
|
text-align: center;
|
|
|
|
display: inline-block;
|
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
|
|
|
line-height: 40px;
|
|
|
|
padding: auto;
|
|
|
|
border-radius: 100%;
|
|
|
|
background-color: rgba($dim_fg_color, .4);
|
|
|
|
color: $fg_color;
|
|
|
|
}
|
|
|
|
span {
|
|
|
|
background-color: $accent_color;
|
|
|
|
}
|
|
|
|
a:hover {
|
|
|
|
background-color: $accent_color;
|
|
|
|
}
|
|
|
|
}
|
2020-08-24 01:48:03 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
a {
|
|
|
|
color: $accent_color;
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.nerd {
|
|
|
|
font-family: "Symbols Nerd Font", "JetBrains Mono";
|
|
|
|
font-size: 1.2em;
|
|
|
|
margin: 5px;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nerdlink {
|
|
|
|
@extend .nerd;
|
|
|
|
color: $fg_color;
|
|
|
|
border-bottom: none;
|
2020-09-05 04:03:07 -05:00
|
|
|
position: relative;
|
|
|
|
span {
|
|
|
|
position: absolute;
|
|
|
|
top: 1.5em;
|
|
|
|
left: 50%;
|
|
|
|
transform: translateX(-50%);
|
|
|
|
padding: 2px;
|
|
|
|
border: 1px solid $stroke_color;
|
|
|
|
border-radius: 3px;
|
|
|
|
color: $fg_color;
|
|
|
|
display: none;
|
|
|
|
}
|
2020-08-24 01:48:03 -05:00
|
|
|
&:hover {
|
|
|
|
color: $accent_color;
|
|
|
|
text-decoration: none;
|
|
|
|
border-bottom: none;
|
2020-09-05 04:03:07 -05:00
|
|
|
span {
|
|
|
|
display: block;
|
|
|
|
}
|
2020-08-24 01:48:03 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.card {
|
|
|
|
margin: 50px 0;
|
2021-01-03 14:38:54 -06:00
|
|
|
&:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2020-08-24 01:48:03 -05:00
|
|
|
hr {
|
|
|
|
margin: 50px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
li {
|
|
|
|
margin: 5px 0;
|
|
|
|
}
|
|
|
|
}
|
2020-08-24 04:30:00 -05:00
|
|
|
|
|
|
|
#commento {
|
|
|
|
color: $fg_color;
|
|
|
|
font-family: "JetBrains Mono", monospace;
|
|
|
|
textarea, #commento-markdown-help-root {
|
|
|
|
background: rgba(255, 255, 255, .05);
|
|
|
|
color: $fg_color;
|
|
|
|
border-radius: 0;
|
|
|
|
border: none;
|
|
|
|
td, td>*, td>*>* {
|
|
|
|
color: $fg_color;
|
|
|
|
pre {
|
|
|
|
font-family: "JetBrains Mono", monospace;
|
|
|
|
color: $dim_fg_color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#commento-submit-button-root {
|
|
|
|
background: $accent_color;
|
|
|
|
color: $fg_color;
|
|
|
|
}
|
|
|
|
.commento-name {
|
|
|
|
color: $dim_fg_color;
|
|
|
|
}
|
|
|
|
.commento-sort-policy-buttons {
|
|
|
|
a {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
.commento-sort-policy-button-selected {
|
|
|
|
color: $accent_color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.commento-card {
|
|
|
|
border-top: none;
|
|
|
|
margin: 25px 0;
|
|
|
|
}
|
|
|
|
.commento-body {
|
|
|
|
>*, *>*, >*>*>*, >*>*>*>*, >*>*>*>*>* {
|
|
|
|
color: $fg_color;
|
|
|
|
font-family: "JetBrains Mono", monospace;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|