mirror of
https://github.com/picocss/pico.git
synced 2025-04-26 03:06:14 -04:00
style: headings
This commit is contained in:
parent
319e48ba91
commit
8b5408bb7e
10 changed files with 33 additions and 29 deletions
|
@ -181,36 +181,37 @@ h6 {
|
|||
|
||||
h1 {
|
||||
--pico-font-size: 2rem;
|
||||
--pico-line-height: 1.25;
|
||||
--pico-line-height: 1.125;
|
||||
--pico-typography-spacing-top: 3rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
--pico-font-size: 1.75rem;
|
||||
--pico-line-height: 1.3;
|
||||
--pico-line-height: 1.15;
|
||||
--pico-typography-spacing-top: 2.625rem;
|
||||
}
|
||||
|
||||
h3 {
|
||||
--pico-font-size: 1.5rem;
|
||||
--pico-line-height: 1.35;
|
||||
--pico-line-height: 1.175;
|
||||
--pico-typography-spacing-top: 2.25rem;
|
||||
}
|
||||
|
||||
h4 {
|
||||
--pico-font-size: 1.25rem;
|
||||
--pico-line-height: 1.4;
|
||||
--pico-line-height: 1.2;
|
||||
--pico-typography-spacing-top: 1.874rem;
|
||||
}
|
||||
|
||||
h5 {
|
||||
--pico-font-size: 1.125rem;
|
||||
--pico-line-height: 1.45;
|
||||
--pico-line-height: 1.225;
|
||||
--pico-typography-spacing-top: 1.6875rem;
|
||||
}
|
||||
|
||||
h6 {
|
||||
--pico-font-size: 1rem;
|
||||
--pico-line-height: 1.25;
|
||||
--pico-typography-spacing-top: 1.5rem;
|
||||
}
|
||||
|
||||
|
@ -1539,7 +1540,7 @@ label:has([type=checkbox], [type=radio]) {
|
|||
}
|
||||
[type=checkbox][role=switch]:before {
|
||||
display: block;
|
||||
width: calc(1.25em - (var(--pico-border-width) * 2));
|
||||
width: calc(1.25em - var(--pico-border-width) * 2);
|
||||
height: 100%;
|
||||
border-radius: 50%;
|
||||
background-color: var(--pico-color);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue