-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
185 lines (149 loc) · 5.17 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="{{ url_for('static',filename='styles.css') }}" />
<link rel="icon" type="image/x-icon" href="{{ url_for('static',filename='icon.png') }}" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Londrina+Solid:wght@300;400&family=Roboto+Mono&display=swap" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.6.0/p5.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.6.0/addons/p5.sound.min.js"></script>
<script src="https://unpkg.com/[email protected]/delaunator.min.js"></script>
<link rel="stylesheet" type="text/css" href="style.css">
<title>Stable Diffusion App</title>
</head>
<style>
body {
font-family: 'Roboto Mono', cursive;
margin: 0;
padding: 0;
background-color: #D0CEC1;
}
h1 {
text-align: center;
font-size: 3rem;
font-weight: 300;
margin: 0;
padding: 0;
padding-left: 0;
}
.prompt-box {
display: flex;
flex-direction: column;
align-items: center;
height: min-content;
font-size: large;
}
label {
width: max-content;
padding: 10px;
font-family: 'Roboto Mono', monospace;
}
input {
padding: 10px;
margin: 10px;
width: 500px;
}
button {
padding: 20px;
margin: 10px;
border: none;
font-family: 'Londrina Solid', cursive;
border-radius: 12px;
font-size: 36px;
transition-duration: 0.4s;
background-color: #FEEA73;
}
button:hover {
transform:rotate(4deg);
cursor: pointer;
background-color: #B4ABFF;
}
footer {
position: absolute;
bottom: 0;
width: 100%;
height: 2.5rem;
}
footer p {
text-align: center;
font-size: small;
}
.banner {
background: #D0CEC1;
padding: 10px;
margin: 0;
width: 100%;
}
.sketchfab-embed-wrapper {
margin: 0 auto;
padding: 15px;
width: min-content;
margin-bottom: 10px;
background-color: white;
outline: #dbdad4 solid 2px;
outline-offset: -7px;
}
.sketch {
width: min-content;
height: auto;
/* padding: 10px; */
margin: 0 auto;
/* position: relative; */
}
.blurb {
font-size: small;
width: 75%;
margin: 0 auto;
}
h2 {
text-align: center;
font-size: 1rem;
padding-bottom: 10px;
}
.sketch-wrapper {
width: 550px;
margin: 0 auto 10px;
padding: 15px;
background-color: white;
outline: #dbdad4 solid 2px;
outline-offset: -7px;
/* position: relative; */
}
.sketch-wrapper p {
margin: 0;
padding: 7px 0 0 3px;
font-size: 13px;
font-weight: bold;
}
.sketch-wrapper p a {
color: #1CAAD9;
}
.gh {
width: 100%;
height: auto;
}
</style>
<body>
<div class="banner">
<h1>Durian</h1>
<h2>Plantae // Malvaceae // Helicteroideae // Durioneae // Durio</h2>
<div class="blurb"><p>Named in some regions as the "king of fruits",[4][5] the durian is distinctive for its large size, strong odour, and thorn-covered rind. The fruit can grow as large as 30 centimetres (12 inches) long and 15 cm (6 in) in diameter, and it typically weighs 1 to 3 kilograms (2 to 7 pounds). Its shape ranges from oblong to round, the colour of its husk green to brown, and its flesh pale yellow to red, depending on the species.</p></div>
</div>
<div class="sketchfab-embed-wrapper"> <iframe title="Durian Fruit Skin" frameborder="0" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" allow="autoplay; fullscreen; xr-spatial-tracking" xr-spatial-tracking execution-while-out-of-viewport execution-while-not-rendered web-share width="550" height="300" src="https://sketchfab.com/models/f7980513e06549d98a42a35936bb722a/embed"> </iframe> <p style="font-size: 13px; font-weight: normal; margin: 5px; color: #4A4A4A;"> <a href="https://sketchfab.com/3d-models/durian-fruit-skin-f7980513e06549d98a42a35936bb722a?utm_medium=embed&utm_campaign=share-popup&utm_content=f7980513e06549d98a42a35936bb722a" target="_blank" rel="nofollow" style="font-weight: bold; color: #1CAAD9;"> Durian Fruit Skin </a> by <a href="https://sketchfab.com/RISDNaturelab?utm_medium=embed&utm_campaign=share-popup&utm_content=f7980513e06549d98a42a35936bb722a" target="_blank" rel="nofollow" style="font-weight: bold; color: #1CAAD9;"> RISD Nature Lab </a> on <a href="https://sketchfab.com?utm_medium=embed&utm_campaign=share-popup&utm_content=f7980513e06549d98a42a35936bb722a" target="_blank" rel="nofollow" style="font-weight: bold; color: #1CAAD9;">Sketchfab</a></p></div>
<div class="sketch-wrapper">
<div class="sketch" id="sketch">
<script src="sketch.js"></script>
</div>
<p class="sketch-label">Parametric Durian in P5.js / <a href="#">Demo</a> / <a href="#">Github</a></p>
</div>
<div class="sketch-wrapper">
<img src="Durian_s.gif?raw=true" class="gh">
<p class="sketch-label">Parametric Durian in Rhino & Grasshopper / <a href="#">Github</a></p>
</div>
</div>
</body>
</html>