Last active
August 29, 2015 14:15
-
-
Save yuuan/ae8efd31a25bdc40bc88 to your computer and use it in GitHub Desktop.
Firefox で `ページのソースを表示` したときのデザインを上書きするためのスタイルシート
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@-moz-document url-prefix(view-source) { | |
body { | |
margin: 0; | |
} | |
#viewsource { | |
font-family: "Ricty"; | |
font-size: 10pt; | |
line-height: 135%; | |
} | |
#line1:before { | |
padding-top: 5px; | |
} | |
*|*:root { | |
background-color: #fcfcfc; | |
color: #404040; | |
} | |
pre[id]:before, span[id]:before { | |
background-color: #f0f0f0; | |
color: #606060; | |
margin-right: 3px; | |
} | |
.doctype { | |
color: #a0b0c0; | |
} | |
.start-tag { | |
color: #6a5acd; | |
} | |
.end-tag { | |
color: #6a5acd; | |
} | |
.attribute-name { | |
color: #1060a0; | |
font-weight: normal; | |
} | |
.attribute-value { | |
color: #718c00; | |
} | |
.entity { | |
color: #c82829; | |
} | |
.comment { | |
background-color: #f0ece8; | |
color: #a07060; | |
} | |
.error { | |
color: #d33682; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Firefoxでページのソースを表示したときの色を綺麗にする | yuuAn's Note