-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdesign-system.html
157 lines (146 loc) · 8.07 KB
/
design-system.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
<!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">
<meta name="author" content="Travolgi">
<link rel="icon" href="https://travolgi.it/favicon.ico" />
<title>Design System - Space tourism Grid layout & Vanilla Js</title>
<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=Barlow+Condensed:wght@400;700&family=Bellefair&family=Barlow:wght@400;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./css/style.css">
</head>
<body class="design-system fadein">
<a href="#main" class="skip-to-content">Skip to content</a>
<header>
<div class="container design-system-header">
<img src="./img/logo.svg" alt="Space tourism logo">
<h1 class="txt-accent fs-400 ff-sans-cond uppercase ls-1">Design System</h1>
</div>
</header>
<main>
<div class="container flow">
<section id="colors" class="mt-5 mb-5 flow">
<h2 class="numb-title"><span aria-hidden="true">01</span> Colors</h2>
<div class="flex">
<div class="flow flex-grow-1">
<div class="bg-dark txt-white box-design-system">#0B0D17</div>
<p><span class="txt-accent">RGB</span> 11, 13, 23
<br><span class="txt-accent">HSL</span> 230°, 35%, 7%</p>
</div>
<div class="flow flex-grow-1">
<div class="bg-accent txt-dark box-design-system">#D0D6F9</div>
<p><span class="txt-accent">RGB</span> 208, 214, 249
<br><span class="txt-accent">HSL</span> 231, 77%, 90%</p>
</div>
<div class="flow flex-grow-1">
<div class="bg-white txt-dark box-design-system">#FFFFFF</div>
<p><span class="txt-accent">RGB</span> 255, 255, 255
<br><span class="txt-accent">HSL</span> 0°, 0%, 100%</p>
</div>
</div>
</section>
<section id="typography" class="flow mb-5">
<h2 class="numb-title"><span aria-hidden="true">02</span> Typography</h2>
<div class="flex">
<div class="flow flex-basis-100" style="--flow-space: 4rem;">
<div>
<p class="txt-accent">Heading 1 - Bellefair Regular - 150px</p>
<p class="fs-900 ff-serif uppercase">Earth</p>
</div>
<div>
<p class="txt-accent">Heading 2 - Bellefair Regular - 100px</p>
<p class="fs-800 ff-serif uppercase">Venus</p>
</div>
<div>
<p class="txt-accent">Heading 3 - Bellefair Regular - 56px</p>
<p class="fs-700 ff-serif uppercase">Jupiter & Saturn</p>
</div>
<div>
<p class="txt-accent">Heading 4 - Bellefair Regular - 32px</p>
<p class="fs-600 ff-serif uppercase">Uranus, Neptune, & Pluto</p>
</div>
<div>
<p class="txt-accent">Heading 5 - Barlow Condensed Regular - 28px - 4.75 Character Space</p>
<p class="txt-accent fs-500 ff-sans-cond uppercase ls-1">So, you want to travel to space</p>
</div>
</div>
<div class="flow flex-basis-100">
<div>
<p class="txt-accent">Subheading 1 - Bellefair Regular - 28px</p>
<p class="fs-500 ff-serif uppercase">384,400 km</p>
</div>
<div>
<p class="txt-accent">Subheading 2 - Barlow Condensed Regular - 14px - 2.35 Character Space</p>
<p class="fs-200 uppercase ff-sans-cond ls-3">Avg. Distance</p>
</div>
<div>
<p class="txt-accent">Nav Text - Barlow Condensed Regular - 16px - 2.7 Character Space</p>
<p class="fs-300 uppercase ff-sans-cond ls-2">Europa</p>
</div>
<div>
<p class="txt-accent">Body Text</p>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Phasellus hendrerit. Pellentesque aliquet nibh nec urna. In nisi neque, aliquet vel, dapibus id, mattis vel, nisi. Sed pretium, ligula sollicitudin laoreet viverra, tortor libero sodales leo, eget blandit nunc tortor eu nibh. Nullam mollis. Ut justo. Suspendisse potenti.Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Phasellus hendrerit. Pellentesque aliquet nibh nec urna. In nisi neque, aliquet vel, dapibus id, mattis vel, nisi. Sed pretium, ligula sollicitudin laoreet viverra, tortor libero sodales leo, eget blandit nunc tortor eu nibh. Nullam mollis. Ut justo. Suspendisse potenti.Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Phasellus hendrerit. Pellentesque aliquet nibh nec urna. In nisi neque, aliquet vel, dapibus id, mattis vel, nisi. </p>
</div>
</div>
</div>
</section>
<section id="interactive-elements" class="mt-5 mb-5">
<h2 class="numb-title"><span aria-hidden="true">03</span> Interactive elements</h2>
<!-- navigation -->
<div>
<nav>
<ul class="flex primary-nav underline-indicators">
<li class="active">
<a href="#" class="uppercase txt-white ls-2">
<span aria-hidden="true">00</span>Active
</a>
</li>
<li>
<a href="#" class="uppercase txt-white ls-2">
<span aria-hidden="true">01</span>Hovered
</a>
</li>
<li>
<a href="#" class="uppercase txt-white ls-2">
<span aria-hidden="true">02</span>Idle
</a>
</li>
</ul>
</nav>
</div>
<div class="flex space-around">
<div class="mt-5">
<a href="#" class="btn-lg uppercase txt-dark bg-white ff-serif fs-600">Explore</a>
</div>
<div class="flow mb-50vh" style="--flow-space: 4rem;">
<!-- tabs -->
<div class="flex underline-indicators tab-list">
<button aria-selected="true" class="uppercase txt-accent ff-sans-cond ls-2">Moon</button>
<button aria-selected="false" class="uppercase txt-accent ff-sans-cond ls-2">Mars</button>
<button aria-selected="false" class="uppercase txt-accent ff-sans-cond ls-2">Europa</button>
</div>
<!-- dots -->
<div class="flex dot-indicators">
<button aria-selected="true"><span class="sr-only">Slide name</span></button>
<button aria-selected="false"><span class="sr-only">Slide name</span></button>
<button aria-selected="false"><span class="sr-only">Slide name</span></button>
</div>
<!-- numbers -->
<div class="numb-indicators" style="flex-direction: column">
<button aria-selected="true" class="uppercase txt-white ff-serif fs-600">1</button>
<button aria-selected="false" class="uppercase txt-white ff-serif fs-600">2</button>
<button aria-selected="false" class="uppercase txt-white ff-serif fs-600">3</button>
</div>
</div>
</div>
</section>
</div>
</main>
<div class="attribution">
<p>Developed by <a href="https://travolgi.it">Travolgi</a></p>
</div>
</body>
</html>