-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
93 lines (83 loc) · 1.6 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
html, body {
width: 100%;
height: 100%;
margin: 0 auto;
}
.card {
box-shadow: 0 0 10px #fff !important;
border-radius: 10px !important;
}
header {
position: relative;
background-color: black;
height: 100%;
min-height: 25rem;
width: 100%;
overflow: hidden;
}
header img {
position: absolute;
top: 50%;
left: 50%;
min-height: 100%;
min-width: 100%;
width: auto;
height: 100%;
z-index: 0;
background-size: cover;
transform: translateX(-50%) translateY(-50%);
-ms-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
-moz-transform: translateX(-50%) translateY(-50%);
}
header .container {
position: relative;
z-index: 2;
}
header .overlay {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
background-color: black;
opacity: 0.3;
z-index: 1;
}
.box {
position: absolute;
top: 50%;
left: 50%;
width: 500px;
transform: translate(-50%, -50%);
}
input {
position: relative;
display: inline-block;
font-size: 16px;
box-sizing: border-box;
transition: 0.5s;
}
input[type="text"] {
width: 340px;
height: 40px;
border: none;
outline: none;
padding: 0 25px;
border-radius: 25px 0 0 25px;
}
input[type="submit"] {
position: relative;
border-radius: 0 25px 25px 0;
width: 130px;
height: 40px;
border: none;
outline: none;
cursor: pointer;
background: #B3E54E;
color: black;
}
input[type="submit"]:hover {
background: #FBDD4B;
color: white;
}