-
Notifications
You must be signed in to change notification settings - Fork 0
/
Blog.module.css
64 lines (63 loc) · 1.26 KB
/
Blog.module.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
.main {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
flex: 1;
min-height: 100vh;
justify-content: flex-start;
padding-top: 3rem;
padding: 22px;
font-family: var(--font-mono);
}
.blog div {
padding: 1.2rem;
}
.blogItemh3 {
cursor: pointer;
font-size: 2rem;
margin: 0;
padding: 0;
}
.title {
text-align: center;
font-size: 2.8rem;
padding: 1.2rem;
}
.blogItem {
max-width: 65vw;
align-items: center;
inset: 0 0 auto;
padding: 2rem 1rem 1.4rem;
border-radius: 0;
border: none;
border-bottom: 1px solid rgba(var(--callout-border-rgb), 0.25);
background: linear-gradient(
to bottom,
rgba(var(--background-start-rgb), 1),
rgba(var(--callout-rgb), 0.5)
);
background-clip: padding-box;
backdrop-filter: blur(24px);
}
.btn {
display: inline-block;
padding: 10px 20px;
background: linear-gradient(
to bottom,
rgba(var(--background-start-rgb), 1),
rgba(var(--callout-rgb), 0.5)
);
font-size: 16px;
border: none;
border-radius: 5px;
cursor: pointer;
text-decoration: none;
transition: background-color 0.3s ease;
}
.btn:hover {
background-color: #0056b3;
}
.btn:focus {
outline: none;
}