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

@@ -59,7 +59,7 @@
href="https://wiki.debian.org/FreedomBox"
target="_blank">{% trans "Learn more &raquo;" %}</a></p>
<p style='margin-top:30px'>
<p style='margin-top:1.875rem'>
{% blocktrans trimmed %}
You are running {{ os_release }} and {{ box_name }} version {{ version }}.
{% endblocktrans %}
@@ -9,7 +9,7 @@
{% block page_head %}
<style type="text/css">
dd {
margin-left: 30px;
margin-left: 1.875rem;
}
.pdf {
float: right;