[rb-general] Website is neigh unreadable

Profpatsch mail at profpatsch.de
Tue Oct 18 19:39:44 CEST 2016


On 16-10-17 12:07pm, Holger Levsen wrote:
> > I suggest updating the font definitions of the website to
> > request the „regular“ weight of Raleway and fall back to
> > other fonts if that is not available.
> 
> If you could propose a patch for
> https://anonscm.debian.org/git/reproducible/reproducible-website.git
> (see the css folder there) that would be awesome!

Attached is a patch (created with `git format-patch HEAD~1`) that
should improve the readability of the site quite a bit.

-- 
Proudly written in Mutt with Vim on NixOS.
Q: Why is this email five sentences or less?
A: http://five.sentenc.es
May take up to five days to read your message. If it’s urgent, call me.
-------------- next part --------------
From 60d6a1aa21be3eb2787ecaed6046127e287b8849 Mon Sep 17 00:00:00 2001
From: Profpatsch <mail at profpatsch.de>
Date: Tue, 18 Oct 2016 19:31:33 +0200
Subject: [PATCH] improve contrast & readability

1. make links a slightly darker blue
2. increase boldness of menu items
3. make footer items slighly darker
4. prefer Raleway default weight from server, since some systems have
   the font from theleagueofmoveabletype.com, which distributes only the
   thin weight (and is the prefered to the real regular weight)
---
 css/main.css | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/css/main.css b/css/main.css
index 6d54635..e57da36 100644
--- a/css/main.css
+++ b/css/main.css
@@ -64,6 +64,10 @@
   margin-bottom: 1rem;
 }
 
+a {
+    color: #188fb4;
+}
+
 .text p {
   text-align: justify;
 }
@@ -117,6 +121,7 @@
 
 .site-nav a, .home nav a {
   text-decoration: none;
+  font-weight: 700;
 }
 
 .site-nav a:hover, .home nav a:hover {
@@ -353,7 +358,7 @@ aside li a {
 .site-footer p {
   font-size: 15px;
   letter-spacing: -.3px;
-  color: #828282;
+  color: #424242;
   margin-bottom: 0;
 }
 
@@ -385,7 +390,7 @@ aside li a {
   font-family: 'Raleway';
   font-style: normal;
   font-weight: 400;
-  src: local('Raleway'), url(Raleway/Raleway-Regular.ttf) format('truetype');
+  src: url(Raleway/Raleway-Regular.ttf) format('truetype'), local('Raleway');
 }
 @font-face {
   font-family: 'Raleway';
-- 
2.10.1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.reproducible-builds.org/pipermail/rb-general/attachments/20161018/864bcbb5/attachment.sig>


More information about the rb-general mailing list