From 603005ef9b3477aa17e38b1db11fda84bdf11966 Mon Sep 17 00:00:00 2001 From: kilo Date: Tue, 30 Jan 2018 14:44:19 +0100 Subject: [PATCH] Allow class "new" to be applied to header text (#1753) * Allow class "new" to be applied to header * Fix new line that didnt work * Fix misplaced brackets --- README.md | 1 + public/css/main.css | 14 +++++++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 56946231..5c05e338 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ All tested versions of Ubuntu fail to build, use a different OS or docker * Install [Golang](https://golang.org/doc/install) (version >=1.8) * `go get -u github.com/tools/godep` * `go get github.com/NyaaPantsu/nyaa` + On Windows, a specific version of GCC is used to build a specific depedency we use The GCC version packaged with [msys2](https://github.com/orlp/dev-on-windows/wiki/Installing-GCC--&-MSYS2) should work diff --git a/public/css/main.css b/public/css/main.css index 79c6483e..42216525 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -715,15 +715,23 @@ textarea { margin-bottom: 1.2rem; } -#commit.new:after,#commit.wew:after { +.new:after,.wew:after { content: "new"; color: red; - font-size: 10pt; + font-size: 8pt; vertical-align: top; line-height: 5px; margin-left: 1px; } -#commit.wew:after { content: "wew"; } +.wew:after { + content: "wew"; +} +#header .new:after, .header .wew:after { + font-size: 7pt; + vertical-align: middle; + position: relative; + top: -8px; +} html, body { height: 100%;