Add backgrounds to finish layout tutorial, add inline and remote CSS support with a default of browser.css which currently supports fonts and backgrounds

This commit is contained in:
csd4ni3l
2025-07-21 12:29:32 +02:00
parent a604a5dbd1
commit 09c1ce7f5a
8 changed files with 460 additions and 127 deletions

43
assets/css/browser.css Normal file
View File

@@ -0,0 +1,43 @@
a {
color: blue;
}
i {
font-style: italic;
}
b {
font-weight: bold;
}
small {
font-size: 90%;
}
big {
font-size: 110%;
}
pre {
color: black;
font-weight: bold;
background-color: gray;
}
h1 {
display: block;
font-size: 200%;
font-weight: bold;
}
h2 {
display: block;
font-size: 150%;
font-weight: bold;
}
h3 {
display: block;
font-size: 117%;
font-weight: bold;
}