Skip to content
Snippets Groups Projects
Commit 660ff276 authored by alexisben's avatar alexisben
Browse files

Merge branch 'main' of github.com:noesya/osuny-hugo-theme-aaa

parents c4e51284 7f209aa2
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@ ul.diplomas
.diplomas-select
text-align: right
position: relative
@include h3
@include meta
button
@include button-reset
@include icon(caret, after)
......@@ -27,31 +27,36 @@ ul.diplomas
margin-left: 5px
.dropdown-menu
@include inset(100%, 0, auto, auto)
background-color: black
@include inset(calc(100% + #{$spacing0}), 0, auto, auto)
background-color: $color-background-alt
display: none
position: absolute
@include media-breakpoint-down(md)
// padding-left: $container-gutter-width
// padding-right: $container-gutter-width
right: half(-$grid-gutter-sm)
left: half(-$grid-gutter-sm)
&,
a
color: white
color: black
a
display: block
padding: $spacing0
font-size: $body-size
padding: $spacing1
text-decoration: none
white-space: normal
@include media-breakpoint-down(md)
padding: $spacing0 $spacing1
&:not(:first-child)
border-top: 1px solid $color-border
@include media-breakpoint-up(md)
font-size: px2rem(22)
&:hover
background-color: lighten(black, 3)
background-color: $color-accent
color: white
&:focus
color: black
button[aria-expanded="true"]
@include icon('caret-top', 'after')
font-size: px2rem(6)
+ .dropdown-menu
display: block
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment