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

View File

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

View File

@ -1,24 +1,47 @@
.header {
background: #006080;
background: #466685;
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-bottom: 1.4em;
}
.header .greeting {
.header .split {
padding: 0 0.75em;
}
.header .name {
color: #f5f5f5;
display: inline-block;
font-weight: 300;
line-height: 1.25em;
margin: 0;
margin: 0.25em 0;
margin-right: 0.5em;
text-shadow: 2px 2px 4px rgba(0,0,0,.25);
}
.header .greeting:last-of-type {
margin-bottom: 1em;
.header .name .chem-element {
text-decoration: none;
}
.header .greeting .chem-element {
text-decoration: none;
.header .name::after {
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 {
@ -26,7 +49,6 @@
border-radius: 50%;
box-shadow: 0 0 0.15em 0.15em rgba(0, 0, 0, 0.15);
box-sizing: content-box;
display: block;
padding: 3%;
width: 94%;
}

View File

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

View File

@ -10,31 +10,35 @@
<body>
<div id="container">
<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">
<img class="picture" src="assets/images/amphineko@1x.jpg">
</a>
</div>
<div class="grid-70">
<h1 class="greeting en">
Hey, it's
<span class="no-wrap">
<a class="chem-element" element="sodium" href="https://en.wikipedia.org/wiki/Sodium">Na</a>oki</span>
</h1>
<h1 class="greeting cn">
<small class="prefix">好耶,</small>
<span class="name no-wrap">是饼干
<span class="face">(&lt;ゝω·) ~☆</span>
</span>
</h1>
<div class="split grid-70">
<div class="names">
<h1 class="name lang-en">
<span class="no-wrap"><a class="chem-element" element="neon"
href="https://en.wikipedia.org/wiki/Sodium">Ne</span>komimi-Relay
</h1>
</div>
<div class="names">
<h1 class="name lang-cn">
猫耳继电器
</h1>
<h1 class="name lang-ja">
ネコミミ継電器
</h1>
</div>
<div class="small-labels">
<div alt="languages" class="label alt">
<i aria-hidden="true" class="fas fa-language"></i>
<span class="title">汉语 & 漢語 & English</span>
</div>
<div alt="education" class="label alt">
<div alt="status" class="label alt">
<i aria-hidden="true" class="fas fa-university"></i>
<span class="title">current</span>
<span class="content">undergraduate</span>
</div>
</div>
@ -44,24 +48,14 @@
<span class="title">Maeeko Laboratory</span>
<span class="link">//futa.moe/maeeko/</span>
</a>
<a alt="as-operator" class="label alt" href="#">
<a alt="noc-operator" class="label alt" href="#">
<i class="fas fa-network-wired"></i>
<span class="content">AS205058</span>
<span class="content"><del>AS396303</del></span>
</a>
</div>
<div class="small-labels">
<div alt="lang & runtime" class="label 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 alt="platforms::desktop" class="group alt">
<div class="label">
<i aria-hidden="true" class="fab fa-windows"></i>
<span class="content">10</span>
@ -83,68 +77,91 @@
</div>
</div>
</div>
<div class="small-labels">
</div>
</div>
</div>
<div class="section identities shadow grid-container grid-parent">
<div class="small-labels grid-30">
<a alt="coding" class="label alt" href="https://github.com/amphineko">
<i class="fab fa-github"></i>
<span class="title">GitHub</span>
<span class="content">@amphineko</span>
</a>
<a alt="instant messaging" class="label alt" href="https://telegram.me/amphineko">
<i class="fab fa-telegram"></i>
<span class="title">Telegram</span>
<span class="content">@amphineko</span>
</a>
<a alt="social network" class="label alt" href="https://twitter.com/amphineko">
<i class="fab fa-twitter"></i>
<span class="title">Twitter</span>
<span class="content">amphineko</span>
</a>
<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 class="split small-labels grid-50">
<a alt="social network" class="label alt" href="https://github.com/amphineko">
<i class="fab fa-github"></i>
<span class="title">GitHub</span>
<span class="content">@amphineko</span>
</a>
<br />
<a alt="instant messaging" class="label alt" href="https://telegram.me/amphineko">
<i class="fab fa-telegram"></i>
<span class="title">Telegram</span>
<span class="content">@amphineko</span>
</a>
<a alt="social network" class="label alt" href="https://twitter.com/amphineko">
<i class="fab fa-twitter"></i>
<span class="title">Twitter</span>
<span class="content">amphineko</span>
</a>
</div>
</div>
<div class="small-labels grid-30">
<div alt="arcade music game" class="group alt">
<div class="label">
<i class="fas fa-compact-disc"></i>
<span class="title">DJ-ID</span>
<span class="content">NekoSauc</span>
<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">
<i class="fas fa-compact-disc"></i>
<span class="title">K/S/T</span>
<span class="content">NekoSauc</span>
</div>
</div>
<a alt="?" class="label alt" href="https://osu.ppy.sh/u/Rukatan">
<i class="fab fa-accessible-icon"></i>
<span class="title">osu!</span>
<span class="content">Rukatan</span>
</a>
<br />
<a alt="platform::steam" class="label alt" href="https://steamcommunity.com/id/Amphineko">
<i class="fab fa-steam"></i>
<span class="title">Steam</span>
<span class="content">NekoSauce</span>
</a>
<a class="label" href="#">
<i class="fas fa-heart"></i>
<span class="title">CS:GO</span>
</a>
<a alt="platform::uplay" class="label alt" href="https://club.ubisoft.com/profile/NekoSauce2">
<i class="fas fa-user-check"></i>
<span class="title">Uplay</span>
<span class="content">NekoSauce2</span>
</a>
<a class="label" href="#">
<i class="fas fa-heart"></i>
<span class="title">R6:S</span>
</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>
<a alt="another music game" class="label alt" href="https://osu.ppy.sh/u/Rukatan">
<i class="fab fa-accessible-icon"></i>
<span class="title">osu!</span>
<span class="content">Rukatan</span>
</a>
<div alt="ar game" class="label alt">
<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">
<i class="fab fa-steam"></i>
<span class="title">Steam</span>
<span class="content">NekoSauce</span>
</a>
<a class="label" href="#">
<i class="fas fa-heart"></i>
<span class="title">CS:GO</span>
</a>
<a alt="platform::uplay" class="label alt" href="https://club.ubisoft.com/profile/NekoSauce2">
<i class="fas fa-user-check"></i>
<span class="title">Uplay</span>
<span class="content">NekoSauce2</span>
</a>
<a class="label" href="#">
<i class="fas fa-heart"></i>
<span class="title">R6:S</span>
</a>
</div>
</div>
<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>
</div>
<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
<span class="link">//futa.moe/maeeko</span>
</a>
<div class="copyright">
<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>