Use web components for SVG icons
This commit is contained in:
@ -1,16 +1,7 @@
|
||||
.icon
|
||||
width 1em
|
||||
height 1em
|
||||
min-width 1em
|
||||
.padded-icon
|
||||
margin-right 0.5em
|
||||
vertical-align text-bottom
|
||||
fill currentColor
|
||||
|
||||
.raw-icon
|
||||
width 1em
|
||||
height 1em
|
||||
min-width 1em
|
||||
fill currentColor
|
||||
|
||||
.icon-headphones
|
||||
transform translateY(2px)
|
||||
svg-icon
|
||||
[name="headphones"]
|
||||
transform translateY(2px)
|
@ -13,8 +13,9 @@
|
||||
transform scale(1.1)
|
||||
opacity 1
|
||||
|
||||
.icon-discord
|
||||
transform scale(1.1)
|
||||
svg-icon
|
||||
[name="discord"]
|
||||
transform scale(1.1)
|
||||
|
||||
// .sidebar-social-media
|
||||
// position relative
|
||||
|
@ -1,4 +1,6 @@
|
||||
.tab
|
||||
horizontal
|
||||
align-items center
|
||||
color text-color
|
||||
padding 0.5rem 1rem
|
||||
background-color tab-background
|
||||
|
Reference in New Issue
Block a user