added distinction between main and monospace fonts
This commit is contained in:
parent
cfbf202c9a
commit
6bdf871be6
|
@ -37,6 +37,7 @@ summaryLength = 70 # number of words for article summaries
|
||||||
|
|
||||||
navtype = "standard" # changes the style of the pagination, available styles are: "standard", "circle"
|
navtype = "standard" # changes the style of the pagination, available styles are: "standard", "circle"
|
||||||
fontFamily = "JetBrains Mono" # changes the font, default "JetBrains Mono"
|
fontFamily = "JetBrains Mono" # changes the font, default "JetBrains Mono"
|
||||||
|
monospaceFontFamily = "JetBrains Mono" # changes the monospace font for code, default "JetBrains Mono"
|
||||||
contentWidth = "1000px" # maximum width of the site content, css syntax
|
contentWidth = "1000px" # maximum width of the site content, css syntax
|
||||||
|
|
||||||
discreteCards = false # enable discrete card style; default false
|
discreteCards = false # enable discrete card style; default false
|
||||||
|
|
|
@ -4,6 +4,7 @@ $dim_fg_color: {{ .Site.Params.dimForegroundColor | default "#bababa" }};
|
||||||
$stroke_color: {{ .Site.Params.strokeColor | default "#4f4f4f" }};
|
$stroke_color: {{ .Site.Params.strokeColor | default "#4f4f4f" }};
|
||||||
$accent_color: {{ .Site.Params.accentColor | default "#db5793" }};
|
$accent_color: {{ .Site.Params.accentColor | default "#db5793" }};
|
||||||
$main_font: {{ .Site.Params.fontFamily | default "JetBrains Mono" }};
|
$main_font: {{ .Site.Params.fontFamily | default "JetBrains Mono" }};
|
||||||
|
$mono_font: {{ .Site.Params.monospaceFontFamily | default "JetBrains Mono" }};
|
||||||
$highlight_bg_color: {{ .Site.Params.highlightBgColor | default "#34363b" }};
|
$highlight_bg_color: {{ .Site.Params.highlightBgColor | default "#34363b" }};
|
||||||
$content_width: {{ .Site.Params.contentWidth | default "1000px" }}
|
$content_width: {{ .Site.Params.contentWidth | default "1000px" }}
|
||||||
|
|
||||||
|
@ -125,7 +126,7 @@ article, .articlePreview {
|
||||||
}
|
}
|
||||||
|
|
||||||
code {
|
code {
|
||||||
font-family: $main_font, monospace;
|
font-family: $mono_font, monospace;
|
||||||
font-size: .8em;
|
font-size: .8em;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
border: 1px solid $stroke_color;
|
border: 1px solid $stroke_color;
|
||||||
|
@ -193,7 +194,7 @@ h1, h2, h3, h4, h5, h6 {
|
||||||
}
|
}
|
||||||
|
|
||||||
.nerd {
|
.nerd {
|
||||||
font-family: "Symbols Nerd Font", $main_font;
|
font-family: "Symbols Nerd Font", $mono_font;
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
@ -303,7 +304,7 @@ ul.list {
|
||||||
td, td>*, td>*>* {
|
td, td>*, td>*>* {
|
||||||
color: $fg_color;
|
color: $fg_color;
|
||||||
pre {
|
pre {
|
||||||
font-family: $main_font, monospace;
|
font-family: $mono_font, monospace;
|
||||||
color: $dim_fg_color;
|
color: $dim_fg_color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue