-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
82 lines (73 loc) · 1.53 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
*{
margin: 0;
padding: 0;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
body{
background: rgba(0, 0, 0, 0);
background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(linux.JPG);
height: 100vh;
background-repeat: no-repeat;
width: 100%;
background-size: cover;
font-family: sans-serif;
color: white;
min-height: 100vh;
padding: 150px 0;
box-sizing: border-box;
}
.newsletter{
background: #444f62;
margin: 0 auto;
text-align: center;
max-width: 330px;
padding: 70px 40px;
border-radius: 10%;
color: #fff;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.newsletter hr{
width: 70px;
height: 3px;
margin: 30px auto;
border: 0;
background: rgba(255,255,255,0.5);
}
.newsletter p{
font-size: 18px;
line-height: 24px;
color: rgba(255,255,255,0.8);
margin-bottom: 30px;
}
.email-box{
height: 40px;
display: flex;
justify-content: center;
}
.email-box i{
background: #2f3542;
width: 40px;
line-height: 40px;
}
.tbox, .btn{
border: none;
outline: none;
}
.tbox{
width: 0px;
transition: 0.6s;
}
.email-box.email-box:hover > .tbox, .tbox:focus{
width: 260px;
padding: 0 10px;
}
.btn{
background:#2f3542;
color: rgb(255, 255, 255);
padding: 0 10px;
text-transform: uppercase;
cursor: pointer;
}