Skip to content

Instantly share code, notes, and snippets.

@christopherlovell
Created July 26, 2015 21:06
Show Gist options
  • Save christopherlovell/db57db18d10fc258494e to your computer and use it in GitHub Desktop.
Save christopherlovell/db57db18d10fc258494e to your computer and use it in GitHub Desktop.
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video
{
border: 0;
font: inherit;
font-size: 100%;
margin: 0;
padding: 0;
vertical-align: baseline;
}
html
{
line-height: 1;
}
ol,ul
{
list-style: none;
}
table
{
border-collapse: collapse;
border-spacing: 0;
}
caption,th,td
{
font-weight: normal;
text-align: left;
vertical-align: middle;
}
q,blockquote
{
quotes: none;
}
q:before,q:after,blockquote:before,blockquote:after
{
content: "";
content: none;
}
a img
{
border: none;
}
article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary
{
display: block;
}
@font-face
{
font-family: "AleoRegular";
src: url(//cartodb-assets.global.ssl.fastly.net/odyssey.js/Aleo-Regular-webfont.eot);
src: url(//cartodb-assets.global.ssl.fastly.net/odyssey.js/Aleo-Regular-webfont.eot?#iefix) format('embedded-opentype'),url(//cartodb-assets.global.ssl.fastly.net/odyssey.js/Aleo-Regular-webfont.woff) format('woff'),url(//cartodb-assets.global.ssl.fastly.net/odyssey.js/Aleo-Regular-webfont.ttf) format('truetype'),url(//cartodb-assets.global.ssl.fastly.net/odyssey.js/Aleo-Regular-webfont.svg) format('svg');
}
@font-face
{
font-family: "AleoBold";
src: url(//cartodb-assets.global.ssl.fastly.net/odyssey.js/Aleo-Bold-webfont.eot);
src: url(//cartodb-assets.global.ssl.fastly.net/odyssey.js/Aleo-Bold-webfont.eot?#iefix) format('embedded-opentype'),url(//cartodb-assets.global.ssl.fastly.net/odyssey.js/Aleo-Bold-webfont.woff) format('woff'),url(//cartodb-assets.global.ssl.fastly.net/odyssey.js/Aleo-Bold-webfont.ttf) format('truetype'),url(//cartodb-assets.global.ssl.fastly.net/odyssey.js/Aleo-Bold-webfont.svg) format('svg');
}
@font-face
{
font-family: "ProximaNovaBold";
src: url(//cartodb-assets.global.ssl.fastly.net/odyssey.js/fbc6b03a-b3a1-427c-a884-053deca3a53c.eot);
src: url(//cartodb-assets.global.ssl.fastly.net/odyssey.js/fbc6b03a-b3a1-427c-a884-053deca3a53c.eot?#iefix) format('embedded-opentype'),url(//cartodb-assets.global.ssl.fastly.net/odyssey.js/d999c07b-a049-4eb5-b8a6-4f36ae25e67e.woff) format('woff'),url(//cartodb-assets.global.ssl.fastly.net/odyssey.js/4d4a75f5-d32a-4a09-8665-133afd39cc37.ttf) format('truetype'),url(//cartodb-assets.global.ssl.fastly.net/odyssey.js/8152bc4e-d700-4c78-b6be-326893e6f53f.svg) format('svg');
}
body
{
overflow: hidden;
}
#map
{
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
}
#slides_container
{
background-color: #fff;
background-color: rgba(255,255,255,0.7);
display: none;
left: 40px;
padding: 20px;
padding-right: 20px;
position: absolute;
top: 40px;
width: 520px;
z-index: 10;
}
#slides_container.visible
{
display: block !important;
}
#slides_container .slide
{
display: none;
overflow-y: auto;
padding-right: 20px;
}
#slides_container .slide.selected
{
display: block !important;
}
#slides_container .slide.scrolled img
{
margin: 20px 0;
width: 100%;
}
#slides_container .slide strong
{
font-family: "AleoBold";
}
#slides_container .slide em
{
font-style: italic;
}
#slides_container h1,#slides_container h2,#slides_container h3,#slides_container h4,#slides_container h5,#slides_container h6
{
color: #333;
font-family: 'Proxima N W01 Bold', Sans-serif;
font-size: 45px;
}
#slides_container h1:after,#slides_container h2:after,#slides_container h3:after,#slides_container h4:after,#slides_container h5:after,#slides_container h6:after
{
background-color: #333;
content: " ";
display: block;
height: 3px;
margin: 20px 0 20px 0;
text-shadow: none;
width: 140px;
}
#slides_container h2,#slides_container h3,#slides_container h4,#slides_container h5,#slides_container h6
{
font-size: 19px;
}
#slides_container h2:after,#slides_container h3:after,#slides_container h4:after,#slides_container h5:after,#slides_container h6:after
{
height: 1px;
margin: 18px 0 18px 0;
width: 180px;
}
#slides_container p,#slides_container span
{
color: #333;
font-family: AleoRegular, Serif;
font-size: 15px;
line-height: 21px;
margin: 0 0 19px 0;
}
#slides_container a
{
color: #FF7373;
text-decoration: none;
}
#slides_container a:hover
{
text-decoration: underline;
}
#front_slide.hidden
{
display: none;
}
#dots
{
margin: 0 0 20px 0;
}
#dots li
{
display: inline;
}
#dots li a
{
color: #333;
opacity: 0.2;
}
#dots li a:before
{
content: ' \25CF';
font-size: 16px;
}
#dots li a.active
{
opacity: 1;
}
#dots li a:hover
{
cursor: pointer;
opacity: 1;
text-decoration: none;
}
#slides_container img
{
margin: 10px 0;
max-width: 100%;
}
ul#navButtons
{
margin: 20px 0 0 0;
}
ul#navButtons li
{
display: inline;
width: 30px;
}
ul#navButtons li a
{
background: transparent url('../img/navBtns.png?1407168450') no-repeat -10px 0;
display: inline-block;
height: 30px;
width: 23px;
}
ul#navButtons li a:hover
{
background-position: -10px -30px;
cursor: pointer;
}
ul#navButtons li a.next
{
background: transparent url('../img/navBtns.png?1407168450') no-repeat -30px 0;
}
ul#navButtons li a.next:hover
{
background-position: -30px -30px;
}
div#credits
{
background-color: #FFF;
bottom: 0;
height: 44px;
left: 0;
position: absolute;
right: 0;
z-index: 1000001;
}
div#credits a
{
color: #ff7373;
}
div#credits span
{
font-size: 12px;
padding: 18px 0 0 0;
position: absolute;
text-transform: uppercase;
}
div#credits span.title
{
color: #333;
font-family: 'Proxima N W01 Bold', Sans-serif;
left: 40px;
}
div#credits span.author
{
color: #999;
font-family: AleoRegular, Serif;
font-size: 10px;
letter-spacing: 2px;
right: 40px;
text-align: right;
}
.slide-tip
{
border: 3px solid transparent;
border-bottom-color: #ddd;
border-top: 0;
height: 37px;
position: absolute;
text-align: center;
top: -18px;
width: 3px;
}
.slide-tip:hover .tooltip
{
display: inline-block !important;
}
.slide-tip:hover:after
{
background: #ccc;
width: 3px;
}
.slide-tip:after
{
background: #ddd;
content: "";
display: inline-block;
height: 40px;
moz-transition: all 0.15s ease-in-out;
o-transition: all 0.15s ease-in-out;
transition: all 0.15s ease-in-out;
webkit-transition: all 0.15s ease-in-out;
width: 1px;
}
.slide-tip .tooltip
{
background: rgba(0,0,0,0.85);
border-radius: 2px;
bottom: 50px;
box-shadow: 0 0 1px rgba(255,255,255,0.2);
color: #FFF;
display: none;
font-size: 12px;
line-height: 1;
margin-left: -17px;
max-width: 200px;
padding: 10px;
position: absolute;
text-align: left;
white-space: nowrap;
}
.slide-tip .tooltip h1,.slide-tip .tooltip p
{
color: #EEE;
font-weight: normal;
height: auto;
line-height: 1.1;
margin: 0;
padding: 0;
text-align: left;
width: auto;
}
.slide-tip .tooltip h1
{
font-size: 11px;
font-weight: bold;
margin-bottom: 8px;
}
.slide-tip .tooltip p
{
white-space: nowrap;
}
.slide-tip .tooltip:after
{
border-left: 7px solid transparent;
border-right: 7px solid transparent;
border-top: 5px solid rgba(0,0,0,0.85);
bottom: -5px;
content: "";
display: block;
left: 10px;
position: absolute;
}
div.cartodb-timeslider .ui-slider .ui-slider-range
{
background-color: #FF7373;
}
.cartodb-timeslider
{
bottom: 50px !important;
left: 40px !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment