From a4bdd4b362dbb47708533e46c9c08aa515ae6de7 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Mon, 23 Feb 2015 19:46:41 -0800 Subject: [PATCH] Always use 12px font for fixed header. --- src/General/css/burichan.css | 4 +++- src/General/css/futaba.css | 4 +++- src/General/css/photon.css | 4 +++- src/General/css/style.css | 2 +- src/General/css/tomorrow.css | 4 +++- src/General/css/yotsuba-b.css | 4 +++- src/General/css/yotsuba.css | 4 +++- 7 files changed, 19 insertions(+), 7 deletions(-) diff --git a/src/General/css/burichan.css b/src/General/css/burichan.css index 2e15faad5..c5268bf78 100755 --- a/src/General/css/burichan.css +++ b/src/General/css/burichan.css @@ -11,8 +11,10 @@ :root.burichan #header-bar.dialog { background-color: rgba(214,218,240,0.98); } -:root.burichan #header-bar, :root.burichan #header-bar #notifications { +:root.burichan:not(.fixed) #header-bar, :root.burichan #header-bar #notifications { font-size: 11pt; +} +:root.burichan #header-bar, :root.burichan #header-bar #notifications { color: #89A; } :root.burichan #header-bar a, :root.burichan #header-bar #notifications a { diff --git a/src/General/css/futaba.css b/src/General/css/futaba.css index 6549c9053..c30be7557 100755 --- a/src/General/css/futaba.css +++ b/src/General/css/futaba.css @@ -11,8 +11,10 @@ :root.futaba #header-bar.dialog { background-color: rgba(240,224,214,0.98); } -:root.futaba #header-bar, :root.futaba #notifications { +:root.futaba:not(.fixed) #header-bar, :root.futaba #notifications { font-size: 11pt; +} +:root.futaba #header-bar, :root.futaba #notifications { color: #B86; } :root.futaba #header-bar a, :root.futaba #notifications a { diff --git a/src/General/css/photon.css b/src/General/css/photon.css index 59be150ee..1e7fbf9bd 100755 --- a/src/General/css/photon.css +++ b/src/General/css/photon.css @@ -11,8 +11,10 @@ :root.photon #header-bar.dialog { background-color: rgba(221,221,221,0.98); } -:root.photon #header-bar, :root.photon #notifications { +:root.photon:not(.fixed) #header-bar, :root.photon #notifications { font-size: 9pt; +} +:root.photon #header-bar, :root.photon #notifications { color: #333; } :root.photon #header-bar a, :root.photon #notifications a { diff --git a/src/General/css/style.css b/src/General/css/style.css index a8d4e82d0..76140db1a 100755 --- a/src/General/css/style.css +++ b/src/General/css/style.css @@ -178,6 +178,7 @@ audio.controls-added { right: 0; left: 0; padding: 3px 4px 4px; + font-size: 12px; } .fixed.top-header #header-bar { top: 0; @@ -295,7 +296,6 @@ audio.controls-added { } @media (min-width: 1300px) { :root.fixed:not(.centered-links) #header-bar { - font-size: 12px; white-space: nowrap; display: flex; -webkit-align-items: center; diff --git a/src/General/css/tomorrow.css b/src/General/css/tomorrow.css index 68dbe3677..2d9368671 100755 --- a/src/General/css/tomorrow.css +++ b/src/General/css/tomorrow.css @@ -11,8 +11,10 @@ :root.tomorrow #header-bar.dialog { background-color: rgba(40,42,46,0.9); } -:root.tomorrow #header-bar, :root.tomorrow #notifications { +:root.tomorrow:not(.fixed) #header-bar, :root.tomorrow #notifications { font-size: 9pt; +} +:root.tomorrow #header-bar, :root.tomorrow #notifications { color: #C5C8C6; } :root.tomorrow #header-bar a, :root.tomorrow #notifications a { diff --git a/src/General/css/yotsuba-b.css b/src/General/css/yotsuba-b.css index 5a078f787..81bf0cd71 100755 --- a/src/General/css/yotsuba-b.css +++ b/src/General/css/yotsuba-b.css @@ -11,8 +11,10 @@ :root.yotsuba-b #header-bar.dialog { background-color: rgba(214,218,240,0.98); } -:root.yotsuba-b #header-bar, :root.yotsuba-b #notifications { +:root.yotsuba-b:not(.fixed) #header-bar, :root.yotsuba-b #notifications { font-size: 9pt; +} +:root.yotsuba-b #header-bar, :root.yotsuba-b #notifications { color: #89A; } :root.yotsuba-b #board-list a, :root.yotsuba-b #shortcuts a { diff --git a/src/General/css/yotsuba.css b/src/General/css/yotsuba.css index 5de51add7..5631fc011 100755 --- a/src/General/css/yotsuba.css +++ b/src/General/css/yotsuba.css @@ -11,8 +11,10 @@ :root.yotsuba #header-bar.dialog { background-color: rgba(240,224,214,0.98); } -:root.yotsuba #header-bar, :root.yotsuba #notifications { +:root.yotsuba:not(.fixed) #header-bar, :root.yotsuba #notifications { font-size: 9pt; +} +:root.yotsuba #header-bar, :root.yotsuba #notifications { color: #B86; } :root.yotsuba #board-list a, :root.yotsuba #shortcuts a {