allof-space/static/css/index.css

354 lines
5.2 KiB
CSS
Raw Normal View History

2022-10-06 18:00:27 -04:00
:root {
2022-10-08 14:17:00 -04:00
--bg-1: #443636;
2022-10-06 18:00:27 -04:00
--bg-2: #181515;
--fg-1: #ffffff;
--shadow-1: rgba(0,0,0,1);
--primary-1: #cd3030;
2022-10-08 14:17:00 -04:00
--primary-2: #443636;
2022-10-06 18:00:27 -04:00
--box-1: #edddab;
--shadow-box-1: 0 2px 10px -4px var(--shadow-1);
font-family: "Noto Sans", sans-serif;
font-size: 0.85rem;
}
.main {
min-height: calc(100vh - 6rem);
width: 100vw;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
}
body {
padding: 0;
margin: 0;
font-size: 0.8rem;
background: var(--bg-2);
height: 100vh;
background-size: 1.5rem 1.5rem;
overflow-y: scroll;
overflow-x: hidden;
color: var(--fg-1);
}
.content-main {
display: flex;
flex-direction: column;
margin: 1rem;
background: var(--bg-1);
max-width: 80vw;
width: 800px;
border-radius: 8px;
box-shadow: var(--shadow-box-1);
}
.icon {
width: auto;
height: 1rem;
margin-right: 0.5rem;
}
.icon-logo {
width: auto;
height: 3rem;
margin-right: 0rem;
margin-left: 0.5rem;
}
.icon-player {
width: auto;
height: 2rem;
margin: 0.3rem;
margin-left: 0;
}
.icon-hub {
width: 4rem;
height: 4rem;
margin: 0.3rem;
}
.button {
padding: 0.5rem;
border-radius: 0.5rem;
background-color: var(--primary-1);
color: var(--fg-1);
display: flex;
align-items: center;
justify-content: space-between;
width: 10rem;
font-weight: 700;
}
input, .button {
font-family: inherit;
padding: 0.5rem;
border-radius: 8px;
margin: 0.3rem;
border: none;
}
input {
width: 100%;
border: none;
}
.button-section {
display: flex;
justify-content: center;
align-items: center;
flex-direction: row;
}
.form {
display: flex;
flex-direction: row;
justify-content: space-between;
}
.form div {
width: 45%;
padding: 0 0 0 5%;
}
.form form {
width: 100%;
}
.formleft {
display: flex;
align-items: center;
flex-direction: column;
}
p, .p {
margin-left: 20px;
margin-right: 20px;
margin-top: 1rem;
margin-bottom: 1rem;
}
.p {
display: flex;
flex-direction: row;
align-items: center;
}
.header, .footer {
background: var(--primary-2);
justify-content: space-between;
display: flex;
width: 100%;
box-shadow: var(--shadow-box-1);
}
.footer {
background-color: var(--bg-1);
}
.header {
position: sticky;
top: 0;
}
h1, h2, h3, h4, h5, h6 {
font-weight: 700;
width: 100%;
text-align: center;
}
.big {
font-size: 300%;
}
.sbig {
font-size: 150%;
}
a {
text-decoration: none;
color: #40acff;
}
.button a {
text-decoration: none;
color: white;
}
.header a, .footer a {
font-weight: 700;
color: var(--dark-1);
padding-right: 1.0rem;
padding-left: 1.0rem;
white-space: pre-wrap;
height: 3rem;
display: flex;
align-items: center;
}
.image-inline {
height: 10rem;
width: 10rem;
aspect-ratio: 1 / 1;
}
.video {
width: 700px;
height: auto;
aspect-ratio: 16 / 9;
max-width: 70vw;
margin: 2rem;
margin-bottom: 2rem;
border-radius: 16px;
}
.full {
width: 100%;
}
.landing-wrapper {
display: flex;
width: 70vw;
justify-content: space-between;
}
@media screen and (max-width: 800px) {
.landing-wrapper {
flex-direction: column;
}
.landing-logo {
align-items: center;
display: flex;
flex-direction: column;
}
}
.center {
align-items: center;
display: flex;
flex-direction: column;
}
.progress {
width: 80%;
height: 0.8rem;
border-radius: 3px;
background-color: var(--dark-1);
}
.progress-bar {
background-color: var(--primary-1);
height: 0.8rem;
border-radius: 3px;
display: flex;
overflow: hidden;
font-weight: bold;
transition: width 0.2s linear;
}
.progress-text {
display: flex;
justify-content: center;
align-items: center;
position: relative;
font-weight: bold;
top: -3.5rem;
}
.video-wrapper {
width: calc(700px+4rem);
margin: 1rem;
}
.content-wrapper {
display: grid;
grid-template-columns: 1fr 3fr 1fr;
width: 95%;
}
.content-wrapper .content-main {
width: calc(100% - 2rem);
max-width: none;
height: 85vh;
overflow-y: scroll;
-ms-overflow-style: none;
scrollbar-width: none;
}
.content-wrapper .content-main::-webkit-scrollbar {
display: none;
}
.content-wrapper .content-main h1 {
position: sticky;
top: 0;
font-size: 1rem;
background-color: var(--light-1);
}
@media screen and (max-width:1000px) {
.content-wrapper {
grid-template-columns: 1fr;
}
.form {
}
.form div {
width: 100%;
}
}
.button-section a {
display: flex;
}
h1 .button-section {
height: 2rem;
}
.popup {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: rgba(0,0,0,0.7);
flex-direction: column;
}
.popup.nodisplay {
display: none;
}
.landing-logo {
filter: drop-shadow(0 0 20px var(--primary-1));
}
input[type="file"] {
display: none;
}
.pfp {
object-fit: cover;
}