revises tags and categories styles -- with badges

This commit is contained in:
Huy Tran 2018-08-13 08:49:30 +07:00
parent 1d48cebafb
commit c620ee6dc8
3 changed files with 43 additions and 2 deletions

View file

@ -11,6 +11,7 @@
@import 'hyde-hyde/post';
@import 'hyde-hyde/code';
@import 'hyde-hyde/gist';
@import 'hyde-hyde/taxonomies';
@import 'hyde-hyde/project';
@import 'hyde-hyde/responsive';
@import 'hyde-hyde/misc';

View file

@ -0,0 +1,40 @@
.badge-category,
a.badge-category {
color: #fff !important;
background-color: #0088cc;
}
a.badge-category {
&:hover, &:focus {
color: #0088cc !important;
background: transparent;
background-color: transparent;
text-decoration: none;
border-bottom: none;
}
}
.badge-tag,
a.badge-tag {
color: #fff !important;
background-color: #7766cc;
&:hover, &:focus {
color: #7766cc !important;
background: transparent;
background-color: transparent;
text-decoration: none;
border-bottom: none;
}
}
.badge {
display: inline-block;
padding: 0.25em 0.4em;
font-size: 0.75rem;
font-weight: bold;
line-height: 1;
text-align: center;
white-space: nowrap;
vertical-align: baseline;
border-radius: 0.25rem;
}