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

229 lines
4.3 KiB
CSS
Raw Normal View History

2015-07-17 16:22:46 +08:00
@font-face {
font-family: 'TnT';
src: url('../../assets/fonts/TnT.ttf') format('truetype');
}
@font-face {
font-family: 'Kozuka';
src: url('../../assets/fonts/KozGoPro-Bold.otf') format('truetype');
}
html, body{
padding: 0;
margin: 0;
width:100%;
height: 100%;
background: black;
color:white;
2018-08-07 23:27:10 +08:00
user-select: none;
2015-07-17 16:22:46 +08:00
}
#screen{
width:100%;
height:100%;
margin:0;
padding:0;
background: url('/assets/img/bg-pattern-1.png');
}
#assets{
display:none;
}
.window{
2018-09-09 12:09:15 +08:00
width: 60vmin;
height: 23vmin;
padding: 3vmin;
2015-07-17 16:22:46 +08:00
color: black;
background: rgba(255, 220, 47, 0.95);
2018-09-09 12:09:15 +08:00
border: .5vmin outset #f4ae00;
2015-07-17 16:22:46 +08:00
box-shadow: 2px 2px 10px black;
2018-09-09 12:09:15 +08:00
margin: auto;
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: flex;
flex-direction: column;
justify-content: space-between;
2015-07-17 16:22:46 +08:00
}
2018-08-06 20:41:56 +08:00
.stroke-main {
font-weight: 300;
}
.result-title {
margin-top: 9px !important;
margin-left: 5px !important;
z-index: 1;
}
2018-08-06 23:34:59 +08:00
.result-song, .game-song {
2018-08-06 20:41:56 +08:00
position: absolute;
right: 0;
font-size: 5vmin;
2018-09-09 12:09:15 +08:00
margin: 3vmin 3vmin 0px 0px;
2018-08-06 20:41:56 +08:00
color: white;
float: right;
z-index: 1;
2018-08-27 00:14:56 +08:00
font-weight: 300;
2018-08-06 20:41:56 +08:00
}
.stroke-main:before {
content: attr(alt);
left: 0;
z-index: -1;
position: absolute;
-webkit-text-stroke: 0.3em #fb3c0c;
}
.stroke-main:after {
content: attr(alt);
left: 0;
z-index: -2;
position: absolute;
-webkit-text-stroke: 0.5em #000;
}
.stroke-sub:before {
content: attr(alt);
position: absolute;
-webkit-text-stroke: 0.25em #000;
left: 0;
z-index: -1;
}
.songsel-title {
position: absolute;
z-index: 1;
font-size: 7vmin;
2018-08-08 18:07:50 +08:00
margin: 20px;
2018-08-07 23:27:10 +08:00
}
.click-to-continue:before {
width: 100%;
2018-08-27 00:14:56 +08:00
}
.don {
background-position-y: 0;
position: absolute;
top: 0px;
}
.alpha-title .song-title-char {
transform: scale(1.3, 1);
font-size: 80%;
line-height: 22px;
}
.song-title-apos {
padding-left: 4px;
2018-08-31 20:11:03 +08:00
}
.song-title-char[alt="ぁ"],.song-title-char[alt="ぃ"],.song-title-char[alt="ぅ"],.song-title-char[alt="ぇ"],.song-title-char[alt="ぉ"],
.song-title-char[alt="ゃ"],.song-title-char[alt="ゅ"],.song-title-char[alt="ょ"],.song-title-char[alt="っ"],
.song-title-char[alt="ァ"],.song-title-char[alt="ィ"],.song-title-char[alt="ゥ"],.song-title-char[alt="ェ"],.song-title-char[alt="ォ"],
.song-title-char[alt="ャ"],.song-title-char[alt="ュ"],.song-title-char[alt="ョ"],.song-title-char[alt="ッ"]
{
margin-top: -6px;
}
.song-title-char[alt="ー"], .song-title-char[alt="-"] {
transform: rotate(95deg);
font-size: 90%;
}
2018-09-03 00:11:09 +08:00
#tutorial-outer {
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
position: absolute;
width: 100%;
height: 100%;
}
#tutorial {
background: rgb(246, 234, 212);
color: black;
border: 5px black solid;
border-radius: 10px;
height: 65%;
width: 50%;
padding: 20px;
font-size: 16pt;
position: relative;
}
#tutorial-title {
z-index: 1;
position: absolute;
color: white;
top: -25px;
font-size: 26pt;
}
#tutorial-content {
padding: 15px 30px;
}
kbd {
font-family: inherit;
padding: 0.1em 0.6em;
border: 1px solid #ccc;
font-size: 13px;
background-color: #f7f7f7;
color: #333;
-moz-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2),0 0 0 2px #ffffff inset;
-webkit-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2), 0 0 0 2px #ffffff inset;
box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2), 0 0 0 2px #ffffff inset;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
display: inline-block;
text-shadow: 0 1px 0 #fff;
line-height: 1.4;
white-space: nowrap;
}
.taibtn {
bottom: 15px;
margin: 0 auto;
position: absolute;
right: 15px;
padding: 10px 40px;
border-radius: 15px;
border: 3px rgba(218, 205, 178, 1) solid;
cursor: pointer;
}
.taibtn:hover {
z-index: 1;
color: white;
background: rgb(255, 181, 71);
border-color: white;
}
.taibtn:before {
padding: 0 40px;
}
#tutorial-end-button {
font-size: 22pt;
}
#songsel-help {
float: right;
background: rgba(255, 255, 255, 0.5);
color: black;
padding: 15px;
margin: 10px;
font-size: 18px;
border: 3px black solid;
border-radius: 50px;
cursor: pointer;
}