forked from dohinaf/basic-icecream-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
76 lines (66 loc) · 1.27 KB
/
styles.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
/* Basic Reset */
body, h1, h2, p {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
}
/* Body styles */
body {
background-color: #f9f9f9;
color: #333;
line-height: 1.6;
}
/* Header styles */
header {
background-color: #FF6F61; /* Ice cream color */
color: white;
text-align: center;
padding: 20px 0;
}
/* Main section styles */
main {
padding: 20px;
}
/* Blog details section */
#blog-details {
display: flex;
flex-direction: column;
gap: 20px;
}
/* Blog detail article styles */
.blog-detail {
background: white;
border-radius: 15px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
overflow: hidden;
transition: transform 0.3s, box-shadow 0.3s;
}
.blog-detail:hover {
transform: translateY(-5px);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
/* Image styles */
.blog-detail img {
width: 650px;
border-bottom: 1px solid #ddd;
}
/* Heading styles */
h2 {
color: #FF6F61; /* Ice cream color */
padding: 10px;
text-align: center;
}
/* Paragraph styles */
p {
padding: 0 15px 15px;
}
/* Footer styles */
footer {
text-align: center;
padding: 10px;
background-color: #FF6F61; /* Ice cream color */
color: white;
position: relative;
bottom: 0;
width: 100%;
}