Summary Files Commits Branches @commit @diff @stats
path: root / src / badges.less
diff options
context:
space:
mode:
Commit846353cb40512404c5b8d27084a6fbe7b4a47d23 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-04-27 15:29:29 +0800
Committer
 GitHub <noreply@github.com>
2017-04-27 15:29:29 +0800
Files4988ff8ae00ceef95aa0657f40b874fce19a7a65 /src/badges.less
Spectre-Dark-Gruvbox-0.2.14.tar
Spectre-Dark-Gruvbox-0.2.14.tar.gz
Spectre-Dark-Gruvbox-0.2.14.zip
Parent7fdb8b4ca18e1758bf4453cc5f8c32b7a7ad2701 (diff)
Parent42cf02f51798756017fb5f886db0173dc258b107 (diff)
Merge pull request #208 from picturepan2/0.2.14 v0.2.14
0.2.14
1 files changed, 6 insertions, 6 deletions
-rw-r--r--src/badges.less12
diff --git a/src/badges.less b/src/badges.less
index f6dfdbf..677cc9b 100644
--- a/src/badges.less
+++ b/src/badges.less
@@ -8,8 +8,8 @@
&::after {
background: @primary-color;
background-clip: padding-box;
- border: @border-width solid @bg-color-light;
border-radius: 1rem;
+ box-shadow: 0 0 0 .2rem @bg-color-light;
color: @light-color;
content: attr(data-badge);
display: inline-block;
@@ -19,9 +19,9 @@
&[data-badge] {
&::after {
font-size: @font-size-sm;
- height: 2rem;
+ height: 1.8rem;
line-height: 1;
- min-width: 2rem;
+ min-width: 1.8rem;
padding: .3rem .5rem;
text-align: center;
white-space: nowrap;
@@ -30,10 +30,10 @@
&:not([data-badge]),
&[data-badge=''] {
&::after {
- height: .8rem;
- min-width: .8rem;
+ height: .6rem;
+ min-width: .6rem;
padding: 0;
- width: .8rem;
+ width: .6rem;
}
}