1
0
mirror of https://dev.s-ul.net/Galexion/MaiMaiDXNet.git synced 2024-11-30 21:37:19 +01:00
MaiMaiDXNet/public/stylesheets/user.css
2023-05-24 12:19:35 -04:00

319 lines
4.8 KiB
CSS

#user-image {
display: block;
margin-left: auto;
margin-right: auto;
max-width: 100%;
width: 100%;
}
#User {
display: block;
margin-left: auto;
margin-right: auto;
margin: 1%;
}
#wrapper {
display: flex;
justify-content: center;
align-items: center;
}
#user-profile-wrapper {
display: inline-grid;
margin: 0px;
grid-template-areas:
"profile-image user-title user-title"
"profile-image user-name dx-rating"
"profile-image user-class awakens";
gap: 10px;
border: 2px solid black;
border-radius: 15px;
justify-items: center;
align-items: center;
width: fit-content;
margin: 0 auto;
font-size: 2em;
}
.memorialImage {
width: 90%;
padding-bottom: 5px;
margin-left: auto;
margin-right: auto;
height: auto;
display: block;
}
@media screen and (max-width: 768px) {
#user-profile-wrapper {
display: inline-block;
margin: 0;
border: 2px solid black;
border-radius: 15px;
align-items: center;
justify-content: center;
font-size: 1.5em;
}
}
.profile-image {
grid-area: profile-image;
max-width: 100%;
width: 100%;
}
.user-title {
grid-area: user-title;
}
.user-name {
grid-area: user-name;
}
.dx-rating {
grid-area: dx-rating;
}
.user-rank {
grid-area: user-rank;
}
.awakens {
grid-area: awakens;
}
h4.profile {
font-size: 2em;
}
@media (max-width: 768px) {
h4 {
font-size: 1.5em;
}
}
.error {
display: inline-block;
margin: 1em;
border: 2px dashed red;
border-radius: 10px;
align-items: center;
justify-content: center;
}
.buttons {
margin-bottom: 2em;
display: grid;
grid-template-areas:
"1a 2b 3c 4d"
"5e 6f 7g 8h";
grid-gap: 10px;
}
.btn1 {
grid-area: "1a";
}
.btn2 {
grid-area: "2b";
}
.btn3 {
grid-area: "3c";
}
.btn4 {
grid-area: "4d";
}
.btn5 {
grid-area: "5e";
}
.btn6 {
grid-area: "6f";
}
.btn7 {
grid-area: "7g";
}
.btn8 {
grid-area: "8h";
}
.hidden {
display: none !important;
}
/* Play Data CSS */
#score-info-header-div {
grid-area: 2 / 2 / 3 / 4;
}
#scoreWrapper {
grid-area: 3 / 2 / 4 / 4;
width: auto;
align-items: start;
justify-items: start;
margin: auto;
}
#areaWrapper {
grid-area: 3 / 2 / 4 / 4;
width: auto;
align-items: start;
justify-items: start;
margin: auto;
}
/* Grid Hell */
.areaGrid {
display: grid;
grid-template-rows: min-content min-content min-content;
grid-template-columns: max-content max-content min-content;
grid-template-areas:
'title title'
'kilometers kilometers'
'. details';
gap: 0px;
height: 100%;
max-width: 75%;
}
.areaTitle {
grid-area: title;
}
.areaKilometers {
grid-area: kilometers;
}
.areaDetails {
grid-area: details;
padding-top: 1em;
padding-bottom: 1em;
}
/* Galexion make your fucking mind up are you going to use camelCase or dashe-instead-of-spaces */
.score-grid {
display: grid;
grid-template-rows: min-content min-content min-content;
grid-template-columns: 82.5% min-content min-content;
grid-auto-rows: minmax(100px, auto);
grid-template-areas:
'label0 label0'
'label1 label2'
'label1 label3'
'label1 label4';
gap: 0px;
height: 100%;
max-width: 75%;
}
@media (min-width: 600px) {
.score-grid {
max-width: 80%;
width: 80%;
grid-template-rows: max-content min-content min-content;
grid-template-columns: 1fr 1fr 1fr;
grid-auto-rows: minmax(100px, auto);
grid-template-areas:
'label0 label0 label0'
'label1 label2 label3'
'label1 label4 label4';
margin: auto;
}
.score-jacket {
background-color: #9EF6B5;
grid-area: label1;
display: block;
margin-left: auto;
margin-right: auto;
max-width: 100%;
width: 100%;
}
/* Please I really dont want to make a nested grid */
.score-info-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(3, 1fr);
grid-gap: 10px;
grid-template-areas:
"DX-Score DX-Score DX-Score"
"full-combo full-sync multi-place"
". . details";
}
}
.score-title {
background-color: #D5BBCA;
grid-area: label0;
}
.score-achivement {
background-color: #ED69FD;
grid-area: label2;
}
.score-grade {
background-color: #9B5999;
grid-area: label3;
}
.score-info {
background-color: #58B669;
grid-area: label4;
}
/* Please I really dont want to make a nested grid */
.score-info-grid {
display: grid;
grid-template-columns: repeat(3, min-content);
grid-template-rows: repeat(3, min-content);
grid-gap: 10px;
grid-template-areas:
"DX-Score DX-Score DX-Score"
"full-combo full-sync multi-place"
"details details details";
}
.DX-Score {
grid-area: DX-Score;
}
.score-jacket {
background-color: #9EF6B5;
grid-area: label1;
display: block;
margin-left: auto;
margin-right: auto;
max-width: 75%;
width: 75%;
}
h4.DX-Score {
font-size: 2em;
}