#hidpi

grin@diasp.grin.hu

My first messing with #themes, #stylesheets or #diaspora #css.

This is a #HiDPI display and diaspora default fonts are 2.3 mm high. Not friendly. So I went out and tried to play with it. Since I don't know how to make a new style reliably, I started to mess up Egyptian Blue.

app/assets/stylesheets/color_themes/egyptian_blue/_style.scss:

/** tweak font **/
$font-size-base: 18px !default;
$font-size-small: 16px !default;

@import url('https://fonts.googleapis.com/css?family=Belleza|Signika+Negative&subset=latin-ext');
$font-family-sans-serif: 'Belleza', sans-serif;
/* Belleza, 'Signika Negative' */
$font-family-base: $font-family-sans-serif;

So raised the font size, used a pretty font lazyly pulled from google webfonts (well, actually, two fonts, but didn't use SignikaNegative now), and set the base fonts to Belleza face.

After changing the file I had to recompile it with
RAILS_ENV=production time bin/rake assets:precompile
and supposedly the pod immediately would use it. Not for me though, so I had to restart it. @Dennis Schubert said that it may be enough to restart Unicorn, somehow. ;-)

I am pretty happy with the results. If you're the user of diasp.grin.hu try to change to the Egyptian Blue theme. ;-)