fix theme

This commit is contained in:
Morgan 2024-09-10 10:23:57 +09:00
parent 03b9aea3ae
commit 1ba076d2b4
No known key found for this signature in database
2 changed files with 51 additions and 26 deletions

View File

@ -43,9 +43,11 @@
</header> </header>
{{ else if not .Page.IsPage }} {{ else if not .Page.IsPage }}
<header class="subhead"> <header class="subhead">
{{ $path := .Page.File.Dir }} {{ $path := "" }}
{{ with .Page.File }}
{{ $path = .Dir }}
{{ end }}
{{ $segments := split $path "/" }} {{ $segments := split $path "/" }}
{{ $currentPath := "" }} {{ $currentPath := "" }}
{{ range $index, $element := $segments }} {{ range $index, $element := $segments }}
{{ if ne $element "" }} {{ if ne $element "" }}

View File

@ -1,33 +1,56 @@
<style type="text/css"> <style type="text/css">
.btnc a { .content {
padding: 2px 8px; height: 100vh;
background: white; display: flex;
border: 0.5px solid black; align-items: center;
border-radius: 6px; justify-content: center;
color: black; }
.card {
text-align: center;
}
.card h1 {
font-size: 42px;
font-weight: bold;
margin-bottom: 24px;
}
.card h3 {
font-size: 20px;
font-weight: normal;
margin-bottom: 42px;
}
.links {
font-size: 16px;
display: flex;
justify-content: center;
gap: 16px;
margin-bottom: 24px;
list-style-type: none;
}
.links a {
padding: 0 2px;
color: var(--primary-text);
text-decoration: none; text-decoration: none;
font-size: 18px; font-size: 18px;
} }
</style> </style>
<div style="height: 100vh; display: flex; align-items: center; justify-content: center;"> <div class="content">
<div style="text-align: center;"> <div class="card">
<h1 style="font-size: 42px; font-weight: bold; margin-bottom: 24px;">Morgan J.</h1> <h1>Morgan J.</h1>
<p style="font-size: 20px; margin-bottom: 56px;">Average Linux user</p> <h3>Average Linux user</h3>
<div class="links">
<div style="font-size: 16px;display: flex; justify-content: center; gap: 16px; margin-bottom: 24px;" class="btnc"> <li><a href="https://git.morgan.kr">/projects</a></li>
<a href="https://github.com/morgan9e">GitHub</a> <li><a href="/blog">/blog</a></li>
<a href="https://twitter.com/mgsql">Twitter</a> <li><a href="https://github.com/morgan9e">/github</a></li>
<a href="https://t.me/morgan9e">Telegram</a> <li><a href="mailto:">/mail</a></li>
<a href="mailto:">Mail</a> <li><a href="https://t.me/morgan9e">/telegram</a></li>
</div> <li><a href="/pub.asc">/pgp</a></li>
<li><a href="https://AS214578.net">/net</a></li>
<div style="font-size: 16px;display: flex; justify-content: center; gap: 16px;" class="btnc">
<a href="/pub.asc">PGP</a>
<a href="https://git.morgan.kr">Git</a>
<a href="/blog">Blog</a>
<a href="https://AS214578.net">Net</a>
</div> </div>
</div> </div>
</div> </div>