Skip to content

Instantly share code, notes, and snippets.

@ryanfeeley
Created August 18, 2009 21:06
Show Gist options
  • Save ryanfeeley/169971 to your computer and use it in GitHub Desktop.
Save ryanfeeley/169971 to your computer and use it in GitHub Desktop.
TTC Print CSS Citizen Hack
/*
Reduced font size optimized for printing and switched to sans-serif
*/
body {
font-family: sans-serif;
font-size: 0.76em;
}
/*
Made the words Toronto Transit Commission white as a hack to hide them
*/
#ttc-main-logo a { color: #fff; }
.route-text-align { display: none; }
.route-map-align { display: none; }
/*
Optimized display for current schedule period
*/
ul#ttc-schedule-tabs {
margin: 0;
padding: 0;
}
/*
Hiding non-current schedule periods
*/
ul#ttc-schedule-tabs li { display: none; }
ul#ttc-schedule-tabs li.selected {
display: block;
background: none;
}
ul#ttc-schedule-tabs li.selected h3, #ttc-schedule-tabs li { background: none; }
/*
Made the stop time container wider
*/
.ttc-schedule-module .schedule-time-row ul.schedule-time-row-b { width: auto; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment