forked from maxkdann/WLU-Campus-Compass
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
115 lines (103 loc) · 2.51 KB
/
style.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
.searchBox::-webkit-scrollbar{
width: 0.5625em;
background-color: lightgray;
border-radius: 0.3125em;
padding-right: 0.3125em;
}
.searchBox::-webkit-scrollbar-thumb{
background-color: grey;
border-radius: 0.5625em;
}
.searchBox{
height: 37.5em;
width: 28.125em;
border: 0.25em solid black;
margin: 1.5625em 0em 0em 2.5em;
float: left;
overflow-y: scroll;
border-radius:0.625em;
}
.searchBar input[type=text]{
margin: 0em 0em 0em 2.8125em;
width: 9.375em;
}
.wluBuildingsItems > p{
font-size: 0.5625em;
text-align: center;
font-family: Georgia, 'Times New Roman', Times, serif;
}
/*
WORK ON .FOOTER IN MAKING IT HAVE MULTIPLE PAGES:
maybe not a div?
*/
.mapboxgl-popup{
max-width: 25em;
font: 0.75em/1.25em 'Helvetica Neue', Arial, Helvetica, sans-serif;
}
#mapBox{
border: 0.35em solid black;
border-radius: 0.625em;
width: 100em;
height: 50.25em;
padding-left: 50px;
margin: 2em 2.5em;
float: right;
}
#wluBuildingWrapper{
list-style-type: none;
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
position: relative;
}
#wluBuildingsItemsContainer{
position: relative;
display: grid;
right: 1.125em;
}
/*
mobile device section
each function counts as a break point
max-width = 0 - 2400 and so on and so forth
1. Make the .search box positioned in the center at the yellow border colour
2. make mapBox change div width when the window is resized
*/
@media screen and (max-width: 2400px) {
.searchBox, #mapBox{
border-color: blue;
margin-left: auto;
margin-right: auto;
}
}
@media screen and (max-width: 1733px) {
.searchBox, #mapBox{
float: none !important;
border-color: yellow;
margin-left: auto;
margin-right: auto;
}
}
@media screen and (max-width: 1300px){
.searchBox, #mapBox{
float: none !important;
border-color: red;
margin-left: auto;
margin-right: auto;
}
}
@media screen and (max-width: 900px){
.searchBox, #mapBox{
float: none !important;
border-color: green;
margin-left: auto;
margin-right: auto;
}
}
@media screen and (max-width: 600px){
.searchBox, #mapBox{
float: none !important;
border-color: pink;
margin-left: auto;
margin-right: auto;
}
}