forked from ShreY077/car-rental-services
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
97 lines (81 loc) · 1.25 KB
/
index.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
/* ======== google fonts ======== */
@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@200;300;400;600;700;900&display=swap");
/* ======= base style ====== */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Source Sans Pro", sans-serif;
}
/* ========= pre-define css ========= */
h1,
h2,
h3,
h4,
h5,
h6 {
color: #000d6b;
font-weight: 600;
margin-bottom: 0;
}
h3,
h4 {
font-size: 1.6rem;
}
h5,
h6 {
font-size: 1.2rem;
}
a {
text-decoration: none;
color: unset;
}
a:hover {
color: unset;
}
ul {
margin: 0;
list-style: none;
}
.section__title {
color: #000d6b;
font-weight: 600;
font-size: 2rem;
}
.section__subtitle {
color: #f9a826;
font-weight: 600;
font-size: 1.2rem;
}
.section__description {
color: #7c8a97;
font-size: 0.9rem;
line-height: 30px;
}
section {
padding: 50px 0px;
}
.btn {
padding: 7px 15px;
background: #000d6b;
color: #fff;
border: none;
outline: none;
border-radius: 5px;
transition: 0.3s;
}
.btn:hover {
color: #fff !important;
background: #000c6bd0;
}
@media only screen and (max-width: 768px) {
section {
padding: 30px 0px;
}
.section__title {
font-size: 1.6rem;
}
.section__subtitle {
font-size: 1.1rem;
}
}