old-website/static/sass/styles/button-array.sass
Michał 0ddc2a20b2 Add darkmode
Prettier titles
2023-07-21 13:25:33 +01:00

62 lines
1.2 KiB
Sass

.button-array
display: flex
flex-wrap: wrap
justify-content: start
font-size: 0.9rem
font-family: $font-mono
text-decoration: none
p
margin: 0 0.2rem 0 0
padding: 0 0.5rem
height: 2rem
display: flex
align-items: center
font-family: inherit
background: $dark
color: $light
border-radius: $radius
button, a
margin: 0 0.2rem 0.2rem 0
padding: 0
width: 2rem
height: 2rem
display: flex
justify-content: center
align-items: center
font-family: inherit
background-color: $accent
color: $dark
border: 0 solid transparent
border-radius: $radius
// transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out
svg
width: 1.1rem
height: 1.1rem
&:hover, &:focus-visible
text-decoration: none
background-color: transparent
color: $dark
outline: 0 solid transparent
@media (prefers-color-scheme: dark)
.button-array
p
background: $light
color: $dark
button, a
&:hover, &:focus-visible
color: $light