aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assets/sass/researcher.scss20
-rw-r--r--exampleSite/config.toml4
2 files changed, 12 insertions, 12 deletions
diff --git a/assets/sass/researcher.scss b/assets/sass/researcher.scss
index 781b047..5794a12 100644
--- a/assets/sass/researcher.scss
+++ b/assets/sass/researcher.scss
@@ -3,8 +3,8 @@ $max-width: {{ .Param "style.pageWidth" | default "750px;" }};
$avatar-size: {{ .Param "style.avatarSize" | default "90px;" }};
// Colors
-$black: {{ .Param "style.colorBlack" | default "#222222" }};
-$red: {{ .Param "style.colorRed" | default "#dc3545" }};
+$firstColor: {{ .Param "style.firstColor" | default "#696969" }};
+$secondColor: {{ .Param "style.secondColor" | default "#006400" }};
// Font
$font-family: {{ .Param "style.fontFamily" | default "Inconsolata" }};
@@ -16,24 +16,24 @@ $y-medium: 1.0rem;
// Placeholders
%link-default {
- color: $red;
+ color: $secondColor;
text-decoration: none;
& * {
- color: $red;
+ color: $secondColor;
}
&:hover {
- color: $red;
+ color: $secondColor;
text-decoration: underline;
}
}
%link-dark {
- color: $black;
+ color: $firstColor;
text-decoration: none;
& * {
- color: $black;
+ color: $firstColor;
}
&:hover {
- color: $black;
+ color: $firstColor;
text-decoration: underline;
}
}
@@ -45,7 +45,7 @@ $y-medium: 1.0rem;
// Style
* {
- color: $black;
+ color: $firstColor;
font-family: $font-family;
font-size: $font-size;
line-height: 1.2;
@@ -141,7 +141,7 @@ $y-medium: 1.0rem;
padding: 8px 8px;
}
code {
- color: $black;
+ color: $firstColor;
background-color: #f8f8f8;
border: 1px solid #cccccc;
border-radius: 10%;
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index a04b5f2..5e25bbb 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -19,8 +19,8 @@ googleAnalytics = "" # add your tracking id
fontSize = "14pt"
pageWidth = "750px"
avatarSize = "90px"
- colorBlack = "#222222"
- colorRed = "#dc3545"
+ firstColor = "#222222"
+ secondColor = "#dc3545"
[[params.socialIcons]]
icon = "fab fa-twitter"
title = "Twitter"