-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
74 lines (60 loc) · 1.16 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
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,600);
body {
margin: 0;
padding: 0;
}
.container {
background: url(bg-body.jpg) center center no-repeat;
background-size: cover;
position: relative;
}
.content {
text-align: center;
color: white;
position: absolute;
left: 50%;
top: 50%;
width: 300px;
margin-left: -150px;
}
.content h1 {
font-family: "Open Sans", sans-serif;
font-weight: 300;
font-size: 20px;
line-height: 30px;
}
.content p {
font-family: "Open Sans", sans-serif;
font-weight: 300;
font-size: 17px;
line-height: 28px;
}
.content .btn {
font-family: "Open Sans", sans-serif;
color: white;
background: rgb( 190, 13, 51 );
text-decoration: none;
padding: 20px;
margin: 15px 0;
display: block;
transition: 400ms background ease-in-out, 400ms border ease-in-out;
}
.content .btn:hover {
background: rgba( 190, 13, 51, .8 );
border: 5px solid rgba( 255, 255, 255, .4 );
}
@media screen and ( min-width: 600px ) {
.content {
width: 500px;
margin-left: -250px;
}
.content h1 {
font-size: 30px;
line-height: 40px;
}
.content .btn {
display: inline-block;
padding: 20px 30px;
margin: 10px;
}
}