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

github.com/darshanbaral/khata.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorDarshan Baral <darshanbaral@gmail.com>2019-07-07 20:27:51 +0300
committerDarshan Baral <darshanbaral@gmail.com>2019-07-07 20:27:51 +0300
commit43a67cbbc605d7ea8e7a935f4aa0594458f1a60c (patch)
tree6b782166c2af2860877c59c679f896df4f43babd /static
parent557ded0910ea267130b54f7fc07ec7be2ee870b8 (diff)
Made TOC wide in small screens
Diffstat (limited to 'static')
-rw-r--r--static/css/khata.css17
1 files changed, 12 insertions, 5 deletions
diff --git a/static/css/khata.css b/static/css/khata.css
index 710d364..dc3646d 100644
--- a/static/css/khata.css
+++ b/static/css/khata.css
@@ -116,6 +116,15 @@ a,
min-width: 300px;
min-height: 200px;
}
+#TableOfContents > ul {
+ margin-left: 10px;
+ padding-left: 5px;
+ font-variant: small-caps;
+}
+.TableOfContents {
+ float: right;
+ background-color: #dbdbdb;
+}
@media only screen and (max-width: 1050px) {
.grid-container {
grid-template-columns: repeat(auto-fill, calc((100% - 50px) / 2));
@@ -148,6 +157,9 @@ a,
display: block;
font-size: 1.2em;
}
+ .TableOfContents {
+ float: initial;
+ }
}
.metadata-value {
font-size: 0.8em;
@@ -161,11 +173,6 @@ a,
.top-h1 {
font-size: 3em !important;
}
-#TableOfContents > ul {
- margin-left: 10px;
- padding-left: 5px;
- font-variant: small-caps;
-}
.newer:hover,
.older:hover,
.to-top:hover {