styled menu

This commit is contained in:
jorge 2024-01-10 01:40:38 +01:00
parent 4049c87243
commit 05370137b6
1 changed files with 8 additions and 0 deletions

View File

@ -1154,6 +1154,12 @@ textarea {
.main-navigation ul, .secondary-navigation ul { .main-navigation ul, .secondary-navigation ul {
display: flex; display: flex;
} }
.main-navigation ul .sub-menu {
flex-direction: column;
}
.main-navigation ul .sub-menu li {
padding: 1rem 0;
}
.main-navigation a, .secondary-navigation a { .main-navigation a, .secondary-navigation a {
padding: 0 0.5rem; padding: 0 0.5rem;
} }
@ -1178,6 +1184,7 @@ textarea {
font-family: var(--font-xarxaprod); font-family: var(--font-xarxaprod);
border-left: none; border-left: none;
} }
/*
.main-navigation a[href^="http://localhost"]::after, .main-navigation a[href^="http://localhost"]::after,
.main-navigation a[href^="http://xarxaprod.cat"]::after, .main-navigation a[href^="http://xarxaprod.cat"]::after,
.main-navigation a[href^="https://xarxaprod.cat"]::after, .main-navigation a[href^="https://xarxaprod.cat"]::after,
@ -1192,6 +1199,7 @@ textarea {
margin-top: 2.3em; margin-top: 2.3em;
border-bottom: 0.3rem solid #000; border-bottom: 0.3rem solid #000;
} }
*/
.secondary-navigation { .secondary-navigation {
padding: 1.5em 0; padding: 1.5em 0;
} }