forked from drkostas/drkostas.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProjectCard.module.css
62 lines (54 loc) · 1007 Bytes
/
ProjectCard.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
.card {
background: var(--article-bg);
display: flex;
flex-direction: column;
border-radius: 20px;
cursor: pointer;
}
.card:hover {
box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
}
.content {
padding: 1rem;
border-radius: 0 0 20px 20px;
}
.content p {
font-size: 0.8rem;
margin-top: 0.5rem;
}
.tags {
display: flex;
flex-wrap: wrap;
margin: 0.5rem 0 1rem;
}
.tags span {
margin: 0.5rem 0.5rem 0 0;
padding: 0.2rem 0.5rem;
border-radius: 20px;
font-size: 0.75rem;
transition: all 0.2s;
}
.cta {
display: flex;
gap: 1rem;
}
.underline {
padding: 0.2rem 0;
font-size: 0.9rem;
letter-spacing: 0;
cursor: pointer;
color: white;
text-decoration: none;
background-image: linear-gradient(
120deg,
var(--accent-color) 100%,
var(--accent-color) 100%
);
background-repeat: no-repeat;
background-size: 100% 0.2em;
background-position: 0 88%;
transition: background-size 0.25s ease-in;
}
.underline:hover {
background-size: 100% 88%;
}