1
0
mirror of https://dev.s-ul.net/Galexion/MaiMaiDXNet.git synced 2024-11-27 23:10:50 +01:00
MaiMaiDXNet/public/stylesheets/user.css
2023-08-28 07:15:42 -04:00

405 lines
5.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: 600px) {
h4.score-grid {
font-size: 4vmin;
}
h4.DX-Score {
font-size: 3vmin;
}
}
.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 dashes-instead-of-spaces */
.score-grid {
display: grid;
grid-template-rows: 0.75fr min-content min-content;
grid-template-columns: 0.75fr min-content max-content;
grid-auto-rows: minmax(100px, auto);
grid-template-areas:
"Jacket tasGrid rGrid"
"Details Details Details";
gap: 0px;
margin-bottom: 0.2em;
}
.rGrid {
display:grid;
grid-area: rGrid;
grid-template-rows: min-content min-content;
grid-template-areas:
'FC-FS'
'DXs-Fast-Slow';
}
.fcfs-grid {
grid-area: FC-FS;
display: grid;
grid-template-rows: min-content min-content;
grid-template-areas:
'fc'
'fs';
gap: 0px;
}
.tasGrid {
grid-area: tasGrid;
display:grid;
grid-template-rows: min-content min-content;
grid-template-areas:
'title'
'achivement'
'score-grade';
}
@media (min-width: 600px) {
.score-grid {
max-width: 80%;
width: 80%;
grid-template-rows: 1fr, auto;
grid-template-columns: 1fr 1fr 1fr;
grid-auto-rows: auto;
grid-template-areas:
"Jacket tasGrid rGrid"
"Details Details Details";
margin: auto;
margin-bottom: 0.2em;
}
h4.score-grid {
font-size: 5vw;
}
.fcfs-grid {
grid-area: FC-FS;
display: grid;
grid-auto-columns: min-content min-content;
grid-template-areas:
'fc fs';
gap: 0px;
}
.score-jacket {
grid-area: Jacket;
display: block;
margin-left: auto;
margin-right: auto;
max-width: 75%;
width: 75%;
}
/* Please I really dont want to make a nested grid */
.score-info-grid {
grid-area: Details;
display: grid;
grid-template-columns: repeat(3, 0.5fr);
grid-template-rows: repeat(3, 0.5fr);
grid-gap: 10px;
grid-template-areas:
"timingTable timingTable"
"maxCombo maxSync";
}
}
.score-title {
grid-area: title;
}
.score-achivement {
grid-area: achivement;
}
.score-grade {
grid-area: score-grade;
}
.score-info {
grid-area: label4;
}
.DX-Score {
grid-area: DXs-Fast-Slow;
}
.score-jacket {
grid-area: Jacket;
display: block;
margin-left: auto;
margin-right: auto;
max-width: 75%;
width: 75%;
}
#user-play-data {
object-fit: inherit;
}
img.sg-image {
width:17vw;
max-width: 125px;
}
img.fullCombo-image {
width:12vw;
max-width: 120px;
}
img.fullSync-image {
width:12vw;
max-width: 120px;
}
.fullCombo-image:nth-of-type(1) {
grid-area: fc;
}
.fullSync-image:nth-of-type(1) {
grid-area: fs;
}
.score-info-grid {
grid-area: Details;
display: grid;
grid-template-columns: repeat(3, 0.5fr);
grid-template-rows: repeat(3, 0.5fr);
grid-gap: 10px;
grid-template-areas:
"timingTable timingTable"
"maxCombo maxSync";
}
/* I really could'nt be asked to make css code, so i asked clyde instead. ty clyde. */
table {
border-collapse: collapse;
width: 100%;
}
th, td {
border: 1px solid black;
padding: 8px;
text-align: left;
}
th {
background-color: #f2f2f2;
}
tr:nth-child(even) {
background-color: #dddddd;
}