sound-parade/public/default.css
2022-11-24 21:24:36 +09:00

489 lines
6.9 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
word-break: keep-all;
}
a.anchor {
display: block;
position: relative;
top: -20vh;
visibility: hidden;
}
body {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
color: white;
font-size: 15px;
line-height: 1.4;
font-family: 'Noto Sans KR', sans-serif;
scrollbar-width: none;
-ms-overflow-style: none;
}
body::-webkit-scrollbar {
display: none;
}
#top {
position: absolute;
top: 0;
left: 0;
}
.bg {
position: fixed;
top: 0;
left: 0;
background: linear-gradient(#000000, #222958 65%, #e7e7d6 95%);
background-repeat: no-repeat;
background-position: center;
height: 100vh;
width: 100vw;
/* z-index usage is up to you.. although there is no need of using it because the default stack context will work. */
z-index: -1; // this is optional
}
.arrow {
position: absolute;
left: 50%;
transform: translateX(-50%);
width: 30px;
padding-top: 30px;
}
#krtitle {
position: absolute;
top: 20%;
left: 50%;
transform: translate(-50%);
writing-mode: vertical-lr;
}
#entitle {
position: absolute;
bottom: 15%;
left: 50%;
transform: translate(-50%);
writing-mode: vertical-lr;
}
.popup {
display: none;
position: absolute;
max-width: 800px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: rgba(255, 255, 255, 0.3);
z-index: 100;
}
.content {
width: 100%;
height: 100%;
}
.parade {
position: relative;
width: 100%;
height: 100%;
}
#parade {
position: relative;
width: 100%;
height: 100%;
}
.entry {
position: relative;
width: 100%;
height: 100%;
}
.lang {
position: fixed;
top: 20px;
right: 15px;
z-index: 2;
writing-mode: vertical-lr;
}
.sticky {
position: -webkit-sticky;
position: sticky;
top: 20px;
text-align: end;
z-index: 99;
}
.first {
display: inline-block;
width: 10px;
z-index: 2;
writing-mode: vertical-lr;
vertical-align: top;
}
.second {
display: inline-block;
width: 10px;
z-index: 2;
writing-mode: vertical-lr;
padding-left: 10px;
}
.third {
position: absolute;
top: 20px;
right: 60px;
z-index: 2;
writing-mode: vertical-lr;
}
audio {
cursor: pointer;
}
.sub {
position: fixed;
bottom: 15px;
left: 20px;
}
.list2 {
position: fixed;
bottom: 15px;
left: 50%;
text-align: center;
}
/* .parade {
position: fixed;
bottom: 15px;
right: 20px;
} */
.list-sub {
position: fixed;
top: 36px;
right: 20px;
z-index: 2;
}
.list-parade {
position: fixed;
top: 68px;
right: 20px;
z-index: 2;
}
a,
a:visited,
a:hover,
a:focus,
a:active {
color: white;
text-decoration: none;
}
.notice {
position: absolute;
display: inline-block;
width: 550px;
top: 50px;
left: 50%;
transform: translate(-50%);
padding-bottom: 50px;
}
section {
margin-bottom: 100px;
}
.info {
margin-left: 40px;
}
.participation li {
margin-bottom: 15px;
}
.participation ol {
margin-top: 15px;
}
h1, h2, h3 {
font-weight: normal;
}
h1 {
position: relative;
display: block;
left: 50%;
transform: translate(-50%);
font-size: 15px;
margin-bottom: 50px;
writing-mode: vertical-lr;
text-align: center;
}
h2 {
position: relative;
display: block;
left: 50%;
transform: translate(-50%);
font-size: 15px;
margin-bottom: 15px;
writing-mode: vertical-lr;
text-align: center;
}
h3 {
font-size: 15px;
}
p {
font-size: 15px;
margin-bottom: 15px;
}
ol, ul {
list-style: none;
}
.submit li {
margin-bottom: 30px;
}
.submit li li {
margin-bottom: 0px;
}
.category {
margin-left: 40px;
}
.noscroll {
overflow: hidden;
}
.noscroll * {
touch-action: none;
}
small {
margin-top: 5px;
display: block;
}
canvas {
margin: 5px 0 5px 0;
}
.items {
padding: 50px 0 50px 0;
}
.items li {
position: relative;
vertical-align: top;
padding: 2px 0 2px 0;
}
.sound {
position: relative;
left: 50%;
transform: translate(-50%);
margin-top: 40px;
}
.delete {
margin-top: 15px;
}
.drawing {
position: relative;
display: inline-block;
width: 300px;
left: 50%;
transform: translate(-50%);
vertical-align: top;
text-align: center;
}
.name {
display: inline-block;
}
.sound {
display: inline-block;
}
.soundinfo {
padding-top: 30px;
}
.soundinfo li {
vertical-align: top;
}
.group,
.title,
.comment,
.sound,
.smallclose {
display: inline-block;
vertical-algin: top;
}
details summary::-webkit-details-marker {
display:none;
}
.roomsel {
position: absolute;
width: 100%;
height: 100%;
top: 0%;
left: 0%;
}
.roomsel button {
position: absolute;
bottom: 80px;
left: 50%;
transform: translate(-50%);
}
.intro {
animation-delay: 15s;
animation-name: fadeout;
animation-duration: 5s;
animation-fill-mode: forwards;
}
@keyframes fadeout {
0% {
opacity: 0.7;
}
100% {
opacity: 0;
display: none;
}
}
tr {
color: red;
}
tr,
td {
display: inline-block;
}
summary {
list-style: none;
outline: none;
cursor: pointer;
}
.delete {
position: absolute;
display: inline-block;
right: 0;
padding: 0;
cursor: pointer;
padding: 2px;
vertical-align: top;
}
.preview {
position: absolute;
display: inline-block;
left: 0;
padding: 0;
cursor: pointer;
padding: 2px;
vertical-align: top;
margin-top: 15px;
}
.intro {
top: 35%;
transform: translate(-50%);
}
button {
padding: 2px 6px 3px 6px;
font-size: 12px;
}
.roomsel .title {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -65%);
height: 350px;
writing-mode: vertical-lr;
cursor: pointer;
}
@media screen and (max-width: 700px) {
.sticky {
padding-right: 10px;
}
#krtitle {
position: absolute;
top: 20%;
left: 50%;
transform: translate(-50%);
writing-mode: vertical-lr;
}
#entitle {
position: absolute;
bottom: 10%;
left: 50%;
transform: translate(-50%);
writing-mode: vertical-lr;
}
.notice {
position: absolute;
display: inline-block;
width: 90%;
top: 50px;
left: 50%;
transform: translate(-50%);
padding-bottom: 20px;
}
.intro {
top: 30%;
transform: translate(-50%);
}
button {
padding: 8px 6px 5px 6px;
font-size: 12px;
}
.roomsel .title {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -30%);
height: 600px;
writing-mode: vertical-lr;
}
}