-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
136 lines (133 loc) · 2.47 KB
/
style.css
File metadata and controls
136 lines (133 loc) · 2.47 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
/******/
/*
/* CSS Variables
/*
/******/
:root {
--primary: #ff368b;
--secondary: #0098ac;
--tertiary: #f06d06;
--width: 25%;
--main-bg: #fff;
--main-type: #333;
--alt-bg: #f5f5f5;
}
@media (max-width: 960px) {
:root {
--width: 50%;
}
}
@media (max-width: 500px) {
:root {
--width:100%;
}
}
h2,
h3 {
font-family: 'Barlow Semi Condensed', sans-serif;
}
.main-header {
color: var(--main-type);
background-color: var(--alt-bg);
text-align: center;
padding: 15px 0 10px 0;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.title {
font-size: 1.8em;
font-family: 'Shrikhand', cursive;
}
.button {
text-decoration: none;
padding: 5px 10px;
color: var(--main-type);
background-color: var(--main-bg);
font-family: 'Barlow Semi Condensed', sans-serif;
font-weight: 600;
}
.main-footer {
clear: both;
padding: 20px;
text-align: center;
background-color: var(--alt-bg);
color: var(--main-type);
}
body {
margin: 0;
padding: 0;
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
font-weight: 300;
line-height: 1.4em;
background: var(--main-bg);
}
* {
transition: all 0.2s linear;
}
#container {
box-sizing: border-box;
max-width: 1400px;
margin: 0 auto;
padding: 20px 10px;
}
.box {
float: left;
width: calc(var(--width) - 40px);
margin: 20px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
background: var(--alt-bg);
color: var(--main-type);
}
.box img {
max-width: 100%;
}
.info {
margin-top: -5px;
padding: 10px;
}
.info a {
text-decoration: none;
padding: 5px;
border-radius: 2px;
color: #fff;
text-align: center;
display: block;
width: 100px;
margin: 0 auto;
font-family: 'Barlow Semi Condensed', sans-serif;
font-weight: 600;
text-transform: uppercase;
}
.info.primary {
border-top: 8px solid var(--primary);
}
.info.secondary {
border-top: 8px solid var(--secondary);
}
.info.tertiary {
border-top: 8px solid var(--tertiary);
}
a.primary {
background: var(--primary);
}
a.secondary {
background: var(--secondary);
}
a.tertiary {
background: var(--tertiary);
}
span.primary {
font-weight: 600;
color: var(--primary);
}
span.secondary {
font-weight: 600;
color: #333;
}
span.tertiary {
font-weight: 600;
color: #333;
}
h3 {
color: #333;
font-weight: 200;
}