-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
140 lines (121 loc) · 2.78 KB
/
Copy pathstyles.css
File metadata and controls
140 lines (121 loc) · 2.78 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
/* General Styles */
body {
background-image: url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwzNjUyOXwwfDF8c2VhcmNofDF8fGNvZmV8ZW58MHx8fHx8MTY3Nzc2NDA1Nw&ixlib=rb-1.2.1&q=80&w=1600');
background-size: cover;
background-position: center;
background-attachment: fixed;
font-family: 'Inter', sans-serif;
color: #5D4037;
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Header Styles */
header {
background-color: #FFFFFF;
padding: 1rem 2rem;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.header-content {
display: flex;
align-items: center; /* Align items vertically */
justify-content: space-between; /* Align left and right sections */
}
.header-left {
display: flex;
align-items: baseline; /* Align "Est. 2020" to the baseline of "Camper Cafe" */
gap: 0.5rem;
}
.cafe-title {
font-size: 2.5rem;
margin: 0;
color: #5D4037;
text-transform: uppercase;
}
.established {
font-size: 1rem;
color: #6B4F41;
margin: 0;
}
.menu-title {
font-size: 2rem;
color: #5D4037;
margin: 0;
text-transform: uppercase;
text-align: right;
}
/* Responsive Styles for Smaller Screens */
@media (max-width: 768px) {
.menu-title {
display: none; /* Hide "Menu" on smaller screens */
}
}
@media (max-width: 480px) {
.established {
display: none; /* Hide "Est. 2020" on even smaller screens */
}
}
/* Content Styles */
.menu-card {
max-width: 800px;
margin: 3rem auto;
background: transparent;
border-radius: 12px;
padding: 2rem;
}
.menu-card-section {
background: #FFFFFF;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
margin-bottom: 2rem;
padding: 1.5rem;
}
.menu-header {
font-size: 1.8rem;
font-weight: bold;
text-align: center; /* Align section headers to the center */
text-transform: uppercase; /* Capitalize titles */
color: #5D4037;
margin-bottom: 1.5rem;
}
.menu-items {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
}
.menu-item {
background-color: #E0D3C2;
padding: 1rem;
border-radius: 8px;
display: flex;
justify-content: space-between;
align-items: center;
text-align: left;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
transition: transform 0.2s ease, background-color 0.2s ease; /* Hover animation */
}
.menu-item:hover {
transform: translateY(-5px); /* Slight upward movement */
background-color: #d9c5ae; /* Slightly darker shade */
}
.item-name {
font-size: 1rem;
font-weight: bold;
}
.price {
font-size: 1rem;
font-weight: normal;
}
/* Responsive Adjustments for Content */
@media (max-width: 768px) {
.menu-items {
grid-template-columns: 1fr; /* Stack menu items in one column */
}
.menu-item {
flex-direction: column;
text-align: center;
}
.price {
margin-top: 0.5rem;
}
}