-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
139 lines (115 loc) · 2.33 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
body {
/* Location of the image */
background-image: url(background.jpg);
/* Image is centered vertically and horizontally at all times */
background-position: center center;
/* Image doesn't repeat */
background-repeat: no-repeat;
/* Makes the image fixed in the viewport so that it doesn't move when
the content height is greater than the image height */
background-attachment: fixed;
/* This is what makes the background image rescale based on its container's size */
background-size: cover;
/* Pick a solid background color that will be displayed while the background image is loading */
background-color:#464646;
/* SHORTHAND CSS NOTATION
* background: url(background-photo.jpg) center center cover no-repeat fixed;
*/
}
html, body, .container {
height: 100%;
}
/* Reset */
html, body, h1, p, a, div, section {
margin: 0;
padding: 0;
font-size: 100%;
font: inherit;
}
/* Basic */
body {
font: 18px/23px "Lato", sans-serif;
color: #ffffff;
overflow: hidden;
}
h1 {
color: #ffffff;
text-transform: uppercase;
font-size: 70px;
line-height: 70px;
font-weight: 400;
margin-top: 20px;
}
a {
color: #ffffff;
font-weight: bold;
text-decoration: none;
}
a.twitter {
color: #1dcaff;
text-shadow: none;
}
a.youtube {
color: #ea1920;
text-shadow: none;
}
p {
margin: 0 0 15px 0;
}
strong {
font-weight: 700;
}
.container {
display: table;
padding-top: 80px;
width: 100%;
}
.content {
display: table-cell;
vertical-align: middle;
text-align: center;
text-shadow: 1px 1px 5px black;
}
/* Special */
.sub-title {
margin: 30px auto;
font-size: 35px;
line-height: 35px;
text-transform: uppercase;
margin-top: 5px;
}
.sub-title span {
font-size: 18px;
line-height: 1px;
text-transform: initial;
}
.button {
display: inline-block;
padding: 6px 10px;
color: #cafaea;
border: 1px solid #cafaea;
border-radius: 3px;
font-weight: 700;
line-height: normal;
text-decoration: none;
text-align: center;
text-transform: uppercase;
}
/* For mobile devices */
@media only screen and (max-width: 967px) {
.sub-title {
font-size: 20px;
}
.sub-title span {
font-size: 17px;
line-height: 1px;
text-transform: capitalize;
}
}
.newsletter {
overflow: hidden;
width: 400px;
margin: 0 auto;
position: relative;
border-radius: 5px;
}