blob: e9fc480d18f81948451db55f4946b840dbbbba80 (
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
|
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;
}
#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;
}
main #search {
position: absolute;
vertical-align: middle;
width: 60%;
height: 80%;
background-color: rgba(235,235,235, 0.7);
margin-left: 20%;
padding-top: 15%;
}
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;
}
|