Base styling for wiki is done and ready to be merged.

This commit is contained in:
Midou
2023-06-18 10:56:55 +01:00
parent bd8353a36b
commit 7d1fdeb456
2 changed files with 15 additions and 3 deletions
+13 -1
View File
@@ -34,6 +34,17 @@ main {
margin: 0 24vw;
}
.margin-ow {
margin: 0 12vw;
}
pre {
overflow: scroll;
background: var(--secondary-background);
border-radius: 4px;
padding: 4px;
}
#wrap {
display: flex;
}
@@ -323,7 +334,8 @@ a:hover {
}
#wrap {
display: inline-grid;
display: flex;
flex-direction: column;
}
.float-right {
+2 -2
View File
@@ -1,7 +1,7 @@
{{ template "header" .}}
<!-- prettier-ignore -->
<main class="no-margin" style="margin: 0 12vw;">
<main class="margin-ow">
{{ if .wiki }} {{ range $key, $value := .wiki}}
<div id="wrap">
<div>
@@ -11,7 +11,7 @@
{{.LastEditor}} edited this page on {{.LastEdit}} · {{.RevisionNum}} revisions
</p>
<hr style="border-color: #252525;">
<div style="margin-right: auto;">
<div style="margin-right: auto; max-width: 50vw;">
{{ unescape .PageContent }}
</div>
</div>