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

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruPagge <upagge@mail.ru>2021-01-11 23:50:11 +0300
committeruPagge <upagge@mail.ru>2021-01-11 23:50:11 +0300
commit59cdca772bc1f317a609d716b580f018b8a32e3e (patch)
treeb79678b646068190b284a7e423b57589ba441133 /assets/css
parent3fb781c0e60aa26c4cfafdd179bb163c1573a572 (diff)
toc fix and theme css fix
Diffstat (limited to 'assets/css')
-rw-r--r--assets/css/_partial/_single/_toc.scss17
-rw-r--r--assets/css/_ublogger.scss2
2 files changed, 18 insertions, 1 deletions
diff --git a/assets/css/_partial/_single/_toc.scss b/assets/css/_partial/_single/_toc.scss
index d1a0034..427b25d 100644
--- a/assets/css/_partial/_single/_toc.scss
+++ b/assets/css/_partial/_single/_toc.scss
@@ -3,15 +3,30 @@
font-size: $toc-title-font-size;
font-weight: bold;
text-transform: uppercase;
+ border-radius: 6px;
+ transition-property: border-radius;
+ transition-duration: 1.5s;
+ }
+
+ &.open {
+ .toc-title {
+ border-radius: 6px 6px 0 0;
+ }
}
.toc-content {
font-size: $toc-content-font-size;
+ border-radius: 0 0 6px 6px;
ul {
text-indent: -0.85rem;
padding-left: .8rem;
list-style: none;
+ margin: 0;
+
+ a {
+ border-bottom: none;
+ }
a:first-child::before {
content: "|";
@@ -114,7 +129,7 @@
#toc-static {
display: none;
- margin: .8rem 0;
+ margin: .8rem 0 2rem 0;
&[data-kept=true] {
display: block;
diff --git a/assets/css/_ublogger.scss b/assets/css/_ublogger.scss
index f4d624a..de82f47 100644
--- a/assets/css/_ublogger.scss
+++ b/assets/css/_ublogger.scss
@@ -616,6 +616,8 @@ footer {
.theme-full, .theme-classic, .theme-wide {
.content-block-first {
margin-top: 0 !important;
+ box-shadow: 0 1.2rem 1.2rem 0 rgba(0,0,0,0.1);
+ border-radius: 0;
}
}