summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-06-14 23:28:15 +0300
committerAndrew Dolgov <[email protected]>2017-06-14 23:28:15 +0300
commit05e155454dbf7a797e35f022fa2e0d4729bd83fb (patch)
treec0429059d2cdd7f7bf885868d24badec3fa6eaeb /css
parentee1f006d6f34959c941fdd164787fbdf42699878 (diff)
margins: normalize relative sizes somewhat; add special query for small and larger tablet devices
Diffstat (limited to 'css')
-rw-r--r--css/read.css18
1 files changed, 18 insertions, 0 deletions
diff --git a/css/read.css b/css/read.css
index fd9f076..b2a5c30 100644
--- a/css/read.css
+++ b/css/read.css
@@ -85,8 +85,25 @@ body.night .loading {
}
}
+@media (max-width: 801px) {
+ #reader {
+ left : 64px;
+ right : 64px;
+ }
+}
+
@media (max-width: 767px) {
#reader {
+ left : 48px;
+ right : 48px;
+ }
+ .toolbar {
+ width : 128px;
+ }
+}
+
+@media (max-width: 576px) {
+ #reader {
left : 32px;
right : 32px;
}
@@ -95,6 +112,7 @@ body.night .loading {
}
}
+
.toc_list, .search_results, .dict_result {
max-height : 300px;
height : auto;