Files
taiko-web/public/src/css/titlescreen.css
2019-01-28 15:33:03 +00:00

105 lines
1.6 KiB
CSS

@keyframes toggleFade{
40%{
opacity: 1;
}
70%{
opacity: 0.2;
}
}
#title-screen{
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: flex;
justify-content: center;
align-items: center;
background-color: #1389f0;
background-repeat: no-repeat;
background-position: center;
background-size: cover;
cursor: pointer;
}
#logo{
width: 100vmin;
height: calc(100vmin / 1170 * 390);
}
.click-to-continue{
position: absolute;
bottom: 15%;
color: #fff;
font-size: 8vmin;
text-align: center;
z-index: 1;
animation: toggleFade 2s infinite ease-in-out;
}
.click-to-continue::before{
-webkit-text-stroke: 0.25em #f00;
filter: blur(0.3vmin);
}
#lang{
font-size: 3vmin;
position: absolute;
bottom: 0;
left: 0;
width: 7em;
height: 4em;
color: #000;
z-index: 5;
}
#lang:focus-within{
outline: #4d90fe auto 5px;
}
#lang-dropdown{
font-size: 1.7em;
font-family: Microsoft YaHei, sans-serif;
opacity: 0;
width: 100%;
height: 100%;
color: #000;
cursor: pointer;
}
#lang-id{
position: absolute;
top: 0;
bottom: 0;
left: 2.6em;
font-family: TnT, Meiryo, sans-serif;
font-size: 1.5em;
font-weight: normal;
color: #fff;
line-height: 2.75em;
z-index: 0;
}
#lang-icon{
position: absolute;
width: 2.8em;
height: 2.8em;
padding: 0.6em;
fill: currentColor;
}
#lang:hover #lang-icon{
color: #f00;
}
#lang:hover #lang-id::before {
-webkit-text-stroke: 0.25em #f00;
}
#title-disclaimer {
text-align: center;
position: absolute;
bottom: 5%;
color: #fff;
z-index: 1;
}
#title-disclaimer span {
color: #fff;
font-size: 2vmin;
text-align: center;
display: block;
}
#title-disclaimer span:before {
left: initial;
filter: blur(0.1vmin);
}