From 4930f127cc5a166cdd50fe62a2fc1a721ad41e3e Mon Sep 17 00:00:00 2001 From: Svetlana Rastegina Date: Thu, 18 Mar 2021 14:41:52 +0100 Subject: [PATCH] Fixed main navigation link font size. --- webapp/src/main/webapp/themes/iph/css/iph.css | 26 +++++++++++++++---- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/webapp/src/main/webapp/themes/iph/css/iph.css b/webapp/src/main/webapp/themes/iph/css/iph.css index 4f45ab7b..079869e4 100644 --- a/webapp/src/main/webapp/themes/iph/css/iph.css +++ b/webapp/src/main/webapp/themes/iph/css/iph.css @@ -2808,14 +2808,18 @@ span.iconControlsEditable { } .expandSwitch { width: 20%; + text-align: center; font-family: "Roboto"; font-size: 1rem; - text-align: right; + text-align: center; /*background-color: #000000;*/ - background-image: url(../images/expand-label-image.svg); + /*background-image: url(../images/expand-label-image.svg); background-repeat: no-repeat; - background-position: right bottom; + background-position: right bottom;*/ margin-bottom: -1px; + border: 1px solid #8B4513; + border-top-left-radius: 2em; + /*clip-path:polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);*/ } #articleTitleWrapper { @@ -2833,6 +2837,7 @@ span.iconControlsEditable { cursor: pointer; padding-left: 8px; padding-top: 5px; + padding-right: 10px; } .articleButtons { width: 10%; @@ -3021,8 +3026,8 @@ input#expandCB { display: none; } label.switch { - padding-top: 10px; - padding-right: 9px; + padding-top: 6px; + padding-left: 12px; } label.switch >#expandTextControl >img { padding-left: 6px; @@ -3164,6 +3169,9 @@ label.switch >#collapseTextControl >img { .display >div#articleWrapper { width: 90%; } + .expandSwitch { + font-size: 0.9rem; + } } @media screen and (max-width: 1300px) { @@ -3206,6 +3214,9 @@ label.switch >#collapseTextControl >img { .display >div#articleWrapper { width: 95%; } + .expandSwitch { + font-size: 0.7rem; + } } @media screen and (max-width: 1100px) { @@ -3233,6 +3244,9 @@ label.switch >#collapseTextControl >img { footer p.copyright small { font-size: 0.8rem; } + #main-nav li a { + font-size: 1rem; + } } @media screen and (max-width: 900px) { @@ -3246,6 +3260,7 @@ label.switch >#collapseTextControl >img { #main-nav li a { padding-left: 15px; padding-right: 15px; + font-size: 0.8rem; } #wrapper-content { width: 95%; @@ -3402,6 +3417,7 @@ label.switch >#collapseTextControl >img { #main-nav li a { padding-left: 10px; padding-right: 10px; + font-size: 0.7rem; } #SearchTitle { font-size: 1.1rem;