-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
66 lines (62 loc) · 1.01 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
@import url("https://fonts.googleapis.com/css2?family=Barlow&display=swap");
:root {
--black: #1c2022;
}
body {
display: flex;
justify-content: center;
align-items: center;
}
ul {
list-style-type: none;
}
a {
text-decoration: none;
}
.header {
font-family: "Barlow", sans-serif;
padding: 0 20px;
}
.list {
width: 100%;
max-width: 700px;
padding: 0 20px;
}
.card-img {
width: 35%;
}
.card {
width: 100%;
min-height: 100px;
max-height: 300px;
margin: 25px 0 0 0;
background: #fff;
border: 1px solid #ccc;
border-radius: 8px;
display: flex;
}
.card:hover {
background: #ddd;
}
.content {
padding: 20px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.title {
font-family: "Barlow", sans-serif;
font-size: 25px;
color: var(--black);
}
.list::-webkit-scrollbar {
-webkit-appearance: none;
}
.list::-webkit-scrollbar:vertical {
width: 8px;
}
.list::-webkit-scrollbar-thumb {
border-radius: 8px;
background-color: rgba(0, 0, 0, 0.5);
}