aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Brattlof <hello@bryanbrattlof.com>2020-06-11 13:25:06 -0400
committerBryan Brattlof <hello@bryanbrattlof.com>2020-06-11 13:25:06 -0400
commitce61025d50ed2c6bb360ccbc5fd60a21685ba822 (patch)
treec39ed0baa8d701d232630e5be22f6ac73c0800b2
parent78dc39ec1472e349fa0236b4e5119af19e195d8a (diff)
downloadbryanbrattlof.com-ce61025d50ed2c6bb360ccbc5fd60a21685ba822.tar.gz
bryanbrattlof.com-ce61025d50ed2c6bb360ccbc5fd60a21685ba822.tar.bz2
remove un-used title-font & title-font-color
because $display-font and $title-font are now the same, I've decided to delete the un-needed 'font-family' and 'color' declarations in the stylesheets.
-rw-r--r--stylesheets/article.scss6
-rw-r--r--stylesheets/base/typography.scss4
-rw-r--r--stylesheets/base/variables.scss2
-rw-r--r--stylesheets/code.scss2
-rw-r--r--stylesheets/index.scss3
-rw-r--r--stylesheets/ubad.scss2
6 files changed, 3 insertions, 16 deletions
diff --git a/stylesheets/article.scss b/stylesheets/article.scss
index 971a243..41b7386 100644
--- a/stylesheets/article.scss
+++ b/stylesheets/article.scss
@@ -111,8 +111,7 @@ h6 {
p {}
strong {
- font-weight: bolder;
- color: $title-font-color;
+ @extend %bold-font-extends;
}
em {
font-style: italic;
@@ -127,8 +126,7 @@ em {
color: $display-font-color;
.sidebar-title, .admonition-title {
- font-family: $title-font;
- font-weight: bold;
+ @extend %bold-font-extends;
margin: 0;
}
.sidebar-subtitle {
diff --git a/stylesheets/base/typography.scss b/stylesheets/base/typography.scss
index 9c47c74..1191183 100644
--- a/stylesheets/base/typography.scss
+++ b/stylesheets/base/typography.scss
@@ -1,7 +1,6 @@
%bold-font-extends {
font-weight: bolder;
- color: $title-font-color;
}
%normal-font-extends {
@@ -9,9 +8,6 @@
}
%title-extend {
- font-family: $title-font;
- color: $title-font-color;
-
margin: 0;
padding: 0;
diff --git a/stylesheets/base/variables.scss b/stylesheets/base/variables.scss
index 2112231..b2f3599 100644
--- a/stylesheets/base/variables.scss
+++ b/stylesheets/base/variables.scss
@@ -2,7 +2,6 @@
$max-page-width: 50em !default;
$default-spacing: 1.25em !default;
-$title-font: sans-serif !default;
$display-font: serif !default;
$code-font: monospace !default;
@@ -14,7 +13,6 @@ $normal-font-weight: 500 !default;
$light-font-weight: 300 !default;
$print-font-color: black !default;
-$title-font-color: rgb(17, 17, 17);
$display-font-color: rgb(17, 17, 17);
$secondary-font-color: rgb(154, 154, 154);
diff --git a/stylesheets/code.scss b/stylesheets/code.scss
index c6258a6..18e9d76 100644
--- a/stylesheets/code.scss
+++ b/stylesheets/code.scss
@@ -1,7 +1,7 @@
%code-block {
font-family: $code-font;
- background-color: $title-font-color;
+ background-color: $display-font-color;
color: rgb(255, 255, 255);
box-sizing: content-box;
diff --git a/stylesheets/index.scss b/stylesheets/index.scss
index d27add0..c0a0610 100644
--- a/stylesheets/index.scss
+++ b/stylesheets/index.scss
@@ -24,9 +24,6 @@ main {
h1, h2 {
font-weight: $normal-font-weight;
line-height: 1.3;
-
- font-family: $title-font;
- color: $title-font-color;
}
h1 {
diff --git a/stylesheets/ubad.scss b/stylesheets/ubad.scss
index 1d2cbe2..be08228 100644
--- a/stylesheets/ubad.scss
+++ b/stylesheets/ubad.scss
@@ -21,8 +21,6 @@ div {
h1 {
font-weight: $normal-font-weight;
- font-family: $title-font;
- color: $title-font-color;
margin: 0;
padding: 0;