forked from Aditya-269/BloggingSite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsingle.css
118 lines (102 loc) · 2.11 KB
/
single.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
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Georgia', serif;
color: #333;
line-height: 1.8;
background: #f9f9f9;
transition: background 0.3s ease, color 0.3s ease;
font-size: 16px;
}
a {
text-decoration: none;
color: inherit;
transition: color 0.3s ease, transform 0.3s ease;
}
a:hover {
color: #1a73e8;
transform: translateY(-2px);
}
/* Page Wrapper */
.page-wrapper {
max-width: 1200px;
margin: 2rem auto;
padding: 2rem 1rem;
}
/* Blog Content */
#blog-content {
background: #fff;
padding: 2rem;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
margin-bottom: 2rem;
}
#blog-content:hover {
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
#blog-content h1 {
font-size: 2.8rem;
margin-bottom: 1.5rem;
color: #333;
line-height: 1.3;
text-align: center;
}
#blog-content img {
max-width: 100%;
height: auto;
border-radius: 8px;
margin: 1.5rem 0;
transition: transform 0.3s ease;
}
#blog-content img:hover {
transform: scale(1.05);
}
#blog-content p {
color: #555;
font-size: 1.2rem;
line-height: 1.8;
margin-bottom: 2rem;
}
#blog-content a {
display: inline-block;
background: #1a73e8;
color: #fff;
font-size: 1rem;
padding: 0.75rem 2rem;
border-radius: 8px;
text-transform: uppercase;
letter-spacing: 1px;
text-align: center;
transition: background 0.3s ease, transform 0.3s ease;
margin: 0 auto;
display: block;
width: fit-content;
margin-top: 2rem;
}
#blog-content a:hover {
background: #0056a6;
transform: translateY(-3px);
}
/* Footer */
footer {
background: #fff;
text-align: center;
padding: 2.5rem 1rem;
border-top: 1px solid #e6e6e6;
margin-top: 3rem;
}
footer p {
color: #999;
font-size: 0.9rem;
}
footer p a {
color: #1a73e8;
text-decoration: none;
transition: color 0.3s ease;
}
footer p a:hover {
color: #0056a6;
}