summaryrefslogtreecommitdiffstats
path: root/website/static/css
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
commit8981cf78209ddc21971142fa4325e94c39d6d5d3 (patch)
tree110f98f2916afd81174ceb707b4a6c0ebc4d77ee /website/static/css
parentwebsite: Move menubar to header. (diff)
website: Fix vertical alignment.
This is a follow-up to commit 3feeee7982ad16081c066a27d67486fa821d280b.
Diffstat (limited to 'website/static/css')
-rw-r--r--website/static/css/main.css6
1 files changed, 1 insertions, 5 deletions
diff --git a/website/static/css/main.css b/website/static/css/main.css
index 2bb9803..e11cfb1 100644
--- a/website/static/css/main.css
+++ b/website/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: '';