-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
118 lines (102 loc) · 1.99 KB
/
Copy pathstyle.css
File metadata and controls
118 lines (102 loc) · 1.99 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
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Roboto:wght@400;700&display=swap');
body {
font-family: 'Roboto', sans-serif;
line-height: 1.6;
margin: 0;
padding: 0;
background: #f4f4f4;
color: #333;
}
header {
background: #333;
color: #fff;
padding: 2rem 0;
text-align: center;
margin-bottom: 2rem;
}
header h1 {
font-family: 'Montserrat', sans-serif;
margin: 0;
font-size: 3rem;
animation: fadeInDown 1s ease-in-out;
}
header p {
font-size: 1.2rem;
animation: fadeInUp 1s ease-in-out;
}
main {
width: 80%;
margin: 0 auto;
padding-bottom: 2rem;
}
#posts-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 1.5rem;
}
.post-card {
background: #fff;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
animation: scaleIn 0.5s ease-in-out forwards;
opacity: 0;
transform: scale(0.95);
}
@keyframes scaleIn {
to {
opacity: 1;
transform: scale(1);
}
}
.post-card:hover {
transform: translateY(-10px);
box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
.post-card-content {
padding: 1.5rem;
}
.post-card h2 {
font-family: 'Montserrat', sans-serif;
margin-top: 0;
font-size: 1.5rem;
}
.post-card p {
font-size: 1rem;
color: #666;
}
.post-card a {
text-decoration: none;
color: #333;
display: block;
}
footer {
text-align: center;
padding: 1rem 0;
background: #333;
color: #fff;
position: relative;
bottom: 0;
width: 100%;
}
@keyframes fadeInDown {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}