summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-04-11 10:51:49 +0200
committerRicardo Wurmus <rekado@elephly.net>2021-04-11 10:51:49 +0200
commitb6f38eeeb4b36cb764f893f14fd60fb57e1a264a (patch)
treea3747b34ee75c12088ad5ad65a7253882d580e7c
parentwebsite: Move menubar to header. (diff)
website: Fix vertical alignment.
This is a follow-up to commit 95bfd8155f113d46493fbfa563ae3aad96baffde.
-rw-r--r--static/css/main.css6
1 files changed, 1 insertions, 5 deletions
diff --git a/static/css/main.css b/static/css/main.css
index 2bb9803..e11cfb1 100644
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -104,6 +104,7 @@ p + p {
104 104
105#header .logo.small img { 105#header .logo.small img {
106 height: 4.5rem; 106 height: 4.5rem;
107 vertical-align: middle;
107} 108}
108 109
109#header .logo.small { 110#header .logo.small {
@@ -138,7 +139,6 @@ p + p {
138 139
139#menubar { 140#menubar {
140 display: inline-block; 141 display: inline-block;
141 vertical-align: middle;
142} 142}
143 143
144.frontpage #menubar { 144.frontpage #menubar {
@@ -153,10 +153,6 @@ p + p {
153 padding: 0px; 153 padding: 0px;
154} 154}
155 155
156#header-inner * {
157 vertical-align: middle;
158}
159
160/* ghost element to maintain perfect centering */ 156/* ghost element to maintain perfect centering */
161#header-inner:before { 157#header-inner:before {
162 content: ''; 158 content: '';