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

194 lines
2.8 KiB
CSS
Raw Normal View History

2023-02-17 07:23:14 +01:00
#user-image {
display: block;
margin-left: auto;
margin-right: auto;
2023-02-17 12:47:28 +01:00
max-width: 100%;
width: 100%;
2023-02-17 07:23:14 +01:00
}
#User {
display: block;
margin-left: auto;
margin-right: auto;
margin: 1%;
2023-02-17 12:47:28 +01:00
}
#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;
2023-02-18 11:19:30 +01:00
border-radius: 15px;
2023-02-17 12:47:28 +01:00
justify-items: center;
align-items: center;
width: fit-content;
margin: 0 auto;
2023-02-18 11:19:30 +01:00
font-size: 2em;
2023-02-17 12:47:28 +01:00
}
@media screen and (max-width: 768px) {
#user-profile-wrapper {
display: inline-block;
margin: 0;
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;
justify-content: center;
2023-02-18 11:19:30 +01:00
font-size: 1.5em;
2023-02-17 12:47:28 +01:00
}
}
.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;
}
2023-02-18 11:19:30 +01:00
h4.profile {
2023-02-17 12:47:28 +01:00
font-size: 2em;
}
@media (max-width: 768px) {
h4 {
font-size: 1.5em;
}
}
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 {
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;
}
/* Jacket Grid */
.score-grid {
display: grid;
grid-template-rows: 1fr 1fr 1fr;
grid-template-columns: 1fr 1fr 1fr 1fr;
grid-template-areas:
'label0 label0 label0 label0'
'label1 label1 label2 label3'
'label1 label1 label4 label4';
gap: 0px;
height: 100%;
}
.score-title {
background-color: #D5BBCA;
grid-area: label0;
}
.score-jacket {
background-color: #9EF6B5;
grid-area: label1;
display: block;
margin-left: auto;
margin-right: auto;
max-width: 25%;
width: 25%;
}
.score-achivement {
background-color: #ED69FD;
grid-area: label2;
}
.score-grade {
background-color: #9B5999;
grid-area: label3;
}
.score-info {
background-color: #58B669;
grid-area: label4;
}