1
0
mirror of https://dev.s-ul.net/Galexion/MaiMaiDXNet.git synced 2025-02-03 05:37:10 +01:00

319 lines
4.8 KiB
CSS
Raw Normal View History

2023-02-17 01:23:14 -05:00
#user-image {
2023-02-18 18:15:19 -05:00
display: block;
margin-left: auto;
margin-right: auto;
max-width: 100%;
width: 100%;
2023-02-17 01:23:14 -05:00
}
#User {
2023-02-18 18:15:19 -05:00
display: block;
margin-left: auto;
margin-right: auto;
margin: 1%;
2023-02-17 06:47:28 -05:00
}
#wrapper {
2023-02-18 18:15:19 -05:00
display: flex;
2023-02-17 06:47:28 -05:00
justify-content: center;
align-items: center;
}
#user-profile-wrapper {
2023-02-18 18:15:19 -05:00
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;
}
2023-05-24 12:19:35 -04:00
.memorialImage {
width: 90%;
padding-bottom: 5px;
margin-left: auto;
margin-right: auto;
height: auto;
display: block;
}
2023-02-18 18:15:19 -05:00
@media screen and (max-width: 768px) {
#user-profile-wrapper {
display: inline-block;
margin: 0;
2023-02-17 06:47:28 -05:00
border: 2px solid black;
2023-02-18 05:19:30 -05:00
border-radius: 15px;
2023-02-17 06:47:28 -05:00
align-items: center;
2023-02-18 18:15:19 -05:00
justify-content: center;
font-size: 1.5em;
2023-02-17 06:47:28 -05:00
2023-02-18 18:15:19 -05:00
}
2023-02-17 06:47:28 -05:00
}
.profile-image {
2023-02-18 18:15:19 -05:00
grid-area: profile-image;
max-width: 100%;
width: 100%;
2023-02-17 06:47:28 -05:00
}
.user-title {
2023-02-18 18:15:19 -05:00
grid-area: user-title;
2023-02-17 06:47:28 -05:00
}
.user-name {
2023-02-18 18:15:19 -05:00
grid-area: user-name;
2023-02-17 06:47:28 -05:00
}
.dx-rating {
2023-02-18 18:15:19 -05:00
grid-area: dx-rating;
2023-02-17 06:47:28 -05:00
}
.user-rank {
2023-02-18 18:15:19 -05:00
grid-area: user-rank;
2023-02-17 06:47:28 -05:00
}
.awakens {
2023-02-18 18:15:19 -05:00
grid-area: awakens;
2023-02-17 06:47:28 -05:00
}
2023-02-18 05:19:30 -05:00
h4.profile {
2023-02-18 18:15:19 -05:00
font-size: 2em;
2023-02-17 06:47:28 -05:00
}
@media (max-width: 768px) {
2023-02-18 18:15:19 -05:00
h4 {
font-size: 1.5em;
}
2023-02-17 06:47:28 -05:00
}
2023-02-18 05:19:30 -05:00
.error {
display: inline-block;
margin: 1em;
border: 2px dashed red;
border-radius: 10px;
align-items: center;
justify-content: center;
}
.buttons {
2023-02-18 18:15:19 -05:00
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;
2023-02-25 08:30:21 -05:00
width: auto;
2023-02-18 18:15:19 -05:00
align-items: start;
justify-items: start;
2023-02-25 08:30:21 -05:00
margin: auto;
2023-02-18 18:15:19 -05:00
}
2023-02-25 08:30:21 -05:00
#areaWrapper {
grid-area: 3 / 2 / 4 / 4;
width: auto;
align-items: start;
justify-items: start;
margin: auto;
}
2023-02-18 18:15:19 -05:00
2023-02-25 08:30:21 -05:00
/* Grid Hell */
.areaGrid {
2023-02-18 18:15:19 -05:00
display: grid;
2023-02-25 08:30:21 -05:00
grid-template-rows: min-content min-content min-content;
grid-template-columns: max-content max-content min-content;
2023-02-18 18:15:19 -05:00
grid-template-areas:
2023-05-07 01:20:04 -04:00
'title title'
'kilometers kilometers'
'. details';
2023-02-18 18:15:19 -05:00
gap: 0px;
2023-02-25 08:30:21 -05:00
height: 100%;
max-width: 75%;
}
.areaTitle {
grid-area: title;
2023-02-18 18:15:19 -05:00
}
2023-02-25 08:30:21 -05:00
.areaKilometers {
grid-area: kilometers;
}
2023-05-07 01:20:04 -04:00
.areaDetails {
grid-area: details;
padding-top: 1em;
padding-bottom: 1em;
}
2023-02-25 08:30:21 -05:00
/* Galexion make your fucking mind up are you going to use camelCase or dashe-instead-of-spaces */
2023-02-18 18:15:19 -05:00
2023-02-25 08:30:21 -05:00
.score-grid {
display: grid;
2023-02-18 18:15:19 -05:00
2023-02-25 08:30:21 -05:00
grid-template-rows: min-content min-content min-content;
2023-05-07 01:20:04 -04:00
grid-template-columns: 82.5% min-content min-content;
grid-auto-rows: minmax(100px, auto);
2023-02-25 08:30:21 -05:00
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;
2023-05-07 01:20:04 -04:00
grid-auto-rows: minmax(100px, auto);
2023-02-25 08:30:21 -05:00
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%;
}
2023-02-18 18:15:19 -05:00
2023-02-25 08:30:21 -05:00
/* 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";
}
2023-02-18 18:15:19 -05:00
}
2023-02-25 08:30:21 -05:00
.score-title {
2023-02-18 18:15:19 -05:00
2023-02-25 08:30:21 -05:00
background-color: #D5BBCA;
grid-area: label0;
2023-02-18 18:15:19 -05:00
}
.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;
2023-02-25 08:30:21 -05:00
grid-template-columns: repeat(3, min-content);
grid-template-rows: repeat(3, min-content);
2023-02-18 18:15:19 -05:00
grid-gap: 10px;
grid-template-areas:
"DX-Score DX-Score DX-Score"
"full-combo full-sync multi-place"
"details details details";
}
2023-02-18 05:19:30 -05:00
2023-02-18 18:15:19 -05:00
.DX-Score {
grid-area: DX-Score;
2023-02-25 08:30:21 -05:00
}
.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;
2023-02-18 18:15:19 -05:00
}