From f1f0ef21dc4a88082f5a9ac93298f48716d6f2ee Mon Sep 17 00:00:00 2001 From: Nikita Lvov Date: Thu, 2 Jul 2020 14:26:15 +0200 Subject: [PATCH] fix centering main menu on the small scale; this closes #37 --- .../less/invenio_theme_tugraz/header.less | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/header.less b/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/header.less index 8a7f522..75583ca 100644 --- a/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/header.less +++ b/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/header.less @@ -187,13 +187,17 @@ svg:not(:root) { /***********MAIN menu*************/ -.main-menu-entry a { - padding: 5px 8px; +.main-menu-entry { + text-align: center !important; + & a { + font-size: 1.2rem; + padding: 5px 8px; + } } .main-menu-entry a:hover { - background-color: #000000; - color: #ffffff; + background-color: #000; + color: #fff; text-decoration: none; }