-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
91 lines (85 loc) · 1.65 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
text-align: center;
display: flex;
justify-content: center;
margin-top: 20px;
width: 100%;
}
.container {
display: flex;
width: 70%;
flex-direction: column;
justify-content: center;
}
.image-container {
display: flex;
flex-wrap: wrap;
margin-bottom: 20px;
border: 1px solid #ccc;
min-height: 120px;
width: 100%;
justify-content: left;
}
img {
width: 100px;
height: 100px;
margin: 10px;
cursor: grab;
}
.tier-list {
display: flex;
flex-direction: column;
gap: 10px;
}
.tier-row {
display: flex;
align-items: center;
height: auto;
align-items: stretch; /* Die Label und Inhalte werden gleich hoch sein */
}
.tier-label {
min-width: 100px;
min-height: 100px;
height: auto;
background-color: #ea1c1c;
color: white;
font-size: 36px;
font-weight: bold;
display: flex;
justify-content: center;
align-items: center;
padding: 10px;
}
.tier-row[data-tier="A"] .tier-label {
background-color: #d88100;
}
.tier-row[data-tier="B"] .tier-label {
background-color: #ecaa00;
}
.tier-row[data-tier="C"] .tier-label {
background-color: #e0d80a;
}
.tier-row[data-tier="D"] .tier-label {
background-color: #a7ba80;
}
.tier-row[data-tier="E"] .tier-label {
background-color: #80acba;
}
.tier-content {
display: flex;
gap: 10px;
flex-wrap: wrap;
/* padding: 10px; */
background-color: #f0f0f0;
border: 1px solid #ddd;
width: 100%; /* Feste Breite für den Tier-Container */
/* min-width: 120px; */
min-height: 120px;
box-sizing: border-box; /* Stellt sicher, dass Padding zur Breite zählt */
}
.tier img {
cursor: pointer;
}