文字列を選択した際の背景色を指定するCSSの::selectionをこのブログに適用してみたが、Chromeは文字列以外の部分の色がデフォルトのままだった。どうしたもんかいのぅ。
::selection {
background: pink !important;
}
::-moz-selection {
background: pink !important;
}
::selection {
background: pink !important;
}
::-moz-selection {
background: pink !important;
}
Chrome拡張機能「切込隊長補佐」をリリースしました | しらさかブログZ見やすいです。

.post-body img {
box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5) !important;
padding: 10px !important;
border-radius: 8px;
}
<link href='http://alexgorbatchev.com/pub/sh/current/styles/shCore.css' rel='stylesheet' type='text/css'/> <link href='http://alexgorbatchev.com/pub/sh/current/styles/shThemeDefault.css' rel='stylesheet' type='text/css'/> <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shCore.js' type='text/javascript'></script> <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushBash.js' type='text/javascript'></script> <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCSharp.js' type='text/javascript'></script> <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCpp.js' type='text/javascript'></script> <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCss.js' type='text/javascript'></script> <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushDiff.js' type='text/javascript'></script> <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushJScript.js' type='text/javascript'></script> <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPerl.js' type='text/javascript'></script> <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPhp.js' type='text/javascript'></script> <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPlain.js' type='text/javascript'></script> <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPython.js' type='text/javascript'></script> <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushRuby.js' type='text/javascript'></script> <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushSql.js' type='text/javascript'></script> <script src='http://alexgorbatchev.com/pub/sh/current/scripts/shBrushXml.js' type='text/javascript'></script> <script language="javascript" type="text/javascript"> SyntaxHighlighter.config.bloggerMode = true; SyntaxHighlighter.all(); </script>
<pre class="brush: css;"> コード なお、シンタックスハイライト部分のHTMLタグなどの<は<に書き換える必要がある。 </pre>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript">
//<![CDATA[
jQuery.noConflict();
var InsertNode = function(evt) {
SyntaxHighlighter.highlight();
};
jQuery(document).ready(function($){
(function() {
$(document).bind('AutoPagerize_DOMNodeInserted AutoPagerAfterInsert', InsertNode);
if (window.addEventListener) {
window.addEventListener('AutoPatchWork.DOMNodeInserted', InsertNode, false);
}
})();
});
//]]>
</script>
<b:if cond='data:blog.pageType == "index"'>
<title><data:blog.title/></title>
<b:else/>
<title><data:blog.pageName/> - <data:blog.title/></title>
</b:if>
<!--<title><data:blog.pageTitle/></title>-->
これなら偽ボタンがあってもへっちゃらですね!
@-moz-document url-prefix("http://www.facebook.com/plugins/like.php"),
url-prefix("https://www.facebook.com/plugins/like.php") {
body {
background-color: tomato !important;
}
}