mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-23 19:00:59 +00:00
LibWeb: Remove UA styles for h1 in article, aside, nav and section
This commit is contained in:
parent
2998049fe9
commit
88efb362c4
Notes:
github-actions[bot]
2025-07-11 06:25:39 +00:00
Author: https://github.com/tcl3
Commit: 88efb362c4
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5392
Reviewed-by: https://github.com/gmta ✅
3 changed files with 713 additions and 30 deletions
|
@ -490,36 +490,6 @@ h6 {
|
|||
font-weight: bold;
|
||||
}
|
||||
|
||||
:is(article, aside, nav, section) h1 {
|
||||
margin-top: 0.83em;
|
||||
margin-bottom: 0.83em;
|
||||
font-size: 1.50em;
|
||||
}
|
||||
|
||||
:is(article, aside, nav, section) :is(article, aside, nav, section) h1 {
|
||||
margin-top: 1.00em;
|
||||
margin-bottom: 1.00em;
|
||||
font-size: 1.17em;
|
||||
}
|
||||
|
||||
:is(article, aside, nav, section) :is(article, aside, nav, section) :is(article, aside, nav, section) h1 {
|
||||
margin-top: 1.33em;
|
||||
margin-bottom: 1.33em;
|
||||
font-size: 1.00em;
|
||||
}
|
||||
|
||||
:is(article, aside, nav, section) :is(article, aside, nav, section) :is(article, aside, nav, section) :is(article, aside, nav, section) h1 {
|
||||
margin-top: 1.67em;
|
||||
margin-bottom: 1.67em;
|
||||
font-size: 0.83em;
|
||||
}
|
||||
|
||||
:is(article, aside, nav, section) :is(article, aside, nav, section) :is(article, aside, nav, section) :is(article, aside, nav, section) :is(article, aside, nav, section) h1 {
|
||||
margin-top: 2.33em;
|
||||
margin-bottom: 2.33em;
|
||||
font-size: 0.67em;
|
||||
}
|
||||
|
||||
/* 15.3.7 Lists
|
||||
* https://html.spec.whatwg.org/multipage/rendering.html#lists
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue