Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sergiu-radu/3c73c51914b0b4a93fb3ef46259c1670 to your computer and use it in GitHub Desktop.
Save sergiu-radu/3c73c51914b0b4a93fb3ef46259c1670 to your computer and use it in GitHub Desktop.
CSS for tag cloud legacy widget
[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;
}
}
}
}
@oldrup
Copy link

oldrup commented Jul 3, 2023

I can work with that. Legacy tag clouds are rarely used anyway. Thanks!

@sergiu-radu
Copy link
Author

With pleasure @oldrup ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment