change units in CSS to properly scaled rem
yeah I should've done that from the start should have I
This commit is contained in:
parent
6d3037791a
commit
ae9273cdff
6 changed files with 138 additions and 144 deletions
|
@ -40,20 +40,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
:root {
|
||||
/* Font size-responsive measurements. treehouse was designed against a font size of 14px;
|
||||
each of these sizes is (n / 14)rem where n is the number of pixels. */
|
||||
--1px: 0.07142857143rem;
|
||||
--2px: 0.1428571429rem;
|
||||
--3px: 0.2142857143rem;
|
||||
--4px: 0.2857142857rem;
|
||||
--6px: 0.4285714286rem;
|
||||
--8px: 0.5714285714rem;
|
||||
--10px: 0.7142857143rem;
|
||||
--12px: 0.8571428571rem;
|
||||
--16px: 1.142857143rem;
|
||||
}
|
||||
|
||||
/* Reset things to more sensible sizing rules */
|
||||
|
||||
* {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue