layout update

This commit is contained in:
amphineko 2019-04-08 20:04:17 +09:00
parent 3e263ab23d
commit d157cdb359
7 changed files with 173 additions and 111 deletions

View File

@ -1,25 +1,25 @@
.chem-element { .chem-element {
background: rgba(255,163,163,.09); background: rgba(255, 163, 163, 0.09);
border-radius: .25em; border-radius: 0.25em;
box-shadow: 0 0 0.1em 0.1em rgba(0,0,0,.05); box-shadow: 0 0 0.1em 0.1em rgba(0, 0, 0, 0.05);
color: #fff; color: #fff;
margin-right: .1em; margin-left: -0.35em;
padding: .35em .1em .35em .35em; margin-right: 0.1em;
transition-duration: .5s; padding: 0.2em 0.1em 0.2em 0.35em;
transition-duration: 0.5s;
} }
.chem-element:hover { .chem-element:hover {
box-shadow: 0 0 0.2em 0.2em rgba(255,255,255,.05); box-shadow: 0 0 0.2em 0.2em rgba(255, 255, 255, 0.05);
transform: translate(1em,1em);
} }
.chem-element[element=sodium]::before { .chem-element[element="neon"]::before {
content: '11'; content: '10';
font-size: .45em; font-size: 0.45em;
vertical-align: -.5em; vertical-align: -0.5em;
} }
.chem-element[element="sodium"]:hover { .chem-element[element="neon"]:hover {
background: #faa3a3; background: #faa3a3;
} }

View File

