forked from ironhack-labs/lab-html-exercise
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
129 lines (111 loc) · 1.93 KB
/
Copy pathstyle.css
File metadata and controls
129 lines (111 loc) · 1.93 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
@import url('https://fonts.googleapis.com/css?family=Poppins');
body {
font-family: 'Poppins', sans-serif;
}
header > div {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 25px;
border-bottom: 1px solid lightgray;
}
img[src="./images/black-heart.png"] {
width: 20px;
}
img[src="./images/npm-logo.png"] {
width: 70px;
}
nav ul {
display: flex;
list-style: none;
gap: 20px;
}
header > div > div {
display: flex;
align-items: center;
gap: 10px;
}
header > div:nth-child(2) {
display: flex;
align-items: center;
gap: 20px;
}
#hero {
height: 600px;
background-color: rgba(232, 217, 217, 0.3);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
}
#hero div {
display: flex;
gap: 20px;
margin-top: 20px;
}
#hero a {
text-decoration: none;
padding: 12px 30px;
font-weight: bold;
}
#hero a:first-child {
background-color: #FB3B49;
color: white;
box-shadow: 8px 8px 0 rgba(251, 59, 73, 0.2);
}
#hero a:last-child {
color: black;
}
#intro {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
padding: 80px 20px;
}
#intro img {
width: 200px;
margin-bottom: 40px;
}
#intro h2 {
background-color: rgba(255, 204, 53, 0.4);
padding: 5px 15px;
font-style: italic;
transform: skew(9deg, 0deg);
margin-bottom: 20px;
}
#intro p {
max-width: 700px;
}
#features {
display: flex;
justify-content: space-between;
gap: 30px;
padding: 80px 50px;
text-align: center;
}
#features div {
flex: 1;
}
#features img {
width: 40px;
margin-bottom: 20px;
}
#features h3 {
color: #ED1C24;
margin-bottom: 15px;
}
#features p {
font-size: 14px;
}
/* botón final */
#features a {
display: inline-block;
margin-top: 40px;
padding: 15px 40px;
background-color: black;
color: white;
text-decoration: none;
box-shadow: 8px 8px 0 rgba(128, 83, 35, 0.2);
}