about summary refs log tree commit diff stats
path: root/css/app.less
diff options
context:
space:
mode:
authorAndrew Dolgov <noreply@fakecake.org>2020-11-20 14:00:15 +0300
committerAndrew Dolgov <noreply@fakecake.org>2020-11-20 14:00:15 +0300
commit076a76af57ae2ec4e87f15b38f20e367a5225a14 (patch)
treec46a045be2f4823912ec899ff88b364fa1c0ea9c /css/app.less
parent48d990cdbf05e0e463e08ef69319bebcfdbbf4d8 (diff)
downloadthe-epube-076a76af57ae2ec4e87f15b38f20e367a5225a14.tar.gz
the-epube-076a76af57ae2ec4e87f15b38f20e367a5225a14.tar.xz
normalize footer element sizes; remove obsolete css files
Diffstat (limited to 'css/app.less')
-rw-r--r--css/app.less30
1 files changed, 24 insertions, 6 deletions
diff --git a/css/app.less b/css/app.less
index 5e6cc4c..d2d971e 100644
--- a/css/app.less
+++ b/css/app.less
@@ -169,19 +169,37 @@ body.epube-reader {
       .spacer > .toc-bar-entry {
          display : none;
       }
+
+      .footer {
+         width : 100%;
+
+         .chapter_wrapper,
+         .location {
+            min-width : 30%;
+            max-width : 70%;
+         }
+      }
    }
 
    @media (min-width: 540px) {
-      .footer .chapter_wrapper, .footer .location {
-         width : 25%;
+      .footer {
+         .chapter_wrapper,
+         .location {
+            min-width : 25%;
+            max-width : 30%;
+         }
       }
    }
 
-   @media (min-width: 800px) {
-      .footer .chapter_wrapper, .footer .location {
-         width : 20%;
+   /*@media (min-width: 800px) {
+      .footer {
+         .chapter_wrapper,
+         .location {
+            min-width : 20%;
+            max-width : 30%;
+         }
       }
-   }
+   }*/
 
    .toolbar {
       text-align : right;