-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
173 lines (149 loc) · 3.62 KB
/
style.css
File metadata and controls
173 lines (149 loc) · 3.62 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
body {
margin: 0;
padding: 0;
font-size: 13px;
font-family: Arial, Helvetica, sans-serif;
}
a {
text-decoration: none;
cursor: pointer;
}
header {
width: 100%;
height: 60px;
}
/*busca un etiqueta nav que esté dentro de una etiqueta header*/
header nav {
display: flex; /*para posicionar su contenido*/
justify-content: flex-end; /* justificar contenido, me lo mandes al centro o a cualquera de los dos extremos(en este caso due end porque va a mandarse todo al final)*/
}
/* aquí comodmos de forma horizontal*/
/*busca un header que dentro tenda una etiqueta nav y que tenga un clase nav-right-section*/
header nav .nav-right-section {
width: 250px;
height: auto; /*es auto porque su padre "header-> height" ya tinee una altura de 60px */
display: flex;
list-style: none; /*quita los estilo que trae por defecto la lista*/
justify-content: center;
align-items: center; /*alinea cad auno de los elementos*/
}
nav .nav-right-section a {
margin-right: 10px;
color: #000000;
}
nav .nav-right-section .menu-icon {
background-image: url("https://icon-library.com/images/tile-icon/tile-icon-21.jpg");
background-repeat: no-repeat; /*para qu no se repita la imagen*/
background-position: center;
background-size: contain; /*para que este del tamaño del contenedor*/
width: 20px;
height: 20px;
}
nav .nav-right-section img {
border-radius: 50%;
margin-left: 10px;
}
main {
margin-top: 150px;
text-align: center;
}
main .main-logo {
width: 530px;
margin: 0 auto;
margin-bottom: 35px;
}
main .main-logo img {
width: 300px;
height: 100;
}
main .main-input {
width: 530px;
margin: 0 auto;
margin-bottom: 35px;
}
main .main-input-container {
width: 525px;
border-radius: 100px;
border: 1px solid #dfe1e5;
display: flex;
justify-content: center;
align-items: center;
}
main .main-input input {
width: 450px;
height: 40px;
border: none;
outline: none;
}
main .main-input-container:hover {
box-shadow: 0 1px 6px 0 #20212447;
border-color: #dfe1e500;
}
main .main-input .search-icon {
background-image: url("https://img.icons8.com/android/24/000000/search.png");
background-repeat: no-repeat;
background-position: center;
background-size: contain;
width: 18px;
height: 18px;
}
main .main-input .micro-icon {
background-image: url("https://www.gstatic.com/images/branding/googlemic/2x/googlemic_color_24dp.png");
background-repeat: no-repeat;
background-position: center;
background-size: contain;
width: 18px;
height: 18px;
cursor: pointer;
}
main .main-buttons {
width: 530px;
margin: 0 auto;
}
main .main-buttons div {
display: inline-block;
}
main .main-buttons button {
height: 36px;
background-color: #f2f2f2;
border: 0;
font-size: 14px;
color: #5f6368;
border-radius: 5px;
padding: 0 15px;
margin-right: 15px;
}
main .main-buttons button:hover {
border: 1px solid #c6c6c6;
box-shadow: 0 1px 1px #a5a5b4;
color: #222;
cursor: pointer;
}
footer {
width: 100%;
height: 50px;
position: absolute;
bottom: 0;
display: grid;
grid-template-columns: 1fr 1fr;
align-items: center;
font-size: 13px;
background-color: #f2f2f2;
border-top: 1px solid #e4e4e4;
}
footer ul {
margin: 10px;
list-style: none;
display: flex;
padding-left: 0;
}
footer .footer-left {
justify-self: left; /* justify-self Todo ese elemento se tinee que ir a la izquierda*/
}
footer .footer-right {
justify-self: right;
}
footer ul li a {
margin: 10px;
color: #5f6368;
}