-
Notifications
You must be signed in to change notification settings - Fork 31
/
places.css
113 lines (97 loc) · 2.1 KB
/
places.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,300;0,400;0,500;0,600;1,100;1,300&display=swap');
*{
font-family: 'Poppins', sans-serif;
margin:0;
padding:0;
box-sizing: border-box;
outline: none;
border:none;
text-decoration: none;
text-transform: capitalize;
transition: .2s linear;
}
html {
font-size: 62.5%;
overflow-x: hidden;
scroll-behavior: smooth;
scroll-padding-top: 5rem;
}
section{
padding:5rem 9%;
}
.btn{
margin-top: 1rem;
display: inline-block;
border:0.2rem solid black;
color:black;
cursor:pointer;
background:none;
font-size:1.7rem;
padding:1rem 3rem;
}
.btn:hover{
background: black;
color: white;
}
.packages {
background: #eee;
}
.packages .box-container {
display: -ms-grid;
display: grid;
-ms-grid-columns: (minmax(32rem, 1fr))[auto-fit];
grid-template-columns: repeat(auto-fit, minmax(32rem, 1fr));
gap: 1.5rem;
}
.packages .box-container .box {
text-align: center;
background: #fff;
border: 0.2rem solid #10221b;
-webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
border-radius: .5rem;
}
.packages .box-container .box:hover {
background: #10221b;
}
.packages .box-container .box:hover .content > * {
color: #fff;
}
.packages .box-container .box:hover .btn {
border-color: #fff;
}
.packages .box-container .box:hover .btn:hover {
background: #fff;
color: #10221b;
}
.packages .box-container .box .image {
height: 25rem;
overflow: hidden;
padding: 2rem;
padding-bottom: 0;
border-radius: .5rem;
}
.packages .box-container .box .image img {
height: 100%;
width: 100%;
-o-object-fit: cover;
object-fit: cover;
border-radius: .5rem;
}
.packages .box-container .box .content {
padding: 2rem;
}
.packages .box-container .box .content h3 {
font-size: 2rem;
color: #10221b;
}
.packages .box-container .box .content p {
font-size: 1.5rem;
color: #10221b;
padding: 1rem 0;
line-height: 2;
}
.packages .box-container .box .content .price {
font-size: 2rem;
color: #219150;
}