aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme
diff options
context:
space:
mode:
authorJeroen <jeroenpraat@xs4all.nl>2014-10-07 21:48:42 +0000
committerJeroen <jeroenpraat@xs4all.nl>2014-10-07 21:48:42 +0000
commit563163523d740213d941c6f2fc16344fbf88ec25 (patch)
treec49851cb4abdc79a1fc1b5bf10d9d9a56edf9cb9 /view/theme
parentf08626fd703b7d066cb092dfc70255e83304b4f4 (diff)
downloadvolse-hubzilla-563163523d740213d941c6f2fc16344fbf88ec25.tar.gz
volse-hubzilla-563163523d740213d941c6f2fc16344fbf88ec25.tar.bz2
volse-hubzilla-563163523d740213d941c6f2fc16344fbf88ec25.zip
Schema option for making links bold again. https://redmatrix.nl/display/d09d1cd2dbc45866beb9c0d384c9dcefe799d1251e3394d12ddb2e34d2c26228@red.mariovavti.com
Diffstat (limited to 'view/theme')
-rw-r--r--view/theme/redbasic/css/style.css1
-rw-r--r--view/theme/redbasic/php/style.php3
-rw-r--r--view/theme/redbasic/schema/dark.php2
-rw-r--r--view/theme/redbasic/schema/simple_black_on_white.php2
-rw-r--r--view/theme/redbasic/schema/simple_green_on_black.php2
-rw-r--r--view/theme/redbasic/schema/simple_white_on_black.php2
6 files changed, 12 insertions, 0 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index 29c034ac8..fd9139c11 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -62,6 +62,7 @@ abbr {
}
a, a:visited, a:link, .fakelink, .fakelink:visited, .fakelink:link {
+ font-weight: $link_font_weight;
color: $link_colour;
text-decoration: none;
}
diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php
index edf77cb0b..4c998ce59 100644
--- a/view/theme/redbasic/php/style.php
+++ b/view/theme/redbasic/php/style.php
@@ -109,6 +109,8 @@ if(! $a->install) {
$navtabs_bgchover = "rgba(238,238,238,0.8)";
if (! $link_colour)
$link_colour = "#428BCA";
+ if (! $link_font_weight)
+ $link_font_weight = "normal";
if (! $banner_colour)
$banner_colour = "#fff";
if (! $search_background)
@@ -321,6 +323,7 @@ $options = array (
'$navtabs_bgchover' => $navtabs_bgchover,
'$navtabs_decohover' => $navtabs_decohover,
'$link_colour' => $link_colour,
+'$link_font_weight' => $link_font_weight,
'$banner_colour' => $banner_colour,
'$search_background' => $search_background,
'$bgcolour' => $bgcolour,
diff --git a/view/theme/redbasic/schema/dark.php b/view/theme/redbasic/schema/dark.php
index 27648f9fa..2e00b8617 100644
--- a/view/theme/redbasic/schema/dark.php
+++ b/view/theme/redbasic/schema/dark.php
@@ -36,6 +36,8 @@
$navtabs_decohover = "underline";
if (! $link_colour)
$link_colour = "#fff";
+ if (! $link_font_weight)
+ $link_font_weight = "bold";
if (! $selected_active_colour)
$selected_active_colour = "#fff";
if (! $selected_active_deco)
diff --git a/view/theme/redbasic/schema/simple_black_on_white.php b/view/theme/redbasic/schema/simple_black_on_white.php
index cdd85a129..33e8458aa 100644
--- a/view/theme/redbasic/schema/simple_black_on_white.php
+++ b/view/theme/redbasic/schema/simple_black_on_white.php
@@ -36,6 +36,8 @@
$navtabs_decohover = "underline";
if (! $link_colour)
$link_colour = "#000";
+ if (! $link_font_weight)
+ $link_font_weight = "bold";
if (! $selected_active_colour)
$selected_active_colour = "#000";
if (! $selected_active_deco)
diff --git a/view/theme/redbasic/schema/simple_green_on_black.php b/view/theme/redbasic/schema/simple_green_on_black.php
index 3a1ea9134..bfe804237 100644
--- a/view/theme/redbasic/schema/simple_green_on_black.php
+++ b/view/theme/redbasic/schema/simple_green_on_black.php
@@ -36,6 +36,8 @@
$navtabs_decohover = "underline";
if (! $link_colour)
$link_colour = "#50f148";
+ if (! $link_font_weight)
+ $link_font_weight = "bold";
if (! $selected_active_colour)
$selected_active_colour = "#50f148";
if (! $selected_active_deco)
diff --git a/view/theme/redbasic/schema/simple_white_on_black.php b/view/theme/redbasic/schema/simple_white_on_black.php
index 74d133038..53477d01b 100644
--- a/view/theme/redbasic/schema/simple_white_on_black.php
+++ b/view/theme/redbasic/schema/simple_white_on_black.php
@@ -36,6 +36,8 @@
$navtabs_decohover = "underline";
if (! $link_colour)
$link_colour = "#fff";
+ if (! $link_font_weight)
+ $link_font_weight = "bold";
if (! $selected_active_colour)
$selected_active_colour = "#fff";
if (! $selected_active_deco)