-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
141 lines (120 loc) · 1.97 KB
/
styles.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Open Sans", sans-serif;
}
body {
padding: 0 2em;
}
header {
text-align: center;
margin: 2em 0;
}
header h1 {
margin: 1em 0;
}
header img {
max-width: 50%;
}
header a {
color: #C32884;
}
h2 {
text-align: center;
}
.masonry {
margin: 1.5em 0;
padding: 0;
-moz-column-gap: 1.5em;
-webkit-column-gap: 1.5em;
column-gap: 1.5em;
font-size: .85em;
}
.item {
display: inline-block;
background: #fff;
padding: 1em;
margin: 0 0 1.5em;
width: 100%;
border: 1px solid lightgrey;
border-radius: 5px;
}
.quotes .item {
background: linear-gradient(to left top, #C32884, #633B93);
color: white;
border: none;
}
.stats .item {
background: linear-gradient(to left top, #E69138, rgb(204, 111, 19));
color: white;
border: none;
}
.stats .item h2 {
font-size: 1em;
}
.item img {
width: 100%;
border-radius: 4px;
margin-bottom: 0.5em;
}
.partners .item {
padding: 0;
border: none;
}
.partners .item img {
margin-bottom: 0;
}
.item a {
text-decoration: none;
color: black;
}
a.press {
margin-top: 1em;
display: inline-block;
background: #C32884;
color: white;
padding: 0.5em 2em;
text-decoration: none;
border-radius: 5px;
}
@media only screen and (max-width: 700px) {
header img {
max-width: 75%;
}
header h1,
h2.quote {
font-size: 1.25em;
}
}
@media only screen and (min-width: 400px) {
.masonry {
-moz-column-count: 1;
-webkit-column-count: 1;
column-count: 1;
}
}
@media only screen and (min-width: 600px) {
.masonry {
-moz-column-count: 2;
-webkit-column-count: 2;
column-count: 2;
}
}
@media only screen and (min-width: 700px) {
.masonry {
-moz-column-count: 3;
-webkit-column-count: 3;
column-count: 3;
}
.masonry.partners {
-moz-column-count: 5;
-webkit-column-count: 5;
column-count: 5;
}
}
@media only screen and (min-width: 1280px) {
.wrapper {
width: 1260px;
}
}