mirror of
https://codeberg.org/gothub/gothub
synced 2024-12-06 19:16:24 +01:00
Base styling for wiki is done and ready to be merged.
This commit is contained in:
+13
-1
@@ -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
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user