Linus Groh
e5ec4d35ea
LibWeb: Don't use 'font-weight: lighter' for Csilla in Default.css
...
Base/res/fonts/CsillaThin7x10.font was renamed to
Base/res/fonts/CsillaRegular10.font in 5abc03d
, breaking the default
styles of <code> and <pre>.
The font lookup should still find a font variant when a non-existent
weight is specified, but that's another issue for another day.
2020-10-31 20:52:54 +01:00
Marcin Gasperowicz
b9316474b7
LibWeb: Make h4, h5 and h6 bold
...
Some Markdown documents using level 4 and 5 headings were not displayed
in an eye-pleasing manner.
This patch makes those headings bold by default.
2020-10-08 09:55:54 +02:00
Andreas Kling
96fc476107
LibWeb: Add a separate UA style sheet for documents in quirks mode
...
We need to make some additional tweaks to the default UA style when
displaying documents in quirks mode.
2020-09-24 10:33:33 +02:00
Andreas Kling
f270f1f274
LibWeb: Give the <blockquote> element some margins in the UA style
2020-06-28 15:26:05 +02:00
Andreas Kling
fd32f24753
LibWeb: Tweak default style for <hr> to use em units for margin values
2020-06-28 12:57:42 +02:00
Andreas Kling
c1acf67715
LibWeb: Use length units and shorthands in the default UA style sheet
2020-06-28 12:12:01 +02:00
Andreas Kling
784ed004e6
LibWeb: Implement <center> as -libweb-center
...
To get the expected behavior for <center>, we needed a special text
alignment mode that centers block-level elements (and not just line
box fragments.)
2020-06-13 12:49:20 +02:00
Andreas Kling
0b4f92e452
LibWeb: Tweak UA style to reset text-align on table elements
...
I think maybe this is only supposed to happen in quirks mode but I'm
not entirely sure. This makes "<center><table>..." behave as expected.
2020-06-13 12:49:20 +02:00
Andreas Kling
5833359065
LibWeb: Add default UA style for <hgroup> element
2020-05-30 12:39:51 +02:00
Andreas Kling
3d09bac888
LibWeb: Add default UA style for some table-related elements
2020-05-28 12:43:29 +02:00
Sergey Bugaev
c00076de82
LibWeb: Update the CSS prefix to -libweb
2020-05-21 14:15:49 +02:00
Linus Groh
8edf2bbcbd
LibWeb: Set nav, main, article, aside, section to "display: block"
...
This makes the blog posts on awesomekling.github.io show up :^)
2020-05-11 10:48:54 +02:00
Andreas Kling
830a57c6b2
LibWeb: Rename directory LibHTML => LibWeb
...
Let's rename this to LibWeb since it aims to provide more parts of the
web platform than just HTML. :^)
2020-03-07 10:32:51 +01:00