sound-parade/public/default.css
2022-01-16 16:44:28 +09:00

173 lines
2.4 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
word-break: keep-all;
}
body {
color: white;
font-size: 15px;
line-height: 1.4;
font-family: 'Noto Sans KR', sans-serif;
}
.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
}
.content {
width: 100%;
height: 100%;
}
.lang {
position: fixed;
top: 15px;
right: 20px;
}
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: 20px;
}
.submit li li {
margin-bottom: 0px;
}
.category {
margin-left: 40px;
}
.noscroll {
overflow: hidden;
}
.noscroll * { touch-action: none;
}
button {
background-color: transparent;
border: 1px white solid;
color: white;
}
.items {
border-top: 1.5px solid white;
padding: 10px 0 10px 0;
}
.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;
}
@media screen and (max-width: 700px) {
.notice {
position: absolute;
display: inline-block;
width: 90%;
top: 50px;
left: 50%;
transform: translate(-50%);
padding-bottom: 20px;
}
}