-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrandompie.html
196 lines (168 loc) · 4.67 KB
/
randompie.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Random π</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Lisu+Bosa:wght@900&family=Rubik+Iso&display=swap">
<style>
body {
font-family: 'Lisu Bosa', sans-serif;
margin: 0;
padding: 0;
background-color: #612e01;
background-size: cover;
background-repeat: no-repeat;
text-align: center;
display: flex;
flex-direction: column;
min-height: 100vh;
color: white;
}
header {
text-align: center;
padding: 10px;
display: flex;
justify-content: space-between;
align-items: center;
}
header img {
width: 100px;
height: 100px;
cursor: pointer;
transition: transform 0.3s ease;
margin-right: 30px;
margin-left: 30px;
}
header img:hover {
transform: scale(1.1) rotate(360deg);
}
nav {
display: flex;
justify-content: flex-end;
align-items: center;
margin-right: 20px;
}
nav button {
font-family: 'Lisu Bosa', sans-serif;
color: #ffb4e5;
font-size: 23px;
text-decoration: none;
margin-left: 20px;
cursor: pointer;
border: 2px solid rgb(255, 255, 255);
background-color: rgba(0, 0, 0, 0.3);
padding: 10px 20px;
transition: background-color 0.3s ease, color 0.3s ease, transform 0.1s ease;
border-radius: 15px;
}
nav button:hover {
background-color: #9c3b8f;
color: #ffffff;
transform: translateY(1px);
}
h1{
font-family: 'Lisu Bosa', sans-serif;
font-weight: 900;
font-style: italic;
text-align: center;
text-decoration: underline;
color: black;
font-size: 40px;
}
h2{
font-family: 'Lisu Bosa', sans-serif;
font-weight: 900;
font-style: italic;
font-style: bold;
text-align: center;
color: black;
font-size: 30px;
}
h3{
font-family: 'Lisu Bosa', sans-serif;
font-weight: 900;
font-style: bold;
text-align: center;
color: black;
font-size: 25px;
}
.app-container {
margin: 40px;
}
.generate-button {
font-size: 40px;
font-family: 'Lisu Bosa', sans-serif;
border: 4px solid black;
border-radius: 15px;
padding: 10px 20px;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.1s ease, color 0.3s ease;
}
.generate-button:hover {
background-color: #9c3b8f;
color: white;
transform: translateY(2px);
}
.recipe-container {
border: 5px solid black;
border-radius: 15px;
overflow: hidden;
margin-top: 40px;
background-image: url('https://img.freepik.com/free-vector/pink-pattern-background_78370-3289.jpg?w=740&t=st=1702880170~exp=1702880770~hmac=c8c0d6c91add41a5df9337dbfe10e62158998c473339cc33f792d1c40e158618');
}
.recipe-container img {
width: 30%;
border-radius: 10px;
border: 5px solid black;
}
footer {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
background-color: rgba(0, 0, 0, 0.3);
color: white;
font-family: 'Lisu Bosa', sans-serif;
text-align: center;
padding: 10px 0;
}
.footer-text {
color: #ffffff;
font-size: 17px;
text-align: center;
}
footer a {
text-decoration: none;
}
footer a:hover {
color: rgb(0, 200, 255) !important;
}
</style>
</head>
<body>
<header>
<a href="index.html">
<img src="https://pngimg.com/d/pizza_PNG43991.png" />
</a>
<nav>
<button onclick="window.location.href='about.html'">About</button>
<button onclick="window.location.href='randompie.html'">Random Pie</button>
<button onclick="window.location.href='countdown.html'" id="countdownLink">Pie Time</button>
<button onclick="window.location.href='pietable.html'">Pie Table</button>
</nav>
</header>
<div class="app-container">
<button class="generate-button" onclick="generateRandomPieRecipe()">Random Pie Generator</button>
<div class="recipe-container" id="recipeContainer">
</div>
</div>
<footer>
<div class="footer-text">
<a href="https://github.com/stam4tia" target="_blank" style="text-decoration: none; color: #ffffff;">© 2024 Stamatia D</a>
</div>
</footer>
<script src="script.js">
</script>
</body>
</html>