Commit ae2781714e913ff103807072f851552307af84cd
Navigation Menu with style and onclick event handler
| | | | 1 | /*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */ | | /*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */ |
---|
| | 1 | /*! HTML4 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */ | 2 | | 2 | |
---|
3 | /* | 3 | /* |
---|
4 | * What follows is the result of much research on cross-browser styling. | 4 | * What follows is the result of much research on cross-browser styling. |
---|
… | | … | |
---|
99 | } | 99 | } |
---|
100 | .heading { | 100 | .heading { |
---|
101 | font-family: Helvetica, Arial, Sans-Serif; | 101 | font-family: Helvetica, Arial, Sans-Serif; |
---|
102 | } | | } |
---|
| | 102 | }/* | 103 | .navigation-img { | 103 | .navigation-img { |
---|
104 | top:-20px; | 104 | top:-20px; |
---|
105 | padding:0px 25px; | 105 | padding:0px 25px; |
---|
… | | … | |
---|
198 | } | 198 | } |
---|
199 | .signal-strength-icon { | 199 | .signal-strength-icon { |
---|
200 | url : "/static/img/signal-strength-icon.svg" | 200 | url : "/static/img/signal-strength-icon.svg" |
---|
201 | } | | } |
---|
| | 201 | }*/ | 202 | | 202 | |
---|
203 | /* CSS classes for the image url ends here */ | 203 | /* CSS classes for the image url ends here */ |
---|
204 | | 204 | |
---|
… | | … | |
---|
207 | Author's custom styles | 207 | Author's custom styles |
---|
208 | ========================================================================== */ | 208 | ========================================================================== */ |
---|
209 | | 209 | |
---|
| | 210 | /*a .showme { |
---|
| | 211 | display:none; |
---|
| | 212 | } |
---|
210 | | 213 | |
---|
| | 214 | a .default { |
---|
| | 215 | display:block; |
---|
| | 216 | }*/ |
---|
| | 217 | |
---|
| | 218 | /*.nav>li:link .default{ |
---|
| | 219 | display:none; |
---|
| | 220 | |
---|
| | 221 | } |
---|
| | 222 | .nav>li:link .showme{ |
---|
| | 223 | display:block; |
---|
| | 224 | }*/ |
---|
| | 225 | |
---|
| | 226 | .nav li a:hover .default{ |
---|
| | 227 | display:none; |
---|
| | 228 | } |
---|
| | 229 | |
---|
| | 230 | .nav li a:hover .showme{ |
---|
| | 231 | display: block; |
---|
| | 232 | position:relative; |
---|
| | 233 | top: -3px; |
---|
| | 234 | } |
---|
| | 235 | |
---|
| | 236 | .nav li.active .default{ |
---|
| | 237 | display:none; |
---|
| | 238 | |
---|
| | 239 | } |
---|
| | 240 | .nav li.active .showme{ |
---|
| | 241 | display:block; |
---|
| | 242 | position:relative; |
---|
| | 243 | top:-3px; |
---|
| | 244 | } |
---|
| | 245 | |
---|
| | 246 | |
---|
| | 247 | |
---|
| | 248 | .navbar { |
---|
| | 249 | background-image: url("/static/img/bg.jpg"); |
---|
| | 250 | |
---|
| | 251 | } |
---|
| | 252 | |
---|
| | 253 | #forline { |
---|
| | 254 | position: relative; |
---|
| | 255 | display: block; |
---|
| | 256 | height: 1px; |
---|
| | 257 | /*width: 100%;*/ |
---|
| | 258 | border: 1px solid #444; |
---|
| | 259 | z-index: 1; |
---|
| | 260 | |
---|
| | 261 | } |
---|
| | 262 | |
---|
| | 263 | .navbar-nav { |
---|
| | 264 | position:relative; |
---|
| | 265 | top:-1.5em; |
---|
| | 266 | left:10%; |
---|
| | 267 | } |
---|
| | 268 | |
---|
| | 269 | .playcollapse { |
---|
| | 270 | position:relative; |
---|
| | 271 | top:-1.5em; |
---|
| | 272 | width:150px; |
---|
| | 273 | height:auto; |
---|
| | 274 | } |
---|
| | 275 | |
---|
| | 276 | #navpos { |
---|
| | 277 | position:relative; |
---|
| | 278 | top:-10px; |
---|
| | 279 | } |
---|
| | 280 | |
---|
| | 281 | #play-about { |
---|
| | 282 | display:block; |
---|
| | 283 | position:relative; |
---|
| | 284 | |
---|
| | 285 | } |
---|
| | 286 | #play-signal-intensity, #play-research-methodology, #play-radio-policies, #play-global-radio { |
---|
| | 287 | position: relative; |
---|
| | 288 | top:-47px; |
---|
| | 289 | |
---|
| | 290 | } |
---|
| | 291 | |
---|
| | 292 | a { |
---|
| | 293 | color:#444; |
---|
| | 294 | } |
---|
| | 295 | |
---|
| | 296 | /*a:active .showme{ |
---|
| | 297 | display:block; |
---|
| | 298 | } |
---|
| | 299 | |
---|
| | 300 | a:active .default{ |
---|
| | 301 | display:none; |
---|
| | 302 | }*/ |
---|
211 | /* ========================================================================== | 303 | /* ========================================================================== |
---|
212 | Helper classes | 304 | Helper classes |
---|
213 | ========================================================================== */ | 305 | ========================================================================== */ |
---|