top menu as wordpress with rouded buttons

This commit is contained in:
jorge 2022-04-25 03:50:35 +02:00
parent 589f68e954
commit 5079afcdfa
2 changed files with 62 additions and 13 deletions

File diff suppressed because one or more lines are too long

View File

@ -8,21 +8,70 @@
} }
.hero { .hero {
@include breakpoint(small) { @include breakpoint(small) {
nav { // nav {
.dropdown.menu > li > a { // .dropdown.menu > li > a {
padding: $global-menu-padding/2 $global-menu-padding/2; // padding: $global-menu-padding/2 $global-menu-padding/2;
} // }
} // }
} }
@include breakpoint(medium) { @include breakpoint(medium) {
aside { // aside {
nav { // nav {
.dropdown.menu > li > a { // .dropdown.menu > li > a {
padding: $global-menu-padding; // padding: $global-menu-padding;
} // }
} // }
} // }
} }
@include breakpoint(large) { @include breakpoint(large) {
} }
} }
header {
menu {
a[href$="/join-us/"],a[href$="/login"] {
color: $black;
background-color: $input-background;
border: none;
border-radius: $global-radius-archive;
padding: $global-padding/2 $global-padding;
margin-left: $global-margin;
&:hover {
color: $anchor-color;
}
}
}
}
// a[href^="http://"] {
// /* fully valid URL, likely external link */
// }
//
// a[href="http://google.com"] {
// /* link to specific website */
// }
//
// a[href^="/"], a[href^=".."] {
// /* internal relative link */
// }
//
// a[href^="mailto:"] {
// /* email link */
// }
//
// a[href$=".pdf"] {
// /* PDF file */
// }
//
// a[href$=".doc"] {
// /* Microsoft Word document */
// }
//
// a[href$=".mp3"] {
// /* Music file */
// }
//
// a[href$=".zip"] {
// /* Archive file */
// }