-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
88 lines (73 loc) · 3.35 KB
/
index.html
File metadata and controls
88 lines (73 loc) · 3.35 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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="icon" type="image/svg+xml" href="./web.svg" />
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Stacks Layout</title>
<!-- Styles -->
<link rel="stylesheet" href="./src/stackscss/main.css">
<link rel="stylesheet" href="./page_styles/main.css">
<!-- Phosphor Icons -->
<link rel="stylesheet" href="./src/icons/Fonts/regular/style.css">
<link rel="stylesheet" href="./src/icons/Fonts/duotone/style.css">
<link rel="stylesheet" href="./src/icons/Fonts/fill/style.css">
<link rel="stylesheet" href="./src/icons/Fonts/light/style.css">
<link rel="stylesheet" href="./src/icons/Fonts/regular/style.css">
<link rel="stylesheet" href="./src/icons/Fonts/thin/style.css">
</head>
<body debug>
<div class="content vstack spacing-32 w-fill cross-center">
<div class="hstack w-fill cross-center" id="header">
<nav class="hstack spacing-16 w-fill p-16 ignore-resp">
<a class="text-slate-800 hstack align-center dist-center spacing-8" href="./">
<i class="ph-duotone ph-house"></i>
Home
</a>
<a class="text-slate-800 hstack spacing-8" href="./src/pages/vstack.html"> <i
class="ph-duotone ph-rows"></i> Vertical Stacks</a>
<a class="text-slate-800 hstack align-center dist-center spacing-8" href="./src/pages/hstack.html"> <i
class="ph-duotone ph-columns"></i>Horizontal Stacks</a>
</nav>
</div>
<section class="vstack spacing-4 w-fill">
<h1 class="text-center w-fill">Stacks</h1>
<p class="text-center">Vertical and Horizontal Stacks</p>
</section>
<h2>Use cases</h2>
<section class="vstack spacing-16 w-fill p-32 md:p-16 sm:p-8">
<h3>User profile</h3>
<div class="user-badge hstack spacing-16 p-8">
<div class="user-photo vstack h-fill cross-center">
<i class="ph ph-user"></i>
</div>
<div class="user-info vstack">
<p class="user-name" id="username-badge">John Doe</p>
<p class="user-profession">UX Designer</p>
</div>
</div>
<p>Using:</p>
<div class="vstack spacing-8 p-32 md:p-16 sm:p-2">
<h5>Estructura</h5>
<ol class="vstack spacing-16">
<li>
primer contenedor
<ul class="pl-32">
<li><code>hstack:</code> horizontal stack</li>
<li><code>spacing-8:</code> espacio de 8px entre objetos</li>
</ul>
</li>
<li>
contenedor de texto
<ul class="pl-32">
<li><code>vstack:</code> horizontal stack</li>
<li><code>w-fill:</code> espacio de 8px entre objetos</li>
<li><code>w-dist-center:</code> distuye los objetos al centro verticalmente</li>
</ul>
</li>
</ol>
</div>
</section>
</div>
</body>
</html>