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" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js"
></script> ></script>
<script src="https://cdn.jsdelivr.net/npm/echarts@5.5.1/dist/echarts.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> <body>
<div class="page-container"> {{ partial "header.html" . }}
{{ partial "header.html" . }} <main class="main-content">
<main class="main-content">{{- block "main" . }} {{ end -}}</main> {{- block "main" . }}
{{ partial "footer.html" . }} {{ end -}}
</div> </main>
{{ partial "footer.html" . }}
</body> </body>

View File

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

View File

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