-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
121 lines (106 loc) · 2.26 KB
/
styles.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
.attribution {
font-size: 15px;
text-align: center;
}
.attribution a {
color: hsl(228, 45%, 44%);
}
.cars {
width: 80%;
margin: 100px 10%;
float: left;
display: flex;
justify-content: center;
}
.types {
width: 25%;
float: left;
min-height: 500px;
}
.types img {
float: left;
margin-top: 2rem;
margin-left: 10%;
margin-right: 10%;
}
.types h1 {
font-family: 'Big Shoulders Display';
width: 80%;
margin-left: 10%;
margin-right: 10%;
float: left;
color: hsl(0, 0%, 95%);
}
.types p {
line-height: 1.5rem;
font-family: 'Lexend Deca';
font-size: 15px;
text-align: left;
width: 80%;
max-height: 6rem;
margin-left: 10%;
margin-right: 10%;
float: left;
color: hsla(0, 0%, 100%, 0.75);
}
.types a {
display: inline-block;
position: relative;
font-family: 'Lexend Deca';
float: left;
text-decoration: none;
padding: .7rem 1.5rem;
border-radius: 50rem;
margin-left: 7%;
margin-right: 25%;
margin-top: 7rem;
background-color: #FFF;
}
.types a:hover {
background-color: rgba(0, 0, 0, 0);
color: hsl(0, 0%, 95%)!important;
border: 2px solid hsl(0, 0%, 95%)!important;
}
#Sedans {
background: hsl(31, 77%, 52%);
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
}
#Sedans a {
color: hsl(31, 77%, 52%);
border: 2px solid hsl(31, 77%, 52%);
}
#SUVs {
background: hsl(184, 100%, 22%);
}
#SUVs a {
color: hsl(184, 100%, 22%);
border: 2px solid hsl(184, 100%, 22%);
}
#Luxury {
background: hsl(179, 100%, 13%);
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
}
#Luxury a {
color: hsl(179, 100%, 13%);
border: 2px solid hsl(179, 100%, 13%);
}
@media screen and (max-width: 376px) {
.cars {
display: block;
}
.types {
width: 100%;
}
#Sedans {
border-top-left-radius: 10px;
border-bottom-left-radius: 0;
border-top-right-radius: 10px;
}
#Luxury {
border-top-right-radius: 0;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
}
}