-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgithubFavorites.css
More file actions
151 lines (119 loc) · 2.13 KB
/
githubFavorites.css
File metadata and controls
151 lines (119 loc) · 2.13 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
font-size: 62.5%;
--ff-primary: 'Poppins', sans-serif;
--text-color: #303030;
--hue: 194;
--primary-color: hsl(var(--hue), 100%, 63%)
}
body {
font-family: var(--ff-primary);
font-size: 1.6rem;
color: var(--text-color);
background-color: rgb(245, 249, 250);
}
.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: center;
}
.search input {
height: 3.2rem;
border: 1px solid #CCC;
border-radius: .4rem 0 0 .4rem;
padding: 0 .8rem;
}
.search button {
background-color: var(--primary-color);
border-radius: 0 .4rem .4rem 0;
height: 3.2rem;
border: none;
padding: 0 1rem;
cursor: pointer;
}
.search button:hover {
filter: brightness(1.1);
}
table {
width: 100%;
border-collapse: collapse;
box-shadow: 0 1rem 2rem -1rem rgba(0, 0, 0, 0.3);
}
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-top-left-radius: .4rem;
}
table th:last-child {
border-top-right-radius: .4rem;
}
table tr:nth-child(even) {
background: #EEE;
}
table tr:nth-child(odd){
background: #DDD;
}
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%;
}
td.user a {
text-decoration: none;
}
td.user a p {
font-weight: bold;
}
td .remove {
background: none;
border: none;
color: red;
cursor: pointer;
}