aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-07-04 20:17:39 +0200
committerThomas Lange <code@nerdmind.de>2021-07-04 21:00:15 +0200
commit0585d592d6fb0ed369701a92b9732ce8348bbd7f (patch)
treea13af991d7536f711ad24161af003c21be3ded6c
parentf534e8db1318a091f0980ecaa5384db7939fb37c (diff)
downloadblog-0585d592d6fb0ed369701a92b9732ce8348bbd7f.tar.gz
blog-0585d592d6fb0ed369701a92b9732ce8348bbd7f.tar.xz
blog-0585d592d6fb0ed369701a92b9732ce8348bbd7f.zip
Remove unused CSS rules from admin theme
-rw-r--r--theme/admin/rsrc/css/main.css41
-rw-r--r--theme/admin/rsrc/css/main.scss39
2 files changed, 4 insertions, 76 deletions
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
@@ -362,23 +344,6 @@ img {
}
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-# Tables
-++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
-table {
- width: 100%;
- margin-bottom: 1rem;
-}
-
-td {
- vertical-align: middle;
-}
-
-table, td {
- padding: 0.5rem;
- border: 0.05rem solid #AAA;
-}
-
-/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Item Element
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
.item {
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;
- }
}
}
@@ -396,23 +376,6 @@ img {
}
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-# Tables
-++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
-table {
- width: 100%;
- margin-bottom: 1rem;
-}
-
-td {
- vertical-align: middle;
-}
-
-table, td {
- padding: 0.5rem;
- border: 0.05rem solid #AAA;
-}
-
-/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Item Element
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
.item {