japanese-drum-game/public/src/css/titlescreen.css

91 lines
1.5 KiB
CSS
Raw Normal View History

2018-09-18 06:37:59 +08:00
@keyframes toggleFade{
40%{
opacity: 1;
}
70%{
opacity: 0.2;
}
2015-07-17 16:22:46 +08:00
}
#title-screen{
2018-09-18 06:37:59 +08:00
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: flex;
justify-content: center;
align-items: center;
2018-10-28 19:54:15 +08:00
background-color: #1389f0;
background-repeat: no-repeat;
background-position: center;
2018-09-18 06:37:59 +08:00
background-size: cover;
cursor: pointer;
}
.logo-big{
width: 90vmin;
2018-10-28 19:54:15 +08:00
height: calc(90vmin / 754 * 400);
background-size: contain;
background-repeat: no-repeat;
text-align: center;
color: transparent;
2015-07-17 16:22:46 +08:00
}
2018-09-18 06:37:59 +08:00
.click-to-continue{
2018-10-09 14:59:36 +08:00
position: absolute;
2018-09-18 06:37:59 +08:00
bottom: 10%;
color: #fff;
font-size: 8vmin;
text-align: center;
z-index: 1;
animation: toggleFade 2s infinite ease-in-out;
2015-07-17 16:22:46 +08:00
}
2018-09-18 06:37:59 +08:00
.click-to-continue::before{
-webkit-text-stroke: 0.25em #f00;
2018-10-09 14:59:36 +08:00
filter: blur(0.3vmin);
}
#lang{
font-size: 3vmin;
position: absolute;
bottom: 0;
left: 0;
width: 7em;
height: 4em;
2019-01-22 03:33:33 +08:00
color: #000;
}
#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%;
2019-01-22 03:33:33 +08:00
color: #000;
cursor: pointer;
2018-10-09 14:59:36 +08:00
}
#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;
}
2019-01-22 03:33:33 +08:00
#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;
}