mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-27 09:45:45 +03: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>
50 lines
787 B
Text
50 lines
787 B
Text
#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;
|
|
}
|