html,
body {
padding-bottom: 0;
padding-left: 0;
padding-right: 0;
}
main {
position: relative;
width: 100%;
height: 100%;
max-width: 100vw;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.contents-wrapper {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
justify-content: flex-start;
align-items: flex-start;
flex-wrap: wrap;
overflow-y: scroll;
overflow-x: hidden;
}
.sasa {
position: relative;
margin: 16px;
padding: 0;
width: 160px;
height: 160px;
border-radius: 20px;
background-image: url(/images/loader.gif);
background-size: cover;
background-position: center;
overflow: hidden;
cursor: pointer;
}
.sasa .overlay {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: #0000;
}
.sasa:hover .overlay {
background-color: #0002;
}
.sasa.selected .overlay {
background-color: #0004;
}
.thumb {
min-width: 100%;
min-height: 100%;
}
.menu-wrapper {
display: none;
flex-direction: column;
justify-content: center;
align-items: center;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: #0008;
}
.menu {
background-color: #eee;
box-shadow: 0 0 0.5vw black;
border-radius: 16px;
width: 80vw;
height: 80vh;
max-width: 700px;
transition: 0.3s;
overflow: hidden;
}
#sasa-form {
padding: 2vw 2vw;
}
#tanzaku-list {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: flex-start;
flex-wrap: wrap;
padding: 8px 0;
height: 39vh;
box-shadow: inset -5px 5px 5px #1111, inset -5px -5px 5px #1111;
overflow-y: scroll;
overflow-x: hidden;
}
.tanzaku {
margin: 5px;
padding: 7px;
border: 1px solid #555;
border-radius: 7px;
cursor: default;
}
.tanzaku:hover,
.tanzaku.selected:hover {
background-color: #0004;
}
.tanzaku.selected {
background-color: #0002;
}