From 4addfb603e88642674003469c147eb8d5debbd96 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Sat, 2 Sep 2017 15:37:19 +0200 Subject: Multiple
elements were replaced by simple
elements. If a container element is only used for the CSS and has no semantic meaning, then a
element is definitely wrong for this purpose. --- template/standard/rsrc/main.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'template/standard/rsrc') diff --git a/template/standard/rsrc/main.css b/template/standard/rsrc/main.css index ed50b9b..ea13a11 100644 --- a/template/standard/rsrc/main.css +++ b/template/standard/rsrc/main.css @@ -25,12 +25,12 @@ body{font-family:Ruda,sans-serif;font-size:0.7rem;line-height:1.2rem;} #container{max-width:45rem;margin:1rem auto;border:0.05rem solid #AAA;background:#FFF;} -main,#main-header > section{padding:1rem;box-sizing:border-box;} +main,#main-header > div{padding:1rem;box-sizing:border-box;} /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ /* Header /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ -#main-header > section{overflow:hidden;} +#main-header > div{overflow:hidden;} #main-logo{height:1.75rem;display:block;} /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ @@ -152,7 +152,7 @@ thead > tr > td, th > td{text-align:center;} /* Responsive Level #2 /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ @media only screen and (max-width:37.5rem) { - main,#main-header > section{padding:1rem;} + main,#main-header > div{padding:1rem;} #main-navi{padding:0.25rem 1rem;} #main-navi a{border:0.05rem solid transparent;} #main-navi a:hover, #main-navi a:focus{border:0.05rem solid #BBB;} -- cgit v1.2.3