-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathportfolio.css
More file actions
66 lines (56 loc) · 1.31 KB
/
Copy pathportfolio.css
File metadata and controls
66 lines (56 loc) · 1.31 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
.portfolio-main {
max-width: 800px;
margin: 0 auto;
padding: var(--space-xl) var(--space-md);
width: 100%;
box-sizing: border-box;
display: flex;
flex-direction: column;
}
.portfolio-main {
font-family: var(--font-body);
}
.portfolio-header {
margin: var(--space-xl) 0;
text-align: center;
}
.entries-section {
display: flex;
flex-direction: column;
gap: var(--space-2xl);
width: 100%;
}
.entry-card {
background-color: var(--color-bg-surface);
border: 2px solid var(--color-border);
border-radius: var(--radius-lg);
padding: var(--space-xl);
box-shadow: 0 4px 6px var(--color-shadow-light);
transition-property: transform, box-shadow, background-color, border-color;
transition-duration: 400ms;
transition-timing-function: ease;
}
.entry-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 15px var(--color-shadow);
}
.entry-card h2 {
margin-top: 0;
margin-bottom: var(--space-sm);
color: var(--color-accent);
text-wrap: unset;
}
.entry-description p {
margin-bottom: var(--space-md);
line-height: 1.6;
}
.entry-description p:last-child {
margin-bottom: 0;
}
.entry-description a {
color: var(--color-accent);
}
.entry-description strong {
color: var(--color-text-main);
font-weight: 600;
}