diff options
Diffstat (limited to 'media')
-rw-r--r-- | media/css/dark.css | 2 | ||||
-rw-r--r-- | media/js/jquery.cycle.min.js | 22 | ||||
-rw-r--r-- | media/js/jquery.cycle.pack.js | 1 | ||||
-rw-r--r-- | media/js/jquery.jcarousel.pack.js | 16 | ||||
-rw-r--r-- | media/js/jquery.scrollTo-1.4.2-min.js | 11 | ||||
-rw-r--r-- | media/js/slideshow.js | 204 | ||||
-rw-r--r-- | media/js/slideshow.pack.js | 16 | ||||
-rw-r--r-- | media/sass/dark.sass | 529 |
8 files changed, 417 insertions, 384 deletions
diff --git a/media/css/dark.css b/media/css/dark.css index 6974108..08eb80d 100644 --- a/media/css/dark.css +++ b/media/css/dark.css @@ -1 +1 @@ -ol,ul,li,dl{list-style:none;margin:0;padding:0;border:0;outline:0;background:transparent}blockquote,q{quotes:none}:focus{outline:0}header,section,footer,aside,article,nav{display:block;text-align:left}html{height:100%}body{font:normal 100% Hoefler Text, Georgia, Times New Roman, Times, serif;color:#201a11;margin:0 1.125em;min-height:100%;position:relative;padding:0;max-width:20.938em;background:#fff}p{font-size:1.063em;line-height:1.5em;margin:1em 0 0}footer p{font-size:0.625em;text-align:center}a{text-decoration:none;color:#201a11}a:hover{color:#b53a04}strong{font-weight:bold}sup{font:normal 0.625em Helvetica, Verdana, sans-serif}ul li{display:inline;margin:0 0.125em}blockquote{font-style:italic;font-size:1em;line-height:1.625em}blockquote p{font-size:1em !important}div[role="main"] ul li{display:block;margin:0.5em 0}.dateline,nav li,.breadcrumbs li,.geo,.legend h3{text-transform:uppercase;font-size:0.75em;letter-spacing:0.063em}.geo{text-align:center}img{border:10px #201a11 solid;width:100%;height:auto}#featured-image img{width:95%}h1{font:normal 1.875em Helvetica, Verdana, sans-serif;letter-spacing:0.5px;text-align:center}article h1{font:normal 1.5em Helvetica, Verdana, sans-serif;letter-spacing:0.5px;text-align:center;text-transform:none;margin:1.875em 0 0.875em 0}#archive > h1{font-weight:700;font-size:0.75em;text-transform:uppercase;text-align:left}#archive img{width:auto}#archive p{margin-top:0}#archive time{display:inline}.footnote{font-size:0.75em;border-top:1px #201a11 dotted;margin-top:1.5em;margin-bottom:0}.footnote p{line-height:1.5em !important}#post-metadata{margin-top:0;border-top:1px #201a11 dotted}#post-metadata p{font-size:0.875em;text-align:left}#pagination{border-top:1px #201a11 dotted;border-bottom:1px #201a11 dotted;text-align:center;padding:0.25em 0}.top .col{font-size:0.875em}header[role="banner"]{margin:0 auto;text-align:center}header[role="banner"] h1{background:url("../img/tree.png") 0 0 no-repeat;text-indent:-9999px;width:151px;height:84px;margin:0 auto}header[role="banner"] h2{background:url("../img/text.png") 0 0 no-repeat;text-indent:-9999px;width:184px;height:54px;margin:0 auto}nav[role="navigation"]{margin:1em auto 0.5em auto;text-align:center;border-top:1px #201a11 dotted;border-bottom:1px #201a11 dotted;width:100%;padding:0.25em 0;font-size:0.875em}nav:after,footer:before,.archive article:after,#archive:after{content:".";display:block;height:0;clear:both;visibility:hidden}.dateline{text-align:center}.dateline time{display:block}.postpic,.post-image{float:left;margin:0 0.625em 0.625em 0}.postpic,.postpicright{width:auto}article img{width:95%}article object,article embed{width:100%}#breadcrumbs{margin:0 0 2em 0.75em;font-size:0.875em}article[role="main"] li{display:block;margin:0.5em 0}.hide{display:none}#writing-archive article{border-bottom:1px #201a11 dotted;margin-bottom:1.5em;padding-bottom:1.5em}.figure{position:relative;margin:0}.figure .legend{display:block;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";filter:alpha(opacity=90);-moz-opacity:0.9;-khtml-opacity:0.9;opacity:0.9;position:absolute;bottom:0;left:0;font-size:13px;padding:8px 0 8px 8px;width:auto;background:#201a11;color:#999}#photo-galleries li{margin:8px;position:relative;display:block;width:100%;margin-bottom:30px}#photo-galleries .figure{width:100%;margin:0}#photo-galleries .figure img{width:87%}#photo-galleries .legend{padding:10px;color:#888;width:85%;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";filter:alpha(opacity=90);-moz-opacity:0.9;-khtml-opacity:0.9;opacity:0.9;line-height:18px;text-align:left;margin-bottom:5px}#photo-galleries h3{color:#fff;padding:0;margin:3px 0;font-size:0.875em}#photo-galleries p{margin:0}#map-canvas{border:10px #201a11 solid;width:95%;height:300px}.map-legend h4{font-size:1em;font-weight:bold;margin:1em 0 0.25em}.map-legend li:after{content:","}#about img{width:auto;float:left;margin:0 8px 8px 0}#about h2{font:normal 1.5em Helvetica, Verdana, sans-serif;margin:1em 0}#about article[role="main"] a{color:#b53a04}#about section:after{content:".";display:block;height:0;clear:both;visibility:hidden}.button{display:block;font-family:Helvetica, Verdana, sans-serif !important;margin:10px 10px 0 0;width:auto;font-size:10px}.button a{padding:9px 14px 7px 14px;font-weight:bold;line-height:25px;text-transform:uppercase;background:#d7d7d7;color:#666;-moz-border-radius:25px;-webkit-border-radius:25px;border-radius:25px}.button a:hover{background:#b53a04;color:#fff}footer{margin-top:2em}footer[role="contentinfo"] nav{text-align:center;padding:0.25em;border-top:1px #201a11 dotted;border-bottom:1px #201a11 dotted}.figure{margin:0;position:relative}.legend{background:#201a11;color:#999;display:block;position:absolute;bottom:0;width:auto;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";filter:alpha(opacity=90);-moz-opacity:0.9;-khtml-opacity:0.9;opacity:0.9}#post-body .legend{width:95%;margin:10px;font-size:0.875em}.numeral{display:block;font:bold 1.2em Helvetica, Verdana, sans-serif;margin-bottom:0;margin-top:60px}.nfirst{margin-top:0 !important}#post-body .notes{font:bold 1em Helvetica, Verdana, sans-serif;text-transform:uppercase}#post-body .addendum{font-size:17px;line-height:25px}#post-body .addendum dt{font-style:italic;margin:0.675em;margin:0.8em 0 0 -30px !important;padding-left:30px;text-indent:-30px}#post-body .addendum dd{margin:0.8em 0 0}#post-body h3,#post-body h2{font:normal 1.6em Helvetica, Verdana, sans-serif;line-height:1.2em}#post-body .pullquote{width:10em;margin:0 1em 1em -6em;font-style:italic;font-size:1.3em;float:left;line-height:1.6em}@media screen and (min-width: 800px){body{max-width:61.75em;margin:0 auto}header[role="banner"]{text-align:left;clear:both;border-bottom:#201a11 2px solid;height:9.375em}header[role="banner"] h1,header[role="banner"] h2{float:left;padding-top:2.2em;background-position:left bottom;margin:0 !important}header[role="banner"] h2{padding-top:3.5em;background:url("../img/text-wide.png") left bottom no-repeat !important;margin-left:1.7em !important}nav[role="navigation"]{width:25em;border:none;padding-top:7.3em;padding-left:15em}nav[role="navigation"] a{letter-spacing:1px}nav[role="navigation"] li{font-size:12px}#pagination{font-family:Helvetica, Verdana, sans-serif !important;font-size:1.125em}#archive{clear:both}#archive article{width:18.75em;float:left;text-align:justify}#archive article h1{text-align:left;font-size:1.125em;margin:1em 0 0.5em}#archive article .hyphenate{font-size:0.938em;line-height:1.438em}#archive article .dateline{text-align:left;margin-bottom:0.75em;font-size:0.65em}#archive .mid{margin:0 2.5em}article img{width:auto !important}.img{float:right}.img img{margin:0}.archive{padding-top:2em}.archive article{margin-bottom:2em;padding-bottom:2em;border:none !important}.archive h1,.archive p{width:41%;float:left;text-align:left;margin:0;font-size:1em}.archive h1{font-size:1.5em;line-height:1.3em;margin-top:0.15em;letter-spacing:0.5px}.archive .dateline{clear:left;margin:0.75em 0;font-size:0.688em}.archive .hyphenate{text-align:justify}.archive time{display:inline;float:right}#photo-galleries:after,#projects-page .top:after{content:".";display:block;height:0;clear:both;visibility:hidden}#page-nav{border:none;text-align:left;margin-top:2em}#breadcrumbs{margin-left:0}#breadcrumbs li{letter-spacing:1px}#photo-galleries li{float:left;width:291px;margin:0 1em 1em 1em}#photo-galleries li .figure img{width:100%}#photo-galleries .legend{width:97%;padding:1em;font-size:0.75em !important;line-height:95%}#map-canvas{width:47.5em;height:31.25em;float:right}.map-legend h4{margin-bottom:0.25em;letter-spacing:1px;font-size:0.875em}.map-legend li{display:block;font-size:0.875em;margin:3px 0}.map-legend li:after{content:""}.infowin h4{font:normal 1.3em Helvetica, Verdana, sans-serif;margin:0.5em 0}.infowin p{font-size:95%;overflow:auto}#projects-page .col{float:left;font-size:0.875em;margin:0 40px 0 0;width:360px}#projects-page .two{margin:0 0 0 3.5em;width:32em}#projects-page .top{padding-bottom:2em;margin-bottom:2em;border-bottom:1px solid #e3e3e3}#projects-page article p{margin:1em 0 0 0}article[role="main"] header,article[role="main"] #post-body,article[role="main"] footer,article[role="main"] #comments{width:35.625em;margin:3.5em 0 0 12em}article[role="main"] #post-body{margin-top:0}article[role="main"] #post-body .legend{width:96%;font-size:1em}article[role="main"] h1,article[role="main"] aside{text-align:left;margin:0 0 0.4em 0}article[role="main"] h1{font-size:1.875em}article[role="main"] p:nth-of-type(1){font-size:1.25em;line-height:28px}article[role="main"] #post-metadata{border-bottom:1px #201a11 dotted;margin-bottom:1em;margin-top:1.5em;padding:0.75em 0}article[role="main"] #post-metadata p{line-height:1.5em !important;margin:0}article[role="main"] #post-metadata a{color:#b53a04}article[role="main"] #page-navigation{text-transform:uppercase;font:normal 1.125em Helvetica, Verdana, sans-serif}article[role="main"] #page-navigation a{color:#b53a04}article[role="main"] #page-navigation li#next{float:right;padding-right:9em}article[role="main"] #page-navigation li#prev{float:left;padding-left:6em}.double article[role="main"] p:nth-of-type(1){font-size:1.063em;line-height:1.5em;margin:1em 0 0}.double article[role="main"] header{width:11.25em;float:left;margin-left:0}.double article[role="main"] header h1,.double article[role="main"] header aside{text-align:right;line-height:1.2em}.double article[role="main"] #post-body{margin:2em 0 0 1.25em;float:left;width:48.75em}.double article[role="main"] #post-body .col{float:left;width:23.125em}.double article[role="main"] #post-body .sec{margin-left:2.5em}.double article[role="main"] #post-body .narrow{width:35.625em;margin-left:-8px;margin-bottom:1em;clear:both}.double article[role="main"] #post-metadata{clear:both}#about article[role="main"] .content{width:35.625em;margin:0 0 0 12.4em}#about article[role="main"] h2{margin-left:8.2em}#about article[role="main"] p:nth-of-type(1){font-size:1.063em;line-height:1.5em}footer[role="contentinfo"]{font-family:Helvetica, Verdana, sans-serif;background:#201a11;height:3em;color:#888;margin:80px auto 0;font-size:1em;padding:0}footer[role="contentinfo"] li{float:left;text-transform:uppercase;line-height:3em;margin-top:0.75em;margin-left:8px}footer[role="contentinfo"] a{color:#888 !important}footer[role="contentinfo"] a:hover{color:#b53a04 !important}footer[role="contentinfo"] nav{border:none;margin:0 1em 0 0;padding:0;float:right}footer[role="contentinfo"] p{float:left;padding-left:8px;line-height:4em;margin-top:0.75em}.drop{font-size:4.8em;display:block;float:left;padding:38px 10px 5px 0;overflow:visible}.drop-small{font-size:2.9em;display:block;float:left;padding:19px 8px 5px 0;overflow:visible}.postpic,.postpicright{display:block;margin:0.3em 0.6em}.postpic{float:left;margin-left:0;margin-top:0.3em}.postpicright{float:right;margin-right:0}.postpicleft{float:left;margin:5px}.picfull{margin-top:20px}.picwide{border:10px solid #201a11;clear:both;margin:30px 0 30px -200px}}.ie8 .drop{padding-top:28px}.ie7 footer[role="contentinfo"],.ie7 #projects-archive,.ie7 #writing-archive article,.ie7 #pagination,.ie7 #projects-archive .button{clear:both}.ie7 .top{height:90px}.ie7 nav[role="navigation"]{padding-top:6.2em;padding-left:3.5em;margin-left:90px !important}*:focus{outline:#b53a04 dotted thin}body{background:#201a11}a{text-decoration:none;color:#b53a04}a:visited{color:#fff;text-decoration:none}a:hover{color:#fff;text-decoration:none}header[role="banner"]{border-bottom:#ccc 1px solid;margin-bottom:1em}header[role="banner"] a{color:#fff !important}header[role="banner"] a:hover{color:#b53a04 !important}header[role="banner"] h1{background:url("../img/tree-dark.png") left bottom no-repeat !important}header[role="banner"] h2{background:url("../img/text-dark.png") left bottom no-repeat !important}#breadcrumbs{color:#fff}#breadcrumbs a{color:#fff}#breadcrumbs a:hover{color:#b53a04}article[role="main"] .geo a{color:#fff}article[role="main"] .geo a:hover{color:#b53a04}footer{color:#ccc}footer a{color:#ccc !important}footer a:hover{color:#b53a04 !important}img.postpic,img.postpicright{border:none}img.picfull{border:none}#post-body{color:#ccc}aside,header{color:#ccc}aside section a{color:#ccc !important}aside section a:hover{color:#b53a04 !important}#post-metadata{border-top:#555 1px dotted;border-bottom:#555 1px dotted}#post-metadata p{color:#ccc}.addendum dt{margin-left:-30px !important}h4 a.disqus-link-count{color:#ccc !important}#writing-detail img{border:none}#writing-detail .legend{padding:8px}#parks article{position:relative;display:block;margin:0 0 2em 0}#parks article h1{display:block;background:#201a11;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";filter:alpha(opacity=90);-moz-opacity:0.9;-khtml-opacity:0.9;opacity:0.9;color:#fff;margin:0 0 0 10px;width:100%;text-align:left}#parks article .figure{position:relative;border:none}#parks article .legend{position:relative;width:100%;padding:0;margin:0}#parks article .legend h2{font:normal 0.875em Helvetica, Verdana, sans-serif;color:#fff;margin:0 0 1.3em 1em}#parks article .buttons{display:block;padding:0;background:#201a11;font-size:10px;line-height:1em;color:#fff;text-align:center;text-transform:uppercase;margin:0 auto}#parks article .buttons li{display:inline;margin:0 0.25em;font:normal 1em Helvetica, Verdana, sans-serif}#parks article .buttons a{font-weight:bold}#parks article .map-container{width:469px;height:392px;position:absolute;right:20px;bottom:60px;z-index:2000;margin:0;padding:0;background:url("../img/mapbg-dark.png") no-repeat top left}#parks article .map-wrapper{width:400px;height:328px;margin:37px 0 0 44px}#parks article .meta{height:0}#parks article .more-container{width:405px;height:260px;position:absolute;right:-30px;bottom:40px;z-index:2000;background:url("../img/parkbg.png") no-repeat top left}#parks article .more-container dl{margin-top:45px;margin-left:45px}#parks article .more-container dl dt,#parks article .more-container dl dd{font-size:0.9em;line-height:25px;margin:4px 0;font-family:Helvetica, Verdana, sans-serif;color:#fff}#parks article .more-container dl dt{clear:left;float:left;width:65px;font-weight:bold;line-height:25px;font-size:0.7em;text-transform:uppercase}#parks article .more-container dl dd{float:left;width:250px;overflow:hidden}#parks article .more-container dl dd a:hover{color:#b53a04}@media only screen and (min-width: 800px){#parks article h1{margin:0;font-size:2em;padding-left:0.25em;position:absolute;top:10px;left:10px;line-height:2em;z-index:1000}#parks article .legend{position:absolute;padding:0.25em 1em;height:4em}#parks article .legend h2{float:left;font-size:1.2em;margin:0;line-height:2.6em}#parks article .buttons{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";filter:alpha(opacity=90);-moz-opacity:0.9;-khtml-opacity:0.9;opacity:0.9;float:right;margin:2em 2em 0 0}#parks article .buttons a{padding:0.875em 1.75em 0.75em;background:#463215;color:#fff;-moz-border-radius:25px;-webkit-border-radius:25px;border-radius:25px}#parks article .buttons a:hover{background:#b53a04;color:#fff}#post-body .legend{width:100% !important}}.ie :focus{outline:0}.ie header[role="banner"]{border-bottom:#ccc 1px solid !important}.ie header[role="banner"] h2{background:url("../img/text-dark.png") left bottom no-repeat !important}.ie #parks .buttons a{padding:10px;line-height:2em} +ol,ul,li,dl{list-style:none;margin:0;padding:0;border:0;outline:0;background:transparent}blockquote,q{quotes:none}:focus{outline:0}header,section,footer,aside,article,nav{display:block;text-align:left}html{height:100%}body{font:normal 100% Hoefler Text, Georgia, Times New Roman, Times, serif;color:#201a11;margin:0 1.125em;min-height:100%;position:relative;padding:0;max-width:20.938em;background:#fff}p{font-size:1.063em;line-height:1.5em;margin:1em 0 0}footer p{font-size:0.625em;text-align:center}a{text-decoration:none;color:#201a11}a:hover{color:#b53a04}strong{font-weight:bold}sup{font:normal 0.625em Helvetica, Verdana, sans-serif}ul li{display:inline;margin:0 0.125em}blockquote{font-style:italic;font-size:1em;line-height:1.625em}blockquote p{font-size:1em !important}div[role="main"] ul li{display:block;margin:0.5em 0}.dateline,nav li,.breadcrumbs li,.geo,.legend h3{text-transform:uppercase;font-size:0.75em;letter-spacing:0.063em}.geo{text-align:center}img{border:10px #201a11 solid;width:100%;height:auto}#featured-image img{width:95%}h1{font:normal 1.875em Helvetica, Verdana, sans-serif;letter-spacing:0.5px;text-align:center}article h1{font:normal 1.5em Helvetica, Verdana, sans-serif;letter-spacing:0.5px;text-align:center;text-transform:none;margin:1.875em 0 0.875em 0}#archive > h1{font-weight:700;font-size:0.75em;text-transform:uppercase;text-align:left}#archive img{width:auto}#archive p{margin-top:0}#archive time{display:inline}.footnote{font-size:0.75em;border-top:1px #201a11 dotted;margin-top:1.5em;margin-bottom:0}.footnote p{line-height:1.5em !important}#post-metadata{margin-top:0;border-top:1px #201a11 dotted}#post-metadata p{font-size:0.875em;text-align:left}#pagination{border-top:1px #201a11 dotted;border-bottom:1px #201a11 dotted;text-align:center;padding:0.25em 0}.top .col{font-size:0.875em}header[role="banner"]{margin:0 auto;text-align:center}header[role="banner"] h1{background:url("../img/tree.png") 0 0 no-repeat;text-indent:-9999px;width:151px;height:84px;margin:0 auto}header[role="banner"] h2{background:url("../img/text.png") 0 0 no-repeat;text-indent:-9999px;width:184px;height:54px;margin:0 auto}nav[role="navigation"]{margin:1em auto 0.5em auto;text-align:center;border-top:1px #201a11 dotted;border-bottom:1px #201a11 dotted;width:100%;padding:0.25em 0;font-size:0.875em}nav:after,footer:before,.archive article:after,#archive:after{content:".";display:block;height:0;clear:both;visibility:hidden}.dateline{text-align:center}.dateline time{display:block}.postpic,.post-image{float:left;margin:0 0.625em 0.625em 0}.postpic,.postpicright{width:auto}article img{width:95%}article object,article embed{width:100%}#breadcrumbs{margin:0 0 2em 0.75em;font-size:0.875em}article[role="main"] li{display:block;margin:0.5em 0}.hide{display:none}#writing-archive article{border-bottom:1px #201a11 dotted;margin-bottom:1.5em;padding-bottom:1.5em}.figure{position:relative;margin:0}.figure .legend{display:block;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";filter:alpha(opacity=90);-moz-opacity:0.9;-khtml-opacity:0.9;opacity:0.9;position:absolute;bottom:0;left:0;font-size:13px;padding:8px 0 8px 8px;width:auto;background:#201a11;color:#999}#photo-galleries li{margin:8px;position:relative;display:block;width:100%;margin-bottom:30px}#photo-galleries .figure{width:100%;margin:0}#photo-galleries .figure img{width:87%}#photo-galleries .legend{padding:10px;color:#888;width:85%;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";filter:alpha(opacity=90);-moz-opacity:0.9;-khtml-opacity:0.9;opacity:0.9;line-height:18px;text-align:left;margin-bottom:5px}#photo-galleries h3{color:#fff;padding:0;margin:3px 0;font-size:0.875em}#photo-galleries p{margin:0}#map-canvas{border:10px #201a11 solid;width:95%;height:300px}.map-legend h4{font-size:1em;font-weight:bold;margin:1em 0 0.25em}.map-legend li:after{content:","}#about img{width:auto;float:left;margin:0 8px 8px 0}#about h2{font:normal 1.5em Helvetica, Verdana, sans-serif;margin:1em 0}#about article[role="main"] a{color:#b53a04}#about section:after{content:".";display:block;height:0;clear:both;visibility:hidden}.button{display:block;font-family:Helvetica, Verdana, sans-serif !important;margin:10px 10px 0 0;width:auto;font-size:10px}.button a{padding:9px 14px 7px 14px;font-weight:bold;line-height:25px;text-transform:uppercase;background:#d7d7d7;color:#666;-moz-border-radius:25px;-webkit-border-radius:25px;border-radius:25px}.button a:hover{background:#b53a04;color:#fff}footer{margin-top:2em}footer[role="contentinfo"] nav{text-align:center;padding:0.25em;border-top:1px #201a11 dotted;border-bottom:1px #201a11 dotted}.figure{margin:0;position:relative}.legend{background:#201a11;color:#999;display:block;position:absolute;bottom:0;width:auto;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";filter:alpha(opacity=90);-moz-opacity:0.9;-khtml-opacity:0.9;opacity:0.9}#post-body .legend{width:95%;margin:10px;font-size:0.875em}.numeral{display:block;font:bold 1.2em Helvetica, Verdana, sans-serif;margin-bottom:0;margin-top:60px}.nfirst{margin-top:0 !important}#post-body .notes{font:bold 1em Helvetica, Verdana, sans-serif;text-transform:uppercase}#post-body .addendum{font-size:17px;line-height:25px}#post-body .addendum dt{font-style:italic;margin:0.675em;margin:0.8em 0 0 -30px !important;padding-left:30px;text-indent:-30px}#post-body .addendum dd{margin:0.8em 0 0}#post-body h3,#post-body h2{font:normal 1.6em Helvetica, Verdana, sans-serif;line-height:1.2em}#post-body .pullquote{width:10em;margin:0 1em 1em -6em;font-style:italic;font-size:1.3em;float:left;line-height:1.6em}@media screen and (min-width: 800px){body{max-width:61.75em;margin:0 auto}header[role="banner"]{text-align:left;clear:both;border-bottom:#201a11 2px solid;height:9.375em}header[role="banner"] h1,header[role="banner"] h2{float:left;padding-top:2.2em;background-position:left bottom;margin:0 !important}header[role="banner"] h2{padding-top:3.5em;background:url("../img/text-wide.png") left bottom no-repeat !important;margin-left:1.7em !important}nav[role="navigation"]{width:25em;border:none;padding-top:7.3em;padding-left:15em}nav[role="navigation"] a{letter-spacing:1px}nav[role="navigation"] li{font-size:12px}#pagination{font-family:Helvetica, Verdana, sans-serif !important;font-size:1.125em}#archive{clear:both}#archive article{width:18.75em;float:left;text-align:justify}#archive article h1{text-align:left;font-size:1.125em;margin:1em 0 0.5em}#archive article .hyphenate{font-size:0.938em;line-height:1.438em}#archive article .dateline{text-align:left;margin-bottom:0.75em;font-size:0.65em}#archive .mid{margin:0 2.5em}article img{width:auto !important}.img{float:right}.img img{margin:0}.archive{padding-top:2em}.archive article{margin-bottom:2em;padding-bottom:2em;border:none !important}.archive h1,.archive p{width:41%;float:left;text-align:left;margin:0;font-size:1em}.archive h1{font-size:1.5em;line-height:1.3em;margin-top:0.15em;letter-spacing:0.5px}.archive .dateline{clear:left;margin:0.75em 0;font-size:0.688em}.archive .hyphenate{text-align:justify}.archive time{display:inline;float:right}#photo-galleries:after,#projects-page .top:after{content:".";display:block;height:0;clear:both;visibility:hidden}#page-nav{border:none;text-align:left;margin-top:2em}#breadcrumbs{margin-left:0}#breadcrumbs li{letter-spacing:1px}#photo-galleries li{float:left;width:291px;margin:0 1em 1em 1em}#photo-galleries li .figure img{width:100%}#photo-galleries .legend{width:97%;padding:1em;font-size:0.75em !important;line-height:95%}#map-canvas{width:47.5em;height:31.25em;float:right}.map-legend h4{margin-bottom:0.25em;letter-spacing:1px;font-size:0.875em}.map-legend li{display:block;font-size:0.875em;margin:3px 0}.map-legend li:after{content:""}.infowin h4{font:normal 1.3em Helvetica, Verdana, sans-serif;margin:0.5em 0}.infowin p{font-size:95%;overflow:auto}#projects-page .col{float:left;font-size:0.875em;margin:0 40px 0 0;width:360px}#projects-page .two{margin:0 0 0 3.5em;width:32em}#projects-page .top{padding-bottom:2em;margin-bottom:2em;border-bottom:1px solid #e3e3e3}#projects-page article p{margin:1em 0 0 0}article[role="main"] header,article[role="main"] #post-body,article[role="main"] footer,article[role="main"] #comments{width:35.625em;margin:3.5em 0 0 12em}article[role="main"] #post-body{margin-top:0}article[role="main"] #post-body .legend{width:96%;font-size:1em}article[role="main"] h1,article[role="main"] aside{text-align:left;margin:0 0 0.4em 0}article[role="main"] h1{font-size:1.875em}article[role="main"] p:nth-of-type(1){font-size:1.25em;line-height:28px}article[role="main"] #post-metadata{border-bottom:1px #201a11 dotted;margin-bottom:1em;margin-top:1.5em;padding:0.75em 0}article[role="main"] #post-metadata p{line-height:1.5em !important;margin:0}article[role="main"] #post-metadata a{color:#b53a04}article[role="main"] #page-navigation{text-transform:uppercase;font:normal 1.125em Helvetica, Verdana, sans-serif}article[role="main"] #page-navigation a{color:#b53a04}article[role="main"] #page-navigation li#next{float:right;padding-right:9em}article[role="main"] #page-navigation li#prev{float:left;padding-left:6em}.double article[role="main"] p:nth-of-type(1){font-size:1.063em;line-height:1.5em;margin:1em 0 0}.double article[role="main"] header{width:11.25em;float:left;margin-left:0}.double article[role="main"] header h1,.double article[role="main"] header aside{text-align:right;line-height:1.2em}.double article[role="main"] #post-body{margin:2em 0 0 1.25em;float:left;width:48.75em}.double article[role="main"] #post-body .col{float:left;width:23.125em}.double article[role="main"] #post-body .sec{margin-left:2.5em}.double article[role="main"] #post-body .narrow{width:35.625em;margin-left:-8px;margin-bottom:1em;clear:both}.double article[role="main"] #post-metadata{clear:both}#about article[role="main"] .content{width:35.625em;margin:0 0 0 12.4em}#about article[role="main"] h2{margin-left:8.2em}#about article[role="main"] p:nth-of-type(1){font-size:1.063em;line-height:1.5em}footer[role="contentinfo"]{font-family:Helvetica, Verdana, sans-serif;background:#201a11;height:3em;color:#888;margin:80px auto 0;font-size:1em;padding:0}footer[role="contentinfo"] li{float:left;text-transform:uppercase;line-height:3em;margin-top:0.75em;margin-left:8px}footer[role="contentinfo"] a{color:#888 !important}footer[role="contentinfo"] a:hover{color:#b53a04 !important}footer[role="contentinfo"] nav{border:none;margin:0 1em 0 0;padding:0;float:right}footer[role="contentinfo"] p{float:left;padding-left:8px;line-height:4em;margin-top:0.75em}.drop{font-size:4.8em;display:block;float:left;padding:38px 10px 5px 0;overflow:visible}.drop-small{font-size:2.9em;display:block;float:left;padding:19px 8px 5px 0;overflow:visible}.postpic,.postpicright{display:block;margin:0.3em 0.6em}.postpic{float:left;margin-left:0;margin-top:0.3em}.postpicright{float:right;margin-right:0}.postpicleft{float:left;margin:5px}.picfull{margin-top:20px}.picwide{border:10px solid #201a11;clear:both;margin:30px 0 30px -200px}}.ie8 .drop{padding-top:28px}.ie7 footer[role="contentinfo"],.ie7 #projects-archive,.ie7 #writing-archive article,.ie7 #pagination,.ie7 #projects-archive .button{clear:both}.ie7 .top{height:90px}.ie7 nav[role="navigation"]{padding-top:6.2em;padding-left:3.5em;margin-left:90px !important}*:focus{outline:#b53a04 dotted thin}body{background:#201a11}a{text-decoration:none;color:#b53a04}a:visited{color:#fff;text-decoration:none}a:hover{color:#fff;text-decoration:none}header[role="banner"]{border-bottom:#ccc 1px solid;margin-bottom:1em}header[role="banner"] a{color:#fff !important}header[role="banner"] a:hover{color:#b53a04 !important}header[role="banner"] h1{background:url("../img/tree-dark.png") left bottom no-repeat !important}header[role="banner"] h2{background:url("../img/text-dark.png") left bottom no-repeat !important}#breadcrumbs{color:#fff}#breadcrumbs a{color:#fff}#breadcrumbs a:hover{color:#b53a04}article[role="main"] .geo a{color:#fff}article[role="main"] .geo a:hover{color:#b53a04}footer{color:#ccc}footer a{color:#ccc !important}footer a:hover{color:#b53a04 !important}img.postpic,img.postpicright{border:none}img.picfull{border:none}#post-body{color:#ccc}aside,header{color:#ccc}aside section a{color:#ccc !important}aside section a:hover{color:#b53a04 !important}#post-metadata{border-top:#555 1px dotted;border-bottom:#555 1px dotted}#post-metadata p{color:#ccc}.addendum dt{margin-left:-30px !important}h4 a.disqus-link-count{color:#ccc !important}#writing-detail img{border:none}#writing-detail .legend{padding:8px}#parks article{position:relative;display:block;margin:0 0 2em 0}#parks article h1{display:block;background:#201a11;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";filter:alpha(opacity=90);-moz-opacity:0.9;-khtml-opacity:0.9;opacity:0.9;color:#fff;margin:0 0 0 10px;width:100%;text-align:left}#parks article .figure{position:relative;border:none}#parks article .legend{position:relative;width:100%;padding:0;margin:0}#parks article .legend h2{font:normal 0.875em Helvetica, Verdana, sans-serif;color:#fff;margin:0 0 1.3em 1em}#parks article .buttons{display:block;padding:0;background:#201a11;font-size:10px;line-height:1em;color:#fff;text-align:center;text-transform:uppercase;margin:0 auto}#parks article .buttons li{display:inline;margin:0 0.25em;font:normal 1em Helvetica, Verdana, sans-serif}#parks article .buttons a{font-weight:bold}#parks article .map-container{width:469px;height:392px;position:absolute;right:20px;bottom:60px;z-index:2000;margin:0;padding:0;background:url("../img/mapbg-dark.png") no-repeat top left}#parks article .map-wrapper{width:400px;height:328px;margin:37px 0 0 44px}#parks article .meta{height:0}#parks article .more-container{width:405px;height:260px;position:absolute;right:-30px;bottom:40px;z-index:2000;background:url("../img/parkbg.png") no-repeat top left}#parks article .more-container dl{margin-top:45px;margin-left:45px}#parks article .more-container dl dt,#parks article .more-container dl dd{font-size:0.9em;line-height:25px;margin:4px 0;font-family:Helvetica, Verdana, sans-serif;color:#fff}#parks article .more-container dl dt{clear:left;float:left;width:65px;font-weight:bold;line-height:25px;font-size:0.7em;text-transform:uppercase}#parks article .more-container dl dd{float:left;width:250px;overflow:hidden}#parks article .more-container dl dd a:hover{color:#b53a04}body.image_gallery{background:#14100b !important}body.image_gallery .directions{font:normal 0.675em Helvetica, Verdana, sans-serif;color:#414144;text-align:center;margin-bottom:1.75em}body.image_gallery article{clear:both;margin-bottom:5em}body.image_gallery h6{text-align:center;text-transform:uppercase;font-size:0.625em;margin:0 0 1.25em 0}body.image_gallery h6 a{color:#b5b5b5}body.image_gallery h6 a:hover{color:#b53a04}body.image_gallery #slides{width:62.5em}body.image_gallery #slides img{border:none;margin:0 auto;text-align:center;padding:0;float:left}body.image_gallery .figcaption{clear:both;background:#1a1713;-moz-border-radius:0 0 0.5em 0.5em;-webkit-border-radius:0 0 0.5em 0.5em;border-radius:0 0 0.5em 0.5em;color:#fff;margin:-0.25em 0 0 0;padding:1em 0 1em 0}body.image_gallery .figcaption h3{float:left;margin:0 0 1em 1em;padding:0;font-weight:normal}body.image_gallery .figcaption .caption{border-right:1px solid #1f1f21;width:70%;float:left;padding-right:1em}body.image_gallery .figcaption .caption p{clear:both}body.image_gallery .figcaption .map-link{float:right;background:#211d19;line-height:1em;color:#fff;text-align:center;text-transform:uppercase;margin:0 0.25em;font:normal 0.75em Helvetica, Verdana, sans-serif;padding:0.5em 1em;-moz-border-radius:1em;-webkit-border-radius:1em;border-radius:1em}body.image_gallery .figcaption .map-link:hover{background:#b53a04}body.image_gallery .figcaption .photo-options{float:left;margin-left:1em}body.image_gallery .figcaption li{display:inline;margin:0 0.25em;font:normal 1em Helvetica, Verdana, sans-serif}body.image_gallery .figcaption a{font-weight:bold}body.image_gallery .figcaption p{margin:0 1em;color:#74757a;font-size:1em}body.image_gallery .figcaption .details,body.image_gallery .figcaption .camera{font:normal 0.75em Helvetica, Verdana, sans-serif;color:#414144}body.image_gallery .figcaption .details a,body.image_gallery .figcaption .camera a{color:#414144;font-weight:normal}body.image_gallery .figcaption .details a:hover,body.image_gallery .figcaption .camera a:hover{color:#b53a04}body.image_gallery .figcaption:after{content:".";display:block;height:0;clear:both;visibility:hidden}body.image_gallery .meta{margin:43px 0 0 37px;color:#000}body.image_gallery .meta dl{font-size:13px}body.image_gallery .meta dt{clear:left;float:left;line-height:16px;margin:4px 0;width:100px}body.image_gallery .meta dd{float:left;width:125px;margin:4px 0 4px 4px;line-height:16px}body.image_gallery .meta dd a{color:#000 !important}body.image_gallery .meta dd a:hover{color:#b53a04 !important}body.image_gallery .map-container{width:469px;height:392px;position:relative;bottom:-180px;left:280px;z-index:2000;margin:0;padding:0;background:url("../img/mapbg.png") no-repeat top left}body.image_gallery .map-wrapper{width:400px;height:328px;margin:37px 0 0 44px;position:relative;top:-525px}@media only screen and (max-width: 480px){body.image_gallery #slides{width:100%}body.image_gallery h3{margin-left:0.5em !important;margin-bottom:0.5em !important}body.image_gallery h6{display:none}body.image_gallery #slides img{width:100%}body.image_gallery .photo-options,body.image_gallery .map-link{display:none}body.image_gallery .figcaption{padding:1em 0 0.5em 0}body.image_gallery .caption{width:100% !important;float:none !important}body.image_gallery .caption p{font:normal 0.75em Helvetica, Verdana, sans-serif;margin:0 0 0 0.75em;padding-bottom:0.25em}}@media only screen and (min-width: 800px){#parks article h1{margin:0;font-size:2em;padding-left:0.25em;position:absolute;top:10px;left:10px;line-height:2em;z-index:1000}#parks article .legend{position:absolute;padding:0.25em 1em;height:4em}#parks article .legend h2{float:left;font-size:1.2em;margin:0;line-height:2.6em}#parks article .buttons{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";filter:alpha(opacity=90);-moz-opacity:0.9;-khtml-opacity:0.9;opacity:0.9;float:right;margin:2em 2em 0 0}#parks article .buttons a{padding:0.875em 1.75em 0.75em;background:#463215;color:#fff;-moz-border-radius:25px;-webkit-border-radius:25px;border-radius:25px}#parks article .buttons a:hover{background:#b53a04;color:#fff}#post-body .legend{width:100% !important}}.ie :focus{outline:0}.ie header[role="banner"]{border-bottom:#ccc 1px solid !important}.ie header[role="banner"] h2{background:url("../img/text-dark.png") left bottom no-repeat !important}.ie #parks .buttons a{padding:10px;line-height:2em} diff --git a/media/js/jquery.cycle.min.js b/media/js/jquery.cycle.min.js deleted file mode 100644 index 24fed30..0000000 --- a/media/js/jquery.cycle.min.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * jQuery Cycle Plugin (with Transition Definitions) - * Examples and documentation at: http://jquery.malsup.com/cycle/ - * Copyright (c) 2007-2010 M. Alsup - * Version: 2.86 (05-APR-2010) - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html - * Requires: jQuery v1.2.6 or later - */ -(function($){var ver="2.86";if($.support==undefined){$.support={opacity:!($.browser.msie)};}function debug(s){if($.fn.cycle.debug){log(s);}}function log(){if(window.console&&window.console.log){window.console.log("[cycle] "+Array.prototype.join.call(arguments," "));}}$.fn.cycle=function(options,arg2){var o={s:this.selector,c:this.context};if(this.length===0&&options!="stop"){if(!$.isReady&&o.s){log("DOM not ready, queuing slideshow");$(function(){$(o.s,o.c).cycle(options,arg2);});return this;}log("terminating; zero elements found by selector"+($.isReady?"":" (DOM not ready)"));return this;}return this.each(function(){var opts=handleArguments(this,options,arg2);if(opts===false){return;}opts.updateActivePagerLink=opts.updateActivePagerLink||$.fn.cycle.updateActivePagerLink;if(this.cycleTimeout){clearTimeout(this.cycleTimeout);}this.cycleTimeout=this.cyclePause=0;var $cont=$(this);var $slides=opts.slideExpr?$(opts.slideExpr,this):$cont.children();var els=$slides.get();if(els.length<2){log("terminating; too few slides: "+els.length);return;}var opts2=buildOptions($cont,$slides,els,opts,o);if(opts2===false){return;}var startTime=opts2.continuous?10:getTimeout(opts2.currSlide,opts2.nextSlide,opts2,!opts2.rev);if(startTime){startTime+=(opts2.delay||0);if(startTime<10){startTime=10;}debug("first timeout: "+startTime);this.cycleTimeout=setTimeout(function(){go(els,opts2,0,!opts2.rev);},startTime);}});};function handleArguments(cont,options,arg2){if(cont.cycleStop==undefined){cont.cycleStop=0;}if(options===undefined||options===null){options={};}if(options.constructor==String){switch(options){case"destroy":case"stop":var opts=$(cont).data("cycle.opts");if(!opts){return false;}cont.cycleStop++;if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);}cont.cycleTimeout=0;$(cont).removeData("cycle.opts");if(options=="destroy"){destroy(opts);}return false;case"toggle":cont.cyclePause=(cont.cyclePause===1)?0:1;checkInstantResume(cont.cyclePause,arg2,cont);return false;case"pause":cont.cyclePause=1;return false;case"resume":cont.cyclePause=0;checkInstantResume(false,arg2,cont);return false;case"prev":case"next":var opts=$(cont).data("cycle.opts");if(!opts){log('options not found, "prev/next" ignored');return false;}$.fn.cycle[options](opts);return false;default:options={fx:options};}return options;}else{if(options.constructor==Number){var num=options;options=$(cont).data("cycle.opts");if(!options){log("options not found, can not advance slide");return false;}if(num<0||num>=options.elements.length){log("invalid slide index: "+num);return false;}options.nextSlide=num;if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);cont.cycleTimeout=0;}if(typeof arg2=="string"){options.oneTimeFx=arg2;}go(options.elements,options,1,num>=options.currSlide);return false;}}return options;function checkInstantResume(isPaused,arg2,cont){if(!isPaused&&arg2===true){var options=$(cont).data("cycle.opts");if(!options){log("options not found, can not resume");return false;}if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);cont.cycleTimeout=0;}go(options.elements,options,1,1);}}}function removeFilter(el,opts){if(!$.support.opacity&&opts.cleartype&&el.style.filter){try{el.style.removeAttribute("filter");}catch(smother){}}}function destroy(opts){if(opts.next){$(opts.next).unbind(opts.prevNextEvent);}if(opts.prev){$(opts.prev).unbind(opts.prevNextEvent);}if(opts.pager||opts.pagerAnchorBuilder){$.each(opts.pagerAnchors||[],function(){this.unbind().remove();});}opts.pagerAnchors=null;if(opts.destroy){opts.destroy(opts);}}function buildOptions($cont,$slides,els,options,o){var opts=$.extend({},$.fn.cycle.defaults,options||{},$.metadata?$cont.metadata():$.meta?$cont.data():{});if(opts.autostop){opts.countdown=opts.autostopCount||els.length;}var cont=$cont[0];$cont.data("cycle.opts",opts);opts.$cont=$cont;opts.stopCount=cont.cycleStop;opts.elements=els;opts.before=opts.before?[opts.before]:[];opts.after=opts.after?[opts.after]:[];opts.after.unshift(function(){opts.busy=0;});if(!$.support.opacity&&opts.cleartype){opts.after.push(function(){removeFilter(this,opts);});}if(opts.continuous){opts.after.push(function(){go(els,opts,0,!opts.rev);});}saveOriginalOpts(opts);if(!$.support.opacity&&opts.cleartype&&!opts.cleartypeNoBg){clearTypeFix($slides);}if($cont.css("position")=="static"){$cont.css("position","relative");}if(opts.width){$cont.width(opts.width);}if(opts.height&&opts.height!="auto"){$cont.height(opts.height);}if(opts.startingSlide){opts.startingSlide=parseInt(opts.startingSlide);}if(opts.random){opts.randomMap=[];for(var i=0;i<els.length;i++){opts.randomMap.push(i);}opts.randomMap.sort(function(a,b){return Math.random()-0.5;});opts.randomIndex=1;opts.startingSlide=opts.randomMap[1];}else{if(opts.startingSlide>=els.length){opts.startingSlide=0;}}opts.currSlide=opts.startingSlide||0;var first=opts.startingSlide;$slides.css({position:"absolute",top:0,left:0}).hide().each(function(i){var z=first?i>=first?els.length-(i-first):first-i:els.length-i;$(this).css("z-index",z);});$(els[first]).css("opacity",1).show();removeFilter(els[first],opts);if(opts.fit&&opts.width){$slides.width(opts.width);}if(opts.fit&&opts.height&&opts.height!="auto"){$slides.height(opts.height);}var reshape=opts.containerResize&&!$cont.innerHeight();if(reshape){var maxw=0,maxh=0;for(var j=0;j<els.length;j++){var $e=$(els[j]),e=$e[0],w=$e.outerWidth(),h=$e.outerHeight();if(!w){w=e.offsetWidth||e.width||$e.attr("width");}if(!h){h=e.offsetHeight||e.height||$e.attr("height");}maxw=w>maxw?w:maxw;maxh=h>maxh?h:maxh;}if(maxw>0&&maxh>0){$cont.css({width:maxw+"px",height:maxh+"px"});}}if(opts.pause){$cont.hover(function(){this.cyclePause++;},function(){this.cyclePause--;});}if(supportMultiTransitions(opts)===false){return false;}var requeue=false;options.requeueAttempts=options.requeueAttempts||0;$slides.each(function(){var $el=$(this);this.cycleH=(opts.fit&&opts.height)?opts.height:($el.height()||this.offsetHeight||this.height||$el.attr("height")||0);this.cycleW=(opts.fit&&opts.width)?opts.width:($el.width()||this.offsetWidth||this.width||$el.attr("width")||0);if($el.is("img")){var loadingIE=($.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete);var loadingFF=($.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete);var loadingOp=($.browser.opera&&((this.cycleW==42&&this.cycleH==19)||(this.cycleW==37&&this.cycleH==17))&&!this.complete);var loadingOther=(this.cycleH==0&&this.cycleW==0&&!this.complete);if(loadingIE||loadingFF||loadingOp||loadingOther){if(o.s&&opts.requeueOnImageNotLoaded&&++options.requeueAttempts<100){log(options.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);setTimeout(function(){$(o.s,o.c).cycle(options);},opts.requeueTimeout);requeue=true;return false;}else{log("could not determine size of image: "+this.src,this.cycleW,this.cycleH);}}}return true;});if(requeue){return false;}opts.cssBefore=opts.cssBefore||{};opts.animIn=opts.animIn||{};opts.animOut=opts.animOut||{};$slides.not(":eq("+first+")").css(opts.cssBefore);if(opts.cssFirst){$($slides[first]).css(opts.cssFirst);}if(opts.timeout){opts.timeout=parseInt(opts.timeout);if(opts.speed.constructor==String){opts.speed=$.fx.speeds[opts.speed]||parseInt(opts.speed);}if(!opts.sync){opts.speed=opts.speed/2;}var buffer=opts.fx=="shuffle"?500:250;while((opts.timeout-opts.speed)<buffer){opts.timeout+=opts.speed;}}if(opts.easing){opts.easeIn=opts.easeOut=opts.easing;}if(!opts.speedIn){opts.speedIn=opts.speed;}if(!opts.speedOut){opts.speedOut=opts.speed;}opts.slideCount=els.length;opts.currSlide=opts.lastSlide=first;if(opts.random){if(++opts.randomIndex==els.length){opts.randomIndex=0;}opts.nextSlide=opts.randomMap[opts.randomIndex];}else{opts.nextSlide=opts.startingSlide>=(els.length-1)?0:opts.startingSlide+1;}if(!opts.multiFx){var init=$.fn.cycle.transitions[opts.fx];if($.isFunction(init)){init($cont,$slides,opts);}else{if(opts.fx!="custom"&&!opts.multiFx){log("unknown transition: "+opts.fx,"; slideshow terminating");return false;}}}var e0=$slides[first];if(opts.before.length){opts.before[0].apply(e0,[e0,e0,opts,true]);}if(opts.after.length>1){opts.after[1].apply(e0,[e0,e0,opts,true]);}if(opts.next){$(opts.next).bind(opts.prevNextEvent,function(){return advance(opts,opts.rev?-1:1);});}if(opts.prev){$(opts.prev).bind(opts.prevNextEvent,function(){return advance(opts,opts.rev?1:-1);});}if(opts.pager||opts.pagerAnchorBuilder){buildPager(els,opts);}exposeAddSlide(opts,els);return opts;}function saveOriginalOpts(opts){opts.original={before:[],after:[]};opts.original.cssBefore=$.extend({},opts.cssBefore);opts.original.cssAfter=$.extend({},opts.cssAfter);opts.original.animIn=$.extend({},opts.animIn);opts.original.animOut=$.extend({},opts.animOut);$.each(opts.before,function(){opts.original.before.push(this);});$.each(opts.after,function(){opts.original.after.push(this);});}function supportMultiTransitions(opts){var i,tx,txs=$.fn.cycle.transitions;if(opts.fx.indexOf(",")>0){opts.multiFx=true;opts.fxs=opts.fx.replace(/\s*/g,"").split(",");for(i=0;i<opts.fxs.length;i++){var fx=opts.fxs[i];tx=txs[fx];if(!tx||!txs.hasOwnProperty(fx)||!$.isFunction(tx)){log("discarding unknown transition: ",fx);opts.fxs.splice(i,1);i--;}}if(!opts.fxs.length){log("No valid transitions named; slideshow terminating.");return false;}}else{if(opts.fx=="all"){opts.multiFx=true;opts.fxs=[];for(p in txs){tx=txs[p];if(txs.hasOwnProperty(p)&&$.isFunction(tx)){opts.fxs.push(p);}}}}if(opts.multiFx&&opts.randomizeEffects){var r1=Math.floor(Math.random()*20)+30;for(i=0;i<r1;i++){var r2=Math.floor(Math.random()*opts.fxs.length);opts.fxs.push(opts.fxs.splice(r2,1)[0]);}debug("randomized fx sequence: ",opts.fxs);}return true;}function exposeAddSlide(opts,els){opts.addSlide=function(newSlide,prepend){var $s=$(newSlide),s=$s[0];if(!opts.autostopCount){opts.countdown++;}els[prepend?"unshift":"push"](s);if(opts.els){opts.els[prepend?"unshift":"push"](s);}opts.slideCount=els.length;$s.css("position","absolute");$s[prepend?"prependTo":"appendTo"](opts.$cont);if(prepend){opts.currSlide++;opts.nextSlide++;}if(!$.support.opacity&&opts.cleartype&&!opts.cleartypeNoBg){clearTypeFix($s);}if(opts.fit&&opts.width){$s.width(opts.width);}if(opts.fit&&opts.height&&opts.height!="auto"){$slides.height(opts.height);}s.cycleH=(opts.fit&&opts.height)?opts.height:$s.height();s.cycleW=(opts.fit&&opts.width)?opts.width:$s.width();$s.css(opts.cssBefore);if(opts.pager||opts.pagerAnchorBuilder){$.fn.cycle.createPagerAnchor(els.length-1,s,$(opts.pager),els,opts);}if($.isFunction(opts.onAddSlide)){opts.onAddSlide($s);}else{$s.hide();}};}$.fn.cycle.resetState=function(opts,fx){fx=fx||opts.fx;opts.before=[];opts.after=[];opts.cssBefore=$.extend({},opts.original.cssBefore);opts.cssAfter=$.extend({},opts.original.cssAfter);opts.animIn=$.extend({},opts.original.animIn);opts.animOut=$.extend({},opts.original.animOut);opts.fxFn=null;$.each(opts.original.before,function(){opts.before.push(this);});$.each(opts.original.after,function(){opts.after.push(this);});var init=$.fn.cycle.transitions[fx];if($.isFunction(init)){init(opts.$cont,$(opts.elements),opts);}};function go(els,opts,manual,fwd){if(manual&&opts.busy&&opts.manualTrump){debug("manualTrump in go(), stopping active transition");$(els).stop(true,true);opts.busy=false;}if(opts.busy){debug("transition active, ignoring new tx request");return;}var p=opts.$cont[0],curr=els[opts.currSlide],next=els[opts.nextSlide];if(p.cycleStop!=opts.stopCount||p.cycleTimeout===0&&!manual){return;}if(!manual&&!p.cyclePause&&((opts.autostop&&(--opts.countdown<=0))||(opts.nowrap&&!opts.random&&opts.nextSlide<opts.currSlide))){if(opts.end){opts.end(opts);}return;}var changed=false;if((manual||!p.cyclePause)&&(opts.nextSlide!=opts.currSlide)){changed=true;var fx=opts.fx;curr.cycleH=curr.cycleH||$(curr).height();curr.cycleW=curr.cycleW||$(curr).width();next.cycleH=next.cycleH||$(next).height();next.cycleW=next.cycleW||$(next).width();if(opts.multiFx){if(opts.lastFx==undefined||++opts.lastFx>=opts.fxs.length){opts.lastFx=0;}fx=opts.fxs[opts.lastFx];opts.currFx=fx;}if(opts.oneTimeFx){fx=opts.oneTimeFx;opts.oneTimeFx=null;}$.fn.cycle.resetState(opts,fx);if(opts.before.length){$.each(opts.before,function(i,o){if(p.cycleStop!=opts.stopCount){return;}o.apply(next,[curr,next,opts,fwd]);});}var after=function(){$.each(opts.after,function(i,o){if(p.cycleStop!=opts.stopCount){return;}o.apply(next,[curr,next,opts,fwd]);});};debug("tx firing; currSlide: "+opts.currSlide+"; nextSlide: "+opts.nextSlide);opts.busy=1;if(opts.fxFn){opts.fxFn(curr,next,opts,after,fwd,manual&&opts.fastOnEvent);}else{if($.isFunction($.fn.cycle[opts.fx])){$.fn.cycle[opts.fx](curr,next,opts,after,fwd,manual&&opts.fastOnEvent);}else{$.fn.cycle.custom(curr,next,opts,after,fwd,manual&&opts.fastOnEvent);}}}if(changed||opts.nextSlide==opts.currSlide){opts.lastSlide=opts.currSlide;if(opts.random){opts.currSlide=opts.nextSlide;if(++opts.randomIndex==els.length){opts.randomIndex=0;}opts.nextSlide=opts.randomMap[opts.randomIndex];if(opts.nextSlide==opts.currSlide){opts.nextSlide=(opts.currSlide==opts.slideCount-1)?0:opts.currSlide+1;}}else{var roll=(opts.nextSlide+1)==els.length;opts.nextSlide=roll?0:opts.nextSlide+1;opts.currSlide=roll?els.length-1:opts.nextSlide-1;}}if(changed&&opts.pager){opts.updateActivePagerLink(opts.pager,opts.currSlide,opts.activePagerClass);}var ms=0;if(opts.timeout&&!opts.continuous){ms=getTimeout(curr,next,opts,fwd);}else{if(opts.continuous&&p.cyclePause){ms=10;}}if(ms>0){p.cycleTimeout=setTimeout(function(){go(els,opts,0,!opts.rev);},ms);}}$.fn.cycle.updateActivePagerLink=function(pager,currSlide,clsName){$(pager).each(function(){$(this).children().removeClass(clsName).eq(currSlide).addClass(clsName);});};function getTimeout(curr,next,opts,fwd){if(opts.timeoutFn){var t=opts.timeoutFn(curr,next,opts,fwd);while((t-opts.speed)<250){t+=opts.speed;}debug("calculated timeout: "+t+"; speed: "+opts.speed);if(t!==false){return t;}}return opts.timeout;}$.fn.cycle.next=function(opts){advance(opts,opts.rev?-1:1);};$.fn.cycle.prev=function(opts){advance(opts,opts.rev?1:-1);};function advance(opts,val){var els=opts.elements;var p=opts.$cont[0],timeout=p.cycleTimeout;if(timeout){clearTimeout(timeout);p.cycleTimeout=0;}if(opts.random&&val<0){opts.randomIndex--;if(--opts.randomIndex==-2){opts.randomIndex=els.length-2;}else{if(opts.randomIndex==-1){opts.randomIndex=els.length-1;}}opts.nextSlide=opts.randomMap[opts.randomIndex];}else{if(opts.random){opts.nextSlide=opts.randomMap[opts.randomIndex];}else{opts.nextSlide=opts.currSlide+val;if(opts.nextSlide<0){if(opts.nowrap){return false;}opts.nextSlide=els.length-1;}else{if(opts.nextSlide>=els.length){if(opts.nowrap){return false;}opts.nextSlide=0;}}}}var cb=opts.onPrevNextEvent||opts.prevNextClick;if($.isFunction(cb)){cb(val>0,opts.nextSlide,els[opts.nextSlide]);}go(els,opts,1,val>=0);return false;}function buildPager(els,opts){var $p=$(opts.pager);$.each(els,function(i,o){$.fn.cycle.createPagerAnchor(i,o,$p,els,opts);});opts.updateActivePagerLink(opts.pager,opts.startingSlide,opts.activePagerClass);}$.fn.cycle.createPagerAnchor=function(i,el,$p,els,opts){var a;if($.isFunction(opts.pagerAnchorBuilder)){a=opts.pagerAnchorBuilder(i,el);debug("pagerAnchorBuilder("+i+", el) returned: "+a);}else{a='<a href="#">'+(i+1)+"</a>";}if(!a){return;}var $a=$(a);if($a.parents("body").length===0){var arr=[];if($p.length>1){$p.each(function(){var $clone=$a.clone(true);$(this).append($clone);arr.push($clone[0]);});$a=$(arr);}else{$a.appendTo($p);}}opts.pagerAnchors=opts.pagerAnchors||[];opts.pagerAnchors.push($a);$a.bind(opts.pagerEvent,function(e){e.preventDefault();opts.nextSlide=i;var p=opts.$cont[0],timeout=p.cycleTimeout;if(timeout){clearTimeout(timeout);p.cycleTimeout=0;}var cb=opts.onPagerEvent||opts.pagerClick;if($.isFunction(cb)){cb(opts.nextSlide,els[opts.nextSlide]);}go(els,opts,1,opts.currSlide<i);});if(!/^click/.test(opts.pagerEvent)&&!opts.allowPagerClickBubble){$a.bind("click.cycle",function(){return false;});}if(opts.pauseOnPagerHover){$a.hover(function(){opts.$cont[0].cyclePause++;},function(){opts.$cont[0].cyclePause--;});}};$.fn.cycle.hopsFromLast=function(opts,fwd){var hops,l=opts.lastSlide,c=opts.currSlide;if(fwd){hops=c>l?c-l:opts.slideCount-l;}else{hops=c<l?l-c:l+opts.slideCount-c;}return hops;};function clearTypeFix($slides){debug("applying clearType background-color hack");function hex(s){s=parseInt(s).toString(16);return s.length<2?"0"+s:s;}function getBg(e){for(;e&&e.nodeName.toLowerCase()!="html";e=e.parentNode){var v=$.css(e,"background-color");if(v.indexOf("rgb")>=0){var rgb=v.match(/\d+/g);return"#"+hex(rgb[0])+hex(rgb[1])+hex(rgb[2]);}if(v&&v!="transparent"){return v;}}return"#ffffff";}$slides.each(function(){$(this).css("background-color",getBg(this));});}$.fn.cycle.commonReset=function(curr,next,opts,w,h,rev){$(opts.elements).not(curr).hide();opts.cssBefore.opacity=1;opts.cssBefore.display="block";if(w!==false&&next.cycleW>0){opts.cssBefore.width=next.cycleW;}if(h!==false&&next.cycleH>0){opts.cssBefore.height=next.cycleH;}opts.cssAfter=opts.cssAfter||{};opts.cssAfter.display="none";$(curr).css("zIndex",opts.slideCount+(rev===true?1:0));$(next).css("zIndex",opts.slideCount+(rev===true?0:1));};$.fn.cycle.custom=function(curr,next,opts,cb,fwd,speedOverride){var $l=$(curr),$n=$(next);var speedIn=opts.speedIn,speedOut=opts.speedOut,easeIn=opts.easeIn,easeOut=opts.easeOut;$n.css(opts.cssBefore);if(speedOverride){if(typeof speedOverride=="number"){speedIn=speedOut=speedOverride;}else{speedIn=speedOut=1;}easeIn=easeOut=null;}var fn=function(){$n.animate(opts.animIn,speedIn,easeIn,cb);};$l.animate(opts.animOut,speedOut,easeOut,function(){if(opts.cssAfter){$l.css(opts.cssAfter);}if(!opts.sync){fn();}});if(opts.sync){fn();}};$.fn.cycle.transitions={fade:function($cont,$slides,opts){$slides.not(":eq("+opts.currSlide+")").css("opacity",0);opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.opacity=0;});opts.animIn={opacity:1};opts.animOut={opacity:0};opts.cssBefore={top:0,left:0};}};$.fn.cycle.ver=function(){return ver;};$.fn.cycle.defaults={fx:"fade",timeout:4000,timeoutFn:null,continuous:0,speed:1000,speedIn:null,speedOut:null,next:null,prev:null,onPrevNextEvent:null,prevNextEvent:"click.cycle",pager:null,onPagerEvent:null,pagerEvent:"click.cycle",allowPagerClickBubble:false,pagerAnchorBuilder:null,before:null,after:null,end:null,easing:null,easeIn:null,easeOut:null,shuffle:null,animIn:null,animOut:null,cssBefore:null,cssAfter:null,fxFn:null,height:"auto",startingSlide:0,sync:1,random:0,fit:0,containerResize:1,pause:0,pauseOnPagerHover:0,autostop:0,autostopCount:0,delay:0,slideExpr:null,cleartype:!$.support.opacity,cleartypeNoBg:false,nowrap:0,fastOnEvent:0,randomizeEffects:1,rev:0,manualTrump:true,requeueOnImageNotLoaded:true,requeueTimeout:250,activePagerClass:"activeSlide",updateActivePagerLink:null};})(jQuery); -/* - * jQuery Cycle Plugin Transition Definitions - * This script is a plugin for the jQuery Cycle Plugin - * Examples and documentation at: http://malsup.com/jquery/cycle/ - * Copyright (c) 2007-2008 M. Alsup - * Version: 2.72 - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html - */ -(function($){$.fn.cycle.transitions.none=function($cont,$slides,opts){opts.fxFn=function(curr,next,opts,after){$(next).show();$(curr).hide();after();};};$.fn.cycle.transitions.scrollUp=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var h=$cont.height();opts.cssBefore={top:h,left:0};opts.cssFirst={top:0};opts.animIn={top:0};opts.animOut={top:-h};};$.fn.cycle.transitions.scrollDown=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var h=$cont.height();opts.cssFirst={top:0};opts.cssBefore={top:-h,left:0};opts.animIn={top:0};opts.animOut={top:h};};$.fn.cycle.transitions.scrollLeft=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var w=$cont.width();opts.cssFirst={left:0};opts.cssBefore={left:w,top:0};opts.animIn={left:0};opts.animOut={left:0-w};};$.fn.cycle.transitions.scrollRight=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var w=$cont.width();opts.cssFirst={left:0};opts.cssBefore={left:-w,top:0};opts.animIn={left:0};opts.animOut={left:w};};$.fn.cycle.transitions.scrollHorz=function($cont,$slides,opts){$cont.css("overflow","hidden").width();opts.before.push(function(curr,next,opts,fwd){$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.left=fwd?(next.cycleW-1):(1-next.cycleW);opts.animOut.left=fwd?-curr.cycleW:curr.cycleW;});opts.cssFirst={left:0};opts.cssBefore={top:0};opts.animIn={left:0};opts.animOut={top:0};};$.fn.cycle.transitions.scrollVert=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push(function(curr,next,opts,fwd){$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.top=fwd?(1-next.cycleH):(next.cycleH-1);opts.animOut.top=fwd?curr.cycleH:-curr.cycleH;});opts.cssFirst={top:0};opts.cssBefore={left:0};opts.animIn={top:0};opts.animOut={left:0};};$.fn.cycle.transitions.slideX=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$(opts.elements).not(curr).hide();$.fn.cycle.commonReset(curr,next,opts,false,true);opts.animIn.width=next.cycleW;});opts.cssBefore={left:0,top:0,width:0};opts.animIn={width:"show"};opts.animOut={width:0};};$.fn.cycle.transitions.slideY=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$(opts.elements).not(curr).hide();$.fn.cycle.commonReset(curr,next,opts,true,false);opts.animIn.height=next.cycleH;});opts.cssBefore={left:0,top:0,height:0};opts.animIn={height:"show"};opts.animOut={height:0};};$.fn.cycle.transitions.shuffle=function($cont,$slides,opts){var i,w=$cont.css("overflow","visible").width();$slides.css({left:0,top:0});opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);});if(!opts.speedAdjusted){opts.speed=opts.speed/2;opts.speedAdjusted=true;}opts.random=0;opts.shuffle=opts.shuffle||{left:-w,top:15};opts.els=[];for(i=0;i<$slides.length;i++){opts.els.push($slides[i]);}for(i=0;i<opts.currSlide;i++){opts.els.push(opts.els.shift());}opts.fxFn=function(curr,next,opts,cb,fwd){var $el=fwd?$(curr):$(next);$(next).css(opts.cssBefore);var count=opts.slideCount;$el.animate(opts.shuffle,opts.speedIn,opts.easeIn,function(){var hops=$.fn.cycle.hopsFromLast(opts,fwd);for(var k=0;k<hops;k++){fwd?opts.els.push(opts.els.shift()):opts.els.unshift(opts.els.pop());}if(fwd){for(var i=0,len=opts.els.length;i<len;i++){$(opts.els[i]).css("z-index",len-i+count);}}else{var z=$(curr).css("z-index");$el.css("z-index",parseInt(z)+1+count);}$el.animate({left:0,top:0},opts.speedOut,opts.easeOut,function(){$(fwd?this:curr).hide();if(cb){cb();}});});};opts.cssBefore={display:"block",opacity:1,top:0,left:0};};$.fn.cycle.transitions.turnUp=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false);opts.cssBefore.top=next.cycleH;opts.animIn.height=next.cycleH;});opts.cssFirst={top:0};opts.cssBefore={left:0,height:0};opts.animIn={top:0};opts.animOut={height:0};};$.fn.cycle.transitions.turnDown=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH;});opts.cssFirst={top:0};opts.cssBefore={left:0,top:0,height:0};opts.animOut={height:0};};$.fn.cycle.transitions.turnLeft=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true);opts.cssBefore.left=next.cycleW;opts.animIn.width=next.cycleW;});opts.cssBefore={top:0,width:0};opts.animIn={left:0};opts.animOut={width:0};};$.fn.cycle.transitions.turnRight=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true);opts.animIn.width=next.cycleW;opts.animOut.left=curr.cycleW;});opts.cssBefore={top:0,left:0,width:0};opts.animIn={left:0};opts.animOut={width:0};};$.fn.cycle.transitions.zoom=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,false,true);opts.cssBefore.top=next.cycleH/2;opts.cssBefore.left=next.cycleW/2;opts.animIn={top:0,left:0,width:next.cycleW,height:next.cycleH};opts.animOut={width:0,height:0,top:curr.cycleH/2,left:curr.cycleW/2};});opts.cssFirst={top:0,left:0};opts.cssBefore={width:0,height:0};};$.fn.cycle.transitions.fadeZoom=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,false);opts.cssBefore.left=next.cycleW/2;opts.cssBefore.top=next.cycleH/2;opts.animIn={top:0,left:0,width:next.cycleW,height:next.cycleH};});opts.cssBefore={width:0,height:0};opts.animOut={opacity:0};};$.fn.cycle.transitions.blindX=function($cont,$slides,opts){var w=$cont.css("overflow","hidden").width();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.width=next.cycleW;opts.animOut.left=curr.cycleW;});opts.cssBefore={left:w,top:0};opts.animIn={left:0};opts.animOut={left:w};};$.fn.cycle.transitions.blindY=function($cont,$slides,opts){var h=$cont.css("overflow","hidden").height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH;});opts.cssBefore={top:h,left:0};opts.animIn={top:0};opts.animOut={top:h};};$.fn.cycle.transitions.blindZ=function($cont,$slides,opts){var h=$cont.css("overflow","hidden").height();var w=$cont.width();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH;});opts.cssBefore={top:h,left:w};opts.animIn={top:0,left:0};opts.animOut={top:h,left:w};};$.fn.cycle.transitions.growX=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true);opts.cssBefore.left=this.cycleW/2;opts.animIn={left:0,width:this.cycleW};opts.animOut={left:0};});opts.cssBefore={width:0,top:0};};$.fn.cycle.transitions.growY=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false);opts.cssBefore.top=this.cycleH/2;opts.animIn={top:0,height:this.cycleH};opts.animOut={top:0};});opts.cssBefore={height:0,left:0};};$.fn.cycle.transitions.curtainX=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true,true);opts.cssBefore.left=next.cycleW/2;opts.animIn={left:0,width:this.cycleW};opts.animOut={left:curr.cycleW/2,width:0};});opts.cssBefore={top:0,width:0};};$.fn.cycle.transitions.curtainY=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false,true);opts.cssBefore.top=next.cycleH/2;opts.animIn={top:0,height:next.cycleH};opts.animOut={top:curr.cycleH/2,height:0};});opts.cssBefore={left:0,height:0};};$.fn.cycle.transitions.cover=function($cont,$slides,opts){var d=opts.direction||"left";var w=$cont.css("overflow","hidden").width();var h=$cont.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);if(d=="right"){opts.cssBefore.left=-w;}else{if(d=="up"){opts.cssBefore.top=h;}else{if(d=="down"){opts.cssBefore.top=-h;}else{opts.cssBefore.left=w;}}}});opts.animIn={left:0,top:0};opts.animOut={opacity:1};opts.cssBefore={top:0,left:0};};$.fn.cycle.transitions.uncover=function($cont,$slides,opts){var d=opts.direction||"left";var w=$cont.css("overflow","hidden").width();var h=$cont.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);if(d=="right"){opts.animOut.left=w;}else{if(d=="up"){opts.animOut.top=-h;}else{if(d=="down"){opts.animOut.top=h;}else{opts.animOut.left=-w;}}}});opts.animIn={left:0,top:0};opts.animOut={opacity:1};opts.cssBefore={top:0,left:0};};$.fn.cycle.transitions.toss=function($cont,$slides,opts){var w=$cont.css("overflow","visible").width();var h=$cont.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);if(!opts.animOut.left&&!opts.animOut.top){opts.animOut={left:w*2,top:-h/2,opacity:0};}else{opts.animOut.opacity=0;}});opts.cssBefore={left:0,top:0};opts.animIn={left:0};};$.fn.cycle.transitions.wipe=function($cont,$slides,opts){var w=$cont.css("overflow","hidden").width();var h=$cont.height();opts.cssBefore=opts.cssBefore||{};var clip;if(opts.clip){if(/l2r/.test(opts.clip)){clip="rect(0px 0px "+h+"px 0px)";}else{if(/r2l/.test(opts.clip)){clip="rect(0px "+w+"px "+h+"px "+w+"px)";}else{if(/t2b/.test(opts.clip)){clip="rect(0px "+w+"px 0px 0px)";}else{if(/b2t/.test(opts.clip)){clip="rect("+h+"px "+w+"px "+h+"px 0px)";}else{if(/zoom/.test(opts.clip)){var top=parseInt(h/2);var left=parseInt(w/2);clip="rect("+top+"px "+left+"px "+top+"px "+left+"px)";}}}}}}opts.cssBefore.clip=opts.cssBefore.clip||clip||"rect(0px 0px 0px 0px)";var d=opts.cssBefore.clip.match(/(\d+)/g);var t=parseInt(d[0]),r=parseInt(d[1]),b=parseInt(d[2]),l=parseInt(d[3]);opts.before.push(function(curr,next,opts){if(curr==next){return;}var $curr=$(curr),$next=$(next);$.fn.cycle.commonReset(curr,next,opts,true,true,false);opts.cssAfter.display="block";var step=1,count=parseInt((opts.speedIn/13))-1;(function f(){var tt=t?t-parseInt(step*(t/count)):0;var ll=l?l-parseInt(step*(l/count)):0;var bb=b<h?b+parseInt(step*((h-b)/count||1)):h;var rr=r<w?r+parseInt(step*((w-r)/count||1)):w;$next.css({clip:"rect("+tt+"px "+rr+"px "+bb+"px "+ll+"px)"});(step++<=count)?setTimeout(f,13):$curr.css("display","none");})();});opts.cssBefore={display:"block",opacity:1,top:0,left:0};opts.animIn={left:0};opts.animOut={left:0};};})(jQuery);
\ No newline at end of file diff --git a/media/js/jquery.cycle.pack.js b/media/js/jquery.cycle.pack.js deleted file mode 100644 index d86fe81..0000000 --- a/media/js/jquery.cycle.pack.js +++ /dev/null @@ -1 +0,0 @@ -eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(7($){m 3h="2.4U";6($.1P==2V){$.1P={18:!($.2Q.4J)}}7 1y(s){6($.x.q.1y){1e(s)}}7 1e(){6(3v.3p&&3v.3p.1e){3v.3p.1e("[q] "+4R.4P.4T.4W(4V," "))}}$.x.q=7(O,1B){m o={s:C.3Y,c:C.4X};6(C.S===0&&O!="36"){6(!$.3V&&o.s){1e("3R 1i 3T, 4M 2y");$(7(){$(o.s,o.c).q(O,1B)});H C}1e("2C; 4N 1C 2M 5l 3Y"+($.3V?"":" (3R 1i 3T)"));H C}H C.1h(7(){m 4=46(C,O,1B);6(4===J){H}4.1R=4.1R||$.x.q.1R;6(C.14){26(C.14)}C.14=C.1n=0;m $9=$(C);m $G=4.3l?$(4.3l,C):$9.41();m D=$G.5h();6(D.S<2){1e("2C; 5i 5j G: "+D.S);H}m 1z=4F($9,$G,D,4,o);6(1z===J){H}m 1Y=1z.2p?10:2Y(1z.Z,1z.U,1z,!1z.1p);6(1Y){1Y+=(1z.4m||0);6(1Y<10){1Y=10}1y("1r 1d: "+1Y);C.14=2B(7(){1H(D,1z,0,!1z.1p)},1Y)}})};7 46(9,O,1B){6(9.1W==2V){9.1W=0}6(O===2V||O===X){O={}}6(O.39==3C){5w(O){1V"27":1V"36":m 4=$(9).24("q.4");6(!4){H J}9.1W++;6(9.14){26(9.14)}9.14=0;$(9).5u("q.4");6(O=="27"){27(4)}H J;1V"5t":9.1n=(9.1n===1)?0:1;3o(9.1n,1B,9);H J;1V"3j":9.1n=1;H J;1V"43":9.1n=0;3o(J,1B,9);H J;1V"1N":1V"8":m 4=$(9).24("q.4");6(!4){1e(\'O 1i 2M, "1N/8" 5q\');H J}$.x.q[O](4);H J;5r:O={Y:O}}H O}V{6(O.39==5s){m 29=O;O=$(9).24("q.4");6(!O){1e("O 1i 2M, 3H 1i 2d 33");H J}6(29<0||29>=O.1C.S){1e("4Y 33 2o: "+29);H J}O.U=29;6(9.14){26(9.14);9.14=0}6(4s 1B=="5g"){O.2J=1B}1H(O.1C,O,1,29>=O.Z);H J}}H O;7 3o(3F,1B,9){6(!3F&&1B===M){m O=$(9).24("q.4");6(!O){1e("O 1i 2M, 3H 1i 43");H J}6(9.14){26(9.14);9.14=0}1H(O.1C,O,1,1)}}}7 3c(1f,4){6(!$.1P.18&&4.2m&&1f.4z.4x){55{1f.4z.53("4x")}4Z(50){}}}7 27(4){6(4.8){$(4.8).3q(4.2r)}6(4.1N){$(4.1N).3q(4.2r)}6(4.1w||4.1Q){$.1h(4.2s||[],7(){C.3q().51()})}4.2s=X;6(4.27){4.27(4)}}7 4F($9,$G,D,O,o){m 4=$.1J({},$.x.q.4p,O||{},$.4t?$9.4t():$.5a?$9.24():{});6(4.3i){4.3b=4.3n||D.S}m 9=$9[0];$9.24("q.4",4);4.$9=$9;4.2I=9.1W;4.1C=D;4.N=4.N?[4.N]:[];4.12=4.12?[4.12]:[];4.12.2O(7(){4.2q=0});6(!$.1P.18&&4.2m){4.12.K(7(){3c(C,4)})}6(4.2p){4.12.K(7(){1H(D,4,0,!4.1p)})}4g(4);6(!$.1P.18&&4.2m&&!4.3k){3a($G)}6($9.P("2v")=="58"){$9.P("2v","5b")}6(4.F){$9.F(4.F)}6(4.E&&4.E!="2w"){$9.E(4.E)}6(4.1s){4.1s=1g(4.1s)}6(4.1x){4.1M=[];1D(m i=0;i<D.S;i++){4.1M.K(i)}4.1M.5c(7(a,b){H 2l.1x()-0.5});4.1j=1;4.1s=4.1M[1]}V{6(4.1s>=D.S){4.1s=0}}4.Z=4.1s||0;m 1r=4.1s;$G.P({2v:"3P",A:0,y:0}).1U().1h(7(i){m z=1r?i>=1r?D.S-(i-1r):1r-i:D.S-i;$(C).P("z-2o",z)});$(D[1r]).P("18",1).2R();3c(D[1r],4);6(4.1F&&4.F){$G.F(4.F)}6(4.1F&&4.E&&4.E!="2w"){$G.E(4.E)}m 4u=4.4D&&!$9.5e();6(4u){m 2g=0,2f=0;1D(m j=0;j<D.S;j++){m $e=$(D[j]),e=$e[0],w=$e.5d(),h=$e.57();6(!w){w=e.4K||e.F||$e.2u("F")}6(!h){h=e.4v||e.E||$e.2u("E")}2g=w>2g?w:2g;2f=h>2f?h:2f}6(2g>0&&2f>0){$9.P({F:2g+"1a",E:2f+"1a"})}}6(4.3j){$9.4y(7(){C.1n++},7(){C.1n--})}6(4d(4)===J){H J}m 3f=J;O.2U=O.2U||0;$G.1h(7(){m $1f=$(C);C.Q=(4.1F&&4.E)?4.E:($1f.E()||C.4v||C.E||$1f.2u("E")||0);C.R=(4.1F&&4.F)?4.F:($1f.F()||C.4K||C.F||$1f.2u("F")||0);6($1f.56("3D")){m 3J=($.2Q.4J&&C.R==28&&C.Q==30&&!C.2H);m 3K=($.2Q.52&&C.R==34&&C.Q==19&&!C.2H);m 3N=($.2Q.54&&((C.R==42&&C.Q==19)||(C.R==37&&C.Q==17))&&!C.2H);m 3M=(C.Q==0&&C.R==0&&!C.2H);6(3J||3K||3N||3M){6(o.s&&4.4k&&++O.2U<5f){1e(O.2U," - 3D 33 1i 5v, 5p 2y: ",C.3W,C.R,C.Q);2B(7(){$(o.s,o.c).q(O)},4.4j);3f=M;H J}V{1e("5o 1i 5k 5n 5m 5x: "+C.3W,C.R,C.Q)}}}H M});6(3f){H J}4.B=4.B||{};4.L=4.L||{};4.I=4.I||{};$G.1i(":3d("+1r+")").P(4.B);6(4.1t){$($G[1r]).P(4.1t)}6(4.1d){4.1d=1g(4.1d);6(4.1c.39==3C){4.1c=$.Y.4Q[4.1c]||1g(4.1c)}6(!4.2E){4.1c=4.1c/2}m 4E=4.Y=="25"?4S:3u;4b((4.1d-4.1c)<4E){4.1d+=4.1c}}6(4.3y){4.1T=4.1S=4.3y}6(!4.1A){4.1A=4.1c}6(!4.1E){4.1E=4.1c}4.1K=D.S;4.Z=4.38=1r;6(4.1x){6(++4.1j==D.S){4.1j=0}4.U=4.1M[4.1j]}V{4.U=4.1s>=(D.S-1)?0:4.1s+1}6(!4.2b){m 2c=$.x.q.T[4.Y];6($.1I(2c)){2c($9,$G,4)}V{6(4.Y!="3e"&&!4.2b){1e("4n 2S: "+4.Y,"; 2y 2C");H J}}}m 1X=$G[1r];6(4.N.S){4.N[0].2N(1X,[1X,1X,4,M])}6(4.12.S>1){4.12[1].2N(1X,[1X,1X,4,M])}6(4.8){$(4.8).2G(4.2r,7(){H 2d(4,4.1p?-1:1)})}6(4.1N){$(4.1N).2G(4.2r,7(){H 2d(4,4.1p?1:-1)})}6(4.1w||4.1Q){3O(D,4)}3A(4,D);H 4}7 4g(4){4.1m={N:[],12:[]};4.1m.B=$.1J({},4.B);4.1m.1v=$.1J({},4.1v);4.1m.L=$.1J({},4.L);4.1m.I=$.1J({},4.I);$.1h(4.N,7(){4.1m.N.K(C)});$.1h(4.12,7(){4.1m.12.K(C)})}7 4d(4){m i,1O,22=$.x.q.T;6(4.Y.4i(",")>0){4.2b=M;4.1l=4.Y.4O(/\\s*/g,"").59(",");1D(i=0;i<4.1l.S;i++){m Y=4.1l[i];1O=22[Y];6(!1O||!22.4H(Y)||!$.1I(1O)){1e("5I 4n 2S: ",Y);4.1l.3E(i,1);i--}}6(!4.1l.S){1e("6q 6p T 6o; 2y 2C.");H J}}V{6(4.Y=="6r"){4.2b=M;4.1l=[];1D(p 3X 22){1O=22[p];6(22.4H(p)&&$.1I(1O)){4.1l.K(p)}}}}6(4.2b&&4.4e){m 4w=2l.4C(2l.1x()*20)+30;1D(i=0;i<4w;i++){m 3L=2l.4C(2l.1x()*4.1l.S);4.1l.K(4.1l.3E(3L,1)[0])}1y("6s Y 6u: ",4.1l)}H M}7 3A(4,D){4.6t=7(45,2i){m $s=$(45),s=$s[0];6(!4.3n){4.3b++}D[2i?"2O":"K"](s);6(4.D){4.D[2i?"2O":"K"](s)}4.1K=D.S;$s.P("2v","3P");$s[2i?"6n":"3G"](4.$9);6(2i){4.Z++;4.U++}6(!$.1P.18&&4.2m&&!4.3k){3a($s)}6(4.1F&&4.F){$s.F(4.F)}6(4.1F&&4.E&&4.E!="2w"){$G.E(4.E)}s.Q=(4.1F&&4.E)?4.E:$s.E();s.R=(4.1F&&4.F)?4.F:$s.F();$s.P(4.B);6(4.1w||4.1Q){$.x.q.2W(D.S-1,s,$(4.1w),D,4)}6($.1I(4.3Z)){4.3Z($s)}V{$s.1U()}}}$.x.q.3S=7(4,Y){Y=Y||4.Y;4.N=[];4.12=[];4.B=$.1J({},4.1m.B);4.1v=$.1J({},4.1m.1v);4.L=$.1J({},4.1m.L);4.I=$.1J({},4.1m.I);4.21=X;$.1h(4.1m.N,7(){4.N.K(C)});$.1h(4.1m.12,7(){4.12.K(C)});m 2c=$.x.q.T[Y];6($.1I(2c)){2c(4.$9,$(4.1C),4)}};7 1H(D,4,1L,11){6(1L&&4.2q&&4.3m){1y("3m 3X 1H(), 6m 4A 2S");$(D).36(M,M);4.2q=J}6(4.2q){1y("2S 4A, 6g 6f 1O 6e");H}m p=4.$9[0],u=D[4.Z],8=D[4.U];6(p.1W!=4.2I||p.14===0&&!1L){H}6(!1L&&!p.1n&&((4.3i&&(--4.3b<=0))||(4.2A&&!4.1x&&4.U<4.Z))){6(4.3x){4.3x(4)}H}m 2L=J;6((1L||!p.1n)&&(4.U!=4.Z)){2L=M;m Y=4.Y;u.Q=u.Q||$(u).E();u.R=u.R||$(u).F();8.Q=8.Q||$(8).E();8.R=8.R||$(8).F();6(4.2b){6(4.2P==2V||++4.2P>=4.1l.S){4.2P=0}Y=4.1l[4.2P];4.6h=Y}6(4.2J){Y=4.2J;4.2J=X}$.x.q.3S(4,Y);6(4.N.S){$.1h(4.N,7(i,o){6(p.1W!=4.2I){H}o.2N(8,[u,8,4,11])})}m 12=7(){$.1h(4.12,7(i,o){6(p.1W!=4.2I){H}o.2N(8,[u,8,4,11])})};1y("1O 6i; Z: "+4.Z+"; U: "+4.U);4.2q=1;6(4.21){4.21(u,8,4,12,11,1L&&4.2z)}V{6($.1I($.x.q[4.Y])){$.x.q[4.Y](u,8,4,12,11,1L&&4.2z)}V{$.x.q.3e(u,8,4,12,11,1L&&4.2z)}}}6(2L||4.U==4.Z){4.38=4.Z;6(4.1x){4.Z=4.U;6(++4.1j==D.S){4.1j=0}4.U=4.1M[4.1j];6(4.U==4.Z){4.U=(4.Z==4.1K-1)?0:4.Z+1}}V{m 32=(4.U+1)==D.S;4.U=32?0:4.U+1;4.Z=32?D.S-1:4.U-1}}6(2L&&4.1w){4.1R(4.1w,4.Z,4.3r)}m 2n=0;6(4.1d&&!4.2p){2n=2Y(u,8,4,11)}V{6(4.2p&&p.1n){2n=10}}6(2n>0){p.14=2B(7(){1H(D,4,0,!4.1p)},2n)}}$.x.q.1R=7(1w,Z,31){$(1w).1h(7(){$(C).41().6l(31).3d(Z).6k(31)})};7 2Y(u,8,4,11){6(4.2Z){m t=4.2Z(u,8,4,11);4b((t-4.1c)<3u){t+=4.1c}1y("6j 1d: "+t+"; 1c: "+4.1c);6(t!==J){H t}}H 4.1d}$.x.q.8=7(4){2d(4,4.1p?-1:1)};$.x.q.1N=7(4){2d(4,4.1p?1:-1)};7 2d(4,2k){m D=4.1C;m p=4.$9[0],1d=p.14;6(1d){26(1d);p.14=0}6(4.1x&&2k<0){4.1j--;6(--4.1j==-2){4.1j=D.S-2}V{6(4.1j==-1){4.1j=D.S-1}}4.U=4.1M[4.1j]}V{6(4.1x){4.U=4.1M[4.1j]}V{4.U=4.Z+2k;6(4.U<0){6(4.2A){H J}4.U=D.S-1}V{6(4.U>=D.S){6(4.2A){H J}4.U=0}}}}m 1u=4.4L||4.6w;6($.1I(1u)){1u(2k>0,4.U,D[4.U])}1H(D,4,1,2k>=0);H J}7 3O(D,4){m $p=$(4.1w);$.1h(D,7(i,o){$.x.q.2W(i,o,$p,D,4)});4.1R(4.1w,4.1s,4.3r)}$.x.q.2W=7(i,1f,$p,D,4){m a;6($.1I(4.1Q)){a=4.1Q(i,1f);1y("1Q("+i+", 1f) 6E: "+a)}V{a=\'<a 6C="#">\'+(i+1)+"</a>"}6(!a){H}m $a=$(a);6($a.6D("6A").S===0){m 2X=[];6($p.S>1){$p.1h(7(){m $2T=$a.2T(M);$(C).6B($2T);2X.K($2T[0])});$a=$(2X)}V{$a.3G($p)}}4.2s=4.2s||[];4.2s.K($a);$a.2G(4.3s,7(e){e.6x();4.U=i;m p=4.$9[0],1d=p.14;6(1d){26(1d);p.14=0}m 1u=4.3z||4.6z;6($.1I(1u)){1u(4.U,D[4.U])}1H(D,4,1,4.Z<i)});6(!/^2x/.23(4.3s)&&!4.4r){$a.2G("2x.q",7(){H J})}6(4.4o){$a.4y(7(){4.$9[0].1n++},7(){4.$9[0].1n--})}};$.x.q.4B=7(4,11){m 2a,l=4.38,c=4.Z;6(11){2a=c>l?c-l:4.1K-l}V{2a=c<l?l-c:l+4.1K-c}H 2a};7 3a($G){1y("6y 5y 3g-35 6d");7 2F(s){s=1g(s).6c(16);H s.S<2?"0"+s:s}7 4f(e){1D(;e&&e.5L.5K()!="5N";e=e.5R){m v=$.P(e,"3g-35");6(v.4i("2j")>=0){m 2j=v.3U(/\\d+/g);H"#"+2F(2j[0])+2F(2j[1])+2F(2j[2])}6(v&&v!="5P"){H v}}H"#5C"}$G.1h(7(){$(C).P("3g-35",4f(C))})}$.x.q.W=7(u,8,4,w,h,1p){$(4.1C).1i(u).1U();4.B.18=1;4.B.2e="2t";6(w!==J&&8.R>0){4.B.F=8.R}6(h!==J&&8.Q>0){4.B.E=8.Q}4.1v=4.1v||{};4.1v.2e="3t";$(u).P("4l",4.1K+(1p===M?1:0));$(8).P("4l",4.1K+(1p===M?0:1))};$.x.q.3e=7(u,8,4,1u,11,2D){m $l=$(u),$n=$(8);m 1A=4.1A,1E=4.1E,1T=4.1T,1S=4.1S;$n.P(4.B);6(2D){6(4s 2D=="5B"){1A=1E=2D}V{1A=1E=1}1T=1S=X}m x=7(){$n.2K(4.L,1A,1T,1u)};$l.2K(4.I,1E,1S,7(){6(4.1v){$l.P(4.1v)}6(!4.2E){x()}});6(4.2E){x()}};$.x.q.T={4q:7($9,$G,4){$G.1i(":3d("+4.Z+")").P("18",0);4.N.K(7(u,8,4){$.x.q.W(u,8,4);4.B.18=0});4.L={18:1};4.I={18:0};4.B={A:0,y:0}}};$.x.q.3h=7(){H 3h};$.x.q.4p={Y:"4q",1d:5z,2Z:X,2p:0,1c:5D,1A:X,1E:X,8:X,1N:X,4L:X,2r:"2x.q",1w:X,3z:X,3s:"2x.q",4r:J,1Q:X,N:X,12:X,3x:X,3y:X,1T:X,1S:X,25:X,L:X,I:X,B:X,1v:X,21:X,E:"2w",1s:0,2E:1,1x:0,1F:0,4D:1,3j:0,4o:0,3i:0,3n:0,4m:0,3l:X,2m:!$.1P.18,3k:J,2A:0,2z:0,4e:1,1p:0,3m:M,4k:M,4j:3u,3r:"5E",1R:X}})(4G);(7($){$.x.q.T.3t=7($9,$G,4){4.21=7(u,8,4,12){$(8).2R();$(u).1U();12()}};$.x.q.T.5H=7($9,$G,4){$9.P("1k","1o");4.N.K($.x.q.W);m h=$9.E();4.B={A:h,y:0};4.1t={A:0};4.L={A:0};4.I={A:-h}};$.x.q.T.5G=7($9,$G,4){$9.P("1k","1o");4.N.K($.x.q.W);m h=$9.E();4.1t={A:0};4.B={A:-h,y:0};4.L={A:0};4.I={A:h}};$.x.q.T.5F=7($9,$G,4){$9.P("1k","1o");4.N.K($.x.q.W);m w=$9.F();4.1t={y:0};4.B={y:w,A:0};4.L={y:0};4.I={y:0-w}};$.x.q.T.5S=7($9,$G,4){$9.P("1k","1o");4.N.K($.x.q.W);m w=$9.F();4.1t={y:0};4.B={y:-w,A:0};4.L={y:0};4.I={y:w}};$.x.q.T.5T=7($9,$G,4){$9.P("1k","1o").F();4.N.K(7(u,8,4,11){$.x.q.W(u,8,4);4.B.y=11?(8.R-1):(1-8.R);4.I.y=11?-u.R:u.R});4.1t={y:0};4.B={A:0};4.L={y:0};4.I={A:0}};$.x.q.T.66=7($9,$G,4){$9.P("1k","1o");4.N.K(7(u,8,4,11){$.x.q.W(u,8,4);4.B.A=11?(1-8.Q):(8.Q-1);4.I.A=11?u.Q:-u.Q});4.1t={A:0};4.B={y:0};4.L={A:0};4.I={y:0}};$.x.q.T.65=7($9,$G,4){4.N.K(7(u,8,4){$(4.1C).1i(u).1U();$.x.q.W(u,8,4,J,M);4.L.F=8.R});4.B={y:0,A:0,F:0};4.L={F:"2R"};4.I={F:0}};$.x.q.T.64=7($9,$G,4){4.N.K(7(u,8,4){$(4.1C).1i(u).1U();$.x.q.W(u,8,4,M,J);4.L.E=8.Q});4.B={y:0,A:0,E:0};4.L={E:"2R"};4.I={E:0}};$.x.q.T.25=7($9,$G,4){m i,w=$9.P("1k","40").F();$G.P({y:0,A:0});4.N.K(7(u,8,4){$.x.q.W(u,8,4,M,M,M)});6(!4.4c){4.1c=4.1c/2;4.4c=M}4.1x=0;4.25=4.25||{y:-w,A:15};4.D=[];1D(i=0;i<$G.S;i++){4.D.K($G[i])}1D(i=0;i<4.Z;i++){4.D.K(4.D.3I())}4.21=7(u,8,4,1u,11){m $1f=11?$(u):$(8);$(8).P(4.B);m 1G=4.1K;$1f.2K(4.25,4.1A,4.1T,7(){m 2a=$.x.q.4B(4,11);1D(m k=0;k<2a;k++){11?4.D.K(4.D.3I()):4.D.2O(4.D.6b())}6(11){1D(m i=0,3w=4.D.S;i<3w;i++){$(4.D[i]).P("z-2o",3w-i+1G)}}V{m z=$(u).P("z-2o");$1f.P("z-2o",1g(z)+1+1G)}$1f.2K({y:0,A:0},4.1E,4.1S,7(){$(11?C:u).1U();6(1u){1u()}})})};4.B={2e:"2t",18:1,A:0,y:0}};$.x.q.T.63=7($9,$G,4){4.N.K(7(u,8,4){$.x.q.W(u,8,4,M,J);4.B.A=8.Q;4.L.E=8.Q});4.1t={A:0};4.B={y:0,E:0};4.L={A:0};4.I={E:0}};$.x.q.T.62=7($9,$G,4){4.N.K(7(u,8,4){$.x.q.W(u,8,4,M,J);4.L.E=8.Q;4.I.A=u.Q});4.1t={A:0};4.B={y:0,A:0,E:0};4.I={E:0}};$.x.q.T.5W=7($9,$G,4){4.N.K(7(u,8,4){$.x.q.W(u,8,4,J,M);4.B.y=8.R;4.L.F=8.R});4.B={A:0,F:0};4.L={y:0};4.I={F:0}};$.x.q.T.5V=7($9,$G,4){4.N.K(7(u,8,4){$.x.q.W(u,8,4,J,M);4.L.F=8.R;4.I.y=u.R});4.B={A:0,y:0,F:0};4.L={y:0};4.I={F:0}};$.x.q.T.3Q=7($9,$G,4){4.N.K(7(u,8,4){$.x.q.W(u,8,4,J,J,M);4.B.A=8.Q/2;4.B.y=8.R/2;4.L={A:0,y:0,F:8.R,E:8.Q};4.I={F:0,E:0,A:u.Q/2,y:u.R/2}});4.1t={A:0,y:0};4.B={F:0,E:0}};$.x.q.T.5U=7($9,$G,4){4.N.K(7(u,8,4){$.x.q.W(u,8,4,J,J);4.B.y=8.R/2;4.B.A=8.Q/2;4.L={A:0,y:0,F:8.R,E:8.Q}});4.B={F:0,E:0};4.I={18:0}};$.x.q.T.5X=7($9,$G,4){m w=$9.P("1k","1o").F();4.N.K(7(u,8,4){$.x.q.W(u,8,4);4.L.F=8.R;4.I.y=u.R});4.B={y:w,A:0};4.L={y:0};4.I={y:w}};$.x.q.T.5Y=7($9,$G,4){m h=$9.P("1k","1o").E();4.N.K(7(u,8,4){$.x.q.W(u,8,4);4.L.E=8.Q;4.I.A=u.Q});4.B={A:h,y:0};4.L={A:0};4.I={A:h}};$.x.q.T.61=7($9,$G,4){m h=$9.P("1k","1o").E();m w=$9.F();4.N.K(7(u,8,4){$.x.q.W(u,8,4);4.L.E=8.Q;4.I.A=u.Q});4.B={A:h,y:w};4.L={A:0,y:0};4.I={A:h,y:w}};$.x.q.T.60=7($9,$G,4){4.N.K(7(u,8,4){$.x.q.W(u,8,4,J,M);4.B.y=C.R/2;4.L={y:0,F:C.R};4.I={y:0}});4.B={F:0,A:0}};$.x.q.T.5Z=7($9,$G,4){4.N.K(7(u,8,4){$.x.q.W(u,8,4,M,J);4.B.A=C.Q/2;4.L={A:0,E:C.Q};4.I={A:0}});4.B={E:0,y:0}};$.x.q.T.6v=7($9,$G,4){4.N.K(7(u,8,4){$.x.q.W(u,8,4,J,M,M);4.B.y=8.R/2;4.L={y:0,F:C.R};4.I={y:u.R/2,F:0}});4.B={A:0,F:0}};$.x.q.T.69=7($9,$G,4){4.N.K(7(u,8,4){$.x.q.W(u,8,4,M,J,M);4.B.A=8.Q/2;4.L={A:0,E:8.Q};4.I={A:u.Q/2,E:0}});4.B={y:0,E:0}};$.x.q.T.6a=7($9,$G,4){m d=4.47||"y";m w=$9.P("1k","1o").F();m h=$9.E();4.N.K(7(u,8,4){$.x.q.W(u,8,4);6(d=="4a"){4.B.y=-w}V{6(d=="49"){4.B.A=h}V{6(d=="48"){4.B.A=-h}V{4.B.y=w}}}});4.L={y:0,A:0};4.I={18:1};4.B={A:0,y:0}};$.x.q.T.68=7($9,$G,4){m d=4.47||"y";m w=$9.P("1k","1o").F();m h=$9.E();4.N.K(7(u,8,4){$.x.q.W(u,8,4,M,M,M);6(d=="4a"){4.I.y=w}V{6(d=="49"){4.I.A=-h}V{6(d=="48"){4.I.A=h}V{4.I.y=-w}}}});4.L={y:0,A:0};4.I={18:1};4.B={A:0,y:0}};$.x.q.T.67=7($9,$G,4){m w=$9.P("1k","40").F();m h=$9.E();4.N.K(7(u,8,4){$.x.q.W(u,8,4,M,M,M);6(!4.I.y&&!4.I.A){4.I={y:w*2,A:-h/2,18:0}}V{4.I.18=0}});4.B={y:0,A:0};4.L={y:0}};$.x.q.T.5A=7($9,$G,4){m w=$9.P("1k","1o").F();m h=$9.E();4.B=4.B||{};m 1b;6(4.1b){6(/5J/.23(4.1b)){1b="1Z(1q 1q "+h+"1a 1q)"}V{6(/5Q/.23(4.1b)){1b="1Z(1q "+w+"1a "+h+"1a "+w+"1a)"}V{6(/5O/.23(4.1b)){1b="1Z(1q "+w+"1a 1q 1q)"}V{6(/5M/.23(4.1b)){1b="1Z("+h+"1a "+w+"1a "+h+"1a 1q)"}V{6(/3Q/.23(4.1b)){m A=1g(h/2);m y=1g(w/2);1b="1Z("+A+"1a "+y+"1a "+A+"1a "+y+"1a)"}}}}}}4.B.1b=4.B.1b||1b||"1Z(1q 1q 1q 1q)";m d=4.B.1b.3U(/(\\d+)/g);m t=1g(d[0]),r=1g(d[1]),b=1g(d[2]),l=1g(d[3]);4.N.K(7(u,8,4){6(u==8){H}m $u=$(u),$8=$(8);$.x.q.W(u,8,4,M,M,J);4.1v.2e="2t";m 2h=1,1G=1g((4.1A/13))-1;(7 f(){m 44=t?t-1g(2h*(t/1G)):0;m 4I=l?l-1g(2h*(l/1G)):0;m 4h=b<h?b+1g(2h*((h-b)/1G||1)):h;m 3B=r<w?r+1g(2h*((w-r)/1G||1)):w;$8.P({1b:"1Z("+44+"1a "+3B+"1a "+4h+"1a "+4I+"1a)"});(2h++<=1G)?2B(f,13):$u.P("2e","3t")})()});4.B={2e:"2t",18:1,A:0,y:0};4.L={y:0};4.I={y:0}}})(4G);',62,413,'||||opts||if|function|next|cont|||||||||||||var||||cycle||||curr|||fn|left||top|cssBefore|this|els|height|width|slides|return|animOut|false|push|animIn|true|before|options|css|cycleH|cycleW|length|transitions|nextSlide|else|commonReset|null|fx|currSlide||fwd|after||cycleTimeout||||opacity||px|clip|speed|timeout|log|el|parseInt|each|not|randomIndex|overflow|fxs|original|cyclePause|hidden|rev|0px|first|startingSlide|cssFirst|cb|cssAfter|pager|random|debug|opts2|speedIn|arg2|elements|for|speedOut|fit|count|go|isFunction|extend|slideCount|manual|randomMap|prev|tx|support|pagerAnchorBuilder|updateActivePagerLink|easeOut|easeIn|hide|case|cycleStop|e0|startTime|rect||fxFn|txs|test|data|shuffle|clearTimeout|destroy||num|hops|multiFx|init|advance|display|maxh|maxw|step|prepend|rgb|val|Math|cleartype|ms|index|continuous|busy|prevNextEvent|pagerAnchors|block|attr|position|auto|click|slideshow|fastOnEvent|nowrap|setTimeout|terminating|speedOverride|sync|hex|bind|complete|stopCount|oneTimeFx|animate|changed|found|apply|unshift|lastFx|browser|show|transition|clone|requeueAttempts|undefined|createPagerAnchor|arr|getTimeout|timeoutFn||clsName|roll|slide||color|stop||lastSlide|constructor|clearTypeFix|countdown|removeFilter|eq|custom|requeue|background|ver|autostop|pause|cleartypeNoBg|slideExpr|manualTrump|autostopCount|checkInstantResume|console|unbind|activePagerClass|pagerEvent|none|250|window|len|end|easing|onPagerEvent|exposeAddSlide|rr|String|img|splice|isPaused|appendTo|can|shift|loadingIE|loadingFF|r2|loadingOther|loadingOp|buildPager|absolute|zoom|DOM|resetState|ready|match|isReady|src|in|selector|onAddSlide|visible|children||resume|tt|newSlide|handleArguments|direction|down|up|right|while|speedAdjusted|supportMultiTransitions|randomizeEffects|getBg|saveOriginalOpts|bb|indexOf|requeueTimeout|requeueOnImageNotLoaded|zIndex|delay|unknown|pauseOnPagerHover|defaults|fade|allowPagerClickBubble|typeof|metadata|reshape|offsetHeight|r1|filter|hover|style|active|hopsFromLast|floor|containerResize|buffer|buildOptions|jQuery|hasOwnProperty|ll|msie|offsetWidth|onPrevNextEvent|queuing|zero|replace|prototype|speeds|Array|500|join|86|arguments|call|context|invalid|catch|smother|remove|mozilla|removeAttribute|opera|try|is|outerHeight|static|split|meta|relative|sort|outerWidth|innerHeight|100|string|get|too|few|determine|by|of|size|could|requeuing|ignored|default|Number|toggle|removeData|loaded|switch|image|clearType|4000|wipe|number|ffffff|1000|activeSlide|scrollLeft|scrollDown|scrollUp|discarding|l2r|toLowerCase|nodeName|b2t|html|t2b|transparent|r2l|parentNode|scrollRight|scrollHorz|fadeZoom|turnRight|turnLeft|blindX|blindY|growY|growX|blindZ|turnDown|turnUp|slideY|slideX|scrollVert|toss|uncover|curtainY|cover|pop|toString|hack|request|new|ignoring|currFx|firing|calculated|addClass|removeClass|stopping|prependTo|named|valid|No|all|randomized|addSlide|sequence|curtainX|prevNextClick|preventDefault|applying|pagerClick|body|append|href|parents|returned'.split('|'),0,{})) diff --git a/media/js/jquery.jcarousel.pack.js b/media/js/jquery.jcarousel.pack.js deleted file mode 100644 index 87ffb0c..0000000 --- a/media/js/jquery.jcarousel.pack.js +++ /dev/null @@ -1,16 +0,0 @@ -/** - * jCarousel - Riding carousels with jQuery - * http://sorgalla.com/jcarousel/ - * - * Copyright (c) 2006 Jan Sorgalla (http://sorgalla.com) - * Dual licensed under the MIT (MIT-LICENSE.txt) - * and GPL (GPL-LICENSE.txt) licenses. - * - * Built on top of the jQuery library - * http://jquery.com - * - * Inspired by the "Carousel Component" by Bill Scott - * http://billwscott.com/carousel/ - */ -eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(9($){$.1v.C=9(o){z 4.1b(9(){3p r(4,o)})};8 q={Z:F,25:1,21:1,u:7,1c:3,15:7,1K:\'2X\',2c:\'2Q\',1q:0,B:7,1j:7,1G:7,2F:7,2B:7,2z:7,2x:7,2v:7,2s:7,2p:7,1S:\'<P></P>\',1Q:\'<P></P>\',2m:\'2l\',2k:\'2l\',1O:7,1L:7};$.C=9(e,o){4.5=$.16({},q,o||{});4.Q=F;4.D=7;4.H=7;4.t=7;4.U=7;4.R=7;4.N=!4.5.Z?\'1H\':\'26\';4.E=!4.5.Z?\'24\':\'23\';8 a=\'\',1e=e.K.1e(\' \');1r(8 i=0;i<1e.I;i++){6(1e[i].2y(\'C-2w\')!=-1){$(e).1E(1e[i]);8 a=1e[i];1p}}6(e.2t==\'3o\'||e.2t==\'3n\'){4.t=$(e);4.D=4.t.19();6(4.D.1o(\'C-H\')){6(!4.D.19().1o(\'C-D\'))4.D=4.D.B(\'<P></P>\');4.D=4.D.19()}10 6(!4.D.1o(\'C-D\'))4.D=4.t.B(\'<P></P>\').19()}10{4.D=$(e);4.t=$(e).3h(\'>2o,>2n,P>2o,P>2n\')}6(a!=\'\'&&4.D.19()[0].K.2y(\'C-2w\')==-1)4.D.B(\'<P 3g=" \'+a+\'"></P>\');4.H=4.t.19();6(!4.H.I||!4.H.1o(\'C-H\'))4.H=4.t.B(\'<P></P>\').19();4.R=$(\'.C-11\',4.D);6(4.R.u()==0&&4.5.1Q!=7)4.R=4.H.1z(4.5.1Q).11();4.R.V(4.K(\'C-11\'));4.U=$(\'.C-17\',4.D);6(4.U.u()==0&&4.5.1S!=7)4.U=4.H.1z(4.5.1S).11();4.U.V(4.K(\'C-17\'));4.H.V(4.K(\'C-H\'));4.t.V(4.K(\'C-t\'));4.D.V(4.K(\'C-D\'));8 b=4.5.15!=7?1k.1P(4.1m()/4.5.15):7;8 c=4.t.32(\'1F\');8 d=4;6(c.u()>0){8 f=0,i=4.5.21;c.1b(9(){d.1I(4,i++);f+=d.S(4,b)});4.t.y(4.N,f+\'T\');6(!o||o.u===J)4.5.u=c.u()}4.D.y(\'1y\',\'1A\');4.U.y(\'1y\',\'1A\');4.R.y(\'1y\',\'1A\');4.2G=9(){d.17()};4.2b=9(){d.11()};4.1U=9(){d.2q()};6(4.5.1j!=7)4.5.1j(4,\'2a\');6($.2A.28){4.1f(F,F);$(27).1u(\'2I\',9(){d.1t()})}10 4.1t()};8 r=$.C;r.1v=r.2H={C:\'0.2.3\'};r.1v.16=r.16=$.16;r.1v.16({1t:9(){4.A=7;4.G=7;4.X=7;4.13=7;4.14=F;4.1d=7;4.O=7;4.W=F;6(4.Q)z;4.t.y(4.E,4.1s(4.5.21)+\'T\');8 p=4.1s(4.5.25);4.X=4.13=7;4.1i(p,F);$(27).22(\'2E\',4.1U).1u(\'2E\',4.1U)},2D:9(){4.t.2C();4.t.y(4.E,\'3u\');4.t.y(4.N,\'3t\');6(4.5.1j!=7)4.5.1j(4,\'2D\');4.1t()},2q:9(){6(4.O!=7&&4.W)4.t.y(4.E,r.M(4.t.y(4.E))+4.O);4.O=7;4.W=F;6(4.5.1G!=7)4.5.1G(4);6(4.5.15!=7){8 a=4;8 b=1k.1P(4.1m()/4.5.15),N=0,E=0;$(\'1F\',4.t).1b(9(i){N+=a.S(4,b);6(i+1<a.A)E=N});4.t.y(4.N,N+\'T\');4.t.y(4.E,-E+\'T\')}4.1c(4.A,F)},3s:9(){4.Q=1h;4.1f()},3r:9(){4.Q=F;4.1f()},u:9(s){6(s!=J){4.5.u=s;6(!4.Q)4.1f()}z 4.5.u},3q:9(i,a){6(a==J||!a)a=i;6(4.5.u!==7&&a>4.5.u)a=4.5.u;1r(8 j=i;j<=a;j++){8 e=4.L(j);6(!e.I||e.1o(\'C-1a-1D\'))z F}z 1h},L:9(i){z $(\'.C-1a-\'+i,4.t)},2u:9(i,s){8 e=4.L(i),20=0,2u=0;6(e.I==0){8 c,e=4.1B(i),j=r.M(i);1n(c=4.L(--j)){6(j<=0||c.I){j<=0?4.t.2r(e):c.1X(e);1p}}}10 20=4.S(e);e.1E(4.K(\'C-1a-1D\'));1R s==\'3l\'?e.3k(s):e.2C().3j(s);8 a=4.5.15!=7?1k.1P(4.1m()/4.5.15):7;8 b=4.S(e,a)-20;6(i>0&&i<4.A)4.t.y(4.E,r.M(4.t.y(4.E))-b+\'T\');4.t.y(4.N,r.M(4.t.y(4.N))+b+\'T\');z e},1V:9(i){8 e=4.L(i);6(!e.I||(i>=4.A&&i<=4.G))z;8 d=4.S(e);6(i<4.A)4.t.y(4.E,r.M(4.t.y(4.E))+d+\'T\');e.1V();4.t.y(4.N,r.M(4.t.y(4.N))-d+\'T\')},17:9(){4.1C();6(4.O!=7&&!4.W)4.1T(F);10 4.1c(((4.5.B==\'1Z\'||4.5.B==\'G\')&&4.5.u!=7&&4.G==4.5.u)?1:4.A+4.5.1c)},11:9(){4.1C();6(4.O!=7&&4.W)4.1T(1h);10 4.1c(((4.5.B==\'1Z\'||4.5.B==\'A\')&&4.5.u!=7&&4.A==1)?4.5.u:4.A-4.5.1c)},1T:9(b){6(4.Q||4.14||!4.O)z;8 a=r.M(4.t.y(4.E));!b?a-=4.O:a+=4.O;4.W=!b;4.X=4.A;4.13=4.G;4.1i(a)},1c:9(i,a){6(4.Q||4.14)z;4.1i(4.1s(i),a)},1s:9(i){6(4.Q||4.14)z;6(4.5.B!=\'18\')i=i<1?1:(4.5.u&&i>4.5.u?4.5.u:i);8 a=4.A>i;8 b=r.M(4.t.y(4.E));8 f=4.5.B!=\'18\'&&4.A<=1?1:4.A;8 c=a?4.L(f):4.L(4.G);8 j=a?f:f-1;8 e=7,l=0,p=F,d=0;1n(a?--j>=i:++j<i){e=4.L(j);p=!e.I;6(e.I==0){e=4.1B(j).V(4.K(\'C-1a-1D\'));c[a?\'1z\':\'1X\'](e)}c=e;d=4.S(e);6(p)l+=d;6(4.A!=7&&(4.5.B==\'18\'||(j>=1&&(4.5.u==7||j<=4.5.u))))b=a?b+d:b-d}8 g=4.1m();8 h=[];8 k=0,j=i,v=0;8 c=4.L(i-1);1n(++k){e=4.L(j);p=!e.I;6(e.I==0){e=4.1B(j).V(4.K(\'C-1a-1D\'));c.I==0?4.t.2r(e):c[a?\'1z\':\'1X\'](e)}c=e;8 d=4.S(e);6(d==0){3f(\'3e: 3d 1H/26 3c 1r 3b. 3a 39 38 37 36 35. 34...\');z 0}6(4.5.B!=\'18\'&&4.5.u!==7&&j>4.5.u)h.33(e);10 6(p)l+=d;v+=d;6(v>=g)1p;j++}1r(8 x=0;x<h.I;x++)h[x].1V();6(l>0){4.t.y(4.N,4.S(4.t)+l+\'T\');6(a){b-=l;4.t.y(4.E,r.M(4.t.y(4.E))-l+\'T\')}}8 n=i+k-1;6(4.5.B!=\'18\'&&4.5.u&&n>4.5.u)n=4.5.u;6(j>n){k=0,j=n,v=0;1n(++k){8 e=4.L(j--);6(!e.I)1p;v+=4.S(e);6(v>=g)1p}}8 o=n-k+1;6(4.5.B!=\'18\'&&o<1)o=1;6(4.W&&a){b+=4.O;4.W=F}4.O=7;6(4.5.B!=\'18\'&&n==4.5.u&&(n-k+1)>=1){8 m=r.Y(4.L(n),!4.5.Z?\'1l\':\'1N\');6((v-m)>g)4.O=v-g-m}1n(i-->o)b+=4.S(4.L(i));4.X=4.A;4.13=4.G;4.A=o;4.G=n;z b},1i:9(p,a){6(4.Q||4.14)z;4.14=1h;8 b=4;8 c=9(){b.14=F;6(p==0)b.t.y(b.E,0);6(b.5.B==\'1Z\'||b.5.B==\'G\'||b.5.u==7||b.G<b.5.u)b.2j();b.1f();b.1M(\'2i\')};4.1M(\'31\');6(!4.5.1K||a==F){4.t.y(4.E,p+\'T\');c()}10{8 o=!4.5.Z?{\'24\':p}:{\'23\':p};4.t.1i(o,4.5.1K,4.5.2c,c)}},2j:9(s){6(s!=J)4.5.1q=s;6(4.5.1q==0)z 4.1C();6(4.1d!=7)z;8 a=4;4.1d=30(9(){a.17()},4.5.1q*2Z)},1C:9(){6(4.1d==7)z;2Y(4.1d);4.1d=7},1f:9(n,p){6(n==J||n==7){8 n=!4.Q&&4.5.u!==0&&((4.5.B&&4.5.B!=\'A\')||4.5.u==7||4.G<4.5.u);6(!4.Q&&(!4.5.B||4.5.B==\'A\')&&4.5.u!=7&&4.G>=4.5.u)n=4.O!=7&&!4.W}6(p==J||p==7){8 p=!4.Q&&4.5.u!==0&&((4.5.B&&4.5.B!=\'G\')||4.A>1);6(!4.Q&&(!4.5.B||4.5.B==\'G\')&&4.5.u!=7&&4.A==1)p=4.O!=7&&4.W}8 a=4;4.U[n?\'1u\':\'22\'](4.5.2m,4.2G)[n?\'1E\':\'V\'](4.K(\'C-17-1w\')).1J(\'1w\',n?F:1h);4.R[p?\'1u\':\'22\'](4.5.2k,4.2b)[p?\'1E\':\'V\'](4.K(\'C-11-1w\')).1J(\'1w\',p?F:1h);6(4.U.I>0&&(4.U[0].1g==J||4.U[0].1g!=n)&&4.5.1O!=7){4.U.1b(9(){a.5.1O(a,4,n)});4.U[0].1g=n}6(4.R.I>0&&(4.R[0].1g==J||4.R[0].1g!=p)&&4.5.1L!=7){4.R.1b(9(){a.5.1L(a,4,p)});4.R[0].1g=p}},1M:9(a){8 b=4.X==7?\'2a\':(4.X<4.A?\'17\':\'11\');4.12(\'2F\',a,b);6(4.X!==4.A){4.12(\'2B\',a,b,4.A);4.12(\'2z\',a,b,4.X)}6(4.13!==4.G){4.12(\'2x\',a,b,4.G);4.12(\'2v\',a,b,4.13)}4.12(\'2s\',a,b,4.A,4.G,4.X,4.13);4.12(\'2p\',a,b,4.X,4.13,4.A,4.G)},12:9(a,b,c,d,e,f,g){6(4.5[a]==J||(1R 4.5[a]!=\'2h\'&&b!=\'2i\'))z;8 h=1R 4.5[a]==\'2h\'?4.5[a][b]:4.5[a];6(!$.2W(h))z;8 j=4;6(d===J)h(j,c,b);10 6(e===J)4.L(d).1b(9(){h(j,4,d,c,b)});10{1r(8 i=d;i<=e;i++)6(i!==7&&!(i>=f&&i<=g))4.L(i).1b(9(){h(j,4,i,c,b)})}},1B:9(i){z 4.1I(\'<1F></1F>\',i)},1I:9(e,i){8 a=$(e).V(4.K(\'C-1a\')).V(4.K(\'C-1a-\'+i));a.1J(\'2V\',i);z a},K:9(c){z c+\' \'+c+(!4.5.Z?\'-2U\':\'-Z\')},S:9(e,d){8 a=e.2g!=J?e[0]:e;8 b=!4.5.Z?a.1x+r.Y(a,\'2f\')+r.Y(a,\'1l\'):a.2e+r.Y(a,\'2d\')+r.Y(a,\'1N\');6(d==J||b==d)z b;8 w=!4.5.Z?d-r.Y(a,\'2f\')-r.Y(a,\'1l\'):d-r.Y(a,\'2d\')-r.Y(a,\'1N\');$(a).y(4.N,w+\'T\');z 4.S(a)},1m:9(){z!4.5.Z?4.H[0].1x-r.M(4.H.y(\'2T\'))-r.M(4.H.y(\'2S\')):4.H[0].2e-r.M(4.H.y(\'2R\'))-r.M(4.H.y(\'3i\'))},2P:9(i,s){6(s==J)s=4.5.u;z 1k.2O((((i-1)/s)-1k.2N((i-1)/s))*s)+1}});r.16({3m:9(d){z $.16(q,d||{})},Y:9(e,p){6(!e)z 0;8 a=e.2g!=J?e[0]:e;6(p==\'1l\'&&$.2A.28){8 b={\'1y\':\'1A\',\'2M\':\'2L\',\'1H\':\'1q\'},1Y,1W;$.29(a,b,9(){1Y=a.1x});b[\'1l\']=0;$.29(a,b,9(){1W=a.1x});z 1W-1Y}z r.M($.y(a,p))},M:9(v){v=2K(v);z 2J(v)?0:v}})})(3v);',62,218,'||||this|options|if|null|var|function||||||||||||||||||||list|size||||css|return|first|wrap|jcarousel|container|lt|false|last|clip|length|undefined|className|get|intval|wh|tail|div|locked|buttonPrev|dimension|px|buttonNext|addClass|inTail|prevFirst|margin|vertical|else|prev|callback|prevLast|animating|visible|extend|next|circular|parent|item|each|scroll|timer|split|buttons|jcarouselstate|true|animate|initCallback|Math|marginRight|clipping|while|hasClass|break|auto|for|pos|setup|bind|fn|disabled|offsetWidth|display|before|block|create|stopAuto|placeholder|removeClass|li|reloadCallback|width|format|attr|animation|buttonPrevCallback|notify|marginBottom|buttonNextCallback|ceil|buttonPrevHTML|typeof|buttonNextHTML|scrollTail|funcResize|remove|oWidth2|after|oWidth|both|old|offset|unbind|top|left|start|height|window|safari|swap|init|funcPrev|easing|marginTop|offsetHeight|marginLeft|jquery|object|onAfterAnimation|startAuto|buttonPrevEvent|click|buttonNextEvent|ol|ul|itemVisibleOutCallback|reload|prepend|itemVisibleInCallback|nodeName|add|itemLastOutCallback|skin|itemLastInCallback|indexOf|itemFirstOutCallback|browser|itemFirstInCallback|empty|reset|resize|itemLoadCallback|funcNext|prototype|load|isNaN|parseInt|none|float|floor|round|index|swing|borderTopWidth|borderRightWidth|borderLeftWidth|horizontal|jcarouselindex|isFunction|normal|clearTimeout|1000|setTimeout|onBeforeAnimation|children|push|Aborting|loop|infinite|an|cause|will|This|items|set|No|jCarousel|alert|class|find|borderBottomWidth|append|html|string|defaults|OL|UL|new|has|unlock|lock|10px|0px|jQuery'.split('|'),0,{})) - diff --git a/media/js/jquery.scrollTo-1.4.2-min.js b/media/js/jquery.scrollTo-1.4.2-min.js new file mode 100644 index 0000000..73a3341 --- /dev/null +++ b/media/js/jquery.scrollTo-1.4.2-min.js @@ -0,0 +1,11 @@ +/**
+ * jQuery.ScrollTo - Easy element scrolling using jQuery.
+ * Copyright (c) 2007-2009 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com
+ * Dual licensed under MIT and GPL.
+ * Date: 5/25/2009
+ * @author Ariel Flesler
+ * @version 1.4.2
+ *
+ * http://flesler.blogspot.com/2007/10/jqueryscrollto.html
+ */
+;(function(d){var k=d.scrollTo=function(a,i,e){d(window).scrollTo(a,i,e)};k.defaults={axis:'xy',duration:parseFloat(d.fn.jquery)>=1.3?0:1};k.window=function(a){return d(window)._scrollable()};d.fn._scrollable=function(){return this.map(function(){var a=this,i=!a.nodeName||d.inArray(a.nodeName.toLowerCase(),['iframe','#document','html','body'])!=-1;if(!i)return a;var e=(a.contentWindow||a).document||a.ownerDocument||a;return d.browser.safari||e.compatMode=='BackCompat'?e.body:e.documentElement})};d.fn.scrollTo=function(n,j,b){if(typeof j=='object'){b=j;j=0}if(typeof b=='function')b={onAfter:b};if(n=='max')n=9e9;b=d.extend({},k.defaults,b);j=j||b.speed||b.duration;b.queue=b.queue&&b.axis.length>1;if(b.queue)j/=2;b.offset=p(b.offset);b.over=p(b.over);return this._scrollable().each(function(){var q=this,r=d(q),f=n,s,g={},u=r.is('html,body');switch(typeof f){case'number':case'string':if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(f)){f=p(f);break}f=d(f,this);case'object':if(f.is||f.style)s=(f=d(f)).offset()}d.each(b.axis.split(''),function(a,i){var e=i=='x'?'Left':'Top',h=e.toLowerCase(),c='scroll'+e,l=q[c],m=k.max(q,i);if(s){g[c]=s[h]+(u?0:l-r.offset()[h]);if(b.margin){g[c]-=parseInt(f.css('margin'+e))||0;g[c]-=parseInt(f.css('border'+e+'Width'))||0}g[c]+=b.offset[h]||0;if(b.over[h])g[c]+=f[i=='x'?'width':'height']()*b.over[h]}else{var o=f[h];g[c]=o.slice&&o.slice(-1)=='%'?parseFloat(o)/100*m:o}if(/^\d+$/.test(g[c]))g[c]=g[c]<=0?0:Math.min(g[c],m);if(!a&&b.queue){if(l!=g[c])t(b.onAfterFirst);delete g[c]}});t(b.onAfter);function t(a){r.animate(g,j,b.easing,a&&function(){a.call(this,n,b)})}}).end()};k.max=function(a,i){var e=i=='x'?'Width':'Height',h='scroll'+e;if(!d(a).is('html,body'))return a[h]-d(a)[e.toLowerCase()]();var c='client'+e,l=a.ownerDocument.documentElement,m=a.ownerDocument.body;return Math.max(l[h],m[h])-Math.min(l[c],m[c])};function p(a){return typeof a=='object'?a:{top:a,left:a}}})(jQuery);
\ No newline at end of file diff --git a/media/js/slideshow.js b/media/js/slideshow.js index 378412f..b8c1921 100644 --- a/media/js/slideshow.js +++ b/media/js/slideshow.js @@ -2,7 +2,8 @@ function mapit(latlontitle) { lat = parseFloat(latlontitle.split(',')[0]); lon = parseFloat(latlontitle.split(',')[1]); - title= latlontitle.split(',')[2]; + //title= latlontitle.split(',')[2]; + elid= latlontitle.split(',')[2]; centerCoord = new google.maps.LatLng(lat, lon); var mapitinit; if (mapitinit == true) { @@ -20,197 +21,80 @@ function mapit(latlontitle) { mapTypeId: google.maps.MapTypeId.TERRAIN, navigationControlOptions: {style: google.maps.NavigationControlStyle.SMALL} }; - map = new google.maps.Map(document.getElementById("map-wrapper"), mapOptions); + map = new google.maps.Map(document.getElementById("mw-"+elid), mapOptions); var marker = new google.maps.Marker({ position: centerCoord, - map: map, - title: title + map: map + //title: title }); mapitinit = true; } function mapPanTo(){ var marker = new google.maps.Marker({ position: centerCoord, - map: map, - title: title + map: map + //title: title }); map.panTo(centerCoord); } } -// utility functions to create/remove map container +//########## utility functions to create/remove map container ############ function create_map(obj) { + //find id of this image caption: + imgid = obj.title.split(',')[2]; //create container divs - $(obj).parent().parent().parent().append('<div id="map-container">'); - $('#map-container').append('<div id="map-wrapper">'); + $('<div class="map-container" id="mc-'+imgid+'">').insertBefore($(obj).parent().parent()); + //$(obj).parent().parent().parent().append('<div id="map-container">'); + $('#mc-'+imgid).append('<div class="map-wrapper" id="mw-'+imgid+'">'); //deal with the variable height of div.legend - $('#map-container').css({ - bottom: function(index, value) { - return parseFloat($(obj).parent().parent().height())-2; - } - }); + //$('#map-container').css({ + // bottom: function(index, value) { + // return parseFloat($(obj).parent().parent().height())-2; + // } + //}); mapit(obj.title); } -function remove_map() { - $('#map-container').remove(); +function remove_map(imgid) { + $('#mc-'+imgid).remove(); } -// utility functions to create/remove camera info container -function get_exif(obj,id) { - $(obj).parents().eq(2).append('<div id="exif-container">'); - $(obj).parents().eq(2).children('.meta').clone().appendTo('#exif-container').css('display', 'block'); - //deal with the variable height of div.legend - $('#exif-container').css({ - bottom: function(index, value) { - return parseFloat($(obj).parent().parent().height())-14; - } - }); -} -function remove_exif() { - $("#exif-container").remove(); -} - -// +//############ Document.ready events ############## $(document).ready(function(){ - - - //Add navigation - $('#breadcrumbs').after('<div id="slideshow-controls"><ul><li><a id="prev" title="you can also use the arrow keys to navigate" href="#"> ← Older</a></li><li><a id="play" title="Pause Slideshow" href="#">▐▐</a></li><li><a id="next" title="you can also use the arrow keys to navigate" href="#">Newer →</a></li></ul></div>'); - - - //activate pause button - //state var - var show_state = 'playing'; - $('#play').click(function() { - if (show_state == 'playing') { - $('#slides').cycle('pause'); - $(this).html('▶'); - $(this).attr('title','Play slideshow'); - show_state = 'paused'; - } else { - $('#slides').cycle('resume', true); - $(this).html('▐▐'); - $(this).attr('title','Pause slideshow'); - show_state= 'playing'; - } - return false; - }); - - //set up click events for map button $('.map-link').click( function() { - if ($("#exif-container").is(":visible")){ - remove_exif(); - } - if ($('#map-container').is(":visible")) { - remove_map(); + imgid = this.title.split(',')[2]; + if ($('#mc-'+imgid).is(":visible")) { + remove_map(imgid); } else { create_map(this); } return false; }); - - //set up click events camera info button - $('.exif-link').click( function() { - if ($('#map-container').is(":visible")){ - remove_map(); - } - if ($('#exif-container').is(":visible")) { - remove_exif(); - } else { - get_exif(this); + var $ele = $('#slides').children() + var $curr = 0 + $(document).bind('keydown', function (e) { + var code = e.which; + switch (code) { + case 39: + if ($curr <= $ele.size()) { + $.scrollTo($ele[$curr], 800 ); + $curr++ + } + break; + case 37: + if ($curr > 0) { + $curr-- + var $now = $curr + $now-- + $.scrollTo($ele[$now], 800 ); + } + break; } - return false; - }); - - - // create and hide nav buttons (needed for keyboard shortcuts - $('#slides').append('<div class="slidenav"><a id="prev">< Prev </a><a id="next"> Next ></a></div>'); - $('.slidenav').css("display","none"); - - var is_permalink = false; - //find out if we should display a specific slide - var index = 0, hash = window.location.hash; - if (hash) { - index = /\d+/.exec(hash)[0]; - index = (parseInt(index) || 1) - 1; // slides are zero-based - //if this is a permalink, then don't autoplay: - is_permalink = true; - } - // initialize the cycle slideshow - $('#slides .bigimg').wrapAll('<div class="bigimgs">').parents('#slides').append('<ul class="menu" id="feature_gallery_pager">').cycle({ - fx: 'fade', - startingSlide: index, - prev: $(this).find('#prev'), - next: $(this).find('#next'), - before: onBefore, - after: onAfter, - slideExpr: '.bigimg', - pager: '#feature_gallery_pager', - pagerAnchorBuilder: function(idx, slide) { - return '<li><a href="#"><img src="'+slide.id+'" class="thumb"><span></span></a></li>'; - } - }); - - //if this is a permalink, then pause: - if(is_permalink == true) { - $('#play').click() - } - //callback to delete map and camera info windows if they exist - function onBefore() { - $('#map-container').remove(); - $('#exif-container').remove(); - } - - //callback to change url for permalinks and scroll jcarousel - function onAfter(curr,next,opts) { - if (opts.currSlide % 10 == 0) { - if (opts.currSlide != 0) { - $('#slides').trigger('image-loaded',[opts.currSlide+1]); - } else { - $('#slides').trigger('image-loaded',[1]); - } - } - window.location.hash = 'image'+(opts.currSlide + 1); - } - - //callback for jcarousel - function initCallbackFunction(carousel) { - // bind "image-loaded" event to the #slides container (trigger in onAfter function) - $('#slides').bind('image-loaded', function(event, num) { - // scroll carousel - carousel.scroll(num); - return false; - }); - }; - - //initialize the jcarousel plugin - $(function() { - $('#feature_gallery_pager').jcarousel({ - scroll:10, - initCallback: initCallbackFunction - }); + return; }); - - //enable keyboard shortcuts: - $(document.documentElement).keyup(function(event) { - var direction = null; - if (event.keyCode == 37) { - direction = 'prev'; - } else if (event.keyCode == 39) { - direction = 'next'; - } - if (direction != null) { - $('#slides').each(function(index) { - $('#prev,#next', this)[direction]().click(); - }); - } - }); - - - }); diff --git a/media/js/slideshow.pack.js b/media/js/slideshow.pack.js index 63c735a..5565fec 100644 --- a/media/js/slideshow.pack.js +++ b/media/js/slideshow.pack.js @@ -1 +1,15 @@ -eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('3 1r(A){1x=C(A.U(\',\')[0]);1G=C(A.U(\',\')[1]);9=A.U(\',\')[2];y=H p.q.1U(1x,1G);g X;6(X==k){1K()}r{1H()}3 1H(){g 1J={2b:8,26:y,1W:k,25:k,28:p.q.2a.29,24:{23:p.q.1Y.1X}};4=H p.q.1Z(W.20("4-1q"),1J);g 1L=H p.q.1a({15:y,4:4,9:9});X=k}3 1K(){g 1L=H p.q.1a({15:y,4:4,9:9});4.27(y)}}3 11(e){$(e).m().m().m().v(\'<f 7="4-5">\');$(\'#4-5\').v(\'<f 7="4-1q">\');$(\'#4-5\').I({1i:3(i,1p){l C($(e).m().m().1d())-2}});1r(e.9)}3 Q(){$(\'#4-5\').z()}3 19(e,7){$(e).M().1t(2).v(\'<f 7="h-5">\');$(e).M().1t(2).1T(\'.1O\').1R().1S(\'#h-5\').I(\'1B\',\'1V\');$(\'#h-5\').I({1i:3(i,1p){l C($(e).m().m().1d())-14}})}3 N(){$("#h-5").z()}$(W).2E(3(){$(\'#2C\').1A(\'<f 7="V-2D"><R><j><a 7="o" 9="1j 1k 1h 1g 1e 1f 1l 1m 1s" E="#"> &2B; 2A</a></j><j><a 7="Z" 9="1b 2x" E="#">▐▐</a></j><j><a 7="n" 9="1j 1k 1h 1g 1e 1f 1l 1m 1s" E="#">2y &2z;</a></j></R></f>\');g B=\'Y\';$(\'#Z\').x(3(){6(B==\'Y\'){$(\'#b\').S(\'2F\');$(c).1c(\'▶\');$(c).1u(\'9\',\'2G V\');B=\'2c\'}r{$(\'#b\').S(\'2K\',k);$(c).1c(\'▐▐\');$(c).1u(\'9\',\'1b V\');B=\'Y\'}l u});$(\'.4-12\').x(3(){6($("#h-5").F(":D")){N()}6($(\'#4-5\').F(":D")){Q()}r{11(c)}l u});$(\'.h-12\').x(3(){6($(\'#4-5\').F(":D")){Q()}6($(\'#h-5\').F(":D")){N()}r{19(c)}l u});$(\'#b\').v(\'<f G="17"><a 7="o">< 2H&16;</a><a 7="n">&16;2L ></a></f>\');$(\'.17\').I("1B","2J");g T=u;g i=0,s=1N.1z.s;6(s){i=/\\d+/.2v(s)[0];i=(2w(i)||1)-1;T=k}$(\'#b .1y\').2j(\'<f G="2h">\').M(\'#b\').v(\'<R G="2g" 7="P">\').S({2d:\'2e\',2f:i,o:$(c).1I(\'#o\'),n:$(c).1I(\'#n\'),2l:1w,1A:1M,2m:\'.1y\',2s:\'#P\',2t:3(2u,1E){l\'<j><a E="#"><2r 2q="\'+1E.7+\'" G="2n"><1F></1F></a></j>\'}});6(T==k){$(\'#Z\').x()}3 1w(){$(\'#4-5\').z();$(\'#h-5\').z()}3 1M(2p,n,t){6(t.K%10==0){6(t.K!=0){$(\'#b\').1o(\'J-O\',[t.K+1])}r{$(\'#b\').1o(\'J-O\',[1])}}1N.1z.s=\'J\'+(t.K+1)}3 13(1D){$(\'#b\').2o(\'J-O\',3(L,1C){1D.1n(1C);l u})};$(3(){$(\'#P\').2k({1n:10,2I:13})});$(W.2i).22(3(L){g w=1v;6(L.18==1Q){w=\'o\'}r 6(L.18==21){w=\'n\'}6(w!=1v){$(\'#b\').1P(3(i){$(\'#o,#n\',c)[w]().x()})}})});',62,172,'|||function|map|container|if|id||title||slides|this||obj|div|var|exif|index|li|true|return|parent|next|prev|google|maps|else|hash|opts|false|append|direction|click|centerCoord|remove|latlontitle|show_state|parseFloat|visible|href|is|class|new|css|image|currSlide|event|parents|remove_exif|loaded|feature_gallery_pager|remove_map|ul|cycle|is_permalink|split|slideshow|document|mapitinit|playing|play||create_map|link|initCallbackFunction||position|nbsp|slidenav|keyCode|get_exif|Marker|Pause|html|height|the|arrow|use|also|bottom|you|can|keys|to|scroll|trigger|value|wrapper|mapit|navigate|eq|attr|null|onBefore|lat|bigimg|location|after|display|num|carousel|slide|span|lon|mapInit|find|mapOptions|mapPanTo|marker|onAfter|window|meta|each|37|clone|appendTo|children|LatLng|block|disableDefaultUI|SMALL|NavigationControlStyle|Map|getElementById|39|keyup|style|navigationControlOptions|navigationControl|center|panTo|mapTypeId|TERRAIN|MapTypeId|zoom|paused|fx|fade|startingSlide|menu|bigimgs|documentElement|wrapAll|jcarousel|before|slideExpr|thumb|bind|curr|src|img|pager|pagerAnchorBuilder|idx|exec|parseInt|Slideshow|Newer|rarr|Older|larr|breadcrumbs|controls|ready|pause|Play|Prev|initCallback|none|resume|Next'.split('|'),0,{})) +function mapit(latlontitle){lat=parseFloat(latlontitle.split(',')[0]);lon=parseFloat(latlontitle.split(',')[1]);elid=latlontitle.split(',')[2];centerCoord=new google.maps.LatLng(lat,lon);var mapitinit;if(mapitinit==true){mapPanTo();}else{mapInit();} +function mapInit(){var mapOptions={zoom:8,center:centerCoord,disableDefaultUI:true,navigationControl:true,mapTypeId:google.maps.MapTypeId.TERRAIN,navigationControlOptions:{style:google.maps.NavigationControlStyle.SMALL}};map=new google.maps.Map(document.getElementById("mw-"+elid),mapOptions);var marker=new google.maps.Marker({position:centerCoord,map:map});mapitinit=true;} +function mapPanTo(){var marker=new google.maps.Marker({position:centerCoord,map:map});map.panTo(centerCoord);}} +function create_map(obj){imgid=obj.title.split(',')[2];$('<div class="map-container" id="mc-'+imgid+'">').insertBefore($(obj).parent().parent());$('#mc-'+imgid).append('<div class="map-wrapper" id="mw-'+imgid+'">');mapit(obj.title);} +function remove_map(imgid){$('#mc-'+imgid).remove();} +$(document).ready(function(){$('.map-link').click(function(){imgid=this.title.split(',')[2];if($('#mc-'+imgid).is(":visible")){remove_map(imgid);}else{create_map(this);} +return false;});var $ele=$('#slides').children() +var $curr=0 +$(document).bind('keydown',function(e){var code=e.which;switch(code){case 39:if($curr<=$ele.size()){$.scrollTo($ele[$curr],800);$curr++} +break;case 37:if($curr>0){$curr-- +var $now=$curr +$now-- +$.scrollTo($ele[$now],800);} +break;} +return;});});
\ No newline at end of file diff --git a/media/sass/dark.sass b/media/sass/dark.sass index 6f6f331..149ee61 100644 --- a/media/sass/dark.sass +++ b/media/sass/dark.sass @@ -5,231 +5,394 @@ $brown: #201a11 $orange: #b53a04 *:focus - outline: $orange dotted thin + outline: $orange dotted thin body - background: $brown + background: $brown a - text-decoration: none - color: $orange - &:visited - color: white - text-decoration: none - &:hover - color: white text-decoration: none + color: $orange + &:visited + color: white + text-decoration: none + &:hover + color: white + text-decoration: none header[role="banner"] - border-bottom: #cccccc 1px solid - margin-bottom: 1em - a - color: white !important - &:hover - color: $orange unquote("!important") - h1 - background: url('../img/tree-dark.png') left bottom no-repeat !important - h2 - background: url('../img/text-dark.png') left bottom no-repeat !important + border-bottom: #cccccc 1px solid + margin-bottom: 1em + a + color: white !important + &:hover + color: $orange unquote("!important") + h1 + background: url('../img/tree-dark.png') left bottom no-repeat !important + h2 + background: url('../img/text-dark.png') left bottom no-repeat !important - + #breadcrumbs - color: white - a color: white - &:hover - color: $orange + a + color: white + &:hover + color: $orange article[role="main"] .geo a - color: white + color: white article[role="main"] .geo a:hover - color: $orange + color: $orange footer - color: #cccccc - a - color: #cccccc !important - &:hover - color: $orange !important + color: #cccccc + a + color: #cccccc !important + &:hover + color: $orange !important img - &.postpic, &.postpicright - border: none - &.picfull - border: none + &.postpic, &.postpicright + border: none + &.picfull + border: none #post-body - color: #cccccc + color: #cccccc aside, header - color: #cccccc + color: #cccccc aside section - a - color: #cccccc !important - &:hover - color: $orange !important + a + color: #cccccc !important + &:hover + color: $orange !important #post-metadata - border-top: #555555 1px dotted - border-bottom: #555555 1px dotted - p - color: #cccccc + border-top: #555555 1px dotted + border-bottom: #555555 1px dotted + p + color: #cccccc .addendum dt - margin-left: -30px !important + margin-left: -30px !important h4 a.disqus-link-count - color: #cccccc !important + color: #cccccc !important #writing-detail - img - border: none - .legend - padding: 8px + img + border: none + .legend + padding: 8px #parks article - position: relative - display: block - margin: 0 0 2em 0 - h1 - display: block - background: $brown - +transparent_class - color: white - margin: 0 0 0 10px - width: 100% - text-align: left - - .figure - position: relative - border: none - .legend position: relative - width: 100% - padding: 0 - margin: 0 - h2 - font: normal .875em Helvetica, Verdana, sans-serif - color: white - margin: 0 0 1.3em 1em - - .buttons display: block - padding: 0 - background: $brown - font-size: 10px - line-height: 1em - color: white - text-align: center - text-transform: uppercase - margin: 0 auto - li - display: inline - margin: 0 .25em - font: normal 1em Helvetica, Verdana, sans-serif - a - font-weight: bold - + margin: 0 0 2em 0 + h1 + display: block + background: $brown + +transparent_class + color: white + margin: 0 0 0 10px + width: 100% + text-align: left + + .figure + position: relative + border: none + .legend + position: relative + width: 100% + padding: 0 + margin: 0 + h2 + font: normal .875em Helvetica, Verdana, sans-serif + color: white + margin: 0 0 1.3em 1em - .map-container - width: 469px - height: 392px - position: absolute - right: 20px - bottom: 60px - z-index: 2000 - margin: 0 - padding: 0 - background: url("../img/mapbg-dark.png") no-repeat top left - .map-wrapper - width: 400px - height: 328px - margin: 37px 0 0 44px - - .meta - height: 0 - .more-container - width: 405px - height: 260px - position: absolute - right: -30px - bottom: 40px - z-index: 2000 - background: url("../img/parkbg.png") no-repeat top left - dl - margin-top: 45px - margin-left: 45px - dt,dd - font-size: 0.9em - line-height: 25px - margin: 4px 0 - font-family: Helvetica, Verdana, sans-serif + .buttons + display: block + padding: 0 + background: $brown + font-size: 10px + line-height: 1em color: white - dt - clear: left - float: left - width: 65px - //border-bottom: 1px solid #999 - font-weight: bold - line-height: 25px - font-size: 0.7em + text-align: center text-transform: uppercase - dd - float: left - width: 250px - overflow: hidden - //border-bottom: 1px solid #999 + margin: 0 auto + li + display: inline + margin: 0 .25em + font: normal 1em Helvetica, Verdana, sans-serif + a + font-weight: bold + + + .map-container + width: 469px + height: 392px + position: absolute + right: 20px + bottom: 60px + z-index: 2000 + margin: 0 + padding: 0 + background: url("../img/mapbg-dark.png") no-repeat top left + .map-wrapper + width: 400px + height: 328px + margin: 37px 0 0 44px + + .meta + height: 0 + .more-container + width: 405px + height: 260px + position: absolute + right: -30px + bottom: 40px + z-index: 2000 + background: url("../img/parkbg.png") no-repeat top left + dl + margin-top: 45px + margin-left: 45px + dt,dd + font-size: 0.9em + line-height: 25px + margin: 4px 0 + font-family: Helvetica, Verdana, sans-serif + color: white + dt + clear: left + float: left + width: 65px + //border-bottom: 1px solid #999 + font-weight: bold + line-height: 25px + font-size: 0.7em + text-transform: uppercase + dd + float: left + width: 250px + overflow: hidden + //border-bottom: 1px solid #999 + a:hover + color: $orange + + + +//############# Photo Pages ################# +body.image_gallery + background: #14100b !important + .directions + font: normal .675em Helvetica, Verdana, sans-serif + color: #414144 + text-align: center + margin-bottom: 1.75em + article + clear: both + margin-bottom: 5em + h6 + text-align: center + text-transform: uppercase + font-size: .625em + margin: 0 0 1.25em 0 + a + color: #b5b5b5 a:hover - color: $orange + color: $orange + #slides + width: 62.5em + img + border: none + margin: 0 auto + text-align: center + padding: 0 + float: left + .figcaption + clear: both + background: #1a1713 + -moz-border-radius: 0 0 .5em .5em + -webkit-border-radius: 0 0 .5em .5em + border-radius: 0 0 .5em .5em + color: white + margin: -.25em 0 0 0 + padding: 1em 0 1em 0 + h3 + float: left + margin: 0 0 1em 1em + padding: 0 + font-weight: normal + .caption + border-right: 1px solid #1f1f21 + width: 70% + float: left + padding-right: 1em + p + clear: both + .map-link + float: right + background: #211d19 + line-height: 1em + color: white + text-align: center + text-transform: uppercase + margin: 0 .25em + font: normal .75em Helvetica, Verdana, sans-serif + padding: .5em 1em + -moz-border-radius: 1em + -webkit-border-radius: 1em + border-radius: 1em + .map-link:hover + background: $orange + .photo-options + float: left + margin-left: 1em + li + display: inline + margin: 0 .25em + font: normal 1em Helvetica, Verdana, sans-serif + a + font-weight: bold + p + margin: 0 1em + color: #74757A + font-size: 1em + .details, .camera + font: normal .75em Helvetica, Verdana, sans-serif + color: #414144 + a + color: #414144 + font-weight: normal + a:hover + color: $orange + .figcaption:after + content: "." + display: block + height: 0 + clear: both + visibility: hidden + + .meta + margin: 43px 0 0 37px + color: black + dl + font-size: 13px + dt + clear: left + float: left + line-height: 16px + margin: 4px 0 + width: 100px + //border-bottom: 1px solid #999 + dd + float: left + width: 125px + margin: 4px 0 4px 4px + line-height: 16px + a + color: black !important + a:hover + color: $orange !important -@media only screen and (min-width: 800px) - #parks article - h1 - margin: 0 - font-size: 2em - padding-left: .25em - position: absolute - top: 10px - left: 10px - line-height: 2em - z-index: 1000 - .legend - position: absolute - padding: .25em 1em - height: 4em - h2 - float: left - font-size: 1.2em + .map-container + //clear: left + width: 469px + height: 392px + position: relative + bottom: -180px + left: 280px + z-index: 2000 margin: 0 - line-height: 2.6em - .buttons - +transparent_class - float: right - margin: 2em 2em 0 0 - a - padding: .875em 1.75em .75em - background: #463215 - color: #fff - -moz-border-radius: 25px - -webkit-border-radius: 25px - border-radius: 25px - a:hover - background: $orange - color: white - - - #post-body - .legend - width: 100% !important + padding: 0 + background: url("../img/mapbg.png") no-repeat top left + + .map-wrapper + width: 400px + height: 328px + margin: 37px 0 0 44px + position: relative + top: -525px + +@media only screen and (max-width: 480px) + body.image_gallery + #slides + width: 100% + h3 + margin-left: .5em !important + margin-bottom: .5em !important + h6 + display: none + #slides + img + width: 100% + .photo-options, .map-link + display: none + .figcaption + padding: 1em 0 .5em 0 + .caption + width: 100% !important + float: none !important + p + font: normal .75em Helvetica, Verdana, sans-serif + margin: 0 0 0 .75em + padding-bottom: .25em + +@media only screen and (min-width: 800px) + #parks article + h1 + margin: 0 + font-size: 2em + padding-left: .25em + position: absolute + top: 10px + left: 10px + line-height: 2em + z-index: 1000 + .legend + position: absolute + padding: .25em 1em + height: 4em + h2 + float: left + font-size: 1.2em + margin: 0 + line-height: 2.6em + .buttons + +transparent_class + float: right + margin: 2em 2em 0 0 + a + padding: .875em 1.75em .75em + background: #463215 + color: #fff + -moz-border-radius: 25px + -webkit-border-radius: 25px + border-radius: 25px + a:hover + background: $orange + color: white + + + #post-body + .legend + width: 100% !important + + + .ie :focus - outline: 0 + outline: 0 .ie header[role="banner"] - border-bottom: #cccccc 1px solid !important - h2 - background: url('../img/text-dark.png') left bottom no-repeat !important + border-bottom: #cccccc 1px solid !important + h2 + background: url('../img/text-dark.png') left bottom no-repeat !important .ie #parks .buttons - a - padding: 10px - line-height: 2em + a + padding: 10px + line-height: 2em + |