-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paths.css
190 lines (160 loc) · 3.11 KB
/
s.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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
/* Base Styles (for large screens) */
.nav {
display: flex;
flex-direction: row;
justify-content: center;
text-decoration: none;
position: absolute;
padding: 0;
left: 0;
z-index: 100;
width: 100%;
}
.nav li {
text-decoration: none;
padding: 20px 15px;
list-style-type: none;
}
.nav-items {
color: #ffffff;
font-size: 1.5em;
font-family: 'Big Shoulders Text', cursive;
font-weight: 100;
text-decoration: none;
}
.nav-items a {
text-decoration: none;
color: white;
}
.nav li a:hover {
color: rgb(246, 248, 145);
}
/* Section */
.section {
height: 100vh; /* Full viewport height */
background-image: url(restro.jpeg);
background-size: cover;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.section h1 {
color: #ffffff;
font-weight: 700;
font-size: 4em;
text-align: center;
margin-top: 320px;
}
.section header {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}
.link-to-book-wrap {
flex: 4;
margin-left: 190px;
}
.link-to-book {
color: black;
display: block;
padding: 5px 10px;
border: 3px solid black;
margin-top: 290px;
margin-right: 200px;
text-decoration: none;
font-weight: 50px;
}
a.link-to-book:hover {
background-color: #ffffff;
color: #3e3f41;
text-decoration: none;
border: 4px solid black;
padding: 10px 15px;
border-radius: 20px;
}
/* About Section */
.about {
display: flex;
flex-direction: column;
align-items: center;
background-color: #f3f3f3c0;
padding: 50px 30px;
}
.about h3,
.about p {
font-family: 'Big Shoulders Text', cursive;
text-align: center;
width: 60%;
margin: auto;
font-size: 1.8em;
padding: 25px;
line-height: 50px;
}
#special {
font-family: 'Big Shoulders Text', cursive;
font-size: 50px;
font-weight: 700;
}
/* Media Queries for Responsiveness */
/* For tablets and medium screens */
@media (max-width: 768px) {
.nav li {
padding: 10px 10px;
}
.nav-items {
font-size: 1.2em;
}
.section h1 {
font-size: 3em;
margin-top: 200px;
}
.link-to-book-wrap {
margin-left: 0;
margin-right: 0;
}
.link-to-book {
margin-top: 100px;
margin-right: 0;
padding: 8px 12px;
}
.about h3,
.about p {
font-size: 1.5em;
line-height: 1.5em;
}
}
/* For mobile screens */
@media (max-width: 480px) {
.nav {
flex-direction: column;
}
.nav li {
padding: 5px 5px;
}
.nav-items {
font-size: 1em;
}
.section {
height: auto; /* Adjust height to content on mobile */
}
.section h1 {
font-size: 2.5em;
margin-top: 150px;
}
.link-to-book {
margin-top: 50px;
margin-right: 0;
padding: 8px 10px;
}
.about h3,
.about p {
font-size: 1.2em;
line-height: 1.3em;
width: 90%;
}
.about {
padding: 20px;
}
}