blob: 21275f50a5effa25a566c496376c80b667445295 (
plain)
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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
|
html, body {
height: 100%;
}
body {
background-color: white;
}
ul {
list-style-type: none;
}
a {
text-decoration: none;
}
#top-bar{
width: 100%;
display: flex;
display: -webkit-flex;
flex-direction: row;
-webkit-flex-direction: row;
justify-content: space-between;
-webkit-justify-content: space-between;
align-items: flex-end;
-webkit-align-items: flex-end;
}
#top-bar nav {
flex: 0 1 auto;
-webkit-flex: 0 1 auto;
padding-right: 20%;
}
#top-bar #logo {
padding-left: 20%;
}
#top-bar img {
padding: 10%;
height: 3%;
width: auto;
/* Humair - I added this because size wasn't working for firefox*/
max-width: 150px;
}
#top-bar nav ul {
margin: 0;
padding: 0;
overflow: hidden;
}
#top-bar ul li {
float: right;
}
#top-bar ul li a {
display: block;
color: darkgray;
text-align: center;
padding: 14px 16px;
vertical-align: bottom;
}
#top-bar ul li a:hover {
color: lightblue;
}
#drop-down {
display: none;
}
main {
position: relative;
background-image: url("../images/main.jpg");
background-size: 250px 250px;
text-align: center;
height: 80%;
width: 100%;
overflow: auto;
}
/* Changes - main is a flex container for search content*/
main{
display: flex;
align-items: center;
justify-content: center;
}
/* Changes - search is a flex container for h2 and bar, removed various attributes */
main #search {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
width: 60%;
height: 100%;
vertical-align: middle;
background-color: rgba(235,235,235, 0.7);
}
/* Changes - added h2 styiling for main */
main #search h2{
font-family: 'Lato', sans-serif;
color: gray;
font-size: 2.5em;
margin: 4%;
}
main #search input[type=text] {
display: inline;
width: 250px;
height: 40px;
text-align: center;
box-sizing: border-box;
border: 2px solid #ccc;
font-size: 16px;
border-radius: 10px;
background-color: white;
background-image: url('../images/search_icon.png');
background-size: 20px 20px;
background-position: 9px 9px;
background-repeat: no-repeat;
padding: 12px 20px 12px 40px;
-webkit-transition: width 0.4s ease-in-out;
transition: width 0.4s ease-in-out;
}
main #search input[type=text]:focus {
width: 50%;
}
main #search img {
width: 50px;
display: inline;
}
footer {
position: relative;
bottom: 0;
background-color: white;
}
footer nav {
padding-left: 16%;
}
footer nav ul li{
display: inline-block;
float: left;
}
footer h6 {
display: inline-block;
float: right;
padding-right: 20%;
}
footer nav ul li a {
display: block;
color: darkgray;
text-align: center;
padding: 14px 16px;
vertical-align: top;
}
|