From 99ca04955f79b18e19706fe50619284778189935 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Mon, 20 Nov 2017 23:34:34 +0100 Subject: The rem units in media queries have been replaced by simple em units. --- template/admin/rsrc/main.css | 4 ++-- template/standard/rsrc/main.css | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/template/admin/rsrc/main.css b/template/admin/rsrc/main.css index ce56474..0f345a5 100644 --- a/template/admin/rsrc/main.css +++ b/template/admin/rsrc/main.css @@ -273,14 +273,14 @@ label:after{content:":";} /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ /* Responsive Level #1 /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ -@media only screen and (max-width:50rem) { +@media only screen and (max-width:50em) { html{font-size:1.125rem;/*18px*/background-image:none !important;} } /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ /* Responsive Level #2 /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ -@media only screen and (max-width:37.5rem) { +@media only screen and (max-width:37.5em) { .flex.flex-responsive{display:block;width:auto;} .flex.flex-responsive > .flex-item {width:100%;} .flex.flex-responsive > .flex-item + .flex-item{border-top:0.05rem solid #AAA;} diff --git a/template/standard/rsrc/main.css b/template/standard/rsrc/main.css index bafb39e..9bd285d 100644 --- a/template/standard/rsrc/main.css +++ b/template/standard/rsrc/main.css @@ -131,7 +131,7 @@ thead > tr > td, th > td{text-align:center;} /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ /* Responsive Level #1 /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ -@media only screen and (max-width:50rem) { +@media only screen and (max-width:50em) { html{font-size:1.125rem;/*18px*/background-image:none !important;} body{line-height:1.2rem;} #container{margin:0;border-right:none;border-left:none;} @@ -140,7 +140,7 @@ thead > tr > td, th > td{text-align:center;} /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ /* Responsive Level #2 /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ -@media only screen and (max-width:37.5rem) { +@media only screen and (max-width:37.5em) { main,#main-header > div{padding:1rem;} #main-navi{padding:0.25rem 1rem;} #main-navi a{border:0.05rem solid transparent;} -- cgit v1.2.3