-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathPagesIndex.module.css
More file actions
66 lines (58 loc) · 1.03 KB
/
PagesIndex.module.css
File metadata and controls
66 lines (58 loc) · 1.03 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
.pages {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 12px;
}
@media (max-width: 768px) {
.pages {
grid-template-columns: 1fr;
}
}
.page {
display: flex;
flex-direction: column;
border: 1px solid #d0cdd7;
padding: 16px;
border-radius: 12px;
background-color: transparent;
transition: all 0.2s ease;
text-decoration: none;
overflow: hidden;
}
.page:hover {
background-color: #30004010;
cursor: pointer;
}
.page:active {
background-color: #20003820;
}
.pageImage {
width: 100%;
height: auto;
border-radius: 6px;
margin-bottom: 12px;
object-fit: cover;
}
.pageTitle {
font-weight: bold;
display: flex;
align-items: center;
color: #793aaf;
}
.pageDescription {
margin-top: 8px;
color: #65636d;
font-size: 14px;
}
.new {
color: #ffffff;
background-color: #8e4ec6;
background-color: color(display-p3 0.523 0.318 0.751);
font-size: 10px;
font-weight: 600;
margin-left: 8px;
padding: 2px 6px;
border-radius: 6px;
height: 14px;
font-family: var(--font-code);
}