From 2e68cd9745f502b0b0aa430040f1f603ee621478 Mon Sep 17 00:00:00 2001 From: umorigu Date: Sat, 15 Dec 2018 01:11:20 +0900 Subject: [PATCH] BugTrack/2367 Re-format pukiwiki.css and tdiary.css --- skin/pukiwiki.css | 127 +++++++++++++++++++++++++----------------------------- skin/tdiary.css | 112 +++++++++++++++++++++++------------------------ 2 files changed, 115 insertions(+), 124 deletions(-) diff --git a/skin/pukiwiki.css b/skin/pukiwiki.css index 601e7b7..6d4cf63 100644 --- a/skin/pukiwiki.css +++ b/skin/pukiwiki.css @@ -10,10 +10,12 @@ * Default CSS */ -pre, dl, ol, p, blockquote { line-height:130%; } - -blockquote { margin-left:32px; } - +pre, dl, ol, p, blockquote { + line-height:130%; +} +blockquote { + margin-left:32px; +} body,td { color:black; background-color:white; @@ -28,25 +30,21 @@ a:link { background-color:inherit; text-decoration:none; } - a:active { color:#215dc6; background-color:#CCDDEE; text-decoration:none; } - a:visited { color:#a63d21; background-color:inherit; text-decoration:none; } - a:hover { color:#215dc6; background-color:#CCDDEE; text-decoration:underline; } - a.external-link:not(.external-link-silent)::after { content:url(../image/external-link.png); margin:3px; @@ -85,11 +83,10 @@ h5, h6 { font-family:verdana, arial, helvetica, Sans-Serif; color:inherit; background-color:#DDEEFF; - padding:.3em; - border:0px; - margin:0px 0px .5em 0px; + padding:.3em; + border:0px; + margin:0px 0px .5em 0px; } - h1.title { font-size:30px; font-weight:bold; @@ -130,9 +127,13 @@ ul { line-height:130%; } -em { font-style:italic; } +em { + font-style:italic; +} -strong { font-weight:bold; } +strong { + font-weight:bold; +} thead td.style_td, tfoot td.style_td { @@ -166,12 +167,24 @@ tfoot th.style_th { background-color:#EEF5FF; } -ul.list1 { list-style-type:disc; } -ul.list2 { list-style-type:circle; } -ul.list3 { list-style-type:square; } -ol.list1 { list-style-type:decimal; } -ol.list2 { list-style-type:lower-roman; } -ol.list3 { list-style-type:lower-alpha; } +ul.list1 { + list-style-type:disc; +} +ul.list2 { + list-style-type:circle; +} +ul.list3 { + list-style-type:square; +} +ol.list1 { + list-style-type:decimal; +} +ol.list2 { + list-style-type:lower-roman; +} +ol.list3 { + list-style-type:lower-alpha; +} .list-indent1 { padding-left:16px; @@ -191,14 +204,17 @@ ol.list3 { list-style-type:lower-alpha; } margin-left:64px; } -div.ie5 { text-align:center; } - +div.ie5 { + text-align:center; +} span.noexists { color:inherit; background-color:#FFFACC; } -.small { font-size:80%; } +.small { + font-size:80%; +} .super_index { color:#DD3333; @@ -321,7 +337,9 @@ strong.word9 { } /* html.php/edit_form() */ -.edit_form { clear:both; } +.edit_form { + clear:both; +} /* pukiwiki.skin.php */ div#header { @@ -348,46 +366,42 @@ div#menubar { font-size:90%; overflow:hidden; } - div#menubar ul { margin:0px 0px 0px .5em; padding:0px 0px 0px .5em; } - -div#menubar ul li { line-height:110%; } - -div#menubar h4 { font-size:110%; } +div#menubar ul li { + line-height:110%; +} +div#menubar h4 { + font-size:110%; +} div#body { padding:0px; margin:0px 0px 0px .5em; } - div#note { clear:both; padding:0px; margin:0px; } - div#attach { clear:both; padding:0px; margin:0px; } - div#toolbar { clear:both; padding:0px; margin:0px; text-align:right; } - div#lastmodified { font-size:80%; padding:0px; margin:0px; } - div#related { font-size:80%; padding:0px; @@ -396,30 +410,25 @@ div#related { div#related .page_passage { font-size:60%; } - div#footer { font-size:70%; padding:0px; margin:16px 0px 0px 0px; } - div#banner { float:right; margin-top:24px; } - div#preview { color:inherit; background-color:#F5F8FF; } - img#logo { float:left; margin-right:20px; } /* aname.inc.php */ -.anchor {} .anchor_super { font-size:xx-small; vertical-align:super; @@ -430,9 +439,6 @@ img#logo { font-size:small; } -/* br.inc.php */ -br.spacer {} - /* calendar*.inc.php */ .style_calendar { padding:0px; @@ -521,14 +527,15 @@ span.calendar_viewer_right { } /* counter.inc.php */ -div.counter { font-size:70%; } +div.counter { + font-size:70%; +} /* diff.inc.php */ span.diff_added { color:blue; background-color:inherit; } - span.diff_removed { color:red; background-color:inherit; @@ -544,7 +551,9 @@ hr.short_line { } /* include.inc.php */ -h5.side_label { text-align:center; } +h5.side_label { + text-align:center; +} /* navi.inc.php */ ul.navi { @@ -558,17 +567,17 @@ li.navi_none { } li.navi_left { display:inline; - float:left; text-align:left; } li.navi_right { display:inline; - float:right; text-align:right; } /* new.inc.php */ -span.comment_date { font-size:x-small; } +span.comment_date { + font-size:x-small; +} span.new1 { color:red; background-color:transparent; @@ -581,26 +590,8 @@ span.new5 { } /* popular.inc.php */ -span.counter { font-size:70%; } -ul.popular_list { -/* - padding:0px; - border:0px; - margin:0px 0px 0px 1em; - word-wrap:break-word; - word-break:break-all; -*/ -} - -/* recent.inc.php,showrss.inc.php */ -ul.recent_list { -/* - padding:0px; - border:0px; - margin:0px 0px 0px 1em; - word-wrap:break-word; - word-break:break-all; -*/ +span.counter { + font-size:70%; } /* ref.inc.php */ diff --git a/skin/tdiary.css b/skin/tdiary.css index 9458909..923583b 100644 --- a/skin/tdiary.css +++ b/skin/tdiary.css @@ -22,10 +22,14 @@ form.update textarea { } /* >--< Shrink textarea width (for #memo, etc) */ -form textarea { width:30em; } +form textarea { + width:30em; +} /* Image border = 0 */ -img { border:0; } +img { + border:0; +} /* --------------------- */ /* PukiWiki original CSS */ @@ -72,12 +76,24 @@ tfoot th.style_th { background-color:#EEF5FF; } -ul.list1 { list-style-type:disc; } -ul.list2 { list-style-type:circle; } -ul.list3 { list-style-type:square; } -ol.list1 { list-style-type:decimal; } -ol.list2 { list-style-type:lower-roman; } -ol.list3 { list-style-type:lower-alpha; } +ul.list1 { + list-style-type:disc; +} +ul.list2 { + list-style-type:circle; +} +ul.list3 { + list-style-type:square; +} +ol.list1 { + list-style-type:decimal; +} +ol.list2 { + list-style-type:lower-roman; +} +ol.list3 { + list-style-type:lower-alpha; +} .list-indent1 { padding-left:16px; @@ -97,7 +113,9 @@ ol.list3 { list-style-type:lower-alpha; } margin-left:64px; } -div.ie5 { text-align:center; } +div.ie5 { + text-align:center; +} /* NoSuchPage? */ span.noexists { @@ -105,30 +123,19 @@ span.noexists { background-color:#FFFACC; } -.small { font-size:80%; } - -/* Not found, Remove? */ -/* -.super_index { - color:#DD3333; - background-color:inherit; - font-weight:bold; - font-size:60%; - vertical-align:super; +.small { + font-size:80%; } -*/ /* for tDiary themes */ -a.note_super {} - div.jumpmenu { font-size:60%; text-align:right; } -/* for tDiary themes */ -hr.full_hr {} -hr.note_hr { display:none; } +hr.note_hr { + display:none; +} span.size1 { font-size:xx-small; @@ -216,25 +223,24 @@ strong.word9 { } /* html.php/edit_form() */ -.edit_form { clear:both; } +.edit_form { + clear:both; +} /* pukiwiki.skin.php */ div#header { padding:0px; margin:0px; } - div#navigator { clear:both; padding:4px 0px 0px 0px; margin:0px; } - td.menubar { width:9em; vertical-align:top; } - div#menubar { width:9em; padding:0px; @@ -243,38 +249,37 @@ div#menubar { font-size:90%; overflow:hidden; } - div#menubar ul { margin:0px 0px 0px .5em; padding:0px 0px 0px .5em; } - -div#menubar ul li { line-height:110%; } - -div#menubar h4 { font-size:110%; } +div#menubar ul li { + line-height:110%; +} +div#menubar h4 { + font-size:110%; +} /* for tDiary themes */ -div.pkwk_body { padding:0px; } - +div.pkwk_body { + padding:0px; +} div#note { clear:both; padding:0px; margin:0px; } - div#attach { clear:both; padding:0px; margin:0px; } - div#toolbar { clear:both; padding:0px; margin:0px; text-align:right; } - div#lastmodified { font-size:80%; padding:0px; @@ -290,30 +295,25 @@ div#related { div#related .page_passage { font-size:60%; } - div#footer { font-size:70%; padding:0px; margin:16px 0px 0px 0px; } - div#banner { float:right; margin-top:24px; } - div#preview { color:inherit; background-color:#F5F8FF; } - img#logo { float:left; margin-right:20px; } /* aname.inc.php */ -.anchor {} .anchor_super { font-size:xx-small; vertical-align:super; @@ -324,9 +324,6 @@ img#logo { font-size:small; } -/* br.inc.php */ -br.spacer {} - /* calendar*.inc.php */ .style_calendar { padding:0px; @@ -415,14 +412,15 @@ span.calendar_viewer_right { } /* counter.inc.php */ -div.counter { font-size:70%; } +div.counter { + font-size:70%; +} /* diff.inc.php */ span.diff_added { color:blue; background-color:inherit; } - span.diff_removed { color:red; background-color:inherit; @@ -438,7 +436,9 @@ hr.short_line { } /* include.inc.php */ -h5.side_label { text-align:center; } +h5.side_label { + text-align:center; +} /* navi.inc.php */ ul.navi { @@ -452,17 +452,17 @@ li.navi_none { } li.navi_left { display:inline; - float:left; text-align:left; } li.navi_right { display:inline; - float:right; text-align:right; } /* new.inc.php */ -span.comment_date { font-size:x-small; } +span.comment_date { + font-size:x-small; +} span.new1 { color:red; background-color:transparent; @@ -475,9 +475,9 @@ span.new5 { } /* popular.inc.php */ -span.counter { font-size:70%; } - -/* recent.inc.php,showrss.inc.php */ +span.counter { + font-size:70%; +} /* ref.inc.php */ div.img_margin { -- 2.11.0