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>
{{ else if not .Page.IsPage }}
<header class="subhead">
{{ $path := .Page.File.Dir }}
{{ $path := "" }}
{{ with .Page.File }}
{{ $path = .Dir }}
{{ end }}
{{ $segments := split $path "/" }}
{{ $currentPath := "" }}
{{ range $index, $element := $segments }}
{{ if ne $element "" }}

View File

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