-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbrakeRepair.css
78 lines (75 loc) · 1.37 KB
/
brakeRepair.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
.brakeServiceNav{
background-color: var(--secondary-color);
}
.BrakeServices{
padding: 50px 60px;
margin: left;
font-size: large;
}
.Brakesubservice{
color: darkred;
}
.Brakesub1{
font-size: large;
}
.image img{
padding: 20px 20px;
border-radius:5px;
width: 60%;
height: 300px;
transition: all 0.4s ease;
transition: cubic-bezier(0.075, 0.82, 0.165, 1);
}
.image img:hover{
transform: scale(1.2);
}
.brakeServices .sub3{
font-size: large;
}
.Brakesub1 .brakesub4b{
font-size: large
}
/* media queries */
@media screen and (max-width:768px) {
.BrakeServices h1{
font-size: 2rem;
}
.BrakeServices h2{
font-size: 1.5rem;
}
}
@media screen and (max-width:450px) {
.BrakeServices {
padding: 1rem 1rem 2rem 1rem;
font-size: 1rem;
}
.BrakeServices h1{
font-size: 1.8rem;
}
.BrakeServices>:first-child{
margin-bottom: 1rem;
}
.BrakeServices h2{
font-size: 1.1rem;
}
.sub h1{
font-size: 1.2rem;
}
.sub2 h1{
font-size: 1.2rem;
}
.BrakeServices p{
text-align: justify;
font-size: 1rem;
}
.image img {
padding: 0;
border-radius: 0;
width: 100%;
height: auto;
padding: 1rem 0 2rem 0;
}
.image img:hover{
transform: none;
}
}