Skip to content

Commit

Permalink
Merge pull request #44 from UM-LPM/main
Browse files Browse the repository at this point in the history
adjusted padding-bottom and font in feri-header
  • Loading branch information
cecepasinechka authored Aug 12, 2024
2 parents e826552 + de253d7 commit 65a871a
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _includes/feri-header.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ <h1 class='screen-reader-only'>Domača stran FERI</h1>
class='screen-reader-only'>Primarna navigacija</span></a>
<nav id="main-nav" aria-label="Primary navigation">
<div class="block">
<ul>
<ul class="main-nav-big">
<li><a href="https://feri.um.si/o-nas/">O NAS</a>
<li><a href="https://feri.um.si/studij/">ŠTUDIJ</a>
<li><a href="https://feri.um.si/raziskovanje/">RAZISKOVANJE</a>
Expand Down
38 changes: 35 additions & 3 deletions _sass/_feri-header.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
@font-face {
font-family: 'Open Sans';
font-weight: 300;
font-style: normal;
src: local('Open Sans Light'), local('OpenSans-Light'), url('https://feri.um.si/site/templates/fonts/OpenSans-Light.woff') format('woff'), url('/site/templates/fonts/OpenSans-Light.ttf') format('truetype');
font-display:swap
}

@font-face {
font-family: 'Open Sans';
font-weight: 400;
font-style: normal;
src: local('Open Sans'), local('OpenSans'), url('https://feri.um.si/site/templates/fonts/OpenSans-Regular.woff') format('woff'), url('/site/templates/fonts/OpenSans-Regular.ttf') format('truetype');
font-display:swap
}

@font-face {
font-family: 'Open Sans';
font-weight: 600;
font-style: normal;
src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url('https://feri.um.si/site/templates/fonts/OpenSans-Semibold.woff') format('woff'), url('/site/templates/fonts/OpenSans-Semibold.ttf') format('truetype');
font-display:swap
}

.meni-small {
display: none !important
}
Expand Down Expand Up @@ -250,7 +274,7 @@ header, #content{
text-decoration: none;
padding: 0 .722em;
display:block;
font-family: Sana;
font-family: 'Open Sans',sans-serif
}

#main-nav li.active a {
Expand Down Expand Up @@ -282,7 +306,7 @@ header, #content{
text-decoration: none;
padding: 0 1em;
display:block;
font-family: Sana
font-family: 'Open Sans',sans-serif
}

#theme-selector {
Expand All @@ -291,6 +315,10 @@ header, #content{
cursor:pointer
}

.main-nav-big {
padding-bottom: rem(30px) !important;
}

#sec-nav li a:focus, #sec-nav li a:hover, #theme-selector:focus, #theme-selector:hover {
color:#ffc70f
}
Expand Down Expand Up @@ -330,7 +358,7 @@ header, #content{
.side-nav li a {
font-size: 1em;
padding:.5em 1em;
font-family: Sana
font-family: 'Open Sans',sans-serif
}

#header-logos {
Expand Down Expand Up @@ -381,6 +409,10 @@ header, #content{
margin:0 auto
}

.main-nav-big {
padding-bottom: rem(30px) !important;
}

#header-logos {
float: none;
position: static;
Expand Down

0 comments on commit 65a871a

Please sign in to comment.