Created
May 23, 2014 10:39
-
-
Save matt-west/4d4acca6347f49026613 to your computer and use it in GitHub Desktop.
Postach.io: Tag Cloud Styling
This file contains hidden or 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
<!-- Styling for tag cloud --> | |
<style> | |
.tag-cloud { | |
width: 60%; | |
max-width: 1280px; | |
margin: 5em auto 1em; | |
text-align: center; | |
} | |
.tag-cloud h4 { | |
font-weight: bold; | |
padding-bottom: 2em; | |
} | |
.tag-cloud ul { | |
margin: 0; | |
padding: 0; | |
list-style: none; | |
} | |
.tag-cloud li { | |
display: inline-block; | |
margin: 5px; | |
} | |
.tag-cloud a, | |
.tag-cloud a:visited { | |
transition-property: all; | |
-webkit-transition-property: all; | |
transition-duration: 0.2s; | |
-webkit-transition-duration: 0.2s; | |
transition-timing-function: ease-in-out; | |
-webkit-transition-timing-function: ease-in-out; | |
transition-delay: initial; | |
-webkit-transition-delay: initial; | |
display: inline-block; | |
background-color: rgb(175, 183, 181); | |
color: rgb(255, 255, 255); | |
padding-top: 1px; | |
padding-right: 10px; | |
padding-bottom: 1px; | |
padding-left: 10px; | |
border-top-left-radius: 15px; | |
border-top-right-radius: 15px; | |
border-bottom-right-radius: 15px; | |
border-bottom-left-radius: 15px; | |
font-size: 0.9rem; | |
} | |
.tag-cloud a:hover, | |
.tag-cloud a:focus { | |
background-color: rgb(55, 204, 162); | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment