-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
83 lines (72 loc) · 1.32 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
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: Arial;
font-size: 16px;
line-height: normal;
font-weight: 400;
}
.hero {
width: 100%;
min-height: 100vh;
}
.wrapper {
max-width: 1024px;
margin: 0 auto;
}
.list {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin: 100px 0;
}
.list__caption {
width: calc(25% - 40px);
margin: 0 20px;
list-style-type: none;
font-weight: bold;
color: #0747a6;
}
.list__cell {
width: calc(25% - 40px);
margin: 0 auto;
min-height: 150px;
list-style-type: none;
box-shadow: 0px 0px 7px 5px rgba(0, 0, 0, 0.2);
background-color: #f0f2f5;
overflow: hidden;
}
.list__card {
display: flex;
flex-wrap: wrap;
flex-direction: column;
text-align: center;
min-height: 100%;
cursor: all-scroll;
}
.list__card-header {
font-weight: bold;
padding: 12px 20px;
background-color: #0747a6;
color: white;
}
.list__card-info {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
flex-grow: 1;
padding: 12px 20px;
text-transform: uppercase;
font-weight: 600;
font-size: 14px;
}
.hide {
display: none;
}
.hovered {
background-color: #d1d8e2;
}