hugo-theme-even/assets/sass/_partial/_terms.scss

46 lines
975 B
SCSS
Raw Normal View History

2017-08-27 14:38:42 +00:00
// ==============================
// General Terms(tags, categories, etc.)
2017-08-27 14:38:42 +00:00
// =============================
.terms {
2017-08-27 14:38:42 +00:00
margin: 2em 0 3em;
text-align: center;
font-family: $global-serif-font-family;
.terms-title {
2017-08-27 14:38:42 +00:00
display: inline-block;
font-size: $terms-title-size;
2017-08-27 14:38:42 +00:00
color: $theme-color;
border-bottom: $terms-title-border-bottom;
2017-08-27 14:38:42 +00:00
}
.terms-tags {
2017-08-27 14:38:42 +00:00
margin: 10px 0;
.terms-link {
2017-08-27 14:38:42 +00:00
display: inline-block;
position: relative;
margin: $terms-link-margin;
2017-08-27 14:38:42 +00:00
word-wrap: break-word;
transition-duration: 0.2s;
transition-property: transform;
transition-timing-function: ease-out;
.terms-count {
2017-08-27 14:38:42 +00:00
display: inline-block;
position: relative;
top: -8px;
right: -2px;
color: $theme-color;
font-size: $terms-count-font-size;
2017-08-27 14:38:42 +00:00
}
&:active,
&:focus,
&:hover {
color: $theme-color;
transform: scale(1.1);
}
}
}
}