-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsearch.css
192 lines (164 loc) · 3.01 KB
/
search.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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
@charset "UTF-8";
/* Style you'll see on every page */
* {
font-family: helvetica, arial, sans-serif;
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: #fffff0;
}
header {
position: fixed;
left: 0;
top: 0;
width: 100%;
background-color: #b22222;
z-index: 1;
}
main {
position: relative;
top: 180px;
width: 100%;
z-index: 0;
}
#banner {
text-shadow: 2px 2px 2px #444;
-webkit-text-shadow: 2px 2px 2px #444;
text-align: center;
color: #fff;
}
#banner h1 {
margin: 20px auto;
}
#banner h3 {
margin: 20px auto;
}
#navbar ul {
list-style-type: none;
margin: auto;
padding: 0;
overflow: hidden;
background-color: #444;
position: relative;
display: block;
width: 100%;
}
#navbar ul li {
float: left;
border-right: 1px solid #bbb;
width: 33.33333%;
}
#navbar ul li:last-child {
border-right: none;
}
#navbar ul li a {
display: block;
color: #fff;
text-align: center;
padding: 14px 0;
text-decoration: none;
transition-property: all;
transition-duration: .5s;
-webkit-transition: all .5s;
-moz-transition-property: all;
-moz-transition-duration: .5s;
-o-transition-property: all;
-o-transition-duration: .5s;
}
/* Hovering over any link will cause the font to become bold */
#navbar ul li a:hover {
font-weight: bold;
}
/* Hovering over a non-active link will cause it to turn black */
#navbar ul li a:hover:not(.active) {
background-color: #333;
}
/* The active link will be red */
.active {
background-color: #b22222;
}
/* Style for browse.html */
.scroll-item {
width: 100%!important;
padding-top: 185px;
}
.scroll-item:not(#decade-1) {
margin-top: -200px;
}
/* Keeps the separate scoll items on top of each other */
.scroll-item::after {
content: ".";
display: block;
height: 50px;
clear: both;
visibility: hidden;
}
.scroll-item nav ul {
width: 19%;
float: left;
display: inline;
position: fixed;
top: 240px;
left: 1%;
background-color: #444;
list-style-type: none;
}
.scroll-item nav ul li {
border-bottom: 1px solid #bbb;
}
.scroll-item nav ul li:last-child {
border-bottom: none;
}
.scroll-item nav ul li a {
color: #fff;
display: block;
text-decoration: none;
text-align: center;
padding: 7px 0;
transition-property: all;
transition-duration: .4s;
-webkit-transition: all .4s;
-moz-transition-property: all;
-moz-transition-duration: .4s;
-o-transition-property: all;
-o-transition-duration: .4s;
}
.scroll-item nav ul li a:hover {
font-weight: bold;
background-color: #333;
}
.current {
background-color: #b22222;
}
.scroll-item section {
width: 75%;
margin: 0 auto;
display: inline-block;
float: right;
border: 1px solid #b22222;
background-color: #ffe4e1;
margin-right: 2.5%;
}
.scroll-item section h3 {
text-align: center;
margin: 10px;
padding: 5px;
background-color: #444;
color: #fff;
font-weight: normal;
}
.scroll-item section iframe {
margin-left: 25%;
}
#instructions {
margin-bottom: -165px;
margin-left: 15px;
width: 100%;
line-height: 20px;
font-style: italic;
text-align: center;
position: relative;
top: 5px;
}