-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathstyle.css
More file actions
122 lines (104 loc) · 1.73 KB
/
style.css
File metadata and controls
122 lines (104 loc) · 1.73 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
119
120
121
122
body {
font-family: 'Inter', sans-serif;
background-color: #f9f9fc;
margin: 0;
padding: 0;
color: #222;
}
header {
text-align: center;
background: #1b1f3b;
color: #fff;
padding: 2rem 1rem;
}
.header-logo img{
max-width: 120px;
height:auto;
display:block;
margin:0 auto 1rem;
border-radius:50%;
}
header h1 {
margin: 0;
font-size: 2rem;
}
header p {
opacity: 0.85;
font-size: 1rem;
}
.gallery {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 2rem;
padding: 2rem;
}
.post {
background: #fff;
border-radius: 12px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
overflow: hidden;
transition: transform 0.3s ease;
}
.post:hover {
transform: translateY(-6px);
}
.post img {
width: 100%;
height: auto;
display: block;
}
.caption {
padding: 1rem;
}
.caption h2 {
font-size: 1.2rem;
margin: 0.5rem 0;
color: #1b1f3b;
}
.caption p {
color: #555;
line-height: 1.5;
}
.btn {
display: inline-block;
margin-top: 1rem;
padding: 0.6rem 1.2rem;
background-color: #1b1f3b;
color: #fff;
text-decoration: none;
border-radius: 6px;
}
.btn:hover {
background-color: #2a2f5b;
}
footer {
text-align: center;
padding: 1rem;
background-color: #f1f1f1;
color: #555;
}
@media (max-width:768px){
header h1{
font-size:1.6rem
}
header p{
font: size 0.9rem;
}
.header-logo img{
max-width: 90px;
}
.gallery {
padding: 1rem
}
}
@media (max-width:480px){
header{
padding: 1.5rem 0.8rem
}
header h1{
font-size: 1.4rem
}
.header-logo img{
max-width: 75px;
}
}