2015-05-14 16:45:37 +03:00
|
|
|
/* Badges
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
2017-02-15 15:43:49 +03:00
|
|
|
.gh-badge {
|
2015-05-14 16:45:37 +03:00
|
|
|
display: inline-block;
|
2017-02-15 15:43:49 +03:00
|
|
|
padding: 2px 4px 3px;
|
|
|
|
border: color(var(--green) blackness(+8%)) 1px solid;
|
2015-05-16 00:28:30 +03:00
|
|
|
color: #fff;
|
2017-02-15 15:43:49 +03:00
|
|
|
font-size: 0.8em;
|
|
|
|
line-height: 1em;
|
|
|
|
font-weight: 400;
|
2015-05-14 16:45:37 +03:00
|
|
|
text-align: center;
|
2017-02-15 15:43:49 +03:00
|
|
|
text-shadow: 0 -1px 0 rgba(0,0,0,0.1);
|
2015-05-16 14:43:12 +03:00
|
|
|
white-space: nowrap;
|
2017-02-15 15:43:49 +03:00
|
|
|
user-select: none;
|
|
|
|
background: linear-gradient(
|
|
|
|
color(var(--green) whiteness(+4%)),
|
|
|
|
color(var(--green) blackness(+4%))
|
|
|
|
);
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-badge-blue {
|
|
|
|
border: color(var(--blue) blackness(+8%)) 1px solid;
|
|
|
|
background: linear-gradient(
|
|
|
|
color(var(--blue) whiteness(+10%)),
|
|
|
|
color(var(--blue) blackness(+4%))
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-badge-red {
|
|
|
|
border: color(var(--red) blackness(+8%)) 1px solid;
|
|
|
|
background: linear-gradient(
|
|
|
|
color(var(--red) whiteness(+10%)),
|
|
|
|
color(var(--red) blackness(+4%))
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-badge-black {
|
|
|
|
border: color(var(--darkgrey) blackness(+8%)) 1px solid;
|
|
|
|
background: linear-gradient(
|
|
|
|
color(var(--darkgrey) whiteness(+10%)),
|
|
|
|
color(var(--darkgrey) blackness(+4%))
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-badge-outline {
|
|
|
|
border-color: color(var(--midgrey) l(+35%));
|
|
|
|
color: color(var(--midgrey) l(+25%));
|
|
|
|
font-weight: 400;
|
|
|
|
background: transparent;
|
|
|
|
box-shadow: none;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|