forked from ironhack-labs/lab-html-exercise
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
202 lines (194 loc) · 3.41 KB
/
styles.css
File metadata and controls
202 lines (194 loc) · 3.41 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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
@import url("https://fonts.googleapis.com/css?family=Poppins");
body {
font-family: "Poppins", sans-serif;
}
#top {
padding: 18px 25px;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid lightgray;
}
nav {
width: 600px;
}
nav ul {
list-style: none;
display: flex;
justify-content: space-between;
align-items: center;
}
nav a {
text-decoration: none;
color: black;
}
.blackHeart {
width: 20px;
margin-right: 1rem;
}
#search {
display: flex;
justify-content: space-between;
align-items: center;
padding: 18px 25px;
}
.search-form {
width: 90%;
background-color: rgba(0, 0, 0, 0.05);
margin-left: 10px;
margin-right: 10px;
height: 49px;
}
.search-form form {
width: 100%;
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: space-between;
align-items: center;
align-content: center;
}
.search-form input[type="text"] {
flex-grow: 1;
border: none;
color: rgba(0, 0, 0, 0.5);
background: #f2f2f2;
font-family: "Poppins", sans-serif;
}
.search-form input[type="button"] {
font-family: "Poppins", sans-serif;
background: #fb3e44;
border: none;
padding: 14px;
color: #ffffff;
}
.npm-logo {
width: 70px;
height: 22px;
}
.search-glass {
width: 18px;
height: 18px;
padding-right: 8px;
padding-left: 8px;
}
.auth {
display: flex;
}
.auth a:first-child {
border: 1px solid #f2f2f2;
}
.auth a {
display: flex;
width: 110px;
height: 49px;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
align-items: center;
align-content: stretch;
text-decoration: none;
color: rgba(0, 0, 0, 0.85);
}
/* Hero section */
#hero {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
height: 600px;
background: rgba(232, 217, 217, 0.3);
}
h1 {
font-size: 4.3rem;
font-weight: 900;
margin-bottom: 20px;
}
#hero article {
width: 450px;
font-size: 1.1em;
line-height: 1.7em;
text-align: center;
}
.hero-links {
margin-top: 50px;
}
.hero-links a {
padding: 15px 30px;
text-decoration: none;
color: #000000;
}
a.plans-link {
background: #fb3b49;
box-shadow: 8px 8px 0 rgba(251, 59, 73, 0.2);
color: #ffffff;
margin-right: 15px;
}
/* Hexagon section */
#hexagon {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
height: 600px;
}
.hexagon-img {
width: 300px;
margin-bottom: 30px;
}
h2 {
background-color: rgba(255, 204, 53, 0.4);
transform: skew(9deg, 0deg);
font-style: italic;
font-size: 2rem;
font-weight: 900;
}
#hexagon article {
margin-top: 30px;
width: 600px;
text-align: center;
line-height: 1.5em;
font-size: 1em;
}
/* Features section */
.container {
display: flex;
justify-content: space-evenly;
}
.feature-ctn {
width: 300px;
}
.feature-ctn > img {
width: 38px;
}
.feature-ctn h3 {
color: #ed1c24;
font-weight: normal;
padding: 15px 0;
font-size: 1.3em;
}
.feature-ctn p {
font: size 1em;
line-height: 1.4em;
}
.create-org-btn {
margin-top: 50px;
margin-bottom: 50px;
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: center;
align-items: center;
align-content: stretch;
}
.create-org-btn a {
display: inline-block;
padding: 30px;
text-align: center;
width: 420px;
background-color: #000000;
color: #ffffff;
text-decoration: none;
font-weight: 600;
box-shadow: 8px 8px 0 rgba(128, 83, 35, 0.2);
}