-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrecepies.html
More file actions
199 lines (179 loc) · 7.45 KB
/
recepies.html
File metadata and controls
199 lines (179 loc) · 7.45 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
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
191
192
193
194
195
196
197
198
199
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8"> <!-- Specifies character encoding as UTF-8 -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script defer src="registerscript.js"></script>
<style>
body {
margin: 0; /* Removes default margin around the page */
height: 100vh; /* Makes the body take up the full height of the viewport */
background-color: #1E1E2E; /* Dark background color */
color: #E0E0E0; /* Light gray text color */
display: flex; /* Enables Flexbox layout */
flex-direction: column; /* Aligns children vertically */
overflow: auto; /* Allows scrolling if content overflows */
display: block; /* Prevents body from being restricted to 100vh */
padding-bottom: 100px; /* Adds space for the navbar at the bottom */
padding-top: 0px; /* Removes any space at the top */
}
* {
padding: 0; /* Removes padding from all elements */
margin: 0; /* Removes margin from all elements */
box-sizing: border-box; /* Ensures padding and border are included in element's total width/height */
}
.logo {
background-color: #1E1E2E; /* Same color as the body background */
color: #E0E0E0; /* Light gray color for the text */
text-align: center; /* Centers the text horizontally */
padding: 20px 0; /* Adds vertical padding */
font-size: 36px; /* Sets large font size for the logo */
font-weight: bold; /* Makes the logo text bold */
letter-spacing: 2px; /* Adds space between the letters */
box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2); /* Adds shadow to make the logo pop */
z-index: 1000; /* Ensures the logo stays on top */
}
.logo span {
color: #50FA7B; /* Changes the color of the "Sort" part of the logo */
}
.bottom-right-item-add-button {
position: fixed; /* Fixes the button at a specific position on the screen */
bottom: 100px; /* Positions the button 100px from the bottom */
right: 10px; /* Positions the button 10px from the right */
}
.imagesize-item-add-button {
height: 75px; /* Sets the button height */
}
.modal {
display: none; /* Hides the modal by default */
position: fixed; /* Fixes the modal at the top of the screen */
top: 0; /* Positions the modal at the top */
left: 0; /* Positions the modal at the left */
width: 100%; /* Makes the modal take up the full width */
height: 100%; /* Makes the modal take up the full height */
background-color: #282A36; /* Dark background color */
color: #E0E0E0; /* Light gray text color */
align-items: center; /* Centers content vertically */
justify-content: center; /* Centers content horizontally */
}
.modal-content {
background-color: white; /* White background for the modal content */
padding: 20px; /* Adds padding inside the modal */
border-radius: 10px; /* Rounds the corners of the modal */
width: 300px; /* Sets a fixed width for the modal */
display: flex; /* Uses Flexbox layout for the modal content */
flex-direction: column; /* Aligns modal content vertically */
}
.rounded {
border-radius: 10px; /* Rounds the corners of elements */
}
.smallimage {
height: 100px; /* Sets height for small images */
}
.imagesize-icons-taskbar {
height: 50px; /* Sets height for taskbar icons */
}
.nav {
width: 100%; /* Makes the navbar span the full width */
text-align: center; /* Centers navbar items */
background: #1E1E2E; /* Matches the page background color */
position: fixed; /* Fixes the navbar to the bottom of the screen */
left: 0; /* Positions the navbar at the left */
bottom: 0; /* Positions the navbar at the bottom */
box-shadow: 0px -5px 5px -2px rgba(0, 0, 0, 0.2); /* Adds shadow for effect */
z-index: 1000; /* Ensures navbar stays on top */
height: 55px; /* Sets navbar height */
}
.nav ul {
list-style-type: none; /* Removes bullets from list items */
padding: 0; /* Removes padding */
margin: 0; /* Removes margin */
display: flex; /* Enables Flexbox layout */
justify-content: space-evenly; /* Distributes navbar items evenly */
width: 100%; /* Makes the navbar span the full width */
height: 100%; /* Ensures icons fill the navbar */
}
.nav ul li {
display: inline-block; /* Displays list items inline */
}
.nav ul li .nav-link {
text-decoration: none; /* Removes underline from links */
color: #ccc; /* Sets link color */
padding: 15px; /* Adds padding around the links */
display: block; /* Makes links block elements */
}
.inventory-header {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
margin: 20px 20px 10px 20px;
}
.inventory-header h1 {
color: #50FA7B;
font-weight: 600;
font-size: 3.2rem;
white-space: nowrap;
}
.inventory-header .line {
flex-grow: 1;
border: none;
border-bottom: 1.5px solid #50FA7B;
opacity: 0.3;
}
.loader {
margin-top: 30px;
width: 48px;
height: 48px;
border: 5px solid #50FA7B;
border-bottom-color: transparent;
border-radius: 50%;
animation: rotate 1s linear infinite;
}
@keyframes rotate {
100% {
transform: rotate(360deg);
}
}
.loading-container {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
gap: 15px; /* Abstand zwischen Kreis und Text */
}
</style>
</head>
<body>
<div class="logo">
<h1><span>Fridge</span>Sort</h1>
</div>
<div class="inventory-header">
<hr class="line"/>
<h1>Rezeptvorschläge</h1>
<hr class="line"/>
</div>
<div class="loading-container">
<div class="loader"></div>
<h3>Hieran wird noch gearbeitet...</h3>
</div>
<div class="nav">
<ul>
<li><a href="https://www.google.com/maps/search/Geöffnete+Supermärkte+in+meiner+Nähe"><img
src="img/taskbar/map.png" class="rounded imagesize-icons-taskbar"></a></li>
<li><a href="recepies.html"><img src="img/taskbar/book.png" class="rounded imagesize-icons-taskbar"></a></li>
<li><a href="checklist.html"><img src="img/taskbar/checklist.png" class="rounded imagesize-icons-taskbar"></a>
</li>
<li><a href="shop.html"><img src="img/taskbar/shop.png" class="rounded imagesize-icons-taskbar"></a>
</li>
<li><a href="profile.html"><img src="img/taskbar/profile.png" class="rounded imagesize-icons-taskbar"></a></li>
</ul>
</div>
</body>
<script>
</script>
</html>