mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:17:44 +00:00
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.
This commit is contained in:
parent
9ae78c50fd
commit
b9316474b7
1 changed files with 65 additions and 22 deletions
|
@ -2,7 +2,12 @@ html {
|
||||||
font-family: Katica;
|
font-family: Katica;
|
||||||
}
|
}
|
||||||
|
|
||||||
head, link, meta, script, style, title {
|
head,
|
||||||
|
link,
|
||||||
|
meta,
|
||||||
|
script,
|
||||||
|
style,
|
||||||
|
title {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -10,12 +15,16 @@ body {
|
||||||
margin: 8px;
|
margin: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h2 {
|
h1,
|
||||||
|
h2 {
|
||||||
font-family: Pebbleton;
|
font-family: Pebbleton;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
h3 {
|
h3,
|
||||||
|
h4,
|
||||||
|
h5,
|
||||||
|
h6 {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -32,26 +41,51 @@ code {
|
||||||
font-weight: lighter;
|
font-weight: lighter;
|
||||||
}
|
}
|
||||||
|
|
||||||
u, ins {
|
u,
|
||||||
|
ins {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
strong, b {
|
strong,
|
||||||
|
b {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
html, address,
|
html,
|
||||||
|
address,
|
||||||
blockquote,
|
blockquote,
|
||||||
body, dd, div,
|
body,
|
||||||
dl, dt, fieldset, form,
|
dd,
|
||||||
frame, frameset,
|
div,
|
||||||
|
dl,
|
||||||
|
dt,
|
||||||
|
fieldset,
|
||||||
|
form,
|
||||||
|
frame,
|
||||||
|
frameset,
|
||||||
hgroup,
|
hgroup,
|
||||||
h1, h2, h3, h4,
|
h1,
|
||||||
h5, h6, noframes,
|
h2,
|
||||||
ol, p, ul, center,
|
h3,
|
||||||
dir, hr, menu, pre,
|
h4,
|
||||||
header, footer, nav, main,
|
h5,
|
||||||
article, aside, section {
|
h6,
|
||||||
|
noframes,
|
||||||
|
ol,
|
||||||
|
p,
|
||||||
|
ul,
|
||||||
|
center,
|
||||||
|
dir,
|
||||||
|
hr,
|
||||||
|
menu,
|
||||||
|
pre,
|
||||||
|
header,
|
||||||
|
footer,
|
||||||
|
nav,
|
||||||
|
main,
|
||||||
|
article,
|
||||||
|
aside,
|
||||||
|
section {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -59,19 +93,27 @@ center {
|
||||||
text-align: -libweb-center;
|
text-align: -libweb-center;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h2, h3 {
|
h1,
|
||||||
|
h2,
|
||||||
|
h3 {
|
||||||
margin: 8px 0 8px 0;
|
margin: 8px 0 8px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
h4, p,
|
h4,
|
||||||
blockquote, ul,
|
p,
|
||||||
fieldset, form,
|
blockquote,
|
||||||
ol, dl, dir,
|
ul,
|
||||||
|
fieldset,
|
||||||
|
form,
|
||||||
|
ol,
|
||||||
|
dl,
|
||||||
|
dir,
|
||||||
menu {
|
menu {
|
||||||
margin: 4px 0 4px 0;
|
margin: 4px 0 4px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
h5, h6 {
|
h5,
|
||||||
|
h6 {
|
||||||
margin: 2px 0 2px 0;
|
margin: 2px 0 2px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -127,7 +169,8 @@ tr {
|
||||||
display: table-row;
|
display: table-row;
|
||||||
}
|
}
|
||||||
|
|
||||||
td, th {
|
td,
|
||||||
|
th {
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue