mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 21:07:52 +01:00
9aa8693e2c
* Frontpage and Heatmap CSS tweaks - Make heatmap use primary color - Defined secondary color shades - Set various blue colors to CSS vars - Misc tweaks * remove a useless variable * remove another useless variable Co-authored-by: Lauris BH <lauris@nix.lv>
51 lines
787 B
Plaintext
51 lines
787 B
Plaintext
#user-heatmap {
|
|
width: 107%; // Fixes newest contributions not showing
|
|
text-align: center;
|
|
|
|
svg:not(:root) {
|
|
overflow: inherit;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
@media (max-width: 1200px) {
|
|
& {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.total-contributions {
|
|
text-align: left;
|
|
font-weight: 500;
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
|
|
.heatmap-container {
|
|
position: relative;
|
|
}
|
|
|
|
.heatmap-container .total-contributions {
|
|
font-size: 11px;
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 25px;
|
|
}
|
|
|
|
@media (max-width: 1200px) {
|
|
.heatmap-container .total-contributions {
|
|
left: 21px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1000px) {
|
|
.heatmap-container .total-contributions {
|
|
font-size: 10px;
|
|
left: 17px;
|
|
bottom: -2px;
|
|
}
|
|
}
|
|
|
|
.heatmap-container text {
|
|
fill: currentColor !important;
|
|
}
|