mirror of
https://github.com/Xevion/undefined.behavio.rs.git
synced 2025-12-09 00:08:54 -06:00
Improve font sizing globally for all viewports
This commit is contained in:
@@ -34,32 +34,29 @@ html {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
text-rendering: optimizeLegibility;
|
text-rendering: optimizeLegibility;
|
||||||
|
|
||||||
@include for-size(phone-only) {
|
|
||||||
font-size: 10pt;
|
|
||||||
}
|
|
||||||
@include for-size(tablet-portrait-up) {
|
|
||||||
font-size: 12pt;
|
|
||||||
}
|
|
||||||
@include for-size(tablet-landscape-up) {
|
|
||||||
font-size: 14pt;
|
|
||||||
}
|
|
||||||
@include for-size(desktop-up) {
|
|
||||||
font-size: 16pt;
|
|
||||||
}
|
|
||||||
@include for-size(big-desktop-up) {
|
|
||||||
font-size: 18pt;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
font-family: "Source Serif 4", serif;
|
@apply font-source;
|
||||||
font-size: 23px;
|
|
||||||
|
font-size: 20px;
|
||||||
|
|
||||||
|
@screen sm {
|
||||||
|
font-size: 21px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@screen md {
|
||||||
|
font-size: 22px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@screen lg {
|
||||||
|
font-size: 23px;
|
||||||
|
}
|
||||||
|
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
padding: 0;
|
|
||||||
color: white;
|
color: white;
|
||||||
background: #0e0e0e;
|
background: #0e0e0e;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user