added bottom line and bold style to menu linkt pointing this website

This commit is contained in:
jorge 2022-12-06 09:57:10 +01:00
parent d336aa54e1
commit 8502d52cc5
3 changed files with 60 additions and 16 deletions

View File

@ -75,17 +75,25 @@
text-decoration: none; text-decoration: none;
font-size: 1rem; font-size: 1rem;
} }
.current_page_item > a, .current_page_item > a,
.current-menu-item > a, .current-menu-item > a,
.current_page_ancestor > a, .current_page_ancestor > a,
.current-menu-ancestor > a { .current-menu-ancestor > a {
font-weight: bold; font-weight: bold;
font-family: $font__bold;
border-left: 1px solid $color__black; border-left: 1px solid $color__black;
} }
} }
.main-navigation { .main-navigation {
a[href^="http://localhost"],
a[href^="http://oficinasuport.xarxaprod.cat"],
a[href^="https://oficinasuport.xarxaprod.cat"]
{
font-family: $font__bold;
border-left: 1px solid $color__black;
}
} }
.secondary-navigation { .secondary-navigation {
padding: 1em 0; padding: 1em 0;
@ -186,12 +194,25 @@
ul { ul {
justify-content: end; justify-content: end;
} }
.current-menu-item::after { a[href^="http://localhost"],
display: block; a[href^="http://oficinasuport.xarxaprod.cat"],
a[href^="https://oficinasuport.xarxaprod.cat"]
{
font-family: $font__bold;
border-left:none;
}
a[href^="http://localhost"]::after,
a[href^="http://oficinasuport.xarxaprod.cat"]::after,
a[href^="https://oficinasuport.xarxaprod.cat"]::after,
.current-menu-item a::after {
display: inline-block;
content: ""; content: "";
position: absolute;
left: 20%;
min-height: 2px;
height: 100%;
width: 60%; width: 60%;
margin:0 20%; margin-top: 2.3em;
margin-top: 0.9em;
border-bottom: 2px solid $color__black; border-bottom: 2px solid $color__black;
} }
} }
@ -246,9 +267,11 @@
} }
.main-navigation { .main-navigation {
padding-bottom: 0; padding-bottom: 0;
.current-menu-item::after { a[href^="http://localhost"]::after,
margin-top: 0.4em; a[href^="http://oficinasuport.xarxaprod.cat"]::after,
height: 100%; a[href^="https://oficinasuport.xarxaprod.cat"]::after,
.current-menu-item a::after {
margin-top: 5em;
} }
} }
} }

View File

@ -847,6 +847,13 @@ textarea {
.secondary-navigation .current_page_ancestor > a, .secondary-navigation .current_page_ancestor > a,
.secondary-navigation .current-menu-ancestor > a { .secondary-navigation .current-menu-ancestor > a {
font-weight: bold; font-weight: bold;
font-family: "din-bold", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
border-left: 1px solid #000;
}
.main-navigation a[href^="http://localhost"],
.main-navigation a[href^="http://oficinasuport.xarxaprod.cat"],
.main-navigation a[href^="https://oficinasuport.xarxaprod.cat"] {
font-family: "din-bold", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
border-left: 1px solid #000; border-left: 1px solid #000;
} }
.secondary-navigation { .secondary-navigation {
@ -944,12 +951,24 @@ textarea {
.main-navigation ul { .main-navigation ul {
justify-content: end; justify-content: end;
} }
.main-navigation .current-menu-item::after { .main-navigation a[href^="http://localhost"],
display: block; .main-navigation a[href^="http://oficinasuport.xarxaprod.cat"],
.main-navigation a[href^="https://oficinasuport.xarxaprod.cat"] {
font-family: "din-bold", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
border-left: none;
}
.main-navigation a[href^="http://localhost"]::after,
.main-navigation a[href^="http://oficinasuport.xarxaprod.cat"]::after,
.main-navigation a[href^="https://oficinasuport.xarxaprod.cat"]::after,
.main-navigation .current-menu-item a::after {
display: inline-block;
content: ""; content: "";
position: absolute;
left: 20%;
min-height: 2px;
height: 100%;
width: 60%; width: 60%;
margin: 0 20%; margin-top: 2.3em;
margin-top: 0.9em;
border-bottom: 2px solid #000; border-bottom: 2px solid #000;
} }
.secondary-navigation { .secondary-navigation {
@ -1006,9 +1025,11 @@ textarea {
.main-navigation { .main-navigation {
padding-bottom: 0; padding-bottom: 0;
} }
.main-navigation .current-menu-item::after { .main-navigation a[href^="http://localhost"]::after,
margin-top: 0.4em; .main-navigation a[href^="http://oficinasuport.xarxaprod.cat"]::after,
height: 100%; .main-navigation a[href^="https://oficinasuport.xarxaprod.cat"]::after,
.main-navigation .current-menu-item a::after {
margin-top: 5em;
} }
} }

File diff suppressed because one or more lines are too long