forked from katezach/FinalProjectPSPI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtransportation.css
156 lines (156 loc) · 2.49 KB
/
transportation.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
.image-text{
width: 450px;
margin-top: 250px;
text-align: right;
}
/*Title*/
.image-text h1{
font-size: 60px;
font-style: italic;
}
/*Subtitle*/
.image-text h2{
font-size: 21px;
}
/*Category image*/
.image-border{
padding-top: 50px;
}
/*when screen>1350px move text*/
@media (min-width:1350px){
#move{
position: absolute;
}
.image-text{
position: relative;
margin-top: 100px;
}
}
.image-border img{
height:530px;
width:100%;
}
/*Side picture*/
.lanes-image{
margin-top: 100px;
}
/*Traffic and text below*/
.first-text-border{
margin-top: 100px;
font-size: 20px;
}
.first-text-border h1,h2{
font-size: 35px;
}
.li1,.li2,.li3{
font-size: 20px;
position: relative;
}
.li3{
margin-top: 100px;
}
.bus{
margin-top: 25px;
}
.bus img{
width: 450px;
height: 650px;
}
.sign{
position: relative;
margin-top: 70px;
}
hr{
border-top: 1px solid black;
}
@media (min-width:993px) and (max-width:1200px){
.bus img{
width: 390px;
height: 650px;
}
}
@media (max-width:992px){
.li2{
padding-left: 0px;
}
.bus img{
width: 360px;
height: 600px;
}
.lanes-image{
padding-left: 50px;
top:-60px;
}
}
@media (min-width:400px) and (max-width:460px){
.image-text{
width: 300px;
text-align: left;
}
.image-border img{
height: 330px ;
}
.lanes-image{
padding-left: 30px;
}
.lanes-image img{
width: 300px;
}
.bus img{
width: 300px;
height: 540px;
}
.sign img{
width: 300px;
height: 300px;
}
}
@media (min-width:300px) and (max-width:400px){
.image-text{
width: 250px;
text-align: left;
}
.image-text h1{
font-size: 40px;
}
.image-text h2{
font-size: 15px;
}
.image-border img{
height: 250px ;
}
.lanes-image{
padding-left: 35px;
}
.lanes-image img{
width: 250px;
}
.bus img{
width: 250px;
height: 480px;
}
.sign img{
width: 250px;
height: 250px;
}
}
@media (min-width:1350px){
.image-text{
width: 430px;
}
}
@media (max-width:1350px){
.image-text{
margin-top: 50px;
}
}
@media (min-width:746px) and (max-width:1330px){
.image-text , .image-border{
margin-left: 100px;
}
}
@media (min-width:1800px){
.container{
width: 1400px;
}
}