Skip to content

Instantly share code, notes, and snippets.

@Danita
Created November 4, 2013 14:45
Show Gist options
  • Save Danita/7303510 to your computer and use it in GitHub Desktop.
Save Danita/7303510 to your computer and use it in GitHub Desktop.
Decent typography for New Relic (use with Stylish add-on for Firefox or Chrome)
@import url(http://fonts.googleapis.com/css?family=Noto+Sans:400,400italic,700,700italic);
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("newrelic.com") {
body {
font-family: "Noto Sans", Arial, Helvetica, sans-serif!important;
}
body * {
font-family: inherit!important;
letter-spacing:normal!important;
}
code, body.environment tbody td span {
font-family:Consolas, "Courier New", Courier, monospace!important;
}
body #primary_navigation ul li a span {
font-size:1rem!important;
}
body #context_selectors > li.filter > h4 span {
font-size:0.8rem!important;
margin-top:3px!important;
}
body
#context_selectors > li#time_window_nav.filter > div > ul
#time_picker_set_button #time_picker_back_link span, body
#context_selectors > li#time_window_nav.filter > div > ul
#time_picker_set_button #time_picker_forward_link span,
body #context_selectors > li#time_window_nav.filter > div > ul #time_zone_link {
font-size:0.9rem!important;
}
.event_list .list ol li p.bottom_link {
font-size:0.8rem!important;
}
h2.chart_header, h2.table_header {
margin-bottom:10px!important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment