From 222ee5203f1559d81672089fb8208835ecc280f4 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Tue, 31 Jan 2012 12:02:40 +0100 Subject: [PATCH 1/1] WCAG 2.0 1.4.3: contrast --- wolnelektury/static/css/base.css | 2 +- wolnelektury/static/css/book_box.css | 3 ++- wolnelektury/static/css/header.css | 24 +++++++++---------- wolnelektury/static/css/main_page.css | 9 ++++--- wolnelektury/static/css/social/shelf_tags.css | 2 +- 5 files changed, 22 insertions(+), 18 deletions(-) diff --git a/wolnelektury/static/css/base.css b/wolnelektury/static/css/base.css index 298fd9af3..70bf83d38 100755 --- a/wolnelektury/static/css/base.css +++ b/wolnelektury/static/css/base.css @@ -27,7 +27,7 @@ a img { border: 0; } a { - color: #1199a2; /* #01adba; */ + color: #0d7e85; /*#1199a2;*/ /* #01adba; */ text-decoration: none; } diff --git a/wolnelektury/static/css/book_box.css b/wolnelektury/static/css/book_box.css index 0ba168c9b..abf07de4f 100755 --- a/wolnelektury/static/css/book_box.css +++ b/wolnelektury/static/css/book_box.css @@ -110,7 +110,7 @@ } .book-mini-box .author { font-size: 1.1em; - color: #707b7a; + color: #6d7877; display: block; overflow:hidden; text-overflow: ellipsis; @@ -310,6 +310,7 @@ ul.inline-items li { background: none; margin: 0; padding: 0; + color: #757575; } .if-like a { diff --git a/wolnelektury/static/css/header.css b/wolnelektury/static/css/header.css index fc89f8223..bdc2bff7a 100755 --- a/wolnelektury/static/css/header.css +++ b/wolnelektury/static/css/header.css @@ -25,6 +25,9 @@ color: #989898; background: #191919; } +#header a { + color: #17CFDB; +} #half-header { padding-bottom: 0; @@ -60,11 +63,7 @@ } #tagline span { font-size: 1.3em; - color: #ccc; -} -#tagline a, -#user-info a { - color: #17cfdb; + color: #bbb; } #search-area { @@ -120,26 +119,26 @@ { font-family: Georgia; font-style: italic; - color: #888; + color: #767676; } #search.placeholder { font-family: Georgia; font-style: italic; - color: #888; + color: #767676; } #search:-moz-placeholder { font-family: Georgia; font-style: italic; - color: #888; + color: #767676; } #search-button { display: inline-block; - background: #02adb7; + background: #018189; color: white; padding: 0; margin: 0; @@ -150,7 +149,7 @@ font-size: 1em; height: 4.5em; border: none; - background: #02adb7; + background: #018189; color: white; width: 100%; padding: 0; @@ -184,6 +183,7 @@ a.menu { /* must match grid-line */ height: 3.1em; padding-top: 1.8em; + color: #0c7076; } a.menu span { font-size: 1.1em; @@ -191,7 +191,7 @@ a.menu span { #lang-button { - color: #aaa; + color: #717171; } #lang-button:after { padding-left: 1em; @@ -218,7 +218,7 @@ a.menu span { #lang-menu-items button { display: none; background: #f7f7f7; - color: #777; + color: #6f6f6f; cursor: pointer; width: 100%; border: solid #ddd; diff --git a/wolnelektury/static/css/main_page.css b/wolnelektury/static/css/main_page.css index e4daf5487..e52a28341 100755 --- a/wolnelektury/static/css/main_page.css +++ b/wolnelektury/static/css/main_page.css @@ -23,10 +23,13 @@ background: #efefef; } #promo-box-title { - color: #02ADB7; + color: #0d777e; height: 2.75em; margin: 0; } +#promo-box-title a { + color: #0d777e; +} #promo-box-title span { font-size: 1.1em; } @@ -36,7 +39,7 @@ #promo-box-content { font-size: 1.2em; line-height: 1.55em; - color: #989898; + color: #6c6c6c; } .main-last { @@ -58,7 +61,7 @@ color: #989898; } .infopages-box h2 { - color: #02ADB7; + color: #017e85; height: 2.8em; padding-top: 2.5em; } diff --git a/wolnelektury/static/css/social/shelf_tags.css b/wolnelektury/static/css/social/shelf_tags.css index 812a1c96d..8843af684 100755 --- a/wolnelektury/static/css/social/shelf_tags.css +++ b/wolnelektury/static/css/social/shelf_tags.css @@ -23,7 +23,7 @@ display: block; padding: .3em 1em; background: #ABDADE; - color: #0b838d; + color: #08646b; border-radius: 1em; } -- 2.20.1