Wed, 21 Sep 2016 17:34:19 -0400
improve style
.css/search.cpan.org.css | file | annotate | diff | comparison | revisions |
new file mode 100644 --- /dev/null +++ b/.css/search.cpan.org.css @@ -0,0 +1,27 @@ +/* Remove pointless up-arrows */ +a.u img { + display: none; +} + +/* Move TOC to the side, get the meat up top */ +div.toc { + background-color: #DDD; + float: right; + overflow-x: auto; + max-width: 17em; + white-space: nowrap; +} +div.toc ul { + padding-left: 20; +} + +/* "cpan" style */ +pre.sh_sourceCode{ background-color:#fff; color:#000; font-weight:normal; font-style:normal}pre.sh_sourceCode .sh_keyword{ color:#000; font-weight:bold; font-style:normal}pre.sh_sourceCode .sh_type{ color:#830000; font-weight:normal; font-style:normal}pre.sh_sourceCode .sh_string{ color:#f00; font-weight:normal; font-style:normal}pre.sh_sourceCode .sh_regexp{ color:#f00; font-weight:normal; font-style:normal}pre.sh_sourceCode .sh_specialchar{ color:#f0f; font-weight:normal; font-style:normal}pre.sh_sourceCode .sh_comment{ color:#838183; font-weight:normal; font-style:italic}pre.sh_sourceCode .sh_number{ color:#2928ff; font-weight:normal; font-style:normal}pre.sh_sourceCode .sh_preproc{ color:#008200; font-weight:normal; font-style:normal}pre.sh_sourceCode .sh_function{ color:#010181; font-weight:normal; font-style:normal}pre.sh_sourceCode .sh_url{ color:#f00; font-weight:normal; font-style:normal}pre.sh_sourceCode .sh_date{ color:#000; font-weight:bold; font-style:normal}pre.sh_sourceCode .sh_time{ color:#000; font-weight:bold; font-style:normal}pre.sh_sourceCode .sh_file{ color:#000; font-weight:bold; font-style:normal}pre.sh_sourceCode .sh_ip{ color:#f00; font-weight:normal; font-style:normal}pre.sh_sourceCode .sh_name{ color:#f00; font-weight:normal; font-style:normal}pre.sh_sourceCode .sh_variable{ color:#036; font-weight:bold; font-style:normal}pre.sh_sourceCode .sh_oldfile{ color:#f0f; font-weight:normal; font-style:normal}pre.sh_sourceCode .sh_newfile{ color:#f00; font-weight:normal; font-style:normal}pre.sh_sourceCode .sh_difflines{ color:#000; font-weight:bold; font-style:normal}pre.sh_sourceCode .sh_selector{ color:#000; font-weight:bold; font-style:normal}pre.sh_sourceCode .sh_property{ color:#000; font-weight:bold; font-style:normal}pre.sh_sourceCode .sh_value{ color:#f00; font-weight:normal; font-style:normal} + +/* bg, no border for literal sections */ +.pod pre { + background-color: #F6F6F6; + border: none; +} + +