a little bit of styling

This commit is contained in:
2022-04-11 23:13:49 +03:00
parent d326c00fdb
commit d9701e160b
3 changed files with 30 additions and 15 deletions

View File

@@ -37,11 +37,6 @@
{{ block "main" . }}{{- end }}
</main>
<footer>
<div>
<div>
&copy; Motiejus Jakštys. <a href="https://creativecommons.org/licenses/by/4.0/">CC-BY-4.0</a>
</div>
</div>
</footer>
</body>
</html>

View File

@@ -34,6 +34,10 @@ header h2 {
font-size: 120%;
}
main {
padding-bottom: 20px;
}
footer {
margin: 0;
padding: 10px 0;
@@ -215,11 +219,6 @@ nav#TableOfContents:before {
font-weight: bold;
}
nav#TableOfContents:lang(*-Hans)::before {
content: '目录';
font-weight: bold;
}
nav#TableOfContents ul {
margin: 0;
padding-inline-start: 24px;
@@ -241,8 +240,7 @@ nav#TableOfContents ul {
}
}
.title h1,
.title h2 {
.title h1, .title h2 {
padding: 0
}
@@ -330,4 +328,18 @@ nav#TableOfContents ul {
h5 a:hover, h6 a:hover {
color: #f80;
}
code {
border-color: #333;
background-color: #333;
padding: 1px 2px;
line-height: 200%;
word-wrap: break-word
}
hr {
background-color: #999;
border: none;
color: #222;
height: 1px;
}
}