-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
92 lines (79 loc) · 1.42 KB
/
main.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
height: 100vh;
overflow: hidden;
font-family: "Poppins", sans-serif;
background-color: #d9d9d9;
background-image: linear-gradient(315deg, #d9d9d9 0%, #f6f2f2 74%);
display: flex;
justify-content: center;
align-items: center;
}
.container {
display: flex;
flex-direction: column;
width: 400px;
height: 600px;
max-height: 90vh;
border-radius: 4px;
box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.25);
overflow: hidden;
}
.items {
height: 550px;
overflow-y: auto;
overflow-x: hidden;
row-gap: 4px;
display: flex;
flex-direction: column;
}
figure {
position: relative;
height: 200px;
}
img {
filter: brightness(0.6);
height: 200px;
}
figcaption {
color: #faebd7;
position: absolute;
left: 8px;
bottom: 8px;
}
.material-icons {
position: absolute;
right: 8px;
top: 8px;
color: #faebd7;
font-size: small;
cursor: pointer;
}
.items::-webkit-scrollbar {
width: 6px;
background-color: transparent;
}
.items::-webkit-scrollbar-thumb {
background-color: rgba(0, 0, 0, 0.2);
border-radius: 15px;
}
.items::-webkit-scrollbar-thumb:vertical {
min-height: 60px;
}
.items::-webkit-scrollbar-thumb:horizontal {
min-width: 60px;
}
button {
background-color: #faebd7;
height: 50px;
font-size: 24px;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
border: none;
}