aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/css
diff options
context:
space:
mode:
authorphani00 <phani00@gmail.com>2018-12-17 15:28:15 +0000
committerphani00 <phani00@gmail.com>2018-12-17 15:28:15 +0000
commitaace8a14cee2f173b7a11bb2bfcbcebbe0084863 (patch)
tree201f08adbec03f2736c2a56d9ae9a2ac6c6602c2 /view/theme/redbasic/css
parentd80b8ff30fd1bbd6d02e685bdfac4c5bcded9fa8 (diff)
downloadvolse-hubzilla-aace8a14cee2f173b7a11bb2bfcbcebbe0084863.tar.gz
volse-hubzilla-aace8a14cee2f173b7a11bb2bfcbcebbe0084863.tar.bz2
volse-hubzilla-aace8a14cee2f173b7a11bb2bfcbcebbe0084863.zip
new fix for dark theme
change implementation of hl-tags in include/bbcode.php insert class='default-highlight' instead of background-color: 'yellow' into span add span.default-highlight definition to view/theme/redbasic/css/style.css this works for all schemas incl. dark.
Diffstat (limited to 'view/theme/redbasic/css')
-rw-r--r--view/theme/redbasic/css/style.css10
1 files changed, 10 insertions, 0 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index f2c1b7a48..ba0cc7cd2 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -1803,3 +1803,13 @@ dl.bb-dl > dd > li {
.hover-fx-show:hover .hover-fx-hide {
opacity: 1;
}
+
+/* default highlighted text if not specified by schema: */
+span.default-highlight {
+ background-color: yellow;
+ color: #111;
+ margin: 0 2px;
+ padding: 2px 4px 2px 5px;
+ border-radius: 4px;
+ white-space: nowrap;
+}