-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplaypen.html
More file actions
252 lines (198 loc) · 6.94 KB
/
playpen.html
File metadata and controls
252 lines (198 loc) · 6.94 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
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Playpen Sans</title>
<link rel="icon" href="assets/Tabs_logo.png">
<!-- Ajout des fonts ici -->
<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=Jura:wght@300..700&family=Montserrat:ital@0;1&family=Noto+Serif:ital,wdth,wght@0,62.5..100,100..900;1,62.5..100,100..900&family=Playpen+Sans:wght@100..800&display=swap" rel="stylesheet">
<body>
<a href="index.html">
<img id="back" src="assets/Return--Streamline-Carbon.png">
</a>
<nav class="header">
<p id="titre"> <b>PLAYPEN SANS </b><p>
<a href="https://fonts.google.com/specimen/Playpen+Sans">
<img id="google_font_playpen" src="assets/Google_font.png">
</a>
</nav>
<div class="content">
<p class="playpen_bio"> Available in eight weights, Playpen Sans includes cheerful and comforting emojis and supports over 150 Latin languages. Designed for non-creative users, this family brightens up brief, informal communications: greeting cards and invitations, informal signs and documents, and of course, children’s books, educational materials, comics, and graphic novels.
<br> <br> The goal of a font that combines a relaxed look with a deeply digital nature is to achieve human authenticity within the confines of digital reproduction. </p>
<div class="exemples_playpen">
<img src="assets/playpen_sans.png">
<img src="assets/playpen_sans2.png">
<img src="assets/playpen_sans3.png">
<img src="assets/playpen_sans4.jpg">
<img src="assets/playpen_sans5.png">
<img src="assets/playpen_sans6.jpeg">
</div>
<div class="author_section">
<div class="pic_and_bio_section">
<a href="https://fonts.adobe.com/designers/laura-meseguer">
<img id="author_pic" src="assets/Laura Meseguer.jpg"></a>
<p id="author_text"> <b> <a id="author_bio" href="https://fonts.adobe.com/designers/laura-meseguer">Laura Meseguer</a></b> is a freelance graphic designer and typeface designer based in Barcelona. She works on both commercial commissions and personal projects. She specializes in book design and all kinds of typographic projects, from lettering for monograms and logotypes to custom fonts.</p>
</div>
<video id="playpen_video" controls>
<source src="assets/Playpen_video.mp4" type="video/mp4">
The video is not charging on your device.
</video>
</div>
</div>
<style>
* {
box-sizing: border-box; /* Évite que les marges et paddings dépassent */
}
body {
width: 100%;
background-color: #ff7300;
padding: 0;
color: #ffffff;
font-family: 'Montserrat', sans-serif;
overflow-x: hidden; /* Évite tout débordement horizontal */
}
/* HEADER --------------------------------------------------------------------------*/
#back{
height: 50px;
margin-left: 30px;
}
.header {
background-color: #dc6300;
text-align: center;
border-radius: 20px;
width: 100%;
display: flex;
position: relative;
gap: 50px;
align-items: center;
margin-left: 20px;
margin-top: 30px;
margin-right:50px;
}
#titre {
color: #ffffff;
font-family: 'Playpen sans';
padding-left: 25px;
font-size: 50px;
}
#google_font_playpen {
width: 100px;
background-color: #ffffff;
border-radius: 50px;
padding: 10px;
transition: 0.3s;
}
#google_font_playpen:hover {
box-shadow: 5px 5px 5px black;
transition: 0.3s;
}
/* CONTENT ----------------------------------------------------------------------------------------*/
.content{
width:100%;
margin-left: 20px;
}
.playpen_bio{
margin-top:50px;
line-height: 1.5;
margin-right:50px;
}
.exemples_playpen{
margin-top: 50px;
height: 200px; /* Hauteur ajustable selon tes images */
overflow-x: auto; /* Scroll horizontal */
overflow-y: hidden; /* Empêche le scroll vertical */
white-space: nowrap; /* Les images restent sur une seule ligne */
display: flex; /* Permet d'aligner les images correctement */
gap: 10px; /* Espacement entre les images */
padding: 10px;
background-color: #dc6300;
border-radius: 10px;
margin-right:50px;
}
.exemples_playpen img {
border-radius: 20px;
}
/* LOOK OF THE SCROLLING BAR --------------------------------------------------------*/
.exemples_playpen::-webkit-scrollbar {
height: 10px; /* Épaisseur de la barre */
}
.exemples_playpen::-webkit-scrollbar-track {
background: #ff8a2b; /* Couleur du fond */
border-radius: 10px;
}
.exemples_playpen::-webkit-scrollbar-thumb {
background: white; /* Couleur du curseur */
border-radius: 10px;
}
.exemples_playpen::-webkit-scrollbar-thumb:hover {
background: #a84600; /* Couleur au survol */
}
/* AUTHOR SECTION ------------------------------------------------------------------------*/
.author_section {
display: flex;
flex-direction: row;
width: 100%; /* Empêche le débordement */
max-width: 100vw; /* Limite la largeur pour éviter le scroll horizontal */
text-decoration: none;
padding: 20px;
gap: 20px;
justify-content: space-between; /* Répartit l'espace */
align-items: center;
box-sizing: border-box; /* Évite que padding élargisse l'élément */
margin-top: 50px;
overflow-x: hidden; /* (Facultatif) Prévient le débordement */
}
.pic_and_bio_section{
display: flex;
flex-direction: column;
width: 35%;
}
#author_pic {
width: 100%;
border-radius: 20px;
object-fit: cover; /* Évite la déformation */
}
#author_text {
width: 100%;
line-height: 1.5;
text-align: justify;
}
#author_bio {
text-decoration: none;
color: #ffffff;
transition: 0.3s;
border-radius: 20px;
padding: 3px;
}
#author_bio:hover {
color: #ff7300;
background-color: #ffffff;
transition: 0.3s;
border-radius: 20px;
padding: 3px;
}
#playpen_video{
width: 65%;
margin-right: 30px;
}
/*MEDI ADAPTATION ------------------------------------------------------------------------------*/
@media (max-width: 768px) {
.author_section {
flex-direction: column; /* Empile les éléments en mobile */
align-items: center;
text-align: center;
}
.author_pic, #author_text, #playpen_video {
width: 100%; /* Prend toute la largeur en mobile */
max-width: 90%; /* Empêche que ça devienne trop large */
}
.pic_and_bio_section{
display: flex;
flex-direction: column;
width: 100%;
}
}
</style>