mirror of
https://github.com/picocss/pico.git
synced 2025-04-30 04:49:13 -04:00
Improvements
- Remove Increase headings font size inside <header> - Add $enable-transitions in _variables.scss - Bigger Checkbox, Radio, switch - Remove borders on button
This commit is contained in:
parent
5f4b78a22c
commit
345053a956
17 changed files with 93 additions and 222 deletions
|
@ -67,11 +67,14 @@ a {
|
|||
background-color: transparent; // 1
|
||||
color: var(--primary);
|
||||
text-decoration: none;
|
||||
transition:
|
||||
background-color $transition,
|
||||
color $transition,
|
||||
text-decoration $transition,
|
||||
box-shadow $transition;
|
||||
|
||||
@if $enable-transitions {
|
||||
transition:
|
||||
background-color $transition,
|
||||
color $transition,
|
||||
text-decoration $transition,
|
||||
box-shadow $transition;
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:active,
|
||||
|
@ -169,33 +172,6 @@ h6 {
|
|||
font-size: 1rem;
|
||||
}
|
||||
|
||||
// Increase headings font size inside <header>
|
||||
header {
|
||||
h1 {
|
||||
font-size: 2rem*1.5;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.75rem*1.5;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.5rem*1.5;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 1.25rem*1.5;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 1.125rem*1.5;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: 1rem*1.5;
|
||||
}
|
||||
}
|
||||
|
||||
// Multi-level heading
|
||||
hgroup {
|
||||
margin-bottom: $spacing-typography;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue