Move CSS to separate file

This commit is contained in:
Katherina Walshe-Grey 2024-06-07 21:10:00 +01:00
parent 1b8dcbf110
commit 6ba2e26707
2 changed files with 44 additions and 45 deletions

View file

@ -5,51 +5,7 @@
<meta charset="utf-8" />
<title>The Trees of Kortirion</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style>
body {
counter-reset: section;
margin: 5rem 1rem;
}
h1,
h2 {
text-align: center;
font-size: 1em;
font-weight: normal;
font-style: italic;
margin: 1rem 0;
}
h2::before {
counter-increment: section;
content: counter(section, upper-roman);
display: block;
font-style: normal;
margin: 1rem 0;
}
.section {
max-width: 36rem;
margin: 2rem auto;
}
.verse {
max-width: 30rem;
margin-left: auto;
}
.line-indented {
padding-left: 1em;
}
@media screen and (max-width: 32rem) {
.line {
display: inline-block;
margin-left: 2em;
text-indent: -2em;
}
}
</style>
<link rel="stylesheet" href="./style.css" />
</head>
<body>