Browse Source

Merge branch 'master' of github.com:Kozea/pygal

pull/136/head
Florian Mounier 11 years ago
parent
commit
66ba614d8f
  1. 12
      pygal/css/base.css
  2. 1
      pygal/style.py

12
pygal/css/base.css

@ -23,32 +23,32 @@
*/
{{ id }}.title {
font-family: monospace;
font-family: {{ style.font_family }};
font-size: {{ font_sizes.title }};
}
{{ id }}.legends .legend text {
font-family: monospace;
font-family: {{ style.font_family }};
font-size: {{ font_sizes.legend }};
}
{{ id }}.axis text {
font-family: monospace;
font-family: {{ style.font_family }};
font-size: {{ font_sizes.label }};
}
{{ id }}.axis text.major {
font-family: monospace;
font-family: {{ style.font_family }};
font-size: {{ font_sizes.major_label }};
}
{{ id }}.series text {
font-family: monospace;
font-family: {{ style.font_family }};
font-size: {{ font_sizes.value }};
}
{{ id }}.tooltip text {
font-family: monospace;
font-family: {{ style.font_family }};
font-size: {{ font_sizes.tooltip }};
}

1
pygal/style.py

@ -35,6 +35,7 @@ class Style(object):
foreground='#999',
foreground_light='#eee',
foreground_dark='#555',
font_family='monospace',
opacity='.8',
opacity_hover='.9',
transition='250ms',

Loading…
Cancel
Save