-
Notifications
You must be signed in to change notification settings - Fork 0
/
know_your_car.css
140 lines (110 loc) · 1.92 KB
/
know_your_car.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
* {
margin: 0;
padding: 0;
}
#navtext {
text-decoration: none;
font-family: Georgia, 'Times New Roman', Times, serif;
color: white;
position: relative;
bottom: 50px;
left: 65vw;
margin-left: 35px;
font-size: large;
}
#navitems {
list-style: none;
}
li {
margin: 10px;
}
.nav {
width: 100vw;
height: 75px;
background-color: #2C3333;
position: fixed;
top: 0px;
}
h1 , h2{
margin-left: 5px;
color: black;
}
.info h2 , h1 , p {
color: white;
font-family: Georgia, 'Times New Roman', Times, serif;
margin: 10px 10px 0px 10px;
text-shadow: black 1px 1px 5px , black -1px -1px 5px;
}
.cards img {
border-radius: 20px 20px 0px 0px ;
transition-duration: 0.5s;
transition-timing-function: linear;
}
.cards img:hover {
transform: scale(1.1);
}
#car {
border-radius: 20px;
margin: 20px;
height: 500px;
width: 500px;
background-color: white;
overflow: hidden;
}
.cards {
display: flex;
justify-content: space-around;
}
.content {
background-image: url(bg.jpg);
background-size: cover;
width: 100vw;
margin-top: 70px;
}
.info {
display: flex;
flex-direction: column;
}
#infoitem {
align-self: center;
border-radius: 10px;
}
body {
animation: 1s linear 0s 1 forwards running fade;
overflow-x: hidden;
}
@keyframes fade{
0% {
opacity: 0;
}
100%{
opacity: 1;
}
}
.footer {
width: 100vw;
background-color: #2C3333;
color: white;
display: flex;
justify-content: space-evenly;
gap: 25px;
}
.footer h2{
color: white;
margin-left: 0px;
}
footer {
display: flex;
flex-direction: column;
align-items: center;
background-color: #2C3333;
}
.footer a {
text-decoration: none;
color: white;
margin-bottom: 5px;
display: block;
}
#icon a {
display: inline;
}