mirror of
https://github.com/picocss/pico.git
synced 2025-04-25 10:46:14 -04:00
Revert "Accessibility: root font-size in percent"
This reverts commit b45830626e
.
This commit is contained in:
parent
b45830626e
commit
c301cd09cf
21 changed files with 45 additions and 70 deletions
|
@ -6,31 +6,31 @@
|
|||
"Segoe UI Symbol", "Noto Color Emoji";
|
||||
--line-height: 1.5;
|
||||
--font-weight: 400;
|
||||
--font-size: 100%; // 16px in most cases
|
||||
--font-size: 16px;
|
||||
|
||||
// Responsive typography
|
||||
@if $enable-responsive-typography {
|
||||
@if map-get($breakpoints, "sm") {
|
||||
@media (min-width: map-get($breakpoints, "sm")) {
|
||||
--font-size: 106.25%; // 17px in most cases
|
||||
--font-size: 17px;
|
||||
}
|
||||
}
|
||||
|
||||
@if map-get($breakpoints, "md") {
|
||||
@media (min-width: map-get($breakpoints, "md")) {
|
||||
--font-size: 112.5%; // 18px in most cases
|
||||
--font-size: 18px;
|
||||
}
|
||||
}
|
||||
|
||||
@if map-get($breakpoints, "lg") {
|
||||
@media (min-width: map-get($breakpoints, "lg")) {
|
||||
--font-size: 118.75%; // 19px in most cases
|
||||
--font-size: 19px;
|
||||
}
|
||||
}
|
||||
|
||||
@if map-get($breakpoints, "xl") {
|
||||
@media (min-width: map-get($breakpoints, "xl")) {
|
||||
--font-size: 125%; // 20px in most cases
|
||||
--font-size: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -143,11 +143,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
// Body
|
||||
body {
|
||||
--font-size: 1rem;
|
||||
}
|
||||
|
||||
// Link
|
||||
a {
|
||||
--text-decoration: none;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue