-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
112 lines (94 loc) · 1.74 KB
/
styles.css
File metadata and controls
112 lines (94 loc) · 1.74 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
/* General Styles */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
background-color: #333;
color: #fff;
}
header .logo h1{
margin: 0;
}
nav ul {
list-style: none;
display: flex;
gap: 20px;
}
nav ul li a {
color: #fff;
text-decoration: none;
}
.hero {
background-image: url('https://via.placeholder.com/1200x400');
background-size: cover;
background-position: center;
color: #fff;
text-align: center;
padding: 100px 20px;
}
.hero-content h2 {
font-size: 2.5rem;
}
.cta-button {
background-color: #ff6347;
color: #fff;
padding: 10px 20px;
text-decoration: none;
border-radius: 5px;
}
.menu, .about, .contact {
padding: 50px 20px;
text-align: center;
}
.menu-items {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
gap: 20px;
}
.menu-item {
flex: 1 1 200px;
}
.menu-item img {
width: 100%;
height: auto;
border-radius: 10px;
}
footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 20px;
}
footer .social-media {
margin-bottom: 10px;
}
footer .social-media a {
color: #fff;
margin: 0 10px;
text-decoration: none;
}
/* Responsive Design */
@media (max-width: 768px) {
header {
flex-direction: column;
text-align: center;
}
nav ul {
flex-direction: column;
gap: 10px;
}
.menu-items {
flex-direction: column;
}
.hero-content h2 {
font-size: 2rem;
}
}