From 5470cfab6dc09c1e6fda29d145d746d2c46ae42d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 28 Jan 2014 23:37:07 +0400 Subject: [PATCH] add some experimental font family updates for headlines and chrome elements --- css/cdm.css | 24 ++++++++++++++++++++---- css/dijit.css | 15 +++++++++++++-- css/prefs.css | 1 - css/tt-rss.css | 38 +++++++++++++++++++++++++++++++++----- 4 files changed, 66 insertions(+), 12 deletions(-) diff --git a/css/cdm.css b/css/cdm.css index a7b7c74f..eb4a2243 100644 --- a/css/cdm.css +++ b/css/cdm.css @@ -123,11 +123,15 @@ div.cdm.expandable.active div.cdmHeader span.titleWrap { } div.cdm.expandable div.cdmHeader a.title { - font-weight : bold; + font-weight : 600; color : #555; font-size : 14px; -webkit-transition : color 0.2s; transition : color 0.2s; + text-rendering: optimizelegibility; + font-family : "Segoe WP Semibold", "Segoe UI Semibold", + "Segoe UI Web Semibold", "Segoe UI", "Helvetica Neue", + Helvetica, Arial, sans-serif; } div.cdm.expandable.Unread div.cdmHeader a.title { @@ -137,6 +141,11 @@ div.cdm.expandable.Unread div.cdmHeader a.title { div.cdm.expandable.active div.cdmHeader a.title { color : #4684ff; font-size : 16px; + font-weight : 600; + text-rendering: optimizelegibility; + font-family : "Segoe WP Semibold", "Segoe UI Semibold", + "Segoe UI Web Semibold", "Segoe UI", "Helvetica Neue", + Helvetica, Arial, sans-serif; } div.cdm.expanded div.cdmHeader { @@ -146,9 +155,13 @@ div.cdm.expanded div.cdmHeader { div.cdm.expanded div.cdmHeader a.title { font-size : 16px; color : #999; - font-weight : bold; + font-weight : 600; -webkit-transition : color 0.2s; transition : color 0.2s; + text-rendering: optimizelegibility; + font-family : "Segoe WP Semibold", "Segoe UI Semibold", + "Segoe UI Web Semibold", "Segoe UI", "Helvetica Neue", + Helvetica, Arial, sans-serif; } div.cdm.expanded.active { @@ -283,9 +296,13 @@ div#floatingTitle span.author { div#floatingTitle a.title { font-size : 16px; color : #999; - font-weight : bold; -webkit-transition : color 0.2s; transition : color 0.2s; + font-weight : 600; + text-rendering: optimizelegibility; + font-family : "Segoe WP Semibold", "Segoe UI Semibold", + "Segoe UI Web Semibold", "Segoe UI", "Helvetica Neue", + Helvetica, Arial, sans-serif; } div#floatingTitle.Unread a.title { @@ -293,7 +310,6 @@ div#floatingTitle.Unread a.title { } div#floatingTitle img.anchor { - margin-right : 1px; margin-left : 0px; } diff --git a/css/dijit.css b/css/dijit.css index a529129f..696648f0 100644 --- a/css/dijit.css +++ b/css/dijit.css @@ -100,6 +100,10 @@ .claro .dijitToolbar { background : #f5f5f5; border-color : #ddd; + /* text-rendering: optimizelegibility; + font-family : "Segoe WP Semibold", "Segoe UI Semibold", + "Segoe UI Web Semibold", "Segoe UI", "Helvetica Neue", + Helvetica, Arial, sans-serif; */ } .claro .dijitToolbar { @@ -329,9 +333,16 @@ button[disabled], /* Other stuff */ -.claro .dijitAccordionTitleFocus { +/* .claro .dijitAccordionTitleFocus { text-shadow : 1px 1px 2px #fff; -} +} + +.claro .dijitAccordionTitle { + text-rendering: optimizelegibility; + font-family : "Segoe WP Semibold", "Segoe UI Semibold", + "Segoe UI Web Semibold", "Segoe UI", "Helvetica Neue", + Helvetica, Arial, sans-serif; +} */ .claro .dijitAccordionInnerContainer.dijitAccordionInnerContainerSelected { border-color : #ccc; diff --git a/css/prefs.css b/css/prefs.css index b505f47f..d3fe064d 100644 --- a/css/prefs.css +++ b/css/prefs.css @@ -18,7 +18,6 @@ div#pref-tabs { div#pref-tabs .dijitContentPane h3 { font-size : 14px; - font-weight : bold; } #pref-filter-wrap, #pref-filter-header, #pref-filter-content, diff --git a/css/tt-rss.css b/css/tt-rss.css index 5b7567db..673c51b6 100644 --- a/css/tt-rss.css +++ b/css/tt-rss.css @@ -34,6 +34,11 @@ div.postReply div.postTitle { overflow : hidden; text-overflow: ellipsis; white-space : nowrap; + font-weight : 600; + text-rendering: optimizelegibility; + font-family : "Segoe WP Semibold", "Segoe UI Semibold", + "Segoe UI Web Semibold", "Segoe UI", "Helvetica Neue", + Helvetica, Arial, sans-serif; } div.postReply div.postDate { @@ -84,22 +89,35 @@ div.postReply span.author { h1 { font-size : 18px; + font-weight : 600; + text-rendering: optimizelegibility; + font-family : "Segoe WP Semibold", "Segoe UI Semibold", + "Segoe UI Web Semibold", "Segoe UI", "Helvetica Neue", + Helvetica, Arial, sans-serif; } h2 { font-size : 16px; - font-weight : bold; + font-weight : 600; border-width : 0px 0px 1px 0px; border-style : solid; border-color : #ecf4ff; + text-rendering: optimizelegibility; + font-family : "Segoe WP Semibold", "Segoe UI Semibold", + "Segoe UI Web Semibold", "Segoe UI", "Helvetica Neue", + Helvetica, Arial, sans-serif; } h3 { font-size : 12px; - font-weight : bold; border-width : 0px 0px 1px 0px; border-style : solid; border-color : #ecf4ff; + font-weight : 600; + text-rendering: optimizelegibility; + font-family : "Segoe WP Semibold", "Segoe UI Semibold", + "Segoe UI Web Semibold", "Segoe UI", "Helvetica Neue", + Helvetica, Arial, sans-serif; } hr { @@ -176,7 +194,11 @@ a:hover { } .hl div.hlTitle a { - font-weight : bold; + font-weight : 600; + text-rendering: optimizelegibility; + font-family : "Segoe WP Semibold", "Segoe UI Semibold", + "Segoe UI Web Semibold", "Segoe UI", "Helvetica Neue", + Helvetica, Arial, sans-serif; color : #777; } @@ -307,7 +329,10 @@ div.prefHelp { white-space : nowrap; display : table-cell; color : #999; - font-family : "Segoe UI", Tahoma, sans-serif; + text-rendering: optimizelegibility; + font-family : "Segoe WP Semibold", "Segoe UI Semibold", + "Segoe UI Web Semibold", "Segoe UI", "Helvetica Neue", + Helvetica, Arial, sans-serif; font-size : 12px; } @@ -949,7 +974,10 @@ ul#filterDlg_Matches li div.dijitCheckBox, ul#filterDlg_Actions li div.dijitChec body#ttrssMain #feedTree { height : 100%; overflow-x : hidden; - font-family : "Segoe UI", Tahoma, sans-serif; + text-rendering: optimizelegibility; + font-family : "Segoe WP Semibold", "Segoe UI Semibold", + "Segoe UI Web Semibold", "Segoe UI", "Helvetica Neue", + Helvetica, Arial, sans-serif; } body#ttrssMain #feedTree .counterNode.aux { -- 2.39.2