summaryrefslogtreecommitdiffstats
path: root/assets/sass/modules/_sidebar.scss
diff options
context:
space:
mode:
authoramzrk22020-05-06 22:58:45 +0800
committeramzrk22020-05-06 22:58:45 +0800
commit30772e0dd8436062e325eda0f54e90f7e8696705 (patch)
tree2ed1000408743f555ec9a409d986af55b87237c6 /assets/sass/modules/_sidebar.scss
parent41ef0bdcde0534402d430185052f4c553144487c (diff)
downloadhugo-theme-fuji-30772e0dd8436062e325eda0f54e90f7e8696705.tar.gz
hugo-theme-fuji-30772e0dd8436062e325eda0f54e90f7e8696705.tar.bz2
hugo-theme-fuji-30772e0dd8436062e325eda0f54e90f7e8696705.zip
Sass structure full rebuild
Diffstat (limited to 'assets/sass/modules/_sidebar.scss')
-rw-r--r--assets/sass/modules/_sidebar.scss39
1 files changed, 39 insertions, 0 deletions
diff --git a/assets/sass/modules/_sidebar.scss b/assets/sass/modules/_sidebar.scss
new file mode 100644
index 0000000..e7cfa49
--- /dev/null
+++ b/assets/sass/modules/_sidebar.scss
@@ -0,0 +1,39 @@
+#sidebar {
+ ul {
+ list-style-type: none;
+ }
+
+ padding: 1.5rem 1rem;
+
+ // different padding when screen size below width-md(768px)
+ @media screen and (max-width: $width-md) {
+ border-top: $spliter;
+ padding: 1.5rem;
+ }
+
+ h5 {
+ font-size: $font-size-l3;
+ }
+
+ .widget-toc,
+ .widget-pages,
+ .widget-tags,
+ .widget-links {
+
+ div,
+ ul {
+ margin: 0.5rem 0;
+ }
+ }
+
+ .widget-bgm img {
+ margin: 0.5rem 0;
+ width: 100%;
+ border-radius: 2px;
+ filter: grayscale(50%);
+
+ @media screen and (max-width: $width-md) {
+ width: 50%;
+ }
+ }
+} \ No newline at end of file