-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
168 lines (144 loc) · 3.2 KB
/
Copy pathstyle.css
File metadata and controls
168 lines (144 loc) · 3.2 KB
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
:root {
--hextech-gold: #c8aa6e;
--hextech-black: rgba(6, 11, 19, 0.95);
--text-primary: #f0e6d2;
--text-secondary: #a09b8c;
--win-green: #1ef32d;
--loss-red: #ff4e50;
/* 3.2vw is optimized to keep everything on one screen height at 1080p */
font-size: 3.2vw;
}
body {
background: transparent;
margin: 0;
padding: 0;
font-family: 'Segoe UI', Roboto, sans-serif;
color: white;
overflow: hidden;
height: 100vh;
width: 100vw;
display: flex;
align-items: center;
justify-content: center;
}
.overlay-card {
display: flex;
align-items: center;
background: var(--hextech-black);
border: 0.12rem solid var(--hextech-gold);
border-radius: 0.8rem;
padding: 0.5rem 2rem;
box-shadow: 0 0.8rem 2.5rem rgba(0, 0, 0, 0.8);
/* Spans most of the 1920 width */
width: 96vw;
box-sizing: border-box;
opacity: 0;
transform: translateY(1rem);
transition: opacity 0.8s ease, transform 0.5s ease;
backface-visibility: hidden;
}
.overlay-card.visible {
opacity: 1;
transform: translateY(0);
}
/* Rank Icon Scaling */
.icon-container {
width: 8rem;
height: 8rem;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
flex-shrink: 0;
}
#rank-icon {
width: 14rem;
height: 14rem;
object-fit: contain;
transform: scale(1.4);
filter: drop-shadow(0 0 1rem rgba(0, 0, 0, 1));
}
.text-group {
display: flex;
flex-direction: column;
justify-content: center;
margin-left: 1rem;
flex-grow: 1;
/* Prevents text from wrapping to a second line */
white-space: nowrap;
}
.summoner-name {
font-size: 1rem;
font-weight: 600;
color: var(--text-primary);
margin-bottom: 0.1rem;
}
.summoner-tag {
opacity: 0.6;
font-size: 0.8em;
}
/* This ensures "PLATINUM IV" stays on one line */
.tier-text {
font-size: 2.5rem;
font-weight: 900;
text-transform: uppercase;
line-height: 1;
display: flex;
gap: 0.5rem;
/* Space between Rank and Division */
text-shadow: 0.15rem 0.15rem 0.4rem rgba(0, 0, 0, 1);
}
.label-league {
font-size: 0.7rem;
text-transform: uppercase;
color: var(--text-secondary);
letter-spacing: 0.15rem;
}
.value-league {
font-size: 1.8rem;
font-weight: 800;
color: var(--hextech-gold);
}
/* Winrate Stats Layout */
.stat-group {
display: flex;
justify-content: space-around;
width: 100%;
}
.win {
color: var(--win-green);
}
.loss {
color: var(--loss-red);
}
.slash {
color: #555;
margin: 0 0.2rem;
}
/* Container for the matches */
.matches-list {
display: flex;
gap: 1rem;
align-items: center;
}
/* Match Icon Styles */
.match-icon {
width: 3.5rem;
height: 3.5rem;
border-radius: 0.4rem;
border: 0.15rem solid transparent;
box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.5);
}
/* Border Indicators */
.win-border {
border-color: var(--win-green) !important;
filter: drop-shadow(0 0 0.3rem rgba(30, 243, 45, 0.4));
}
.loss-border {
border-color: var(--loss-red) !important;
filter: drop-shadow(0 0 0.3rem rgba(255, 78, 80, 0.4));
}
.remake {
border-color: #888 !important;
opacity: 0.7;
}