-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapartments.component.scss
More file actions
107 lines (94 loc) · 2.14 KB
/
apartments.component.scss
File metadata and controls
107 lines (94 loc) · 2.14 KB
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
$primary-color: #ffb6c1; // Light pink
$secondary-color: #ff69b4; // Hot pink
$background-color: #fff0f5; // Lavender blush
$text-color: #e5baff; // Purple
$button-color: #ff85a2; // Soft coral pink
$button-hover: #ff4081; // Deep pink
$heading-color: #d147a3;
.apartments-container {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: center;
padding: 20px;
background: $background-color;
}
h2 {
text-align: center;
font-family: 'Poppins', sans-serif;
font-size: 28px;
font-weight: bold;
color: $heading-color;
margin-bottom: 20px;
letter-spacing: 1px;
background: linear-gradient(90deg, $secondary-color, $primary-color);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.apartment-card {
width: 280px;
background: white;
border-radius: 15px;
box-shadow: 4px 4px 10px rgba(255, 105, 180, 0.3);
padding: 15px;
text-align: center;
transition: 0.3s;
position: relative;
overflow: hidden;
margin-bottom: 20px;
&:hover {
transform: scale(1.05);
box-shadow: 6px 6px 15px rgba(255, 20, 147, 0.4);
}
h3,h5 {
font-family: 'Poppins', sans-serif;
font-size: 20px;
font-weight: bold;
color: $text-color;
margin-top: 10px;
}
p {
font-family: 'Poppins', sans-serif;
font-size: 14px;
color: #333;
}
.category {
font-weight: bold;
color: $secondary-color;
background: rgba(255, 105, 180, 0.1);
padding: 5px 10px;
border-radius: 10px;
display: inline-block;
margin-top: 10px;
}
.terrace {
font-weight: bold;
color: #ff4500;
background: rgba(255, 140, 0, 0.1);
padding: 5px 10px;
border-radius: 10px;
display: inline-block;
margin-top: 10px;
}
button {
background: $button-color;
border: none;
padding: 10px 15px;
border-radius: 20px;
font-size: 14px;
color: white;
font-weight: bold;
cursor: pointer;
transition: 0.3s;
margin-top: 10px;
&:hover {
background: $button-hover;
}
}
}
.apartments-container .apartment-card {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}