Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/huyb1991/hugo-lamp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHuy Nguyen <huyb.1991@gmail.com>2020-07-01 06:42:53 +0300
committerHuy Nguyen <huyb.1991@gmail.com>2020-07-01 06:42:53 +0300
commit9dc2db0037f1461875cde4120437ff81db192d96 (patch)
tree03c88f148a1b20056afbda80e2073b97de277198
parent5c829f362a13333411416d987d372469be569388 (diff)
Update background color
-rw-r--r--styles/base/_base.scss16
-rw-r--r--styles/base/_layout.scss2
-rw-r--r--styles/partials/_list.scss2
3 files changed, 7 insertions, 13 deletions
diff --git a/styles/base/_base.scss b/styles/base/_base.scss
index 8807989..b7dd5bb 100644
--- a/styles/base/_base.scss
+++ b/styles/base/_base.scss
@@ -4,7 +4,7 @@ body {
line-height: 1.618;
font-family: $family-sans-serif;
color: $text;
- background: $white;
+ background: $main-background;
text-rendering: optimizeLegibility;
-webkit-overflow-scrolling: touch; // Smoothly on mobile browser
}
@@ -59,13 +59,9 @@ button:hover {
}
.footer {
- // display: none;
-
- @media screen and (max-width: $tablet) {
- display: block;
- padding: 1rem;
- font-size: $size-7;
- text-align: center;
- font-family: $family-monospace;
- }
+ display: block;
+ padding: 1rem;
+ font-size: $size-7;
+ text-align: center;
+ font-family: $family-monospace;
}
diff --git a/styles/base/_layout.scss b/styles/base/_layout.scss
index 6a43466..478ace9 100644
--- a/styles/base/_layout.scss
+++ b/styles/base/_layout.scss
@@ -20,7 +20,7 @@
}
.header {
- grid-area: main;
+ grid-area: header;
}
.main {
diff --git a/styles/partials/_list.scss b/styles/partials/_list.scss
index f7fddaf..58ca08f 100644
--- a/styles/partials/_list.scss
+++ b/styles/partials/_list.scss
@@ -1,8 +1,6 @@
// Style for list template
.entry {
&-list {
- background-color: $main-background;
-
@media screen and (max-width: $tablet) {
padding-top: $space-large;
}