body {
background-color: rgb(142, 174, 235);
background-image: url(summer3.png);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
z-index: 0.1;
}
.ex{
background-color: #f99;
width: 200px;
height: 200px;
}
.wrapper{
text-align: center;
margin: 0 auto;
width: 100%;
}
.wrapper.snow-inner{
position: relative;
}
.pink{
background-color: #FFBCFF;
}
body:not(.secret) table.summary tr:nth-child(2n+1) th {
background-color: #FFFFB2;
}
body:not(.secret) table.summary tr:nth-child(2n) th {
background-color: #C4FF89;
}
body:not(.secret) table.summary tr:last-child .blue {
background-color: #81d4fa;
}
.red{
background-color: #FFB2D8;
}
table.summary {margin: 0 auto;}
body:not(.secret) table {
background-color: white;
}
i{
margin-right: 4px;
}
body.secret {background: black; color: white;}
div#typing {margin: 1em 1ex; border-top: double cyan 5px;}
div#typing pre {
min-height: 3em; border: 1px solid navy; margin: 0 1ex; padding: 0 0.5ex;
font-size: 150%;
}
span.text {xcolor: blue;}
span.text::first-line {background: white;}
span.cursor {border: solid 1px black;}
span.done {color: red;}
span.miss {background-color: red; color: white;}
pre.current {background: white;}
div#typing pre.mytext {border: 3px double red; color: blue;}
p.info {
border: double 5px green; border-radius: 1em; margin: auto;
text-align: center; font-size: x-large; padding 1ex;
width: 60%; min-width: 5em;
}
p.go {background: yellow;}
table, table td, table th {border: 1px solid #444; border-collapse: collapse;}
td, th {min-width: 3em; padding: 0.5ex 1ex;}
#ranking-table td, #ranking-table th {white-space: pre;}
td#ratio, #miss, #types, #score, #time, #step, #hs, #speed, #trial,
#strial, #target {
text-align: right;
}
label {margin-right: 1em;}
label.disabled {color: grey;}
div.login, div.login2, div.ranking {
position: absolute; height: 100vh; width: 100vw;
top: 0; left: 0;
background: white;
z-index: 2;
}
input[name="text"] {display: none;}
input[name="text"]+button {min-width: 10em;}
input[name="text"]:checked+button {background: yellow;}
/*div.login, div.login2 {padding: 40% 0%;}*/
div.login{
background-color: rgb(142, 174, 235);
background-image: url(summer.jpg);
background-position: 10% 80%;
background-repeat: no-repeat;
background-size: cover;
width: 100%;
}
div.login-item{
position: absolute;
left: 50%; top: 50%;
width: 100%;
transform: translate(-50%, -50%);
text-align: center;
}
#loginhead{
color: black;
}
#prompt{
color: black;
}
div.login2 {
opacity: 0; transition: 0.5s; border-radius: 50%;
}
div.login * {margin: auto;}
div.login p, div.ranking p {
margin: auto; width: 50%; text-align: center;
xborder: 1px solid #444; border-radius: 1ex; padding: 1ex;
}
div.ranking {position: fixed;}
div.ranking p.t {position: relative; top: 0; width: 100vw;}
div.ranking div.tbl {
position: relative; top: 1em; height: 80vh; margin: 0 auto;
overflow: auto;
}
#ranking-table {
margin: 0 auto;
background: #bbb; margin: 0 auto; border: 1px solid black;
}
#ranking-table tr:nth-child(n+2) th, #ranking-table td {text-align: right;}
#ranking-table tr:first-child {background: #eee;}
#ranking-table tr:nth-child(2n) {background: #cec;}
#ranking-table tr:first-child th {
position: sticky; top: 0; background-clip: padding-box;
background: #eee;
}
#ranking-table tr.me {background: #fee;}
.warn {background: #f99;}
label.menu-btn {
position: fixed;
top: 10px;
right: 10px;
display: flex;
height: px;
width: 60px;
justify-content: center;
align-items: center;
z-index: 90;
background-color: #59b0ee;
}
label.menu-btn span{
color: #fff;
}
label.menu-btn span:before {
bottom: 8px;
}
label.menu-btn span:after {
top: 8px;
}
input#menu-btn-check{
display: none;
}
input#menu-btn-check:checked ~ label.menu-btn span {
background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
input#menu-btn-check:checked ~ label.menu-btn span::before {
bottom: 0;
transform: rotate(45deg);
}
input#menu-btn-check:checked ~ label.menu-btn span::after {
top: 0;
transform: rotate(-45deg);
}
div.menu-content ul {
padding: 70px 10px 0;
}
div.menu-content ul li {
border-bottom: solid 1px #000;
list-style: none;
}
div.menu-content ul li a {
display: block;
width: 30%;
font-size: 15px;
box-sizing: border-box;
color:#000;
text-decoration: none;
padding: 9px 15px 10px 0;
position: relative;
}
div.menu-content ul li a::before {
content: "";
width: 7px;
height: 7px;
border-top: solid 2px #000;
border-right: solid 2px #000;
transform: rotate(45deg);
position: absolute;
right: 11px;
top: 16px;
}
div.menu-content {
width: 30%;
height: 100%;
position: fixed;
top: 0;
left: 100%;/*leftの値を変更してメニューを画面外へ*/
z-index: 80;
background-color: #ffffffc9;
transition: all 0.5s;/*アニメーション設定*/
}
input#menu-btn-check:checked ~ div.menu-content {
left: 70%;/*メニューを画面内へ*/
}
button.bg-change{
border: none;
background: #ffffffc9;
padding: 10px 15px;
}