Wrap přetékajících tagů
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d6b9163e7b
commit
c8df9a3301
@ -1,29 +1,28 @@
|
|||||||
.taglist .tag {
|
.taglist{
|
||||||
margin-right: $tag-margin-right;
|
flex-wrap: wrap;
|
||||||
background: $tag-background;
|
|
||||||
color: $tag-color;
|
|
||||||
border-radius: $tag-border-radius;
|
|
||||||
border: 1px solid #aaa;
|
|
||||||
font-size: $tag-font-size;
|
|
||||||
display: inline-block;
|
|
||||||
|
|
||||||
a {
|
.tag {
|
||||||
display: block;
|
background: $tag-background;
|
||||||
color: $tag-color;
|
color: $tag-color;
|
||||||
white-space: nowrap;
|
border-radius: $tag-border-radius;
|
||||||
padding: $tag-padding;
|
border: 1px solid #aaa;
|
||||||
|
font-size: $tag-font-size;
|
||||||
|
display: inline-block;
|
||||||
|
margin: .2rem $tag-spacing;
|
||||||
|
|
||||||
&:hover {
|
a {
|
||||||
color: $primary;
|
display: block;
|
||||||
|
color: $tag-color;
|
||||||
|
white-space: nowrap;
|
||||||
|
padding: $tag-padding;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: $primary;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.taglist.centering {
|
.taglist.centering {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
flex-wrap: wrap;
|
.tag { text-transform: capitalize }
|
||||||
|
|
||||||
.tag {
|
|
||||||
margin-bottom: .5rem;
|
|
||||||
text-transform: capitalize;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -19,7 +19,7 @@ $anchor-hover-color:lighten($primary, 20%);
|
|||||||
// tags
|
// tags
|
||||||
$tag-background:$secondary;
|
$tag-background:$secondary;
|
||||||
$tag-padding:.5em;
|
$tag-padding:.5em;
|
||||||
$tag-margin-right:.4em;
|
$tag-spacing:.2em;
|
||||||
$tag-border-radius:5px;
|
$tag-border-radius:5px;
|
||||||
$tag-color:#000;
|
$tag-color:#000;
|
||||||
$tag-font-size:.9rem;
|
$tag-font-size:.9rem;
|
||||||
|
Loading…
Reference in New Issue
Block a user