-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
97 lines (93 loc) · 1.98 KB
/
styles.css
File metadata and controls
97 lines (93 loc) · 1.98 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
/*
1. posicionamiento
2. modelo de caja (box model)
3. tipografia
4. visuales
5. otros
*/
:root{
/* colores */
--bitcoin-orange: #f7931a;
--soft-orange: #ffe9d5;
--secondary-blue: #1a9af7;
--soft-blue: #e7f5ff;
--warm-black: #282623;
--black: #201e1c;
--grey: #bababa;
--off-white: #faf8f7;
--just-white: #fff;
}
*{
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
font-size: 62.5%; /*medida relativa para 10px por defecto para hacer zoom se puede usar*/
font-family: 'DM Sans', sans-serif;
}
header{
background: linear-gradient(207.8deg, #201E1C 16.69%, #F7931A 100%);;
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
width: 100%;
min-width: 320px;
height: 334px;
text-align: center;
}
header img {
width: 150px;
height: 24px;
margin-top: 60px;
align-self: center;
}
.header--title-container{
width: 90%;
min-width: 288px;
max-width: 900px;
height: 218px;
margin-top: 40px;
text-align: center;
align-self: center;
}
.header--title-container h1 {
font-size: 2.4rem;
font-weight: bold;
line-height: 2.6rem; /*salto de linea 26px*/
color:var(--just-white);
}
.header--title-container p {
margin-top: 25px;
font-size: 1.4rem;
line-height: 1.8rem;
font-weight: 500;
color: var(--soft-orange);
}
.header--title-container .header--button{
position: absolute;/*para usar top bottom right*/
top: 270px;
left: calc(50% - 118px);
display: block;
margin-top: 35px;
padding: 15px;
width: 229px;
height: 48px;
background-color: var(--off-white);
/* sombra */
box-shadow: 0px 4px 8px rgba(89, 73, 30, 0.16);
font-size: 1.4rem;
font-weight: bold;
text-decoration: none;
color: var(--black);
border: none;
border-radius: 5px;
}
.header--button span {
display: inline-block;
width: 13px;
height: 8px;
margin-left: 10px;
background-image: url('./assets/icons/down-arrow.svg');
}