-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
221 lines (186 loc) · 3.77 KB
/
style.css
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
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
/* OVERALL STYLES */
:root {
--color-grey-light: #868d9b;
--color-grey: #707070;
--color-grey-dark: #1f2024;
--color-offwhite: #f1f1f1;
--color-orange: #fb523e;
--color-blue: #0d577e;
--color-blue-dark: #0B4260;
}
::selection {
background: var(--color-grey-light);
}
::-moz-selection {
background: var(--color-grey-light);
}
body {
background-color: var(--color-offwhite);
margin: 0;
padding: 0;
}
h1 {
font-family: DM Sans, sans-serif;
font-weight: 700;
letter-spacing: -2px;
font-size: 70px;
line-height: 60px;
color: var(--color-grey-dark);
}
a {
cursor: pointer;
text-decoration: none;
}
/* Main nav */
.myNav {
width: 100%;
padding: 20px 0px;
background-color: var(--color-blue);
}
.myNav ul {
width: 50%;
padding: 0px;
margin: 0px;
display: flex;
flex-wrap: wrap;
justify-content: space-around;
list-style: none;
font-family: sans-serif;
}
.myNav li a {
color: var(--color-offwhite);
font-family: DM Sans, sans-serif;
}
.myNav li a:hover {
color: var(--color-orange);
}
/* Business cards */
#main_card_container {
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
margin: 40px auto;
max-width: 1000px;
}
.business_card_container {
padding: 30px;
width: 40%;
margin: 10px 0px;
border-radius: 10px;
background-color: #fff;
box-shadow: 4px 4px 4px #eee;
transition: 0.7s;
}
.business_card_container:hover {
transform: translateY(-3px);
transition: 0.7s;
box-shadow: 4px 4px 4px #ddd;
}
@media only screen and (max-width: 1000px) {
.business_card_container {
width: 40%;
}
}
@media only screen and (max-width: 600px) {
.business_card_container {
width: 70%;
}
}
.business_card_container img {
width: 70px;
}
.business_card_container h2 {
font-family: DM Sans, Helvetica, sans-serif;
font-weight: 700;
font-size: 34px;
line-height: 34px;
letter-spacing: -2px;
}
.business_card_container .business_card_category {
font-size: 16px;
color: #6a6a6a;
font-family: Cousine, monospace;
letter-spacing: 1px;
text-transform: uppercase;
font-weight: 700;
margin-bottom: 40px;
}
/* Business card links */
.business_card_links_container {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
flex-direction: column;
margin: 0;
padding: 0;
}
.business_card_links_item {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
align-items: center;
margin: 0;
padding: 10px 0px;;
}
.business_card_links_item img {
padding: 0px 10px 0px 0px;
width: 30px;
height: 30px;
}
.business_card_links_item a {
font-size: 16px;
color: var(--color-grey);
border-left: 2px solid #cecece;
padding-left: 14px;
font-family: DM Sans, sans-serif;
font-weight: 500;
}
.business_card_links_item a:hover {
color: var(--color-orange);
}
/* Tags */
.business_card_tags {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
}
.business_card_tags li p {
font-size: 14px;
color: var(--color-blue);
border-bottom: 2px dashed var(--color-blue);
font-family: Cousine, monospace;
letter-spacing: 1px;
text-transform: uppercase;
font-weight: 700;
text-decoration: none;
}
.business_card_tags li:nth-child(2) {
padding-left: 20px;
}
.business_card_tags li p:hover {
border-bottom: 2px solid #0d577e;
}
/* Filter buttons */
#filter_buttons {
margin: 20px;
}
#filter_buttons button {
border: none;
background-color: var(--color-blue);
color: var(--color-offwhite);
font-size: 14px;
padding: 10px 20px;
margin: 0px 20px;
cursor: pointer;
}
#filter_buttons button:hover {
background-color: var(--color-blue-dark);
}
/* Footer */
.footer_text {
padding: 30px;
font-family: DM Sans, sans-serif;
}