[themes] set font-size on :root rather than BODY so that REMs work consistently
This commit is contained in:
parent
1f4d2a5b3e
commit
75a7b79380
5 changed files with 20 additions and 10 deletions
|
@ -45,12 +45,14 @@
|
|||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* things common to all pages *
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
||||
:root {
|
||||
font-size: 14px;
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
BODY {
|
||||
background: var(--page);
|
||||
color: var(--text);
|
||||
font-family: sans-serif;
|
||||
font-size: 14px;
|
||||
margin: 0;
|
||||
}
|
||||
H1 {
|
||||
|
|
|
@ -2,10 +2,12 @@
|
|||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* things common to all pages *
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
||||
|
||||
BODY {
|
||||
:root {
|
||||
font-family: arial,helvetica,sans-serif;
|
||||
font-size: 10pt;
|
||||
}
|
||||
|
||||
BODY {
|
||||
background: #FFFFEE url(fade.png) top center repeat-x;
|
||||
color: #800000;
|
||||
padding-left: 5px;
|
||||
|
|
|
@ -3,10 +3,12 @@
|
|||
* http://qwebirc.org/
|
||||
*/
|
||||
|
||||
BODY {
|
||||
background: #F0F7FF;
|
||||
:root {
|
||||
font-family: sans-serif;
|
||||
font-size: 14px;
|
||||
}
|
||||
BODY {
|
||||
background: #F0F7FF;
|
||||
margin: 0;
|
||||
}
|
||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
|
|
|
@ -3,10 +3,12 @@
|
|||
* things common to all pages *
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
||||
|
||||
BODY {
|
||||
background: url(bg.png) #ACE4A3;
|
||||
:root {
|
||||
font-family: "Arial", sans-serif;
|
||||
font-size: 14px;
|
||||
}
|
||||
BODY {
|
||||
background: url(bg.png) #ACE4A3;
|
||||
margin: 0;
|
||||
}
|
||||
#header {
|
||||
|
|
|
@ -3,10 +3,12 @@
|
|||
* things common to all pages *
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
||||
|
||||
BODY {
|
||||
background: url(bg.png);
|
||||
:root {
|
||||
font-family: "Arial", sans-serif;
|
||||
font-size: 14px;
|
||||
}
|
||||
BODY {
|
||||
background: url(bg.png);
|
||||
margin: 0;
|
||||
}
|
||||
HEADER {
|
||||
|
|
Reference in a new issue