-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
162 lines (130 loc) · 2.48 KB
/
style.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
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
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
:root{
font-size: clamp(40%, 1% + 2vw, 62.5%);
--ff-primary: 'Poppins', sans-serif;
--text-color: #ebebeb;
--hue: 225;
--primary-color: hsl(var(--hue), 80%, 60%);
}
body{
font-size: 1.6rem;
color: var(--text-color);
background-color: #010409;
}
body *{
font-family: var(--ff-primary);
}
button{
border: 0;
}
.sr-only{
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border-width: 0;
}
#app{
padding: 2rem;
max-width: 500px;
margin: 0 auto;
}
header{
display: flex;
align-items: center;
justify-content: space-between;
margin: 2.5rem 0;
}
header h1{
font-size: 2rem;
text-transform: uppercase;
}
.search{
display: flex;
align-items: stretch;
}
.search input{
border: 1px solid #5f5f5f;
padding: 0.6rem 1.2rem;
border-radius: .6rem 0 0 .6rem;
background-color: #0D1117;
color: var(--text-color);
}
.search input:focus{
outline: 2px solid var(--primary-color);;
}
.search button{
background-color: var(--primary-color);
color: var(--text-color);
border: 1px solid #5f5f5f;
border-left: 0;
width: 3.2rem;
border-radius: 0 .6rem .6rem 0;
cursor: pointer;
transition: filter 200ms;
}
.search button:hover{
filter: brightness(0.9);
}
table{
width: 100%;
border-collapse: collapse;
border-radius: .4rem;
overflow: hidden;
}
table *{
font-size: 1.4rem;
color: var(--text-color);
}
table th{
background: var(--primary-color);
text-align: left;
font-weight: normal;
padding: 1.5rem;
}
table th:first-child{
border-radius: .4rem 0 0 0;
}
table th:last-child{
border-radius: 0 .4rem 0 0;
}
table tr{
background-color: #10151d;
}
table tr:nth-child(odd){
background-color: #161d27;
}
table td{
padding: 1.5rem;
text-align: left;
}
td.user{
display: flex;
align-items: center;
gap: 1rem;
}
td.user img{
width: 5rem;
height: 5rem;
object-fit: cover;
border-radius: 50%;
border: 2px solid var(--primary-color);
}
td.user a{
text-decoration: none;
}
td.user a p{
font-weight: bold;
}
td .remove{
background: none;
color: red;
}