-
Notifications
You must be signed in to change notification settings - Fork 0
/
booking.css
83 lines (81 loc) · 1.69 KB
/
booking.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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');
*{
box-sizing: border-box;
padding: 0;
margin: 0;
}
body{
font-family: 'Poppins', sans-serif;
}
.banner{
min-height: 100vh;
background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("images/banner-img.jpg") no-repeat center center fixed;
display: flex;
background-size: 55%;
flex-direction: column;
justify-content: center;
align-items: center;
color: #fff;
padding-bottom: 20px;
}
.card-container{
display:grid;
grid-template-columns: 400px 500px;
}
.card-img{
background: url("images/card-img.jpg") center no-repeat;
}
.banner h2{
padding-bottom: 40px;
margin-bottom: 20px;
}
.card-content{
background: #fff;
height: 330px;
}
.card-content h3{
text-align: center;
color: #000;
padding: 15px 0 5px 0;
font-size: 26px;
font-weight: 500;
}
.form-row{
display: flex;
width: 90%;
margin: 0 auto;
}
form select, form input{
display: block;
width: 100%;
margin: 15px 12px;
padding: 5px;
font-size: 15px;
font-family: 'Poppins', sans-serif;
outline: none;
border: none;
border-bottom: 1px solid #eee;
font-weight: 300;
}
form input[type = text], form input[type = number], form input::placeholder, select{
color: #9a9a9a;
}
form input[type = submit]{
color: #fff;
background: #f2745f;
padding: 12px 0;
border-radius: 4px;
cursor: pointer;
}
form input[type = submit]:hover{
opacity: 0.9;
}
@media(max-width: 992px){
.card-container{
grid-template-columns: 100%;
width: 100vw;
}
.card-img{
height: 330px;
}
}