diff options
author | amzrk2 | 2020-05-31 23:06:44 +0800 |
---|---|---|
committer | amzrk2 | 2020-05-31 23:06:44 +0800 |
commit | 2338da969d3bc1b2bc26df9f7192dd20a0906c5b (patch) | |
tree | 6a88b0ac8ddf5318eb1a93a7e2e8807de0ab686f /assets/_fuji-style/_sidebar.scss | |
parent | 8009dfd8f5d33211a07d01319715fc3993979138 (diff) | |
download | hugo-theme-fuji-2338da969d3bc1b2bc26df9f7192dd20a0906c5b.tar.gz hugo-theme-fuji-2338da969d3bc1b2bc26df9f7192dd20a0906c5b.tar.bz2 hugo-theme-fuji-2338da969d3bc1b2bc26df9f7192dd20a0906c5b.zip |
Switch to prism.js
Diffstat (limited to 'assets/_fuji-style/_sidebar.scss')
-rw-r--r-- | assets/_fuji-style/_sidebar.scss | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/assets/_fuji-style/_sidebar.scss b/assets/_fuji-style/_sidebar.scss deleted file mode 100644 index 132a22f..0000000 --- a/assets/_fuji-style/_sidebar.scss +++ /dev/null @@ -1,69 +0,0 @@ -.sidebar { - padding: 1.5rem 1.5rem 1.5rem 0; // no left padding on big screen -} - -.sidebar-item { - &:not(:last-child) { - margin-bottom: 1rem; // space betreen sidebar items - } - - h3 { - margin-bottom: 0.25rem; // space betreen head3 & lists - } - - ul { - list-style-type: none; - margin: 0 0.1rem; // little space - } - - & > div, - & > nav { - margin: 0 0.1rem; // little space - } - - & > img { - margin: 0.5rem 0.25rem 0 0.25rem; - width: 100%; - border-radius: 2px; - } -} - -@media screen and (max-width: $width-md) { - .sidebar { - padding: 1.5rem; - display: flex; - flex-direction: row; - flex-wrap: wrap; - justify-content: space-around; - } - - .sidebar-item { - width: 40%; // max 2 modules per line - - // space only at first 2 modules - .sidebar-pages, - .sidebar-tags { - margin-bottom: 1rem; - } - - .sidebar-links, - .sidebar-bgm { - margin-bottom: 0; - } - - & > img { - margin: 0.5rem 0.25rem 0 0.25rem; - width: 75%; - border-radius: 0.25rem; - } - } -} - -// single page part -.sidebar-toc { - ul ul { - font-size: 0.875rem; - padding-left: 0.5rem; - margin-bottom: 0.25rem; - } -} |