Skip to content

Instantly share code, notes, and snippets.

@kokodev kokodev/tag-cloud.css Secret
Created Jun 16, 2020

Embed
What would you like to do?
Tag Cloud CSS for Hugo template
.sidepanel {
float: right;
width: 300px;
padding-top: 35px;
}
.sidepanel .box {
margin-bottom: 50px;
display: block;
}
.sidepanel h4 {
color: #444;
}
.sidepanel a {
text-decoration: underline;
font-size: 12px;
}
.sidepanel ul {
margin: 0;
padding: 0;
}
.sidepanel li {
padding: 0;
margin-bottom: 8px;
display: list-item;
word-wrap: break-word;
}
.sidepanel .archive span {
color: #333;
font-size: 12px;
}
.tagcloud span {
margin-right: 4px;
margin-top: 4px;
padding: 0;
font-size: 0;
}
.tagcloud .weight-1 {
font-size: 11px;
}
.tagcloud .weight-2 {
font-size: 12px;
}
.tagcloud .weight-3 {
font-size: 13px;
}
.tagcloud .weight-4 {
font-size: 14px;
}
.tagcloud .weight-5 {
font-size: 15px;
}
.tagcloud .weight-6 {
font-size: 16px;
}
.tagcloud .weight-7 {
font-size: 17px;
}
.tagcloud .weight-8 {
font-size: 18px;
}
.tagcloud .weight-9 {
font-size: 19px;
}
.tagcloud .weight-10 {
font-size: 20px;
}
.tagcloud a {
font-size: inherit;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.