From eb13e096986b6a80a495312d02548dbd3a4d9b63 Mon Sep 17 00:00:00 2001 From: Jonathan Wilkes <jon.w.wilkes@gmail.com> Date: Wed, 23 Mar 2016 19:00:08 -0400 Subject: [PATCH] use text-shadow instead of bold fontweight so that the div tabs don't change width --- pd/nw/css/c64.css | 2 +- pd/nw/css/default.css | 2 +- pd/nw/css/extended.css | 2 +- pd/nw/css/inverted.css | 2 +- pd/nw/css/strongbad.css | 2 +- pd/nw/css/subdued.css | 2 +- pd/nw/css/vanilla.css | 2 +- pd/nw/css/vanilla_inverted.css | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pd/nw/css/c64.css b/pd/nw/css/c64.css index b50c8461a..5b39afc74 100644 --- a/pd/nw/css/c64.css +++ b/pd/nw/css/c64.css @@ -507,7 +507,7 @@ div.y2 { /* Checked tabs must be white with the bottom border removed */ .prefs_tab:checked + label { background-color: #f3f3f3; - font-weight: bold; + text-shadow: 1px 0px 0px; /* substitute for "bold" to retain div width */ border-bottom: 1px solid #f3f3f3; margin-bottom: -1px; } diff --git a/pd/nw/css/default.css b/pd/nw/css/default.css index b6b408d0f..42b655a5f 100644 --- a/pd/nw/css/default.css +++ b/pd/nw/css/default.css @@ -647,7 +647,7 @@ div.y2 { /* Checked tabs must be white with the bottom border removed */ .prefs_tab:checked + label { background-color: #f3f3f3; - font-weight: bold; + text-shadow: 1px 0px 0px; /* substitute for "bold" to retain div width */ border-bottom: 1px solid #f3f3f3; margin-bottom: -1px; } diff --git a/pd/nw/css/extended.css b/pd/nw/css/extended.css index aed33e6fd..161684552 100644 --- a/pd/nw/css/extended.css +++ b/pd/nw/css/extended.css @@ -500,7 +500,7 @@ div.y2 { /* Checked tabs must be white with the bottom border removed */ .prefs_tab:checked + label { background-color: #f3f3f3; - font-weight: bold; + text-shadow: 1px 0px 0px; /* substitute for "bold" to retain div width */ border-bottom: 1px solid #f3f3f3; margin-bottom: -1px; } diff --git a/pd/nw/css/inverted.css b/pd/nw/css/inverted.css index 43fdb9696..795f86970 100644 --- a/pd/nw/css/inverted.css +++ b/pd/nw/css/inverted.css @@ -527,7 +527,7 @@ div.y2 { /* Checked tabs must be white with the bottom border removed */ .prefs_tab:checked + label { background-color: #f3f3f3; - font-weight: bold; + text-shadow: 1px 0px 0px; /* substitute for "bold" to retain div width */ border-bottom: 1px solid #f3f3f3; margin-bottom: -1px; } diff --git a/pd/nw/css/strongbad.css b/pd/nw/css/strongbad.css index a59462f18..ce953b90d 100644 --- a/pd/nw/css/strongbad.css +++ b/pd/nw/css/strongbad.css @@ -509,7 +509,7 @@ div.y2 { /* Checked tabs must be white with the bottom border removed */ .prefs_tab:checked + label { background-color: #f3f3f3; - font-weight: bold; + text-shadow: 1px 0px 0px; /* substitute for "bold" to retain div width */ border-bottom: 1px solid #f3f3f3; margin-bottom: -1px; } diff --git a/pd/nw/css/subdued.css b/pd/nw/css/subdued.css index c608d5815..51a1c5d54 100644 --- a/pd/nw/css/subdued.css +++ b/pd/nw/css/subdued.css @@ -508,7 +508,7 @@ div.y2 { /* Checked tabs must be white with the bottom border removed */ .prefs_tab:checked + label { background-color: #f3f3f3; - font-weight: bold; + text-shadow: 1px 0px 0px; /* substitute for "bold" to retain div width */ border-bottom: 1px solid #f3f3f3; margin-bottom: -1px; } diff --git a/pd/nw/css/vanilla.css b/pd/nw/css/vanilla.css index b8d4f9642..b09289ca6 100644 --- a/pd/nw/css/vanilla.css +++ b/pd/nw/css/vanilla.css @@ -502,7 +502,7 @@ div.y2 { /* Checked tabs must be white with the bottom border removed */ .prefs_tab:checked + label { background-color: #f3f3f3; - font-weight: bold; + text-shadow: 1px 0px 0px; /* substitute for "bold" to retain div width */ border-bottom: 1px solid #f3f3f3; margin-bottom: -1px; } diff --git a/pd/nw/css/vanilla_inverted.css b/pd/nw/css/vanilla_inverted.css index 72bd9b263..986ec462f 100644 --- a/pd/nw/css/vanilla_inverted.css +++ b/pd/nw/css/vanilla_inverted.css @@ -507,7 +507,7 @@ div.y2 { /* Checked tabs must be white with the bottom border removed */ .prefs_tab:checked + label { background-color: #f3f3f3; - font-weight: bold; + text-shadow: 1px 0px 0px; /* substitute for "bold" to retain div width */ border-bottom: 1px solid #f3f3f3; margin-bottom: -1px; } -- GitLab