css: remove unused or redundant rules.

This commit is contained in:
evazion
2018-09-14 10:00:23 -05:00
parent 0aecc9d34c
commit bbb233b93f
17 changed files with 2 additions and 126 deletions

View File

@@ -1,7 +1,6 @@
$menu_color: #F5F5FF;
$link_color: hsl(213, 100%, 50%);
$link_hover_color: lighten($link_color, 25%);
$link_dark_color: darken($link_color, 25%);
$highlight_color: lighten($link_color, 45%);
$h1_size: 2em;
$h2_size: 1.5em;
@@ -17,8 +16,6 @@ $h1_padding: 0.8em 0 0.25em 0;
$h2_padding: 0.8em 0 0.25em 0;
$h3_padding: 0.8em 0 0.25em 0;
$h4_padding: 0.8em 0 0.25em 0;
$baseline: 1em;
$basefont: 100%;
$base_font_family: Verdana, Helvetica, sans-serif;
$preview_has_children_color: #0F0;
$preview_has_parent_color: #CC0;

View File

@@ -3,16 +3,10 @@
body {
background-color: #FFF;
font-family: $base_font_family;
padding: 0;
margin: 0;
font-size: 87.5%;
line-height: 1.25em;
}
article, section {
display: block;
}
abbr[title=required] {
display: none;
}
@@ -37,13 +31,8 @@ dt {
font-weight: bold;
}
em {
font-style: italic;
}
h1, h2, h3, h4, h5, h6 {
font-family: Tahoma, Verdana, Helvetica, sans-serif;
font-weight: bold;
line-height: 1.5em;
}
@@ -56,7 +45,6 @@ h2 {
}
h3, h4, h5, h6 {
font-weight: bold;
font-size: $h3_size;
}
@@ -67,7 +55,6 @@ fieldset {
header {
margin: 0 0 1em 0;
padding: 0;
display: block;
}
img {
@@ -75,16 +62,6 @@ img {
vertical-align: middle;
}
img.wait {
margin-left: 5px;
}
legend {
font-size: $h2_size;
font-weight: bold;
margin-bottom: 0.5em;
}
menu {
margin: 0;
padding: 0;
@@ -106,14 +83,6 @@ p {
margin-bottom: 1em;
}
section {
display: block;
}
strong {
font-weight: bold;
}
table tfoot {
margin-top: 2em;
}

View File

@@ -11,18 +11,11 @@ span.link {
cursor: pointer;
}
span.wait {
color: #CCC;
}
span.count {
color: #CCC;
margin-left: 0.5em;
}
span.edit-options {
}
kbd.key {
background: #333;
border: 1px solid #333;

View File

@@ -28,7 +28,6 @@ div#page {
h1 {
font-size: $h2_size;
font-weight: bold;
}
p {

View File

@@ -49,11 +49,3 @@
}
}
}
.split-inline-tag-list {
@extend .inline-tag-list;
ul {
display: block;
}
}

View File

@@ -6,21 +6,10 @@ div#c-artists, div#excerpt {
color: #A00;
}
div#a-banned {
}
ul ul {
margin-left: 1em;
}
div#a-show {
p.legend {
margin-bottom: 2em;
font-size: 0.8em;
font-style: italic;
}
}
div#a-edit, div#a-new {
textarea {
height: 10em;

View File

@@ -63,12 +63,6 @@ div.list-of-forum-posts {
}
div#c-forum-topics {
div.single-forum-post {
}
div#a-show {
}
span.info {
color: #AAA;
}

View File

@@ -1,5 +0,0 @@
div#c-post-appeals {
li {
list-style-type: disc;
}
}

View File

@@ -1,8 +1,4 @@
div#c-post-flags {
li {
list-style-type: disc;
}
tr.resolved-true {
background: #DDD !important;
}
@@ -10,4 +6,4 @@ div#c-post-flags {
tr.resolved-false {
background: #FFF !important;
}
}
}

View File

@@ -18,18 +18,6 @@ body.mode-remove-fav {
background-color: #FFA;
}
body.mode-rating-s {
background-color: #6F6;
}
body.mode-rating-q {
background-color: #AAA;
}
body.mode-rating-e {
background-color: #F66;
}
body.mode-vote-up {
background-color: #AFA;
}
@@ -50,14 +38,6 @@ body.mode-approve {
background-color: #48C;
}
body.mode-unapprove {
background-color: #F66;
}
body.mode-add-to-pool {
background-color: #26A;
}
body.mode-translation {
background-color: #5CD;
}

View File

@@ -44,12 +44,6 @@ article.post-preview {
margin-top: 1em;
}
#image-container p.desc {
font-size: 80%;
color: grey;
font-style: italic;
}
#open-edit-dialog {
padding: 0;
}

View File

@@ -4,16 +4,11 @@ div#c-static {
div#a-site-map {
width: 80em;
h1 {
display: none;
}
section {
width: 20em;
float: left;
h1 {
display: block;
font-size: $h3_size;
}

View File

@@ -71,19 +71,7 @@ div#c-users {
p {
font-size: 1.2em;
margin-bottom: 1em;
line-height: 1.4em;
}
footer.nav-links {
font-size: 1.4545em;
font-weight: bold;
text-align: center;
display: block;
}
div#p2 ul {
margin-bottom: 2em;
}
}
}