-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheight-menu2.html
111 lines (107 loc) · 3.18 KB
/
eight-menu2.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
<!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">
<!--Esto viene de google fonts-->
<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=Quicksand:wght@300;500;700&display=swap" rel="stylesheet">
<!--Ver la linea __ de estilos, body para agregar esa fuente al html-->
<title>Document</title>
<style>
:root { /*Esto dice que van a haber variables en css*/
--black: #000000;
--white:#FFFFFF;
--very-light-pink:#C7C7C7;
--text-input-field:#f7f7f7;
--hospital-green:#ACD9B2;
--lg:18px; /*tamaño de letras*/
--md:16px;
--sm:14px;
/*Estas variables ya están predeterminadas por los standars del proyecto*/
}
body {
font-family: 'Quicksand', sans-serif;
margin: 0px;
}
.mobile-menu {
padding: 24px;
display: flex;
flex-direction: column;
justify-content: space-between;
height: 95vh;
}
.mobile-menu a {
color: var(--black);
text-decoration: none;
font-weight: bold;
/*Cuando NO podemos darle un bottom desde un selector
tipo line, intenta ver su padre, tal vez desde ahí podamos ponerle propiedades block*/
}
.mobile-menu ul {
list-style: none;
margin: 40px 0px 0px 0px;
padding: 0px;
}
.mobile-menu ul:nth-child(1) {
border-bottom: 1px solid var(--very-light-pink);
}
.mobile-menu ul li {
margin-bottom: 20px; /*Para hacer que los a tengan bottom*/
}
.email {
font-size: var(--sm);
font-weight: 300 !important;
}
.sign-out {
color: var(--hospital-green) !important;
font-size: var(--sm);
}
</style>
</head>
<body>
<div class="mobile-menu">
<ul>
<li>
<a href="/">CATEGORIES</a>
</li>
<li>
<a href="/">All</a>
</li>
<li>
<a href="/">Clothes</a>
</li>
<li>
<a href="/">Electronics</a>
</li>
<li>
<a href="/">Furnitures</a>
</li>
<li>
<a href="/">Toys</a>
</li>
<li>
<a href="/">Others</a>
</li>
</ul>
<ul>
<li>
<a href="/">My orders</a>
</li>
<li>
<a href="/">My account</a>
</li>
</ul>
<ul>
<li>
<a href="/" class="email">[email protected]</a>
</li>
<li>
<a href="/" class="sign-out">Sign out</a>
</li>
</ul>
</div>
</body>
</html>