mirror of
https://github.com/Fluffy-Bean/Fluffys-website.git
synced 2025-01-15 02:35:13 +00:00
62 lines
1.2 KiB
Sass
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 |