forked from jmapio/jmapio.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
banner.css
66 lines (65 loc) · 990 Bytes
/
banner.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
/* BANNER */
#banner {
background: #5cdb94;
color: #17242a;
}
#banner .container {
display: flex;
flex-flow: row wrap;
max-width: 1110px;
width: 100%;
margin: 0 auto;
box-sizing: border-box;
align-items: center;
text-align: left;
}
#banner .deco {
flex-basis: 60%;
padding-left: 5%;
}
#banner .deco img {
width: 100%;
}
#banner .text {
flex-basis: 35%;
}
#banner h1 {
margin-top: 0;
border: 0;
color: currentColor;
font-size: 40px;
text-align: left;
}
#banner p,
#banner .cta {
font-size: 20px;
}
#banner .cta {
margin-top: 30px;
background: #17242a;
border-color: #17242a;
color: #fff;
}
#banner .cta:focus,
#banner .cta:hover {
background: #5cdb94;
border-color: #17242a;
color: #17242a;
}
@media (max-width: 768px) {
#banner .container {
flex-flow: column nowrap;
padding: 40px 20px 60px 20px;
}
#banner .deco {
padding-left: 0;
margin-top: 25px;
}
#banner h1 {
font-size: 30px;
padding-bottom: 0;
}
#banner .cta {
margin-top: 15px;
}
}