Compare commits

...

2 Commits

Author SHA1 Message Date
Sam ff1bcfd6ab Update css for page content and modify divs 2024-08-01 15:44:02 +01:00
Sam 4affda2e81 Update license info 2024-08-01 15:42:19 +01:00
5 changed files with 22 additions and 21 deletions

3
content/license.md Normal file
View File

@ -0,0 +1,3 @@
# 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,8 +7,4 @@
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>
<div class="main-page">
<html lang="{{ .Site.LanguageCode }}">
{{ template "partials/body.html" . }}
</html>
</div>
{{ template "partials/body.html" . }}

View File

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

View File

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

View File

@ -66,19 +66,26 @@ body {
color: var(--text-color);
}
.main-page {
.page-container {
display: flex;
flex-direction: column;
min-height: 100vh;
}
.main-content {
flex-grow: 1;
flex: 1;
}
.page-container {
display: flex;
flex-direction: column;
min-height: 100vh;
}
a {
text-decoration: none;
color: var(--link-color);
text-decoration: underline;
}
a:hover {
@ -107,6 +114,7 @@ a:hover {
.profile-img {
margin-right: 20px;
margin-left: 20px;
}
.profile-img img {
@ -134,7 +142,6 @@ a:hover {
}
}
/* Articles */
.main-article {
padding: var(--content-padding);
width: var(--article-max-width);
@ -408,15 +415,11 @@ 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;