ui: css: Use rem as the primary unit

- When the base font size is changed, all the measure will scale appropriately.

- Bootstrap 4 has done the same.

- Keep using px for responsive lengths and some border widths that need not
scale.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
Sunil Mohan Adapa authored and Veiko Aasa committed 2020-12-19 11:26:34 +02:00
1 parent 83dcafac55
commit f4a48f3e36
15 files changed
+124 -142

No files matched your search

@@ -14,13 +14,13 @@
width: 40%;
}
.repo-private-icon {
margin: 4px 10px;
margin: 0.25rem 0.625rem;
}
.list-group-item .btn {
margin: -5px 2px;
margin: -0.3125rem 0.125rem;
}
.repo-cloning {
margin: 0px 10px;
margin: 0 0.625rem;
}
</style>
{% endblock %}