font size var
This commit is contained in:
parent
48e81a1b6d
commit
d5a9df1da2
1 changed files with 13 additions and 3 deletions
|
@ -2,6 +2,9 @@
|
||||||
|
|
||||||
@layer baseline {
|
@layer baseline {
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--base-text-size: 1.75vh;
|
||||||
|
}
|
||||||
body {
|
body {
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
|
@ -24,6 +27,7 @@ a:hover {
|
||||||
border-radius: 0.5rem;
|
border-radius: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*font sizes*/
|
||||||
h1 {
|
h1 {
|
||||||
font-size:3vh;
|
font-size:3vh;
|
||||||
}
|
}
|
||||||
|
@ -31,13 +35,19 @@ h2 {
|
||||||
font-size: 2.4vh;
|
font-size: 2.4vh;
|
||||||
}
|
}
|
||||||
p{
|
p{
|
||||||
font-size: 1.75vh;
|
font-size: var(--base-text-size);
|
||||||
}
|
}
|
||||||
a {
|
a {
|
||||||
font-size: 1.75vh;
|
font-size: var(--base-text-size);
|
||||||
|
}
|
||||||
|
pre {
|
||||||
|
font-size: var(--base-text-size);
|
||||||
|
}
|
||||||
|
.sourceCode {
|
||||||
|
font-size: var(--base-text-size);
|
||||||
}
|
}
|
||||||
.info {
|
.info {
|
||||||
font-size: 1.75vh;
|
font-size: var(--base-text-size);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue