-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage.css
More file actions
116 lines (110 loc) · 2.5 KB
/
page.css
File metadata and controls
116 lines (110 loc) · 2.5 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
* {
font-size: 25px;
}
body {
padding-top: 160px;
padding-bottom: 50px;
}
.navbar {
width: 100%;
height: 80px;
background: #25232D;
position: fixed;
top: 0;
padding-left: 1rem;
color: white;
z-index: 5;
}
a{
text-decoration: none;
}
.leaderboard {
max-width: 490px;
width: 100%;
border-radius: 12px;
}
.leaderboard header {
--start: 15%;
height: 130px;
background-image: repeating-radial-gradient(circle at var(--start), transparent 0%, transparent 10%, rgba(54, 89, 219, .33) 10%, rgba(54, 89, 219, .33) 17%), linear-gradient(to right, #5b7cfa, #3659db);
color: #fff;
position: relative;
border-radius: 12px 12px 0 0;
overflow: hidden;
}
.leaderboard header .leaderboard__title {
position: absolute;
z-index: 2;
top: 50%;
right: calc(var(--start) * .75);
transform: translateY(-50%);
text-transform: uppercase;
margin: 0;
}
.leaderboard header .leaderboard__title span {
display: block;
}
.leaderboard header .leaderboard__title--top {
font-size: 24px;
font-weight: 700;
letter-spacing: 6.5px;
}
.leaderboard header .leaderboard__title--bottom {
font-size: 13px;
font-weight: 500;
letter-spacing: 3.55px;
opacity: 0.65;
transform: translateY(-2px);
}
.leaderboard header .leaderboard__icon {
fill: #fff;
opacity: 0.35;
width: 50px;
position: absolute;
top: 50%;
left: var(--start);
transform: translate(-50%, -50%);
}
.leaderboard__profiles {
background-color: #fff;
border-radius: 0 0 12px 12px;
padding: 15px 15px 20px;
display: grid;
row-gap: 8px;
}
.leaderboard__profile {
display: grid;
grid-template-columns: 1fr 3fr;
/* align-items: center; */
padding: 10px 10px 10px 10px;
overflow: hidden;
border-radius: 10px;
box-shadow: 0 5px 7px -1px rgba(51, 51, 51, 0.23);
cursor: pointer;
transition: transform 0.25s cubic-bezier(0.7, 0.98, 0.86, 0.98), box-shadow 0.25s cubic-bezier(0.7, 0.98, 0.86, 0.98);
background-color: #fff;
}
.leaderboard__name {
color: #979cb0;
font-weight: 600;
font-size: 20px;
letter-spacing: 0.64px;
margin-left: 12px;
}
.leaderboard__value {
color: #35d8ac;
font-weight: 700;
font-size: 20px;
text-align: right;
}
body {
margin: 0;
background-color: #eaeaea;
display: grid;
height: 100vh;
place-items: center;
font-family: 'Source Sans Pro', sans-serif;
}
.leaderboard {
box-shadow: 0 0 40px -10px rgba(0, 0, 0, .4);
}