-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
140 lines (124 loc) · 2.37 KB
/
style.css
File metadata and controls
140 lines (124 loc) · 2.37 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
html{
margin: 0;
padding: 0;
height: 100;
width: 100;
box-sizing: border-box;
}
.main{
width: 100vw;
height: 100vh;
position: relative;
overflow: hidden;
background-image: url('https://www.rollins.edu/post-office/images/campus-center-entrance.jpg');
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
background-attachment: fixed;
}
nav{
width: 100%;
position: sticky;
top: 0;
z-index: 1000;
background-color: #65B5FF;
}
.navbar {
display: flex;
justify-content: space-around;
align-items: center;
width: 100%;
padding: 10px 0;
}
.navbar a {
color: #333;
text-decoration: none;
padding: 14px 16px;
font-size: 17px;
}
.dropdown {
position: relative;
display: inline-block;
}
.dropbtn {
background-color: #65B5FF;
color: white;
padding: 14px;
font-size: 17px;
border: none;
cursor: pointer;
}
.dropdown-content {
display: none;
position: absolute;
background-color: gold;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
.dropdown:hover .dropdown-content {
display: block;
}
.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}
/* Feedback Button */
.feedback-button{
position: fixed;
bottom: 20px;
right: 20px;
background-color: white;
color: black;
padding: 10px 20px;
border-color: #65B5FF;
border-radius: 10px;
cursor: pointer;
}
.foodfeedback-button{
position: fixed;
right: 20px;
top: 160px;
background-color: white;
color: black;
padding: 10px 20px;
border-color: #65B5FF;
border-radius: 10px;
cursor: pointer;
}
/* this is what I used for the title of the page for Lunch, Breakfeast, etc.
*/
.title-text{
text-align: center;
color: black;
margin-top: 20px;
}
.header p{
text-align: center;
}
/* Home button */
.material-symbols-outlined{
position: fixed;
bottom: 10px;
left: 10px;
color: #65B5FF;
border: none;
background: none;
padding: 10px 10px;
cursor: pointer;
}
.banner {
display: flex;
justify-content: center; /* Horizontally center the content */
align-items: center; /* Vertically center the content */
height: 20vh; /* Set a height for the banner */
}
.banner h1 {
font-size: 5rem;
color: #65B5FF; /* Blue color to match the navbar */
text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
margin: 0;
padding: 0;
}