From d102bb5dcc2c567a2922addd116a5375bc125df9 Mon Sep 17 00:00:00 2001 From: Julien Schmidt <js@stusta.net> Date: Sat, 21 Apr 2018 17:49:46 +0200 Subject: [PATCH] limit width of header link --- static/css/main.css | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/static/css/main.css b/static/css/main.css index 7c458f9..bed164b 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -51,6 +51,7 @@ body { display: inline-block; height: 100%; width: 100%; + max-width: 180px; background-image: url(/logo.png); background-size: contain; background-position: left center; @@ -327,7 +328,7 @@ nav .container { padding: 15px 5px 15px 25px; } -.lang-dropdown::after { +.lang-dropdown::after { content: 'â–¾'; } @@ -355,25 +356,25 @@ header h1 { text-shadow: 0px 0px 1px rgba(0,0,0,0.8); } -.yellow { +.yellow { background-color: rgb(255, 232, 89); box-shadow: 0 0 8px 0 rgba(255, 232, 89, 0.12); } .yellow h1 { - color: black; + color: black; text-shadow: none; } -.red { +.red { background-color: rgb(226, 107, 68); box-shadow: 0 0 8px 0 rgba(226, 107, 68, 0.12); } .red h1 { color: white; } -.green { +.green { background-color: rgb(137, 187, 79); box-shadow: 0 0 8px 0 rgba(137, 187, 79, 0.12); } .green h1 { color: white; } -.blue { +.blue { background-color: rgb(94, 146, 189); box-shadow: 0 0 8px 0 rgba(94, 146, 189, 0.12); } @@ -586,4 +587,4 @@ footer .lang-dropdown { footer .editPage a { color: transparent; } -} \ No newline at end of file +} -- GitLab