From cbf4592a38b9a5a9473a7b4bfe98c8b29fb0b73b Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Tue, 4 Oct 2016 10:48:54 -0700 Subject: [PATCH] minor css cleanup --- b.rb | 4 ++-- css/main.scss | 10 ++++------ 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/b.rb b/b.rb index c2dbc75..391a0ed 100644 --- a/b.rb +++ b/b.rb @@ -220,8 +220,8 @@ EOF comment_html("Note: there #{text} pending approval.", NOW) end com_section = <<-EOF -
- + + diff --git a/css/main.scss b/css/main.scss index 7c7e4a2..824ee50 100644 --- a/css/main.scss +++ b/css/main.scss @@ -1,6 +1,8 @@ // https://github.com/necolas/normalize.css @import "normalize"; @import "common"; +@import "subscribe-char"; +@import "code-highlight"; .cc-by-sa { // It sits too high by default. @@ -12,7 +14,7 @@ margin: 50px 0; } -div.comment { +.comment { // whitespace doesn't cut it to differentiate multiple comments, // so use a line border-top-color: $comment-br-color; @@ -52,17 +54,15 @@ input { } // if this is filled out, we can assume it's spam. common tactic. -input.misc { +.misc-comment-input { display: none; } - textarea { // make the comment box be full width width: 100%; } - ul { // i dun like the default bullet points list-style-type: none; @@ -176,5 +176,3 @@ a:visited { color: $link-visited-color; } -@import "subscribe-char"; -@import "code-highlight"; -- 2.30.2