1
0
mirror of https://dev.s-ul.net/Galexion/MaiMaiDXNet.git synced 2024-11-30 21:17:16 +01:00
MaiMaiDXNet/public/stylesheets/user.css

405 lines
5.8 KiB
CSS
Raw Permalink Normal View History

2023-02-17 07:23:14 +01:00
#user-image {
2023-02-19 00:15:19 +01:00
display: block;
margin-left: auto;
margin-right: auto;
max-width: 100%;
width: 100%;
2023-02-17 07:23:14 +01:00
}
#User {
2023-02-19 00:15:19 +01:00
display: block;
margin-left: auto;
margin-right: auto;
margin: 1%;
2023-02-17 12:47:28 +01:00
}
#wrapper {
2023-02-19 00:15:19 +01:00
display: flex;
2023-02-17 12:47:28 +01:00
justify-content: center;
align-items: center;
}
#user-profile-wrapper {
2023-02-19 00:15:19 +01: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 18:19:35 +02:00
.memorialImage {
width: 90%;
padding-bottom: 5px;
margin-left: auto;
margin-right: auto;
height: auto;
display: block;
}
2023-02-19 00:15:19 +01:00
@media screen and (max-width: 768px) {
#user-profile-wrapper {
display: inline-block;
margin: 0;
2023-02-17 12:47:28 +01:00
border: 2px solid black;
2023-02-18 11:19:30 +01:00
border-radius: 15px;
2023-02-17 12:47:28 +01:00
align-items: center;
2023-02-19 00:15:19 +01:00
justify-content: center;
font-size: 1.5em;
2023-02-17 12:47:28 +01:00
2023-02-19 00:15:19 +01:00
}
2023-02-17 12:47:28 +01:00
}
.profile-image {
2023-02-19 00:15:19 +01:00
grid-area: profile-image;
max-width: 100%;
width: 100%;
2023-02-17 12:47:28 +01:00
}
.user-title {
2023-02-19 00:15:19 +01:00
grid-area: user-title;
2023-02-17 12:47:28 +01:00
}
.user-name {
2023-02-19 00:15:19 +01:00
grid-area: user-name;
2023-02-17 12:47:28 +01:00
}
.dx-rating {
2023-02-19 00:15:19 +01:00
grid-area: dx-rating;
2023-02-17 12:47:28 +01:00
}
.user-rank {
2023-02-19 00:15:19 +01:00
grid-area: user-rank;
2023-02-17 12:47:28 +01:00
}
.awakens {
2023-02-19 00:15:19 +01:00
grid-area: awakens;
2023-02-17 12:47:28 +01:00
}
2023-02-18 11:19:30 +01:00
h4.profile {
2023-02-19 00:15:19 +01:00
font-size: 2em;
2023-02-17 12:47:28 +01:00
}
2023-08-02 06:54:51 +02:00
@media (max-width: 600px) {
h4.score-grid {
font-size: 4vmin;
2023-02-19 00:15:19 +01:00
}
2023-08-02 06:54:51 +02:00
h4.DX-Score {
font-size: 3vmin;
}
2023-02-17 12:47:28 +01:00
}
2023-02-18 11:19:30 +01:00
.error {
display: inline-block;
margin: 1em;
border: 2px dashed red;
border-radius: 10px;
align-items: center;
justify-content: center;
}
.buttons {
2023-02-19 00:15:19 +01: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 14:30:21 +01:00
width: auto;
2023-02-19 00:15:19 +01:00
align-items: start;
justify-items: start;
2023-02-25 14:30:21 +01:00
margin: auto;
2023-02-19 00:15:19 +01:00
}
2023-02-25 14:30:21 +01:00
#areaWrapper {
grid-area: 3 / 2 / 4 / 4;
width: auto;
align-items: start;
justify-items: start;
margin: auto;
}
2023-02-19 00:15:19 +01:00
2023-02-25 14:30:21 +01:00
/* Grid Hell */
.areaGrid {
2023-02-19 00:15:19 +01:00
display: grid;
2023-02-25 14:30:21 +01:00
grid-template-rows: min-content min-content min-content;
grid-template-columns: max-content max-content min-content;
2023-02-19 00:15:19 +01:00
grid-template-areas:
2023-08-02 06:54:51 +02:00
'title title'
'kilometers kilometers'
'. details';
2023-02-19 00:15:19 +01:00
gap: 0px;
2023-02-25 14:30:21 +01:00
height: 100%;
max-width: 75%;
}
.areaTitle {
grid-area: title;
2023-02-19 00:15:19 +01:00
}
2023-02-25 14:30:21 +01:00
.areaKilometers {
grid-area: kilometers;
}
2023-05-07 07:20:04 +02:00
.areaDetails {
grid-area: details;
padding-top: 1em;
padding-bottom: 1em;
}
2023-08-02 06:54:51 +02:00
/* Galexion make your fucking mind up are you going to use camelCase or dashes-instead-of-spaces */
2023-02-19 00:15:19 +01:00
2023-02-25 14:30:21 +01:00
.score-grid {
display: grid;
2023-02-19 00:15:19 +01:00
2023-08-02 06:54:51 +02:00
grid-template-rows: 0.75fr min-content min-content;
grid-template-columns: 0.75fr min-content max-content;
2023-05-07 07:20:04 +02:00
grid-auto-rows: minmax(100px, auto);
2023-08-02 06:54:51 +02:00
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;
2023-02-25 14:30:21 +01:00
grid-template-areas:
2023-08-02 06:54:51 +02:00
'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';
2023-02-25 14:30:21 +01:00
gap: 0px;
}
2023-08-02 06:54:51 +02:00
.tasGrid {
grid-area: tasGrid;
display:grid;
grid-template-rows: min-content min-content;
grid-template-areas:
'title'
'achivement'
'score-grade';
}
2023-02-25 14:30:21 +01:00
@media (min-width: 600px) {
.score-grid {
max-width: 80%;
width: 80%;
2023-08-02 06:54:51 +02:00
grid-template-rows: 1fr, auto;
2023-02-25 14:30:21 +01:00
grid-template-columns: 1fr 1fr 1fr;
2023-08-02 06:54:51 +02:00
grid-auto-rows: auto;
grid-template-areas:
"Jacket tasGrid rGrid"
"Details Details Details";
2023-02-25 14:30:21 +01:00
margin: auto;
2023-08-02 06:54:51 +02:00
margin-bottom: 0.2em;
2023-02-25 14:30:21 +01:00
}
2023-08-02 06:54:51 +02:00
h4.score-grid {
font-size: 5vw;
}
.fcfs-grid {
grid-area: FC-FS;
display: grid;
grid-auto-columns: min-content min-content;
2023-02-25 14:30:21 +01:00
2023-08-02 06:54:51 +02:00
grid-template-areas:
'fc fs';
gap: 0px;
}
.score-jacket {
grid-area: Jacket;
2023-02-25 14:30:21 +01:00
display: block;
margin-left: auto;
margin-right: auto;
2023-08-02 06:54:51 +02:00
max-width: 75%;
width: 75%;
2023-02-25 14:30:21 +01:00
}
2023-02-19 00:15:19 +01:00
2023-02-25 14:30:21 +01:00
/* Please I really dont want to make a nested grid */
2023-08-02 06:54:51 +02:00
.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";
}
2023-02-19 00:15:19 +01:00
2023-08-02 06:54:51 +02:00
}
2023-02-19 00:15:19 +01:00
2023-08-02 06:54:51 +02:00
.score-title {
grid-area: title;
2023-02-19 00:15:19 +01:00
}
.score-achivement {
2023-08-02 06:54:51 +02:00
grid-area: achivement;
2023-02-19 00:15:19 +01:00
}
.score-grade {
2023-08-02 06:54:51 +02:00
grid-area: score-grade;
2023-02-19 00:15:19 +01:00
}
.score-info {
grid-area: label4;
}
2023-02-18 11:19:30 +01:00
2023-02-19 00:15:19 +01:00
.DX-Score {
2023-08-02 06:54:51 +02:00
grid-area: DXs-Fast-Slow;
2023-02-25 14:30:21 +01:00
}
.score-jacket {
2023-08-02 06:54:51 +02:00
grid-area: Jacket;
2023-02-25 14:30:21 +01:00
display: block;
margin-left: auto;
margin-right: auto;
max-width: 75%;
width: 75%;
}
2023-08-02 06:54:51 +02:00
#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";
2023-08-28 13:15:42 +02:00
}
/* 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;
2023-02-19 00:15:19 +01:00
}