summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
authoramzrk22020-04-14 09:43:57 +0800
committeramzrk22020-04-14 09:43:57 +0800
commit61e32b780bc8c5dbfbcc2dc8c4704d437f885b67 (patch)
treea3195b92dafa8f99aa7c9e00032488133d127786 /assets
parent9ee6dcd1dba6beb8ae997e80f8bf5572d49aa4de (diff)
downloadhugo-theme-fuji-61e32b780bc8c5dbfbcc2dc8c4704d437f885b67.tar.gz
hugo-theme-fuji-61e32b780bc8c5dbfbcc2dc8c4704d437f885b67.tar.bz2
hugo-theme-fuji-61e32b780bc8c5dbfbcc2dc8c4704d437f885b67.zip
Larger padding while screen size below 768px
Diffstat (limited to 'assets')
-rw-r--r--assets/sass/_list.scss5
-rw-r--r--assets/sass/_sidebar.scss5
2 files changed, 10 insertions, 0 deletions
diff --git a/assets/sass/_list.scss b/assets/sass/_list.scss
index 15561cc..8e8b62f 100644
--- a/assets/sass/_list.scss
+++ b/assets/sass/_list.scss
@@ -1,5 +1,10 @@
#content {
padding: 0 1em 0 1em;
+
+ // different padding when screen size below width-md(768px)
+ @media screen and (max-width: $width-md){
+ padding: 0 1.5em 0 1.5em;
+ }
}
#post {
diff --git a/assets/sass/_sidebar.scss b/assets/sass/_sidebar.scss
index 8266125..b28a09b 100644
--- a/assets/sass/_sidebar.scss
+++ b/assets/sass/_sidebar.scss
@@ -5,6 +5,11 @@
padding: 1.5em 1em 1.5em 1em;
+ // different padding when screen size below width-md(768px)
+ @media screen and (max-width: $width-md){
+ padding: 1.5em 1.5em 1.5em 1.5em;
+ }
+
h5 {
font-size: $font-size-l3;
}