-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinput.html
183 lines (172 loc) · 9.77 KB
/
input.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
<body class="bg-white flex justify-center items-center min-h-screen px-4
before:bg-[url('https://images.pexels.com/photos/139366/pexels-photo-139366.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1')]
before:inset-0
before:m-auto
before:fixed
before:opacity-30
before:bg-cover
before:bg-center
before:-z-10
">
<main class=" text-gray-400 font-thin w-full max-w-sm sm:max-w-4xl grid sm:grid-cols-[4fr_1fr] ">
<!-- boarding pass -->
<div class="py-6 px-6 sm:px-10 space-y-6 sm:space-y-12 relative ">
<section class="w-full grid grid-cols-3 gap-x-4 sm:px-8 isolate overflow-hidden
[&>*]:grid
[&>*]:place-content-center
[&_h2]:text-4xl
[&_h2]:bg-cyan-50
sm:[&_h2]:text-6xl
[&_h2]:font-bold
[&_h2]:z-10
[&_h2]:text-cyan-400
[&_h2]:uppercase
[&_div]:relative
[&_div]:flex
[&_div]:items-center
[&_div]:gap-2
before:[&_div]:absolute
before:[&_div]:w-full
before:[&_div]:h-px
before:[&_div]:-z-20
before:[&_div]:bg-gray-300
[&_span]:text-4xl
[&_span]:rotate-90
[&>p]:text-gray-400
[&>p]:font-thin
">
<h2 class="animate-in" style="--d:500ms">LDN</h2>
<div><span id="plane-1" style="--d:2000ms" class="material-symbols-outlined bg-cyan-50 px-4 -z-10">flight</span></div>
<h2 class="animate-in" style="--d:1000ms">BER</h2>
<p class="animate-in" style="--d:500ms">London Heathrow</p>
<span></span>
<p class="animate-in" style="--d:1000ms">
Berlin Brandenburg</p>
</section>
<section class="grid grid-cols-2 sm:grid-cols-4 gap-4 py-3 px-6 bg-cyan-100 font-thin whitespace-nowrap text-sm sm:text-base
[&>*]:border-X
[&_time]:font-bold
[&_time]:text-cyan-400
">
<div class="animate-in-X" style="--d:1200ms">
<h3>Departure</h3>
<time>16:25 (GMT + 0)</time>
</div>
<div class="animate-in-X" style="--d:1500ms">
<h3>Arrival</h3>
<time>19:30 (GMT + 1)</time>
</div>
<div class="animate-in-X" style="--d:1800ms">
<h3>Seat</h3>
<time>54B</time>
</div>
<div class="animate-in-X" style="--d:2100ms">
<h3>Ticket No.</h3>
<time>FF346Y</time>
</div>
</section>
<p class="text-xs"><strong>ENG </strong>Passport Check and Border Control one hour prior to flight.</p><p class="text-xs"> <strong> GER </strong>Passkontrolle und Grenzkontrolle eine Stunde vor Abflug.</p>
</div>
<!-- stub -->
<div class="grid place-content-center p-0">
<div class="py-6 sm:py-0 sm:-rotate-90 w-full grid place-content-center gap-4 ">
<section class="w-full grid grid-cols-3 gap-x-2 px-4
[&>*]:grid
[&>*]:place-content-center
[&_h2]:text-3xl
[&_h2]:font-bold
[&_h2]:text-cyan-400
[&_h2]:uppercase
[&_div]:relative
[&_div]:flex
[&_div]:items-center
[&_div]:gap-2
before:[&_div]:block
before:[&_div]:w-full
before:[&_div]:h-px
before:[&_div]:bg-gray-300
after:[&_div]:block
after:[&_div]:w-full
after:[&_div]:h-px
after:[&_div]:bg-gray-300
[&_span]:text-2xl
[&_span]:rotate-90
[&>p]:text-gray-400
[&>p]:font-thin
[&>p]:text-xs
">
<h2>LDN</h2>
<div><span class="material-symbols-outlined">flight</span></div>
<h2>BER</h2>
<p>London Heathrow</p>
<span></span>
<p>
Berlin Brandenburg</p>
</section>
<section class="flex justify-between gap-4 font-thin text-xs sm:text-sm whitespace-nowrap
[&>div]:text-center
[&_time]:font-bold
[&_time]:text-cyan-400
">
<div>
<h3>Departure</h3>
<time>16:25</time>
</div>
<div>
<h3>Arrival</h3>
<time>19:30</time>
</div>
<div>
<h3>Seat</h3>
<time>54B</time>
</div>
<div>
<h3>Ticket No.</h3>
<time>FF346Y</time>
</div>
</section>
<!-- bar code -->
<svg class="max-w-xs w-60" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 92 25" stroke="#164E63">
<line fill="none" style="stroke-width:1;" x1="0.5" y1="0" x2="0.5" y2="30" />
<line fill="none" style="stroke-width:2;" x1="3" y1="0" x2="3" y2="30" />
<line fill="none" style="stroke-width:1;" x1="6.5" y1="0" x2="6.5" y2="30" />
<line fill="none" style="stroke-width:1;" x1="9.5" y1="0" x2="9.5" y2="30" />
<line fill="none" style="stroke-width:1;" x1="11.5" y1="0" x2="11.5" y2="30" />
<line fill="none" style="stroke-width:2;" x1="14" y1="0" x2="14" y2="30" />
<line fill="none" style="stroke-width:1;" x1="16.5" y1="0" x2="16.5" y2="30" />
<line fill="none" style="stroke-width:1;" x1="19.5" y1="0" x2="19.5" y2="30" />
<line fill="none" style="stroke-width:1;" x1="21.5" y1="0" x2="21.5" y2="30" />
<line fill="none" style="stroke-width:1;" x1="23.5" y1="0" x2="23.5" y2="30" />
<line fill="none" style="stroke-width:1;" x1="26.5" y1="0" x2="26.5" y2="30" />
<line fill="none" style="stroke-width:2;" x1="29" y1="0" x2="29" y2="30" />
<line fill="none" style="stroke-width:1;" x1="31.5" y1="0" x2="31.5" y2="30" />
<line fill="none" style="stroke-width:2;" x1="35" y1="0" x2="35" y2="30" />
<line fill="none" style="stroke-width:1;" x1="37.5" y1="0" x2="37.5" y2="30" />
<line fill="none" style="stroke-width:1;" x1="39.5" y1="0" x2="39.5" y2="30" />
<line fill="none" style="stroke-width:2;" x1="42" y1="0" x2="42" y2="30" />
<line fill="none" style="stroke-width:1;" x1="44.5" y1="0" x2="44.5" y2="30" />
<line fill="none" style="stroke-width:1;" x1="47.5" y1="0" x2="47.5" y2="30" />
<line fill="none" style="stroke-width:1;" x1="49.5" y1="0" x2="49.5" y2="30" />
<line fill="none" style="stroke-width:1;" x1="51.5" y1="0" x2="51.5" y2="30" />
<line fill="none" style="stroke-width:1;" x1="54.5" y1="0" x2="54.5" y2="30" />
<line fill="none" style="stroke-width:2;" x1="57" y1="0" x2="57" y2="30" />
<line fill="none" style="stroke-width:1;" x1="59.5" y1="0" x2="59.5" y2="30" />
<line fill="none" style="stroke-width:1;" x1="61.5" y1="0" x2="61.5" y2="30" />
<line fill="none" style="stroke-width:1;" x1="64.5" y1="0" x2="64.5" y2="30" />
<line fill="none" style="stroke-width:2;" x1="67" y1="0" x2="67" y2="30" />
<line fill="none" style="stroke-width:1;" x1="69.5" y1="0" x2="69.5" y2="30" />
<line fill="none" style="stroke-width:1;" x1="71.5" y1="0" x2="71.5" y2="30" />
<line fill="none" style="stroke-width:2;" x1="75" y1="0" x2="75" y2="30" />
<line fill="none" style="stroke-width:1;" x1="77.5" y1="0" x2="77.5" y2="30" />
<line fill="none" style="stroke-width:1;" x1="79.5" y1="0" x2="79.5" y2="30" />
<line fill="none" style="stroke-width:1;" x1="81.5" y1="0" x2="81.5" y2="30" />
<line fill="none" style="stroke-width:1;" x1="83.5" y1="0" x2="83.5" y2="30" />
<line fill="none" style="stroke-width:2;" x1="87" y1="0" x2="87" y2="30" />
<line fill="none" style="stroke-width:1;" x1="90.5" y1="0" x2="90.5" y2="30" />
</svg>
</div>
</div>
</main>
<link rel="stylesheet" href="style.css">
</body>