Created
July 3, 2023 11:02
-
-
Save sergiu-radu/3c73c51914b0b4a93fb3ef46259c1670 to your computer and use it in GitHub Desktop.
CSS for tag cloud legacy widget
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[class*="tag_cloud"] { | |
.tagcloud { | |
display: flex; | |
flex-wrap: wrap; | |
gap: 8px; | |
a { | |
display: flex; | |
align-items: center; | |
height: 36px; | |
font-size: 14px !important; | |
line-height: 100%; | |
padding: 0 12px; | |
border-radius: 3px; | |
border: 1px solid #d7dee5; | |
transition: color 0.12s cubic-bezier(0.455, 0.03, 0.515, 0.955), | |
background 0.12s cubic-bezier(0.455, 0.03, 0.515, 0.955), | |
border-color 0.12s cubic-bezier(0.455, 0.03, 0.515, 0.955); | |
&:hover { | |
color: #fff; | |
border-color: var(--theme-palette-color-1); | |
background: var(--theme-palette-color-1); | |
} | |
span { | |
margin-inline-start: 0.3em; | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With pleasure @oldrup ;)