-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathservices.css
205 lines (178 loc) · 4.09 KB
/
services.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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
.services{
width: 100%;
color: #CAC0B3;
margin: 4rem 0;
}
.services-inner{
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
margin: 0;
width: 100%;
}
.services-heading{
padding: 0.5% 5%;
display: flex;
align-items: center;
justify-content: left;
width: 100%;
background: linear-gradient(#656973, #CAC0B3, #656973);
color: #001233;
}
.services-text{
width: 100%;
display: flex;
justify-content: start;
margin: 3%;
padding: 0 5%;
}
.services-grid{
width: calc(100% - 4vw);
overflow: hidden;
padding: 1vw 0;
margin: 0 2vw;
color: #001233;
border-top-left-radius: 37px 140px;
border-top-right-radius: 50px 130px;
border-bottom-left-radius: 110px 19px;
border-bottom-right-radius: 120px 24px;
display: block;
position: relative;
border: 3px #00FFFF;
border-style: double;
transform: rotate(-1deg);
box-shadow: 0px 0px 8px #00FFFF;
transition: all 0.13s ease-in;
&:hover{
transform: translateY(-10px) rotate(1deg);
box-shadow: 0px 0px 8px -4px #00FFFF;
}
}
.services-scroll-container {
height: 400px;
overflow-y: auto;
width: 100%;
}
.services-grid-ul{
display: grid;
grid-template-columns: auto auto auto;
justify-content: space-around;
align-items: center;
row-gap: 20px;
padding: 0;
}
.card{
min-height: 424px;
width: 18rem;
transform: rotate(1deg);
transition: transform 0.15s ease-out;
background: linear-gradient(215deg, #5F6B73, #CAC0B3, #CAC0B3, #CAC0B3, #828D93, #5F6B73, #5F6B73);
}
.card-body{
display: flex;
flex-direction: column;
justify-content: space-between;
}
.card-title{
font-weight: 700 !important;
font-family: 'Times New Roman', Times, serif;
}
.card-text{
font-size: 13px;
}
.service-cards-btn{
background-color: #CAC0B3 !important;
color: #001233 !important;
border: 2px solid #001233 !important;
border-radius: 0 !important;
&:hover{
text-decoration: underline 1px;
text-underline-offset: 3px;
text-decoration-color: #001233;
color: rgba(0, 18, 51, 0.8) !important;
}
}
.services-grid:hover .card{
transform: rotate(-1deg);
transition: transform 0.15s ease-out;
}
.card-img-top{
height: 200px;
}
@media screen and (max-width: 950px){
.services-grid{
padding: 4vw 1vw;
}
.services-grid-ul{
grid-template-columns: auto auto;
}
}
@media screen and (max-width: 670px){
.card{
width: 16rem;
}
}
@media screen and (max-width: 600px){
.card{
width: 14rem;
}
.services-grid{
padding: 4vw 3vw;
}
.services-scroll-container {
height: 420px;
}
}
@media screen and (max-width: 520px){
.services-grid-ul{
grid-template-columns: auto;
}
.card{
width: 18rem;
}
.services-grid{
width: calc(20rem + 10vw);
/* margin: 0 5vw; */
padding: 4vw 5vw;
}
.services-scroll-container {
height: 400px;
}
}
/*Scrollbar*/
/* WebKit-based browsers (Chrome, Safari, Edge) */
.services-scroll-container::-webkit-scrollbar {
width: 12px;
}
.services-scroll-container::-webkit-scrollbar-track {
background: #f1f1f1;
}
.services-scroll-container::-webkit-scrollbar-thumb {
background-color: #888;
}
.services-scroll-container::-webkit-scrollbar-thumb:hover {
background-color: #555;
}
/* Firefox */
.services-scroll-container {
scrollbar-width: thin;
scrollbar-color: #888 #f1f1f1;
}
/* Additional style for Firefox to customize track and thumb separately */
@-moz-document url-prefix() {
.services-scroll-container {
scrollbar-width: thin;
}
.services-scroll-container::-webkit-scrollbar-track {
background: #f1f1f1;
}
.services-scroll-container::-webkit-scrollbar-thumb {
background-color: #888;
border-radius: 10px;
border: 3px solid #f1f1f1;
}
.services-scroll-container::-webkit-scrollbar-thumb:hover {
background-color: #555;
}
}