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

github.com/fncnt/vncnt-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfncnt <github@vncnt.eu>2019-03-28 13:56:24 +0300
committerfncnt <github@vncnt.eu>2019-03-28 13:56:24 +0300
commit1fc3570f5d5ebc67b053818ff600e8d11a9fc3f0 (patch)
treea4ba5d66889d1a4901211b86485d1c803f28530a
parente5883d4ddea8b08f822ac141f46c0fb4d9ee55c0 (diff)
Increase base font size only on devices larger than mobile.
-rw-r--r--static/css/vncnt.css8
1 files changed, 4 insertions, 4 deletions
diff --git a/static/css/vncnt.css b/static/css/vncnt.css
index 3b83227..26cb079 100644
--- a/static/css/vncnt.css
+++ b/static/css/vncnt.css
@@ -18,10 +18,6 @@ there.
*/
@import url('barebones.css');
-html {
- --base-font-size: 80%;
-}
-
.landingpage, .error404 {
position: absolute;
top: 50%;
@@ -75,6 +71,10 @@ p.reset-margin {
/* Larger than mobile (default point when grid becomes active) */
@media (min-width: 600px) {
+ html {
+ --base-font-size: 80%;
+ }
+
.grid-container.fivetoseven {
grid-template-columns: 5fr 7fr;
}