mirror of
https://github.com/He4eT/xecut-site.git
synced 2026-05-04 17:37:26 +00:00
base.css: mobile scroll targets
This commit is contained in:
parent
8928a467b1
commit
3315ea3730
1 changed files with 5 additions and 1 deletions
|
|
@ -38,7 +38,11 @@ h1, h2, h3, h4, h5, h6 {
|
|||
line-height: 1.3;
|
||||
scroll-margin: calc(4 * var(--step));
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
scroll-margin: calc(10 * var(--step));
|
||||
}
|
||||
}
|
||||
|
||||
h1 { font-size: calc(9 * var(--step)); }
|
||||
h2 { font-size: calc(7 * var(--step)); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue