Add theme modes

This commit is contained in:
Damillora 2019-10-05 02:48:41 +07:00
parent 3b86d8afe4
commit 6b5bdb2449
19 changed files with 1687 additions and 346 deletions

2
.gitignore vendored
View File

@ -58,6 +58,8 @@ typings/
# dotenv environment variables file
.env
.env.*
!.env.example
# parcel-bundler cache (https://parceljs.org/)
.cache

271
assets/themes/junna.css Normal file
View File

@ -0,0 +1,271 @@
body {
background: linear-gradient(to right, #060600 45% ,transparent 65%), url("/junna-360.jpg") no-repeat calc(0% + 370px) 0%;
background-size: cover;
background-attachment: fixed;
scroll-behavior: smooth;
}
@media only screen and (max-height: 479px) {
body {
background: linear-gradient(to right, #060600 45% ,transparent 65%), url("/junna-360.jpg") no-repeat calc(0% + 185px) 0%;
background-size: cover;
background-attachment: fixed;
}
}
@media only screen and (max-height: 899px) {
body {
background: linear-gradient(to right, #060600 45% ,transparent 65%), url("/junna-720.jpg") no-repeat calc(0% + 370px) 0%;
background-size: cover;
background-attachment: fixed;
}
}
@media only screen and (min-height: 900px) {
body {
background: linear-gradient(to right, #060600 45% ,transparent 65%), url("/junna-1080.jpg") no-repeat calc(0% + 555px) 0%;
background-size: cover;
background-attachment: fixed;
}
}
.content-container {
margin-top: 5vh;
margin-left: 2.5%;
margin-right: 60%;
word-wrap: break-word;
font-family: 'Exo 2', sans-serif;
}
.header {
display: none;
}
.gradient {
display: none;
}
.lily {
font-size: 1.6vw;
margin-top: 0px;
margin-bottom: 0px;
font-weight: 300;
}
.yuriko {
margin-top: 0px;
font-size: 5vw;
margin-bottom: 5px;
}
.yuriko-sub {
margin-top: 0px;
font-weight: 300;
margin-bottom: 0px;
font-size: 2.6vw;
}
p {
color: #ffffff;
font-size: 1.3vw;
}
h1 {
color: #95caed;
font-size: 3.2vw;
font-weight: 500;
}
h2 {
color: #ffffff;
font-size: 2vw;
font-weight: 300;
}
@media only screen and (max-aspect-ratio: 8/5) {
body {
margin-left: 0px;
margin-right: 0px;
margin-top: 0px;
background: #060600;
}
.content-container {
margin-left: 3%;
margin-right: 3%;
}
.header {
margin-left: 0px;
margin-right: 0px;
display: block;
height: 50vh;
background: url("/junna.jpg") no-repeat;
background-size: cover;
background-attachment: fixed;
background-position: left 40% top;
}
.gradient {
display: block;
position: absolute;
top: 25vh;
left: 0%;
width: 100%;
height: 25vh;
background: linear-gradient(to top,#060600 25%,transparent 100%);
}
.lily {
font-size: 7.5vw;
margin-top: 0px;
margin-bottom: 0px;
font-weight: 300;
}
.yuriko {
margin-top: 0px;
font-size: 15vw;
margin-bottom: 5px;
}
.yuriko-sub {
margin-top: 0px;
font-weight: 300;
margin-bottom: 0px;
font-size: 8vw;
}
p {
color: #ffffff;
font-size: 5vw;
}
h1 {
color: #95caed;
font-size: 10vw;
font-weight: 500;
}
h2 {
color: #ffffff;
font-size: 4.6vw;
font-weight: 300;
}
.smol-yurik {
display: none;
}
}
@media only screen and (min-aspect-ratio: 5/5) and (max-aspect-ratio: 8/5) {
.lily {
font-size: 5vw;
margin-top: 0px;
margin-bottom: 0px;
font-weight: 300;
}
.yuriko {
margin-top: 0px;
font-size: 10vw;
margin-bottom: 5px;
}
.yuriko-sub {
margin-top: 0px;
font-weight: 300;
margin-bottom: 0px;
font-size: 5.6vw;
}
p {
color: #ffffff;
font-size: 3.3vw;
}
h1 {
color: #95caed;
font-size: 6.7vw;
font-weight: 500;
}
h2 {
color: #ffffff;
font-size: 3.5vw;
font-weight: 300;
}
}
@media only screen and (max-aspect-ratio: 8/5) and (max-width: 479px) {
.header {
margin-left: 0px;
margin-right: 0px;
display: block;
height: 50vh;
background: url("/junna-360.jpg") no-repeat;
background-size: cover;
background-attachment: fixed;
background-position: left 40% top;
}
}
@media only screen and (max-aspect-ratio: 8/5) and (max-width: 899px) {
.header {
margin-left: 0px;
margin-right: 0px;
display: block;
height: 50vh;
background: url("/junna-720.jpg") no-repeat;
background-size: cover;
background-attachment: fixed;
background-position: left 40% top;
}
}
@media only screen and (max-aspect-ratio: 8/5) and (min-width: 899px) {
.header {
margin-left: 0px;
margin-right: 0px;
display: block;
height: 50vh;
background: url("/junna-720.jpg") no-repeat;
background-size: cover;
background-attachment: fixed;
background-position: left 40% top;
}
}
.primary {
color: #95caed;
}
.japanese{
font-family: 'M PLUS 1p', sans-serif;
}
a {
text-decoration: none;
color: #95caed;
}
a:hover{
text-decoration: underline;
}
.name {
margin-top: 0px;
margin-bottom: 5px;
}
.title {
margin-bottom: 10px;
}
ul > li {
font-size: 1.6vw;
}
ul > li > p {
margin-top: 0px;
margin-bottom: 5px;
}
.col {
display: flex;
flex-flow: column;
}
.row {
flex: 0 1 auto;
}
.expand {
flex: 1 1 auto;
}
.fill {
height: 87vh;
}
.nanao-enter-active,
.nanao-leave-active {
transition-property: opacity;
transition-timing-function: ease-in-out;
transition-duration: 100ms;
}
.nanao-enter,
.nanao-leave-to {
opacity: 0;
}

271
assets/themes/yuika.css Normal file
View File

@ -0,0 +1,271 @@
body {
background: linear-gradient(to right, #ffffff 45% ,transparent 65%), url("/yuika-360.jpg") no-repeat calc(0% + 150px) 0%;
background-size: cover;
background-attachment: fixed;
scroll-behavior: smooth;
}
@media only screen and (max-height: 479px) {
body {
background: linear-gradient(to right, #ffffff 45% ,transparent 65%), url("/yuika-360.jpg") no-repeat calc(0% + 150px) 0%;
background-size: cover;
background-attachment: fixed;
}
}
@media only screen and (max-height: 899px) {
body {
background: linear-gradient(to right, #ffffff 45% ,transparent 65%), url("/yuika-720.jpg") no-repeat calc(0% + 300px) 0%;
background-size: cover;
background-attachment: fixed;
}
}
@media only screen and (min-height: 900px) {
body {
background: linear-gradient(to right, #ffffff 45% ,transparent 65%), url("/yuika-1080.jpg") no-repeat calc(0% + 450px) 0%;
background-size: cover;
background-attachment: fixed;
}
}
.content-container {
margin-top: 5vh;
margin-left: 2.5%;
margin-right: 60%;
word-wrap: break-word;
font-family: 'Exo 2', sans-serif;
}
.header {
display: none;
}
.gradient {
display: none;
}
.lily {
font-size: 1.6vw;
margin-top: 0px;
margin-bottom: 0px;
font-weight: 300;
}
.yuriko {
margin-top: 0px;
font-size: 5vw;
margin-bottom: 5px;
}
.yuriko-sub {
margin-top: 0px;
font-weight: 300;
margin-bottom: 0px;
font-size: 2.6vw;
}
p {
color: #000000;
font-size: 1.3vw;
}
h1 {
color: #3b90c6;
font-size: 3.2vw;
font-weight: 500;
}
h2 {
color: #000000;
font-size: 2vw;
font-weight: 300;
}
@media only screen and (max-aspect-ratio: 8/5) {
body {
margin-left: 0px;
margin-right: 0px;
margin-top: 0px;
background: #ffffff;
}
.content-container {
margin-left: 3%;
margin-right: 3%;
}
.header {
margin-left: 0px;
margin-right: 0px;
display: block;
height: 50vh;
background: url("/yuika.jpg") no-repeat;
background-size: cover;
background-attachment: fixed;
background-position: right 55% top;
}
.gradient {
display: block;
position: absolute;
top: 25vh;
left: 0%;
width: 100%;
height: 25vh;
background: linear-gradient(to top,#ffffff 25%,transparent 100%);
}
.lily {
font-size: 7.5vw;
margin-top: 0px;
margin-bottom: 0px;
font-weight: 300;
}
.yuriko {
margin-top: 0px;
font-size: 15vw;
margin-bottom: 5px;
}
.yuriko-sub {
margin-top: 0px;
font-weight: 300;
margin-bottom: 0px;
font-size: 8vw;
}
p {
color: #000000;
font-size: 5vw;
}
h1 {
color: #3b90c6;
font-size: 10vw;
font-weight: 500;
}
h2 {
color: #000000;
font-size: 4.6vw;
font-weight: 300;
}
.smol-yurik {
display: none;
}
}
@media only screen and (min-aspect-ratio: 5/5) and (max-aspect-ratio: 8/5) {
.lily {
font-size: 5vw;
margin-top: 0px;
margin-bottom: 0px;
font-weight: 300;
}
.yuriko {
margin-top: 0px;
font-size: 10vw;
margin-bottom: 5px;
}
.yuriko-sub {
margin-top: 0px;
font-weight: 300;
margin-bottom: 0px;
font-size: 5.6vw;
}
p {
color: #000000;
font-size: 3.3vw;
}
h1 {
color: #3b90c6;
font-size: 6.7vw;
font-weight: 500;
}
h2 {
color: #000000;
font-size: 3.5vw;
font-weight: 300;
}
}
@media only screen and (max-aspect-ratio: 8/5) and (max-width: 479px) {
.header {
margin-left: 0px;
margin-right: 0px;
display: block;
height: 50vh;
background: url("/yuika-360.jpg") no-repeat;
background-size: cover;
background-attachment: fixed;
background-position: right 55% top;
}
}
@media only screen and (max-aspect-ratio: 8/5) and (max-width: 899px) {
.header {
margin-left: 0px;
margin-right: 0px;
display: block;
height: 50vh;
background: url("/yuika-720.jpg") no-repeat;
background-size: cover;
background-attachment: fixed;
background-position: right 55% top;
}
}
@media only screen and (max-aspect-ratio: 8/5) and (min-width: 899px) {
.header {
margin-left: 0px;
margin-right: 0px;
display: block;
height: 50vh;
background: url("/yuika-720.jpg") no-repeat;
background-size: cover;
background-attachment: fixed;
background-position: right 55% top;
}
}
.primary {
color: #3b90c6;
}
.japanese{
font-family: 'M PLUS 1p', sans-serif;
}
a {
text-decoration: none;
color: #3b90c6;
}
a:hover{
text-decoration: underline;
}
.name {
margin-top: 0px;
margin-bottom: 5px;
}
.title {
margin-bottom: 10px;
}
ul > li {
font-size: 1.6vw;
}
ul > li > p {
margin-top: 0px;
margin-bottom: 5px;
}
.col {
display: flex;
flex-flow: column;
}
.row {
flex: 0 1 auto;
}
.expand {
flex: 1 1 auto;
}
.fill {
height: 87vh;
}
.nanao-enter-active,
.nanao-leave-active {
transition-property: opacity;
transition-timing-function: ease-in-out;
transition-duration: 100ms;
}
.nanao-enter,
.nanao-leave-to {
opacity: 0;
}

271
assets/themes/yuriko.css Normal file
View File

@ -0,0 +1,271 @@
body {
background: linear-gradient(to right, #060600 45% ,transparent 65%), url("/yuriko-360.jpg") no-repeat;
background-size: cover;
background-attachment: fixed;
scroll-behavior: smooth;
}
@media only screen and (max-height: 479px) {
body {
background: linear-gradient(to right, #060600 45% ,transparent 65%), url("/yuriko-360.jpg") no-repeat;
background-size: cover;
background-attachment: fixed;
}
}
@media only screen and (max-height: 899px) {
body {
background: linear-gradient(to right, #060600 45% ,transparent 65%), url("/yuriko-720.jpg") no-repeat;
background-size: cover;
background-attachment: fixed;
}
}
@media only screen and (min-height: 900px) {
body {
background: linear-gradient(to right, #060600 45% ,transparent 65%), url("/yuriko-1080.jpg") no-repeat;
background-size: cover;
background-attachment: fixed;
}
}
.content-container {
margin-top: 5vh;
margin-left: 2.5%;
margin-right: 60%;
word-wrap: break-word;
font-family: 'Exo 2', sans-serif;
}
.header {
display: none;
}
.gradient {
display: none;
}
.lily {
font-size: 1.6vw;
margin-top: 0px;
margin-bottom: 0px;
font-weight: 300;
}
.yuriko {
margin-top: 0px;
font-size: 5vw;
margin-bottom: 5px;
}
.yuriko-sub {
margin-top: 0px;
font-weight: 300;
margin-bottom: 0px;
font-size: 2.6vw;
}
p {
color: #ffffff;
font-size: 1.3vw;
}
h1 {
color: #c7b83c;
font-size: 3.2vw;
font-weight: 500;
}
h2 {
color: #ffffff;
font-size: 2vw;
font-weight: 300;
}
@media only screen and (max-aspect-ratio: 8/5) {
body {
margin-left: 0px;
margin-right: 0px;
margin-top: 0px;
background: #060600;
}
.content-container {
margin-left: 3%;
margin-right: 3%;
}
.header {
margin-left: 0px;
margin-right: 0px;
display: block;
height: 50vh;
background: url("/yuriko.jpg") no-repeat;
background-size: cover;
background-attachment: fixed;
background-position: right 20% top;
}
.gradient {
display: block;
position: absolute;
top: 25vh;
left: 0%;
width: 100%;
height: 25vh;
background: linear-gradient(to top,#060600 25%,transparent 100%);
}
.lily {
font-size: 7.5vw;
margin-top: 0px;
margin-bottom: 0px;
font-weight: 300;
}
.yuriko {
margin-top: 0px;
font-size: 15vw;
margin-bottom: 5px;
}
.yuriko-sub {
margin-top: 0px;
font-weight: 300;
margin-bottom: 0px;
font-size: 8vw;
}
p {
color: #ffffff;
font-size: 5vw;
}
h1 {
color: #c7b83c;
font-size: 10vw;
font-weight: 500;
}
h2 {
color: #ffffff;
font-size: 4.6vw;
font-weight: 300;
}
.smol-yurik {
display: none;
}
}
@media only screen and (min-aspect-ratio: 5/5) and (max-aspect-ratio: 8/5) {
.lily {
font-size: 5vw;
margin-top: 0px;
margin-bottom: 0px;
font-weight: 300;
}
.yuriko {
margin-top: 0px;
font-size: 10vw;
margin-bottom: 5px;
}
.yuriko-sub {
margin-top: 0px;
font-weight: 300;
margin-bottom: 0px;
font-size: 5.6vw;
}
p {
color: #ffffff;
font-size: 3.3vw;
}
h1 {
color: #c7b83c;
font-size: 6.7vw;
font-weight: 500;
}
h2 {
color: #ffffff;
font-size: 3.5vw;
font-weight: 300;
}
}
@media only screen and (max-aspect-ratio: 8/5) and (max-width: 479px) {
.header {
margin-left: 0px;
margin-right: 0px;
display: block;
height: 50vh;
background: url("/yuriko-360.jpg") no-repeat;
background-size: cover;
background-attachment: fixed;
background-position: right 20% top;
}
}
@media only screen and (max-aspect-ratio: 8/5) and (max-width: 899px) {
.header {
margin-left: 0px;
margin-right: 0px;
display: block;
height: 50vh;
background: url("/yuriko-720.jpg") no-repeat;
background-size: cover;
background-attachment: fixed;
background-position: right 20% top;
}
}
@media only screen and (max-aspect-ratio: 8/5) and (min-width: 899px) {
.header {
margin-left: 0px;
margin-right: 0px;
display: block;
height: 50vh;
background: url("/yuriko-720.jpg") no-repeat;
background-size: cover;
background-attachment: fixed;
background-position: right 20% top;
}
}
.primary {
color: #c7b83c;
}
.japanese{
font-family: 'M PLUS 1p', sans-serif;
}
a {
text-decoration: none;
color: #c7b83c;
}
a:hover{
text-decoration: underline;
}
.name {
margin-top: 0px;
margin-bottom: 5px;
}
.title {
margin-bottom: 10px;
}
ul > li {
font-size: 1.6vw;
}
ul > li > p {
margin-top: 0px;
margin-bottom: 5px;
}
.col {
display: flex;
flex-flow: column;
}
.row {
flex: 0 1 auto;
}
.expand {
flex: 1 1 auto;
}
.fill {
height: 87vh;
}
.nanao-enter-active,
.nanao-leave-active {
transition-property: opacity;
transition-timing-function: ease-in-out;
transition-duration: 100ms;
}
.nanao-enter,
.nanao-leave-to {
opacity: 0;
}

View File

@ -0,0 +1,53 @@
<template>
<div class="smol-yurik hvr-float">
<img src="/yuriko-smol.png" @click="yurikosound"></img>
</div>
</template>
<script>
import {Howl, Howler} from 'howler';
export default {
methods: {
yurikosound() {
var sound = new Howl({
src: require("../static/yuriko.ogg"),
volume: 0.3
});
sound.play();
}
}
}
</script>
<style>
.smol-yurik {
position: fixed;
right: 0;
bottom: 0;
margin-bottom: 0px;
cursor: pointer;
}
.smol-yurik > img {
height: 20vh;
}
.hvr-float {
display: inline-block;
vertical-align: middle;
-webkit-transform: perspective(1px) translateZ(0);
transform: perspective(1px) translateZ(0);
box-shadow: 0 0 1px rgba(0, 0, 0, 0);
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
-webkit-transition-property: transform;
transition-property: transform;
-webkit-transition-timing-function: ease-out;
transition-timing-function: ease-out;
}
.hvr-float:hover, .hvr-float:focus, .hvr-float:active {
-webkit-transform: translateY(-8px);
transform: translateY(-8px);
}
</style>

View File

@ -8,330 +8,15 @@
<div class="content-container">
<nuxt />
</div>
<div class="smol-yurik hvr-float">
<img src="/yuriko-smol.png" @click="yurikosound"></img>
</div>
</div>
</template>
<script>
import {Howl, Howler} from 'howler';
// import FloatingYuriko from '~/components/FloatingYuriko'
export default {
methods: {
yurikosound() {
var sound = new Howl({
src: require("../static/yuriko.ogg"),
volume: 0.3
});
sound.play();
}
components: {
// FloatingYuriko
}
}
</script>
<style>
body {
background: linear-gradient(to right, #060600 45% ,transparent 65%), url("/yuriko-360.jpg") no-repeat;
background-size: cover;
background-attachment: fixed;
scroll-behavior: smooth;
}
@media only screen and (max-height: 479px) {
body {
background: linear-gradient(to right, #060600 45% ,transparent 65%), url("/yuriko-360.jpg") no-repeat;
background-size: cover;
background-attachment: fixed;
}
}
@media only screen and (max-height: 899px) {
body {
background: linear-gradient(to right, #060600 45% ,transparent 65%), url("/yuriko-720.jpg") no-repeat;
background-size: cover;
background-attachment: fixed;
}
}
@media only screen and (min-height: 900px) {
body {
background: linear-gradient(to right, #060600 45% ,transparent 65%), url("/yuriko-1080.jpg") no-repeat;
background-size: cover;
background-attachment: fixed;
}
}
.content-container {
margin-top: 5vh;
margin-left: 2.5%;
margin-right: 60%;
word-wrap: break-word;
font-family: 'Exo 2', sans-serif;
}
.header {
display: none;
}
.gradient {
display: none;
}
.lily {
font-size: 1.6vw;
margin-top: 0px;
margin-bottom: 0px;
font-weight: 300;
}
.yuriko {
margin-top: 0px;
font-size: 5vw;
margin-bottom: 5px;
}
.yuriko-sub {
margin-top: 0px;
font-weight: 300;
margin-bottom: 0px;
font-size: 2.6vw;
}
p {
color: #ffffff;
font-size: 1.3vw;
}
h1 {
color: #c7b83c;
font-size: 3.2vw;
font-weight: 500;
}
h2 {
color: #ffffff;
font-size: 2vw;
font-weight: 300;
}
.smol-yurik {
position: fixed;
right: 0;
bottom: 0;
margin-bottom: 0px;
cursor: pointer;
}
.smol-yurik > img {
height: 20vh;
}
.hvr-float {
display: inline-block;
vertical-align: middle;
-webkit-transform: perspective(1px) translateZ(0);
transform: perspective(1px) translateZ(0);
box-shadow: 0 0 1px rgba(0, 0, 0, 0);
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
-webkit-transition-property: transform;
transition-property: transform;
-webkit-transition-timing-function: ease-out;
transition-timing-function: ease-out;
}
.hvr-float:hover, .hvr-float:focus, .hvr-float:active {
-webkit-transform: translateY(-8px);
transform: translateY(-8px);
}
@media only screen and (max-aspect-ratio: 8/5) {
body {
margin-left: 0px;
margin-right: 0px;
margin-top: 0px;
background: #060600;
}
.content-container {
margin-left: 3%;
margin-right: 3%;
}
.header {
margin-left: 0px;
margin-right: 0px;
display: block;
height: 50vh;
background: url("/yuriko.jpg") no-repeat;
background-size: cover;
background-attachment: fixed;
background-position: right 20% top;
}
.gradient {
display: block;
position: absolute;
top: 25vh;
left: 0%;
width: 100%;
height: 25vh;
background: linear-gradient(to top,#060600 25%,transparent 100%);
}
.lily {
font-size: 7.5vw;
margin-top: 0px;
margin-bottom: 0px;
font-weight: 300;
}
.yuriko {
margin-top: 0px;
font-size: 15vw;
margin-bottom: 5px;
}
.yuriko-sub {
margin-top: 0px;
font-weight: 300;
margin-bottom: 0px;
font-size: 8vw;
}
p {
color: #ffffff;
font-size: 5vw;
}
h1 {
color: #c7b83c;
font-size: 10vw;
font-weight: 500;
}
h2 {
color: #ffffff;
font-size: 4.6vw;
font-weight: 300;
}
.smol-yurik {
display: none;
}
}
@media only screen and (min-aspect-ratio: 5/5) and (max-aspect-ratio: 8/5) {
.lily {
font-size: 5vw;
margin-top: 0px;
margin-bottom: 0px;
font-weight: 300;
}
.yuriko {
margin-top: 0px;
font-size: 10vw;
margin-bottom: 5px;
}
.yuriko-sub {
margin-top: 0px;
font-weight: 300;
margin-bottom: 0px;
font-size: 5.6vw;
}
p {
color: #ffffff;
font-size: 3.3vw;
}
h1 {
.smol-yurik {
margin-bottom: 0px;
}
color: #c7b83c;
font-size: 6.7vw;
font-weight: 500;
}
h2 {
color: #ffffff;
font-size: 3.5vw;
font-weight: 300;
}
}
@media only screen and (max-aspect-ratio: 8/5) and (max-width: 479px) {
.header {
margin-left: 0px;
margin-right: 0px;
display: block;
height: 50vh;
background: url("/yuriko-360.jpg") no-repeat;
background-size: cover;
background-attachment: fixed;
background-position: right 20% top;
}
}
@media only screen and (max-aspect-ratio: 8/5) and (max-width: 899px) {
.header {
margin-left: 0px;
margin-right: 0px;
display: block;
height: 50vh;
background: url("/yuriko-720.jpg") no-repeat;
background-size: cover;
background-attachment: fixed;
background-position: right 20% top;
}
}
@media only screen and (max-aspect-ratio: 8/5) and (min-width: 899px) {
.header {
margin-left: 0px;
margin-right: 0px;
display: block;
height: 50vh;
background: url("/yuriko-720.jpg") no-repeat;
background-size: cover;
background-attachment: fixed;
background-position: right 20% top;
}
}
.primary {
color: #c7b83c;
}
.japanese{
font-family: 'M PLUS 1p', sans-serif;
}
a {
text-decoration: none;
color: #c7b83c;
.smol-yurik {
margin-bottom: 0px;
}
}
a:hover{
text-decoration: underline;
}
.name {
margin-top: 0px;
margin-bottom: 5px;
}
.title {
margin-bottom: 10px;
}
ul > li {
font-size: 1.6vw;
}
ul > li > p {
margin-top: 0px;
margin-bottom: 5px;
}
.col {
display: flex;
flex-flow: column;
}
.row {
flex: 0 1 auto;
}
.expand {
flex: 1 1 auto;
}
.fill {
height: 87vh;
}
.nanao-enter-active,
.nanao-leave-active {
transition-property: opacity;
transition-timing-function: ease-in-out;
transition-duration: 100ms;
}
.nanao-enter,
.nanao-leave-to {
opacity: 0;
}
</style>

View File

@ -1,8 +1,10 @@
require('dotenv').config()
module.exports = {
mode: 'universal',
server: {
host: '0.0.0.0',
port: 14033
port: process.env.PORT || 14033
},
/*
** Headers of the page
@ -28,7 +30,13 @@ module.exports = {
** Global CSS
*/
css: [
'@/assets/themes/'+(process.env.THEME || "yuriko")+'.css'
],
env: {
subheader: process.env.SUBHEADER || "" ,
header: process.env.HEADER || "Sample Theming",
romaji: process.env.ROMAJI || "This demonstrates themable aspects",
},
/*
** Plugins to load before mounting the App
*/

View File

@ -15,7 +15,9 @@
"cross-env": "^5.2.0",
"express": "^4.16.4",
"howler": "^2.1.2",
"node-sass": "^4.12.0",
"nuxt": "^2.0.0",
"sass-loader": "^8.0.0",
"tall": "^2.2.0"
},
"devDependencies": {

View File

@ -2,9 +2,9 @@
<div class="container">
<div class="col fill">
<div class="row">
<h3 class="primary japanese lily">リリィナイト</h3>
<h1 class="primary japanese yuriko">七尾百合子</h1>
<h2 class="primary yuriko-sub">Yuriko Nanao</h2>
<h3 class="primary japanese lily">{{ subheader }}</h3>
<h1 class="primary japanese yuriko">{{ header }}</h1>
<h2 class="primary yuriko-sub">{{ romaji }}</h2>
</div>
<div class="expand">
@ -28,6 +28,17 @@
export default {
components: {
},
computed: {
subheader() {
return process.env.subheader
},
header() {
return process.env.header
},
romaji() {
return process.env.romaji
},
},
transition: {
name: 'nanao',

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

BIN
static/junna-1080.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 289 KiB

BIN
static/junna-360.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

BIN
static/junna-720.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB

BIN
static/junna-orig.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 388 KiB

BIN
static/yuika-1080.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 KiB

BIN
static/yuika-360.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

BIN
static/yuika-720.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

BIN
static/yuika-orig.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 687 KiB

815
yarn.lock

File diff suppressed because it is too large Load Diff