-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcold_brew.css
More file actions
79 lines (62 loc) · 1.86 KB
/
cold_brew.css
File metadata and controls
79 lines (62 loc) · 1.86 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
/* @import url('http://example.com/example_style.css'); */
/***********************************************/
/* CSS @imports must be at the top of the file */
/* Add them above this section */
/***********************************************/
/****************************************/
/* HubSpot Style Boilerplate */
/****************************************/
/* These includes are optional, but helpful. */
{% include "hubspot/styles/responsive/modules.css" %}
{% include "hubspot/styles/patches/recommended.css" %}
/*****************************************/
/* Start your style declarations here */
/*****************************************/
@media screen and (min-width: 0px) and (max-width: 736px) {
.coldbrew-info { padding-top:800px; } /* show it on small screens */
body {
background: url('http://cdn2.hubspot.net/hubfs/1966653/57-coffee-beans-1920x1200-photography-wallpaper.jpg') center center;
background-size: cover;
background-repeat: repeat;
}
}
@media screen and (min-width: 437px) {
.coldbrew-info { padding-top: 40px; } /* hide it elsewhere */
body {
background: url('http://cdn2.hubspot.net/hubfs/1966653/iced-coffee.jpg') center center;
background-size: cover;
background-repeat: no-repeat;
}
}
html {
height: 100%;
width: 100%;
}
.coldbrew-info {
display: block;
text-align: center;
width: 960px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
h1, h2, p {
color: white;
font-family: arial;
text-shadow: -1px 0 black, 0 2px black, 1px 0 black, 0 -1px black;
}
h2 {
font-size: 45px;
}
button {
background-color: black;
border: 1px solid white;
color: white;
padding: 1.5% 2.5%;
text-align: center;
text-decoration: none;
display: inline-block;
border-radius: 12px;
opacity: .7;
}