117 lines
2.5 KiB
HTML
117 lines
2.5 KiB
HTML
<script type="text/javascript">
|
|
let vh = window.innerHeight * 0.01;
|
|
document.documentElement.style.setProperty('--vh', `${vh}px`);
|
|
window.addEventListener('resize', () => {
|
|
let vh = window.innerHeight * 0.01;
|
|
document.documentElement.style.setProperty('--vh', `${vh}px`);
|
|
});
|
|
</script>
|
|
|
|
<style type="text/css">
|
|
body {
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.title {
|
|
display: block;
|
|
font-weight: bold;
|
|
|
|
font-size: 40px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.subtitle {
|
|
display: block;
|
|
|
|
font-size: 16px;
|
|
margin-bottom: 38px;
|
|
}
|
|
|
|
.home {
|
|
height: 100vh;
|
|
height: calc(var(--vh, 1vh) * 100);
|
|
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;
|
|
}
|
|
|
|
|
|
@media (max-width: 700px) {
|
|
.title {
|
|
font-size: 28px;
|
|
margin-top: 2.4em;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.subtitle {
|
|
font-size: 16px;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.links {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 6px;
|
|
}
|
|
|
|
.links li {
|
|
width: 100%;
|
|
}
|
|
|
|
.links a {
|
|
display: block;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
}
|
|
</style>
|
|
|
|
<div class="home">
|
|
<div class="card">
|
|
<div class="title">Morgan J.</div>
|
|
<div class="subtitle">Average Linux user</div>
|
|
<div class="links">
|
|
<li><a href="/about">/about</a></li>
|
|
<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> |