Compare commits

..

No commits in common. "ff1bcfd6abed135084debb1587a423b27329860e" and "6ce44828f301d69f6d40e256192edb19e816bed0" have entirely different histories.

5 changed files with 21 additions and 22 deletions

View File

@ -1,3 +0,0 @@
# License
All work on this site is licensed using [unlicense](https://unlicense.org/). This effectively means all of the content hosted on https://bitlab21.com and in the bitlab21.com repository at https://git.bitlab21.com/sam/bitlab21.com is in the public domain. You can use this material as you wish. Attribution is appreciated, but not required.

View File

@ -7,4 +7,8 @@
src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js"
></script>
<script src="https://cdn.jsdelivr.net/npm/echarts@5.5.1/dist/echarts.min.js"></script>
{{ template "partials/body.html" . }}
<div class="main-page">
<html lang="{{ .Site.LanguageCode }}">
{{ template "partials/body.html" . }}
</html>
</div>

View File

@ -1,7 +1,8 @@
<body>
<div class="page-container">
{{ partial "header.html" . }}
<main class="main-content">{{- block "main" . }} {{ end -}}</main>
{{ partial "footer.html" . }}
</div>
{{ partial "header.html" . }}
<main class="main-content">
{{- block "main" . }}
{{ end -}}
</main>
{{ partial "footer.html" . }}
</body>

View File

@ -1,8 +1,8 @@
<footer>
<div id="footer">
<p>
Bitlab21.com by Sam Chance.
<a href="/license">Uncopywrited.</a>
2023 BitLab21. Uncopywrited.
<a href="https://unlicense.org/">View License.</a>
</p>
</div>
</footer>

View File

@ -66,26 +66,19 @@ body {
color: var(--text-color);
}
.page-container {
.main-page {
display: flex;
flex-direction: column;
min-height: 100vh;
}
.main-content {
flex: 1;
}
.page-container {
display: flex;
flex-direction: column;
min-height: 100vh;
flex-grow: 1;
}
a {
text-decoration: none;
color: var(--link-color);
text-decoration: underline;
}
a:hover {
@ -114,7 +107,6 @@ a:hover {
.profile-img {
margin-right: 20px;
margin-left: 20px;
}
.profile-img img {
@ -142,6 +134,7 @@ a:hover {
}
}
/* Articles */
.main-article {
padding: var(--content-padding);
width: var(--article-max-width);
@ -415,11 +408,15 @@ footer {
background-color: var(--footer-background-color);
color: var(--text-color);
padding: 20px;
height: 10vh;
display: flex;
justify-content: space-between;
}
footer a {
color: #f2f2f2;
transition: background-color 0.3s ease;
}
footer a:hover {
background-color: #ddd;
color: black;