@ -4,7 +4,7 @@
} }
.copyright { .copyright {
background: #004d1a; background: #354c64;
color: #aaa; color: #aaa;
font-size: 0.9em; font-size: 0.9em;
line-height: 2em; line-height: 2em;
@ -12,7 +12,7 @@
} }
.hosting { .hosting {
background: #00802b; background: #354c64;
color: #ddd; color: #ddd;
font-size: 0.9em; font-size: 0.9em;
font-weight: normal; font-weight: normal;

View File

@ -1,24 +1,47 @@
.header { .header {
background: #006080; background: #466685;
box-shadow: 0 0 0.15em 0.15em rgba(0, 0, 0, 0.125); box-shadow: 0 0 0.15em 0.15em rgba(0, 0, 0, 0.125);
padding-bottom: 1.6em; margin-top: -3.2em;
padding-top: 1.6em; padding-top: 1.6em;
padding-bottom: 1.4em;
} }
.header .greeting { .header .split {
padding: 0 0.75em;
}
.header .name {
color: #f5f5f5; color: #f5f5f5;
display: inline-block;
font-weight: 300; font-weight: 300;
line-height: 1.25em; line-height: 1.25em;
margin: 0; margin: 0.25em 0;
margin-right: 0.5em;
text-shadow: 2px 2px 4px rgba(0,0,0,.25); text-shadow: 2px 2px 4px rgba(0,0,0,.25);
} }
.header .greeting:last-of-type { .header .name .chem-element {
margin-bottom: 1em; text-decoration: none;
} }
.header .greeting .chem-element { .header .name::after {
text-decoration: none; bottom: 0em;
color: #aaa;
display: inline-block;
font-size: 0.5em;
position: relative;
}
.header .name.lang-cn::after {
content: 'zh-CN';
}
.header .name.lang-en::after {
content: 'en-US';
}
.header .name.lang-ja::after {
content: 'ja-JP';
} }
.header .picture { .header .picture {
@ -26,7 +49,6 @@
border-radius: 50%; border-radius: 50%;
box-shadow: 0 0 0.15em 0.15em rgba(0, 0, 0, 0.15); box-shadow: 0 0 0.15em 0.15em rgba(0, 0, 0, 0.15);
box-sizing: content-box; box-sizing: content-box;
display: block;
padding: 3%; padding: 3%;
width: 94%; width: 94%;
} }

View File

@ -7,6 +7,7 @@
@import "footer.scss"; @import "footer.scss";
@import "header.scss"; @import "header.scss";
@import "identities.scss"; @import "identities.scss";
@import "intro.scss";
@import "labels.scss"; @import "labels.scss";
@import "chem-elements.scss"; @import "chem-elements.scss";
@ -27,7 +28,7 @@ html {
} }
#container { #container {
background: url('../images/nat-pants-ng.png'); background: rgba(255, 255, 255, 0.98);
background-position: center; background-position: center;
box-shadow: 0 0 0.15em 0.15em rgba(0, 0, 0, 0.125); box-shadow: 0 0 0.15em 0.15em rgba(0, 0, 0, 0.125);
margin: 1.5em auto; margin: 1.5em auto;

View File

@ -0,0 +1,18 @@
.intro .block {
display: flex;
}
.intro .block .split {
align-self: center;
padding: 1em;
}
.intro p {
border-left: 0.25em solid #006080;
color: #555;
font-size: 1.2em;
font-weight: 300;
line-height: 1.75em;
overflow: auto;
padding: 0.5em 0.5em;
}

View File

@ -1,3 +1,7 @@
.small-labels {
display: inline-block;
}
.small-labels a { .small-labels a {
text-decoration: none; text-decoration: none;
} }

View File

@ -10,31 +10,35 @@
<body> <body>
<div id="container"> <div id="container">
<div class="section header grid-container grid-parent"> <div class="section header grid-container grid-parent">
<div class="picture-container grid-30"> <div class="split picture-container grid-30">
<a href="assets/images/amphineko.png"> <a href="assets/images/amphineko.png">
<img class="picture" src="assets/images/amphineko@1x.jpg"> <img class="picture" src="assets/images/amphineko@1x.jpg">
</a> </a>
</div> </div>
<div class="grid-70">
<h1 class="greeting en"> <div class="split grid-70">
Hey, it's <div class="names">
<span class="no-wrap"> <h1 class="name lang-en">
<a class="chem-element" element="sodium" href="https://en.wikipedia.org/wiki/Sodium">Na</a>oki</span> <span class="no-wrap"><a class="chem-element" element="neon"
href="https://en.wikipedia.org/wiki/Sodium">Ne</span>komimi-Relay
</h1> </h1>
<h1 class="greeting cn"> </div>
<small class="prefix">好耶,</small> <div class="names">
<span class="name no-wrap">是饼干 <h1 class="name lang-cn">
<span class="face">(&lt;ゝω·) ~☆</span> 猫耳继电器
</span>
</h1> </h1>
<h1 class="name lang-ja">
ネコミミ継電器
</h1>
</div>
<div class="small-labels"> <div class="small-labels">
<div alt="languages" class="label alt"> <div alt="languages" class="label alt">
<i aria-hidden="true" class="fas fa-language"></i> <i aria-hidden="true" class="fas fa-language"></i>
<span class="title">汉语 & 漢語 & English</span> <span class="title">汉语 & 漢語 & English</span>
</div> </div>
<div alt="education" class="label alt"> <div alt="status" class="label alt">
<i aria-hidden="true" class="fas fa-university"></i> <i aria-hidden="true" class="fas fa-university"></i>
<span class="title">current</span>
<span class="content">undergraduate</span> <span class="content">undergraduate</span>
</div> </div>
</div> </div>
@ -44,24 +48,14 @@
<span class="title">Maeeko Laboratory</span> <span class="title">Maeeko Laboratory</span>
<span class="link">//futa.moe/maeeko/</span> <span class="link">//futa.moe/maeeko/</span>
</a> </a>
<a alt="as-operator" class="label alt" href="#"> <a alt="noc-operator" class="label alt" href="#">
<i class="fas fa-network-wired"></i> <i class="fas fa-network-wired"></i>
<span class="content">AS205058</span> <span class="content">AS205058</span>
<span class="content"><del>AS396303</del></span> <span class="content"><del>AS396303</del></span>
</a> </a>
</div> </div>
<div class="small-labels"> <div class="small-labels">
<div alt="lang & runtime" class="label alt"> <div alt="platforms::desktop" class="group alt">
<i aria-hidden="true" class="fas fa-plug"></i>
<span class="content">multiple <del>fullstack</del></span>
</div>
<div alt="spaces or tabs" class="label alt">
<i aria-hidden="true" class="fas fa-i-cursor"></i>
<span class="content">spaces</span>
</div>
</div>
<div class="small-labels">
<div alt="platforms" class="group alt">
<div class="label"> <div class="label">
<i aria-hidden="true" class="fab fa-windows"></i> <i aria-hidden="true" class="fab fa-windows"></i>
<span class="content">10</span> <span class="content">10</span>
@ -83,18 +77,27 @@
</div> </div>
</div> </div>
</div> </div>
<div class="small-labels"> </div>
</div>
<div class="section intro">
<div class="block grid-container grid-parent">
<div class="split grid-50">
<p>
<del>Cursed</del> Network Engineering student.<br />
Has few experience in full-stack development.<br />
Operating own autonomous system.<br />
Contact me if you're interested to hire :D
</p>
</div> </div>
</div>
</div> <div class="split small-labels grid-50">
<div class="section identities shadow grid-container grid-parent"> <a alt="social network" class="label alt" href="https://github.com/amphineko">
<div class="small-labels grid-30">
<a alt="coding" class="label alt" href="https://github.com/amphineko">
<i class="fab fa-github"></i> <i class="fab fa-github"></i>
<span class="title">GitHub</span> <span class="title">GitHub</span>
<span class="content">@amphineko</span> <span class="content">@amphineko</span>
</a> </a>
<br />
<a alt="instant messaging" class="label alt" href="https://telegram.me/amphineko"> <a alt="instant messaging" class="label alt" href="https://telegram.me/amphineko">
<i class="fab fa-telegram"></i> <i class="fab fa-telegram"></i>
<span class="title">Telegram</span> <span class="title">Telegram</span>
@ -106,27 +109,32 @@
<span class="content">amphineko</span> <span class="content">amphineko</span>
</a> </a>
</div> </div>
<div class="small-labels grid-30"> </div>
<div alt="arcade music game" class="group alt">
<div class="block grid-container grid-parent">
<div class="split grid-50">
<p>
Music game is LIFE!<br />
Love FPS and simulation games.<br />
Ingress mission collector.
</p>
</div>
<div class="split small-labels grid-50">
<div alt="arcade" class="group alt">
<div class="label"> <div class="label">
<i class="fas fa-compact-disc"></i> <i class="fas fa-compact-disc"></i>
<span class="title">DJ-ID</span> <span class="title">K/S/T</span>
<span class="content">NekoSauc</span> <span class="content">NekoSauc</span>
</div> </div>
</div> </div>
<a alt="another music game" class="label alt" href="https://osu.ppy.sh/u/Rukatan"> <a alt="?" class="label alt" href="https://osu.ppy.sh/u/Rukatan">
<i class="fab fa-accessible-icon"></i> <i class="fab fa-accessible-icon"></i>
<span class="title">osu!</span> <span class="title">osu!</span>
<span class="content">Rukatan</span> <span class="content">Rukatan</span>
</a> </a>
<div alt="ar game" class="label alt"> <br />
<i class="fas fa-bicycle"></i>
<i class="fas fa-paper-plane"></i>
<span class="title">Ingress</span>
<span class="content"><del>REDACTED</del></span>
</div>
</div>
<div class="small-labels grid-40">
<a alt="platform::steam" class="label alt" href="https://steamcommunity.com/id/Amphineko"> <a alt="platform::steam" class="label alt" href="https://steamcommunity.com/id/Amphineko">
<i class="fab fa-steam"></i> <i class="fab fa-steam"></i>
<span class="title">Steam</span> <span class="title">Steam</span>
@ -145,6 +153,15 @@
<i class="fas fa-heart"></i> <i class="fas fa-heart"></i>
<span class="title">R6:S</span> <span class="title">R6:S</span>
</a> </a>
<br />
<div alt="mobile game" class="label alt">
<i class="fas fa-bicycle"></i>
<i class="fas fa-plane"></i>
<span class="title">Ingress</span>
<span class="content"><del>REDACTED</del></span>
</div>
</div>
</div> </div>
</div> </div>
<div class="section footer shadow"> <div class="section footer shadow">
@ -152,13 +169,13 @@
<i aria-hidden="true" class="fas fa-code-branch"></i> Fork this template on GitHub</a> <i aria-hidden="true" class="fas fa-code-branch"></i> Fork this template on GitHub</a>
</div> </div>
<div class="section footer shadow"> <div class="section footer shadow">
<a class="hosting" href="//futa.moe"> <a class="hosting" href="//futa.moe/maeeko">
<i aria-hidden="true" class="far fa-heart"></i> Hosted by Maeeko Laboratory <i aria-hidden="true" class="far fa-heart"></i> Hosted by Maeeko Laboratory
<span class="link">//futa.moe/maeeko</span> <span class="link">//futa.moe/maeeko</span>
</a> </a>
<div class="copyright"> <div class="copyright">
<i class="fas fa-exclamation-triangle"></i> <i class="fas fa-exclamation-triangle"></i>
Copyright © 2015-2018 amphineko. Illustrations have their own licenses. Copyright © 2015-2019 amphineko. Illustrations have their own licenses.
</div> </div>
</div> </div>
</div> </div>