From 0585d592d6fb0ed369701a92b9732ce8348bbd7f Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Sun, 4 Jul 2021 20:17:39 +0200 Subject: Remove unused CSS rules from admin theme --- theme/admin/rsrc/css/main.css | 41 +++-------------------------------------- theme/admin/rsrc/css/main.scss | 39 +-------------------------------------- 2 files changed, 4 insertions(+), 76 deletions(-) (limited to 'theme/admin') diff --git a/theme/admin/rsrc/css/main.css b/theme/admin/rsrc/css/main.css index dd3a05e..2abfeac 100644 --- a/theme/admin/rsrc/css/main.css +++ b/theme/admin/rsrc/css/main.css @@ -21,14 +21,14 @@ a:focus { /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # Headings ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ -h1, h2, h3, h4, h5, h6 { +h1, h2, h3 { margin-bottom: 0; text-transform: uppercase; } -h1 + p, h2 + p, h3 + p, h4 + p, h5 + p, h6 + p { +h1 + p, h2 + p, h3 + p { margin-top: 0; } -h1 .fa, h2 .fa, h3 .fa, h4 .fa, h5 .fa, h6 .fa { +h1 .fa, h2 .fa, h3 .fa { margin-right: 0.25rem; } @@ -45,18 +45,6 @@ h3 { font-size: 0.65rem; } -h4 { - font-size: 0.6rem; -} - -h5 { - font-size: 0.55rem; -} - -h6 { - font-size: 0.5rem; -} - /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # Document ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ @@ -126,9 +114,6 @@ body { font-weight: 700; line-height: 1rem; } -#header-desc span { - color: #CCC; -} #header-logo { display: block; @@ -216,9 +201,6 @@ body { text-decoration: none; background: #CCC; } -#main-navi a:focus { - background: #CCC; -} /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # Site Navigation @@ -361,23 +343,6 @@ img { color: inherit; } -/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -# Tables -++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ -table { - width: 100%; - margin-bottom: 1rem; -} - -td { - vertical-align: middle; -} - -table, td { - padding: 0.5rem; - border: 0.05rem solid #AAA; -} - /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # Item Element ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ diff --git a/theme/admin/rsrc/css/main.scss b/theme/admin/rsrc/css/main.scss index c56792d..680de79 100644 --- a/theme/admin/rsrc/css/main.scss +++ b/theme/admin/rsrc/css/main.scss @@ -21,7 +21,7 @@ a { /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # Headings ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ -h1, h2, h3, h4, h5, h6 { +h1, h2, h3 { margin-bottom: 0; text-transform: uppercase; @@ -47,18 +47,6 @@ h3 { font-size: 0.65rem; } -h4 { - font-size: 0.60rem; -} - -h5 { - font-size: 0.55rem; -} - -h6 { - font-size: 0.50rem; -} - /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # Document ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ @@ -129,10 +117,6 @@ body { font-size: 0.6rem; font-weight: 700; line-height: 1rem; - - span { - color: #CCC; - } } #header-logo { @@ -235,10 +219,6 @@ body { text-decoration: none; background: #CCC; } - - &:focus { - background: #CCC; - } } } @@ -395,23 +375,6 @@ img { color: inherit; } -/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -# Tables -++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ -table { - width: 100%; - margin-bottom: 1rem; -} - -td { - vertical-align: middle; -} - -table, td { - padding: 0.5rem; - border: 0.05rem solid #AAA; -} - /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # Item Element ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ -- cgit v1.2.3