assure that badges will be displayed as circles no matter what font is used and if there is only one digit inside. move css to its proper place

This commit is contained in:
Mario Vavti 2015-03-14 12:37:48 +01:00
parent cc2c7bbcd8
commit fdcbb61bcb
2 changed files with 12 additions and 7 deletions

View File

@ -4,13 +4,23 @@
nav .badge {
position: relative;
top: -48px;
top: -49px;
float: left;
font-size: 10px;
padding: 2px 6px;
line-height: 20px;
padding: 0px 5px;
height: 20px;
min-width: 20px;
border-radius: 10px;
cursor: pointer;
}
@media screen and (max-width: 767px) {
nav .badge {
top: -46px;
}
}
nav i {
font-size: 14px;
}

View File

@ -2001,11 +2001,6 @@ blockquote {
border-radius: $radiuspx;
}
nav .badge {
padding: 5px 6px;
border-radius: 9px;
}
nav .badge:hover {
background-color: #999;
}