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;
font-size: 1rem;
}
.current_page_item > a,
.current-menu-item > a,
.current_page_ancestor > a,
.current-menu-ancestor > a {
font-weight: bold;
font-family: $font__bold;
border-left: 1px solid $color__black;
}
}
.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 {
padding: 1em 0;
@ -186,12 +194,25 @@
ul {
justify-content: end;
}
.current-menu-item::after {
display: block;
a[href^="http://localhost"],
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: "";
position: absolute;
left: 20%;
min-height: 2px;
height: 100%;
width: 60%;
margin:0 20%;
margin-top: 0.9em;
margin-top: 2.3em;
border-bottom: 2px solid $color__black;
}
}
@ -246,9 +267,11 @@
}
.main-navigation {
padding-bottom: 0;
.current-menu-item::after {
margin-top: 0.4em;
height: 100%;
a[href^="http://localhost"]::after,
a[href^="http://oficinasuport.xarxaprod.cat"]::after,
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-menu-ancestor > a {
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;
}
.secondary-navigation {
@ -944,12 +951,24 @@ textarea {
.main-navigation ul {
justify-content: end;
}
.main-navigation .current-menu-item::after {
display: block;
.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: 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: "";
position: absolute;
left: 20%;
min-height: 2px;
height: 100%;
width: 60%;
margin: 0 20%;
margin-top: 0.9em;
margin-top: 2.3em;
border-bottom: 2px solid #000;
}
.secondary-navigation {
@ -1006,9 +1025,11 @@ textarea {
.main-navigation {
padding-bottom: 0;
}
.main-navigation .current-menu-item::after {
margin-top: 0.4em;
height: 100%;
.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 {
margin-top: 5em;
}
}

File diff suppressed because one or more lines are too long