diff options
author | anekos | 2009-01-12 18:44:21 +0000 |
---|---|---|
committer | anekos | 2009-01-12 18:44:21 +0000 |
commit | 0b9294a627787c18284bddc5ff1dbd7ce53e2d11 (patch) | |
tree | 2a634d3459e299190f3b12354b942836ea880737 /PMWriter.js | |
parent | 627b30dc502aa277e53e93962e91f8f770ac335b (diff) | |
download | vimperator-plugins-0b9294a627787c18284bddc5ff1dbd7ce53e2d11.tar.bz2 |
VoQn さんのスタイルシートを取り込んだり
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@28349 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'PMWriter.js')
-rw-r--r-- | PMWriter.js | 47 |
1 files changed, 39 insertions, 8 deletions
diff --git a/PMWriter.js b/PMWriter.js index 132cb8f..be5952e 100644 --- a/PMWriter.js +++ b/PMWriter.js @@ -110,16 +110,47 @@ //xml_index += template.table(plugin.name, data); }); - let js = "" + -""; - let style = "table {border: solid 1px black; empty-cells: show;}"; let title = "Vimperator Plugins in CodeRepos"; xml_index = <html> <head> <title>{title}</title> <style><![CDATA[ - {style} + /* (c) VoQn */ + * { + margin: 0 !important; + padding: 0 !important; + } + h1 { + background: black !important; + color: white !important; + font-family: monospace !important; + padding: 0.5em 0 0.1em 0.75em !important; + } + table { + margin: 1em !important; + padding: 0.5em !important; + border: 1px solid lightgray !important; + } + th { + border-bottom: 1px solid magenta !important; + color: magenta !important; + text-align: left !important; + font-weight: bold !important; + font-size: 1.5em !important; + } + td { + padding: 0 3em 0.5em 0 !important; + } + td.name { + font-weight: bold !important; + font-size: 1.2em !important; + } + .hatena-star-comment-container { + display: none; + padding: 0; + margin: 0; + } ]]></style> <script type="text/javascript" src="http://s.hatena.ne.jp/js/HatenaStar.js"></script> <script type="text/javascript"> @@ -140,10 +171,10 @@ <body> <h1>{title}</h1> <table> - <tr> - <td>Name</td> - <td>Description</td> - <td>Author</td> + <tr class="header"> + <th class="name">Name</th> + <th class="description">Description</th> + <th class="author">Author</th> </tr> {xml_index} </table> |