Clean up font declarations

re: fish-shell/fish-shell@2726712e01

As this is rendering ok in Firefox, this version should pickup the best
fonts for most browser/os variants based on 'font-stretch' support.

`.fish_left_bar` should be condensed, the main body font shouldn't.
This commit is contained in:
Mark Griffiths 2014-09-23 12:14:20 +01:00
parent 2726712e01
commit a9b7e4582f

View file

@ -44,13 +44,13 @@ body {
bottom: 0; bottom: 0;
overflow-y: scroll; overflow-y: scroll;
-webkit-overflow-scrolling: touch; /* necessary for momentum scrolling */ -webkit-overflow-scrolling: touch; /* necessary for momentum scrolling */
font: 400 1.3rem/2.1rem DejaVuSansCondensed, "DejaVu Sans", Roboto, "Lucida Grande", Calibri, Verdana, "Helvetica Neue", Helvetica, Arial, sans-serif; font: 400 1.3rem/2.1rem "DejaVu Sans", Roboto, "Lucida Grande", Calibri, Verdana, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-stretch: condensed;
} }
.fish_left_bar { .fish_left_bar {
width: 25rem; width: 25rem;
color: white; color: white;
font-family: DejaVuSans, Roboto, "Lucida Grande", Calibri, Verdana, "Helvetica Neue", Helvetica, Arial, sans-serif; font-family: DejaVuSansCondensed, "DejaVu Sans", Roboto, "Lucida Grande", Calibri, Verdana, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-stretch: condensed;
background-color: #1f2d53; background-color: #1f2d53;
} }
.fish_right_bar { .fish_right_bar {
@ -103,7 +103,7 @@ a { color: #3d5cb3; }
p { margin: 1rem 0; } p { margin: 1rem 0; }
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
color: #1f2d53; color: #1f2d53;
font-family: DejaVuSansCondensed, DejaVuSans, Roboto, "Lucida Grande", Calibri, Verdana, sans-serif; font-family: DejaVuSansCondensed-Bold, "DejaVu Sans", Roboto, "Lucida Grande", Calibri, Verdana, sans-serif;
font-stretch: condensed; font-stretch: condensed;
} }
h1 { h1 {