diff options
author | Thomas Lange <code@nerdmind.de> | 2017-11-20 23:34:34 +0100 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2017-11-20 23:34:34 +0100 |
commit | 99ca04955f79b18e19706fe50619284778189935 (patch) | |
tree | 9e7065df8b6114d02e062e27d0c08e5866b8d03f /template | |
parent | 146b74968f6a56163bf2a618addbb5a7a03f4684 (diff) | |
download | blog-99ca04955f79b18e19706fe50619284778189935.tar.gz blog-99ca04955f79b18e19706fe50619284778189935.tar.xz blog-99ca04955f79b18e19706fe50619284778189935.zip |
The rem units in media queries have been replaced by simple em units.
Diffstat (limited to 'template')
-rw-r--r-- | template/admin/rsrc/main.css | 4 | ||||
-rw-r--r-- | 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;} |