ソースを参照

🖱️ Fix selection highlight css rules for text generated by cmd shortcode (#59)

* Fix non selectable text in cmd shortcode

* Invert selection colors for text generated by cmd shortcode
Sidharth R 4 年 前
コミット
b87a99af1f
1 ファイル変更4 行追加1 行削除
  1. 4 1
      assets/css/template-styles.css

+ 4 - 1
assets/css/template-styles.css

@@ -168,7 +168,10 @@ code {
     font-weight: bold;
     padding-right: 0.25em;
 }
-
+.cmd code::selection{
+    background: #fefefe;
+    color: rgba(0,0,0,.8);
+}
 /* Lists */
 main ul,
 main ol {