-
Notifications
You must be signed in to change notification settings - Fork 755
/
introSection.css
165 lines (144 loc) · 3.07 KB
/
introSection.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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
* {
margin: 0;
padding: 0;
}
.meet-heading {
font-size: 90px;
text-align: center;
font-weight: 800;
padding-top: 30px;
padding-bottom: 30px;
}
.m-heading { background-color: rgb(123, 53, 15);
text-align: center;
margin-left: 20%;
margin-right: 20%;
font-weight: 800;
color: aliceblue;
padding-top: 30px;
padding-bottom: 30px;
}
/* CORRECT THE HERO IMAGE: I also changed the height to a 850px to give clearer view of the cute puppies */
.main-body-section-div{
/* background: url("./Assets/Images/main-heading-body-bg.jpg") no-repeat center
center/cover; */
background-repeat: no-repeat!important;
background-size: cover!important;
min-height: 850px;
opacity: 0.9;
padding-top: 80px;
transition: background 0.6s ease-in-out;
}
.main-body-heading-text {
padding-top: 8%;
padding-left: 5%;
}
/* CORRECT THE HERO IMAGE: The list element style was causing the whitespace. Removing it succesfully fixes the problem */
.main-body-section > li {
list-style: none;
}
/*CORRECT THE HERO IMAGE: Added display flex property to move image element to the top left */
.heading-main-body {
display: flex;
justify-content: start;
width: 100%;
}
.main-body-section-div h1 {
font-size: 64px;
/* padding-left: 18.8%; */
color: azure;
font-weight: bold;
letter-spacing: 4px;
}
.main-body-section-div p {
font-size: 20px;
font-weight: 400;
letter-spacing: 3px;
color: white;
}
.main-body-heading-text span{
color: hsl(37, 73%, 59%);
text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.5);
}
.pet-card-flex {
background-image: url("./Assets/Images/pattern\ doodle.png");
display: flex;
flex-direction: column;
padding-top: 20px;
padding-bottom: 20px;
}
.main-card {
display: flex;
flex-direction: row;
border: 5px rgb(255, 249, 208) solid;
align-items: center;
background-color: rgb(255, 231, 202);
border-radius: 50px;
overflow: hidden;
width: 49%;
justify-content: center;
margin-top: 10px;
margin-bottom: 10px;
}
.one-line-card {
display: flex;
flex-direction: row;
justify-content: space-evenly;
scroll-margin-top:96px;
}
.main-img {
position: relative;
background-color: rgb(255, 231, 202);
border-radius: 15px;
overflow: hidden;
transition: all 300ms;
}
.hv {
position: relative;
background-size: cover;
transition: all 300ms;
}
.hv::after {
transition: all 300ms;
position: absolute;
content: "";
width: 100%;
height: 100%;
background-color: rgb(255, 231, 202);
top: 0;
opacity: 0;
}
.hv:hover::after {
opacity: 0.2;
}
.hv:hover {
transform: scale(1.1);
}
.card-img-div {
border-radius: 50px;
}
.card-img-a {
background-color: rgb(255, 231, 202);
color: rgb(255, 231, 202);
}
.card-height {
height: 370px;
}
.card-img-size {
width: 330px;
height: 330px;
object-fit: cover;
object-position: 25% 75%;;
}
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background-color: antiquewhite;
}
::-webkit-scrollbar-thumb {
background-clip: content-box;
border: 2px transparent solid;
background-color: brown;
border-radius: 13px;
}