2005-01-12 cervantes
* Syndie CSS tweaks to removed some redundant declarations, improve font scaling and layout robustness. Improved cross browser compatibility (in other words "kicked IE"). Tightened the look of the blog template a little.
This commit is contained in:
@ -561,9 +561,9 @@ public abstract class BaseServlet extends HttpServlet {
|
|||||||
out.write("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
|
out.write("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
|
||||||
out.write("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n");
|
out.write("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n");
|
||||||
out.write("<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\n<head>\n<title>" + getTitle() + "</title>\n");
|
out.write("<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">\n<head>\n<title>" + getTitle() + "</title>\n");
|
||||||
out.write("<meta http-equiv=\"cache-control\" content=\"no-cache\" />");
|
out.write("<meta http-equiv=\"cache-control\" content=\"no-cache\" />\n");
|
||||||
out.write("<meta http-equiv=\"pragma\" content=\"no-cache\" />");
|
out.write("<meta http-equiv=\"pragma\" content=\"no-cache\" />\n");
|
||||||
out.write("<style>");
|
out.write("<style>\n");
|
||||||
out.write(STYLE_HTML);
|
out.write(STYLE_HTML);
|
||||||
Reader css = null;
|
Reader css = null;
|
||||||
try {
|
try {
|
||||||
@ -581,7 +581,7 @@ public abstract class BaseServlet extends HttpServlet {
|
|||||||
}
|
}
|
||||||
String content = FileUtil.readTextFile("./docs/syndie_standard.css", -1, true);
|
String content = FileUtil.readTextFile("./docs/syndie_standard.css", -1, true);
|
||||||
if (content != null) out.write(content);
|
if (content != null) out.write(content);
|
||||||
out.write("</style>");
|
out.write("</style>\n");
|
||||||
out.write(BEGIN_HTML);
|
out.write(BEGIN_HTML);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1106,120 +1106,123 @@ public abstract class BaseServlet extends HttpServlet {
|
|||||||
"<span style=\"display: none\"><a href=\"#bodySubject\">Jump to the beginning of the first post rendered, if any</a>\n" +
|
"<span style=\"display: none\"><a href=\"#bodySubject\">Jump to the beginning of the first post rendered, if any</a>\n" +
|
||||||
"<a href=\"#threads\">Jump to the thread navigation</a>\n</span>\n" +
|
"<a href=\"#threads\">Jump to the thread navigation</a>\n</span>\n" +
|
||||||
"<table border=\"0\" width=\"100%\" class=\"overallTable\">\n";
|
"<table border=\"0\" width=\"100%\" class=\"overallTable\">\n";
|
||||||
private static final String STYLE_HTML = ".overallTable {\n" +
|
private static final String STYLE_HTML = "* {\n" +
|
||||||
" border-spacing: 0px;\n" +
|
" margin: 0;\n" +
|
||||||
" border-width: 0px;\n" +
|
" padding: 0;\n" +
|
||||||
" border: 0px;\n" +
|
|
||||||
" margin: 0px;\n" +
|
|
||||||
" padding: 0px;\n" +
|
|
||||||
"}\n" +
|
"}\n" +
|
||||||
"* {\n" +
|
"body {\n" +
|
||||||
" margin: 0px;\n" +
|
" font-family: Arial, Helvetica, sans-serif;\n" +
|
||||||
" padding: 0px;\n" +
|
" font-size: 100%;\n" +
|
||||||
|
" background-color : #EEEEEE;\n" +
|
||||||
|
" color: #000000;\n" +
|
||||||
|
"}\n" +
|
||||||
|
"select {\n" +
|
||||||
|
" min-width: 1.5em;\n" +
|
||||||
|
"}\n" +
|
||||||
|
".overallTable {\n" +
|
||||||
|
" border-spacing: 0px;\n" +
|
||||||
|
" border-collapse:collapse;\n" +
|
||||||
|
" float:left;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".topNav {\n" +
|
".topNav {\n" +
|
||||||
" background-color: #BBBBBB;\n" +
|
" background-color: #BBBBBB;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".topNav_user {\n" +
|
".topNav_user {\n" +
|
||||||
" text-align: left;\n" +
|
" text-align: left;\n" +
|
||||||
" float: left;\n" +
|
" float: left;\n" +
|
||||||
" display: inline;\n" +
|
" display: inline;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".topNav_admin {\n" +
|
".topNav_admin {\n" +
|
||||||
" text-align: right;\n" +
|
" text-align: right;\n" +
|
||||||
" float: right;\n" +
|
" float: right;\n" +
|
||||||
" margin: 0 5px 0 0;\n" +
|
" margin: 0 5px 0 0;\n" +
|
||||||
" display: inline;\n" +
|
" display: inline;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".controlBar {\n" +
|
".controlBar {\n" +
|
||||||
" background-color: #BBBBBB;\n" +
|
" background-color: #BBBBBB;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".controlBarRight {\n" +
|
".controlBarRight {\n" +
|
||||||
" text-align: right;\n" +
|
" text-align: right;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".threadEven {\n" +
|
".threadEven {\n" +
|
||||||
" background-color: #FFFFFF;\n" +
|
" background-color: #FFFFFF;\n" +
|
||||||
" white-space: nowrap;\n" +
|
" white-space: nowrap;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".threadOdd {\n" +
|
".threadOdd {\n" +
|
||||||
" background-color: #EEEEEE;\n" +
|
" background-color: #EEEEEE;\n" +
|
||||||
" white-space: nowrap;\n" +
|
" white-space: nowrap;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".threadLeft {\n" +
|
".threadLeft {\n" +
|
||||||
" text-align: left;\n" +
|
" text-align: left;\n" +
|
||||||
" align: left;\n" +
|
" align: left;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".threadNav {\n" +
|
".threadNav {\n" +
|
||||||
" background-color: #BBBBBB;\n" +
|
" background-color: #BBBBBB;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".threadNavRight {\n" +
|
".threadNavRight {\n" +
|
||||||
" text-align: right;\n" +
|
" text-align: right;\n" +
|
||||||
" float: right;\n" +
|
" float: right;\n" +
|
||||||
" background-color: #BBBBBB;\n" +
|
" background-color: #BBBBBB;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".rightOffset {\n" +
|
".rightOffset {\n" +
|
||||||
" float: right;\n" +
|
" float: right;\n" +
|
||||||
" margin: 0 5px 0 0;\n" +
|
" margin: 0 5px 0 0;\n" +
|
||||||
" display: inline;\n" +
|
" display: inline;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".threadInfoLeft {\n" +
|
".threadInfoLeft {\n" +
|
||||||
" float: left;\n" +
|
" float: left;\n" +
|
||||||
" margin: 5px 0px 0 0;\n" +
|
" margin: 5px 0px 0 0;\n" +
|
||||||
" display: inline;\n" +
|
" display: inline;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".threadInfoRight {\n" +
|
".threadInfoRight {\n" +
|
||||||
" float: right;\n" +
|
" float: right;\n" +
|
||||||
" margin: 0 5px 0 0;\n" +
|
" margin: 0 5px 0 0;\n" +
|
||||||
" display: inline;\n" +
|
" display: inline;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".postMeta {\n" +
|
".postMeta {\n" +
|
||||||
" background-color: #BBBBFF;\n" +
|
" background-color: #BBBBFF;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".postMetaSubject {\n" +
|
".postMetaSubject {\n" +
|
||||||
" text-align: left;\n" +
|
" text-align: left;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".postMetaLink {\n" +
|
".postMetaLink {\n" +
|
||||||
" text-align: right;\n" +
|
" text-align: right;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".postDetails {\n" +
|
".postDetails {\n" +
|
||||||
" background-color: #DDDDFF;\n" +
|
" background-color: #DDDDFF;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".postReply {\n" +
|
".postReply {\n" +
|
||||||
" background-color: #BBBBFF;\n" +
|
" background-color: #BBBBFF;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".postReplyText {\n" +
|
".postReplyText {\n" +
|
||||||
" background-color: #BBBBFF;\n" +
|
" background-color: #BBBBFF;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".postReplyOptions {\n" +
|
".postReplyOptions {\n" +
|
||||||
" background-color: #BBBBFF;\n" +
|
" background-color: #BBBBFF;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".syndieBlogTopNav {\n" +
|
".syndieBlogTopNav {\n" +
|
||||||
" width: 100%;\n" +
|
" float:left;\n" +
|
||||||
" height: 20px;\n" +
|
" width: 100%;\n" +
|
||||||
" background-color: #BBBBBB;\n" +
|
" background-color: #BBBBBB;\n" +
|
||||||
" font-size: 100%;\n" +
|
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".syndieBlogTopNavUser {\n" +
|
".syndieBlogTopNavUser {\n" +
|
||||||
" text-align: left;\n" +
|
" text-align: left;\n" +
|
||||||
" float: left;\n" +
|
" float: left;\n" +
|
||||||
" display: inline;\n" +
|
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".syndieBlogTopNavAdmin {\n" +
|
".syndieBlogTopNavAdmin {\n" +
|
||||||
" text-align: left;\n" +
|
" text-align: left;\n" +
|
||||||
" float: right;\n" +
|
" float: right;\n" +
|
||||||
" display: inline;\n" +
|
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".syndieBlogFavorites {\n" +
|
".syndieBlogFavorites {\n" +
|
||||||
" float: left;\n" +
|
" float: left;\n" +
|
||||||
" margin: 5px 0px 0 0;\n" +
|
" margin: 5px 0px 0 0;\n" +
|
||||||
" display: inline;\n" +
|
" display: inline;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".syndieBlogList {\n" +
|
".syndieBlogList {\n" +
|
||||||
" float: right;\n" +
|
" float: right;\n" +
|
||||||
" margin: 5px 0px 0 0;\n" +
|
" margin: 5px 0px 0 0;\n" +
|
||||||
" display: inline;\n" +
|
" display: inline;\n" +
|
||||||
"}\n";
|
"}\n";
|
||||||
|
|
||||||
|
|
||||||
private static final String END_HTML = "</table>\n" +
|
private static final String END_HTML = "</table>\n" +
|
||||||
"</body>\n";
|
"</body>\n";
|
||||||
|
@ -619,194 +619,163 @@ public class ViewBlogServlet extends BaseServlet {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static final String CSS =
|
private static final String CSS = "* {\n" +
|
||||||
"body {\n" +
|
" margin: 0px;\n" +
|
||||||
" margin: 0px;\n" +
|
" padding: 0px;\n" +
|
||||||
" padding: 0px;\n" +
|
|
||||||
" font-family: Arial, Helvetica, sans-serif;\n" +
|
|
||||||
"}\n" +
|
"}\n" +
|
||||||
"* {\n" +
|
"body {\n" +
|
||||||
" margin: 0px;\n" +
|
" font-family: Arial, Helvetica, sans-serif;\n" +
|
||||||
" padding: 0px;\n" +
|
" font-size: 100%;\n" +
|
||||||
|
" background-color : #EEEEEE;\n" +
|
||||||
|
"}\n" +
|
||||||
|
"a {\n" +
|
||||||
|
" text-decoration: none;\n" +
|
||||||
|
"}\n" +
|
||||||
|
"a:hover {\n" +
|
||||||
|
" color: red;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
"select {\n" +
|
"select {\n" +
|
||||||
" min-width: 1.5em;\n" +
|
" min-width: 1.5em;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".syndieBlog {\n" +
|
".syndieBlog {\n" +
|
||||||
" font-size: 100%;\n" +
|
|
||||||
" margin: 0px;\n" +
|
|
||||||
" border: 0px;\n" +
|
|
||||||
" padding: 0px;\n" +
|
|
||||||
" border-width: 0px;\n" +
|
|
||||||
" border-spacing: 0px;\n" +
|
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".syndieBlogTopNav {\n" +
|
".syndieBlogTopNav {\n" +
|
||||||
" width: 100%;\n" +
|
" float:left;\n" +
|
||||||
" height: 20px;\n" +
|
" width: 100%;\n" +
|
||||||
" background-color: #BBBBBB;\n" +
|
" background-color: #BBBBBB;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".syndieBlogTopNavUser {\n" +
|
".syndieBlogTopNavUser {\n" +
|
||||||
" text-align: left;\n" +
|
" text-align: left;\n" +
|
||||||
" float: left;\n" +
|
" float: left;\n" +
|
||||||
" display: inline;\n" +
|
" margin: 2px;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".syndieBlogTopNavAdmin {\n" +
|
".syndieBlogTopNavAdmin {\n" +
|
||||||
" text-align: left;\n" +
|
" text-align: left;\n" +
|
||||||
" float: right;\n" +
|
" float: right;\n" +
|
||||||
" display: inline;\n" +
|
" margin: 2px;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".syndieBlogHeader {\n" +
|
".syndieBlogHeader {\n" +
|
||||||
" width: 100%;\n" +
|
" width: 100%;\n" +
|
||||||
" height: 50px;\n" +
|
" font-size: 1.2em;\n" +
|
||||||
" font-size: 120%;\n" +
|
" background-color: black;\n" +
|
||||||
" background-color: black;\n" +
|
" color: white;\n" +
|
||||||
" color: white;\n" +
|
" float:left;\n" +
|
||||||
|
"}\n" +
|
||||||
|
".syndieBlogHeader a {\n" +
|
||||||
|
" color: white;\n" +
|
||||||
|
" padding: 4px;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".syndieBlogLogo {\n" +
|
".syndieBlogLogo {\n" +
|
||||||
" float: left;\n" +
|
" float: left;\n" +
|
||||||
" display: inline;\n" +
|
" display: inline;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".syndieBlogLinks {\n" +
|
".syndieBlogLinks {\n" +
|
||||||
" width: 200px;\n" +
|
" width: 20%;\n" +
|
||||||
|
" float: left;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".syndieBlogLinkGroup {\n" +
|
".syndieBlogLinkGroup {\n" +
|
||||||
" text-align: left;\n" +
|
" font-size: 0.8em;\n" +
|
||||||
" font-size: 80%;\n" +
|
" background-color: #DDD;\n" +
|
||||||
" background-color: #DDD;\n" +
|
" border: 1px solid black;\n" +
|
||||||
" border: solid;\n" +
|
" margin: 5px;\n" +
|
||||||
//" border-width: 5px 5px 0px 5px;\n" +
|
" padding: 2px;\n" +
|
||||||
//" border-color: #FFFFFF;\n" +
|
|
||||||
" border-width: 1px 1px 1px 1px;\n" +
|
|
||||||
" border-color: #000;\n" +
|
|
||||||
" margin-top: 5px;\n" +
|
|
||||||
" margin-right: 5px;\n" +
|
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".syndieBlogLinkGroup ul {\n" +
|
".syndieBlogLinkGroup ul {\n" +
|
||||||
" list-style: none;\n" +
|
" list-style: none;\n" +
|
||||||
" margin-left: 0;\n" +
|
|
||||||
" margin-top: 0;\n" +
|
|
||||||
" margin-bottom: 0;\n" +
|
|
||||||
" padding-left: 0;\n" +
|
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".syndieBlogLinkGroup li {\n" +
|
".syndieBlogLinkGroup li {\n" +
|
||||||
" margin: 0;\n" +
|
|
||||||
"}\n" +
|
"}\n" +
|
||||||
//".syndieBlogLinkGroup li a {\n" +
|
|
||||||
//" display: block;\n" +
|
|
||||||
//" width: 100%;\n" +
|
|
||||||
//"}\n" +
|
|
||||||
".syndieBlogLinkGroupName {\n" +
|
".syndieBlogLinkGroupName {\n" +
|
||||||
" font-size: 80%;\n" +
|
" font-weight: bold;\n" +
|
||||||
" font-weight: bold;\n" +
|
" width: 100%;\n" +
|
||||||
|
" border-bottom: 1px dashed black;\n" +
|
||||||
|
" display: block;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".syndieBlogPostInfoGroup {\n" +
|
".syndieBlogPostInfoGroup {\n" +
|
||||||
" text-align: left;\n" +
|
" font-size: 0.8em;\n" +
|
||||||
" font-size: 80%;\n" +
|
" background-color: #FFEA9F;\n" +
|
||||||
" background-color: #FFEA9F;\n" +
|
" border: 1px solid black;\n" +
|
||||||
" border: solid;\n" +
|
" margin: 5px;\n" +
|
||||||
" border-width: 1px 1px 1px 1px;\n" +
|
" padding: 2px;\n" +
|
||||||
" border-color: #000;\n" +
|
|
||||||
" margin-top: 5px;\n" +
|
|
||||||
" margin-right: 5px;\n" +
|
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".syndieBlogPostInfoGroup ol {\n" +
|
".syndieBlogPostInfoGroup ol {\n" +
|
||||||
" list-style: none;\n" +
|
" list-style: none;\n" +
|
||||||
" margin-left: 0;\n" +
|
|
||||||
" margin-top: 0;\n" +
|
|
||||||
" margin-bottom: 0;\n" +
|
|
||||||
" padding-left: 0;\n" +
|
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".syndieBlogPostInfoGroup li {\n" +
|
".syndieBlogPostInfoGroup li {\n" +
|
||||||
" margin: 0;\n" +
|
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".syndieBlogPostInfoGroup li a {\n" +
|
".syndieBlogPostInfoGroup li a {\n" +
|
||||||
" display: block;\n" +
|
" display: block;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".syndieBlogPostInfoGroupName {\n" +
|
".syndieBlogPostInfoGroupName {\n" +
|
||||||
" font-size: 80%;\n" +
|
" font-weight: bold;\n" +
|
||||||
" font-weight: bold;\n" +
|
" width: 100%;\n" +
|
||||||
|
" border-bottom: 1px dashed black;\n" +
|
||||||
|
" display: block;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".syndieBlogMeta {\n" +
|
".syndieBlogMeta {\n" +
|
||||||
" text-align: left;\n" +
|
" text-align: left;\n" +
|
||||||
" font-size: 80%;\n" +
|
" font-size: 0.8em;\n" +
|
||||||
" background-color: #DDD;\n" +
|
" background-color: #DDD;\n" +
|
||||||
" border: solid;\n" +
|
" border: 1px solid black;\n" +
|
||||||
" border-width: 1px 1px 1px 1px;\n" +
|
" margin: 5px;\n" +
|
||||||
" border-color: #000;\n" +
|
" padding: 2px;\n" +
|
||||||
" width: 90%;\n" +
|
|
||||||
" margin-top: 5px;\n" +
|
|
||||||
" margin-right: 5px;\n" +
|
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".syndieBlogBody {\n" +
|
".syndieBlogBody {\n" +
|
||||||
" position: absolute;\n" +
|
" width: 80%;\n" +
|
||||||
" top: 70px;\n" +
|
" float: left;\n" +
|
||||||
" left: 200px;\n" +
|
|
||||||
" float: left;\n" +
|
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".syndieBlogPost {\n" +
|
".syndieBlogPost {\n" +
|
||||||
" border: solid;\n" +
|
" border: 1px solid black;\n" +
|
||||||
" border-width: 1px 1px 1px 1px;\n" +
|
" margin-top: 5px;\n" +
|
||||||
" border-color: #000;\n" +
|
" margin-right: 5px;\n" +
|
||||||
" margin-top: 5px;\n" +
|
|
||||||
" width: 99%;\n" +
|
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".syndieBlogPostHeader {\n" +
|
".syndieBlogPostHeader {\n" +
|
||||||
" background-color: #BBB;\n" +
|
" background-color: #BBB;\n" +
|
||||||
|
" padding: 2px;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".syndieBlogPostSubject {\n" +
|
".syndieBlogPostSubject {\n" +
|
||||||
" text-align: left;\n" +
|
" font-weight: bold;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".syndieBlogPostFrom {\n" +
|
".syndieBlogPostFrom {\n" +
|
||||||
" text-align: right;\n" +
|
" text-align: right;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".syndieBlogPostSummary {\n" +
|
".syndieBlogPostSummary {\n" +
|
||||||
" background-color: #FFFFFF;\n" +
|
" background-color: #FFFFFF;\n" +
|
||||||
|
" padding: 2px;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".syndieBlogPostDetails {\n" +
|
".syndieBlogPostDetails {\n" +
|
||||||
" background-color: #DDD;\n" +
|
" background-color: #DDD;\n" +
|
||||||
|
" padding: 2px;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".syndieBlogNav {\n" +
|
".syndieBlogNav {\n" +
|
||||||
" text-align: center;\n" +
|
" text-align: center;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".syndieBlogComments {\n" +
|
".syndieBlogComments {\n" +
|
||||||
" border: none;\n" +
|
" border: none;\n" +
|
||||||
" margin-top: 5px;\n" +
|
" margin-top: 5px;\n" +
|
||||||
" margin-left: 0px;\n" +
|
" margin-left: 0px;\n" +
|
||||||
" float: left;\n" +
|
" float: left;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".syndieBlogComments ul {\n" +
|
".syndieBlogComments ul {\n" +
|
||||||
" list-style: none;\n" +
|
" list-style: none;\n" +
|
||||||
" margin-left: 10px;\n" +
|
" margin-left: 10px;\n" +
|
||||||
" padding-left: 0;\n" +
|
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".syndieBlogCommentInfoGroup {\n" +
|
".syndieBlogCommentInfoGroup {\n" +
|
||||||
" text-align: left;\n" +
|
" font-size: 0.8em;\n" +
|
||||||
" font-size: 80%;\n" +
|
" margin-right: 5px;\n" +
|
||||||
//" background-color: #FFEA9F;\n" +
|
|
||||||
//" border: solid;\n" +
|
|
||||||
//" border-width: 1px 1px 1px 1px;\n" +
|
|
||||||
//" border-color: #000;\n" +
|
|
||||||
//" margin-top: 5px;\n" +
|
|
||||||
" margin-right: 5px;\n" +
|
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".syndieBlogCommentInfoGroup ol {\n" +
|
".syndieBlogCommentInfoGroup ol {\n" +
|
||||||
" list-style: none;\n" +
|
" list-style: none;\n" +
|
||||||
" margin-left: 0;\n" +
|
|
||||||
" margin-top: 0;\n" +
|
|
||||||
" margin-bottom: 0;\n" +
|
|
||||||
" padding-left: 0;\n" +
|
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".syndieBlogCommentInfoGroup li {\n" +
|
".syndieBlogCommentInfoGroup li {\n" +
|
||||||
" margin: 0;\n" +
|
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".syndieBlogCommentInfoGroup li a {\n" +
|
".syndieBlogCommentInfoGroup li a {\n" +
|
||||||
" display: block;\n" +
|
" display: block;\n" +
|
||||||
"}\n" +
|
"}\n" +
|
||||||
".syndieBlogCommentInfoGroupName {\n" +
|
".syndieBlogCommentInfoGroupName {\n" +
|
||||||
" font-size: 80%;\n" +
|
" font-size: 0.8em;\n" +
|
||||||
" font-weight: bold;\n" +
|
" font-weight: bold;\n" +
|
||||||
"}\n";
|
"}\n";
|
||||||
|
|
||||||
protected String getTitle() { return "unused"; }
|
protected String getTitle() { return "unused"; }
|
||||||
protected void renderServletDetails(User user, HttpServletRequest req, PrintWriter out, ThreadIndex index,
|
protected void renderServletDetails(User user, HttpServletRequest req, PrintWriter out, ThreadIndex index,
|
||||||
int threadOffset, BlogURI visibleEntry, Archive archive) throws IOException {
|
int threadOffset, BlogURI visibleEntry, Archive archive) throws IOException {
|
||||||
|
@ -1,143 +1,88 @@
|
|||||||
body {
|
.b_topnavUser {
|
||||||
margin : 0px;
|
text-align: right;
|
||||||
padding : 0px;
|
background-color: #CCCCDD;
|
||||||
font-family: Arial, Helvetica, sans-serif;
|
}
|
||||||
background-color : #EEEEEE;
|
.b_topnavHome {
|
||||||
color: #000000;
|
background-color: #CCCCDD;
|
||||||
}
|
color: #000000;
|
||||||
.b_topnavUser {
|
width: 50px;
|
||||||
text-align: right;
|
text-align: left;
|
||||||
background-color: #CCCCDD;
|
}
|
||||||
border-spacing: 0px;
|
.b_topnav {
|
||||||
margin: 0px;
|
background-color: #CCCCDD;
|
||||||
padding: 0px;
|
}
|
||||||
border-width: 0px;
|
.b_content {
|
||||||
border: 0px;
|
}
|
||||||
}
|
.s_summary_overall {
|
||||||
.b_topnavHome {
|
}
|
||||||
background-color: #CCCCDD;
|
.s_detail_overall {
|
||||||
color: #000000;
|
}
|
||||||
width: 50px;
|
.s_detail_subject {
|
||||||
text-align: left;
|
font-size: 0.8em;
|
||||||
}
|
text-align: left;
|
||||||
.b_topnav {
|
background-color: #BBBBFF;
|
||||||
background-color: #CCCCDD;
|
}
|
||||||
border-spacing: 0px;
|
.s_detail_quote {
|
||||||
margin: 0px;
|
margin-left: 1em;
|
||||||
padding: 0px;
|
border: 1px solid #DBDBDB;
|
||||||
border-width: 0px;
|
background-color: #E0E0E0;
|
||||||
border: 0px;
|
}
|
||||||
}
|
.s_detail_italic {
|
||||||
.b_content {
|
font-style: italic;
|
||||||
border: 0px;
|
}
|
||||||
border-spacing: 0px;
|
.s_detail_bold {
|
||||||
margin: 0px;
|
font-style: normal;
|
||||||
}
|
font-weight: bold;
|
||||||
.s_summary_overall {
|
}
|
||||||
border: 0px;
|
.s_detail_underline {
|
||||||
border-spacing: 0px;
|
font-style: normal;
|
||||||
margin: 0px;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
.s_detail_overall {
|
.s_detail_meta {
|
||||||
border: 0px;
|
font-size: 0.8em;
|
||||||
border-spacing: 0px;
|
text-align: right;
|
||||||
margin: 0px;
|
background-color: #BBBBFF;
|
||||||
}
|
}
|
||||||
.s_detail_subject {
|
|
||||||
font-size: 80%;
|
.s_summary_subject {
|
||||||
text-align: left;
|
font-size: 0.8em;
|
||||||
background-color: #BBBBFF;
|
text-align: left;
|
||||||
border-spacing: 0px;
|
background-color: #BBBBFF;
|
||||||
margin: 0px;
|
}
|
||||||
padding: 0px;
|
.s_summary_meta {
|
||||||
border-width: 0px;
|
font-size: 0.8em;
|
||||||
border: 0px;
|
text-align: right;
|
||||||
border-style: none;
|
background-color: #BBBBFF;
|
||||||
}
|
}
|
||||||
.s_detail_quote {
|
.s_summary_quote {
|
||||||
margin-left: 1em;
|
margin-left: 1em;
|
||||||
border-width: 1px;
|
border-width: 1px solid #DBDBDB;
|
||||||
border-color: #DBDBDB;
|
background-color: #E0E0E0;
|
||||||
border-style: solid;
|
}
|
||||||
background-color: #E0E0E0;
|
.s_summary_italic {
|
||||||
}
|
font-style: italic;
|
||||||
.s_detail_italic {
|
}
|
||||||
font-style: italic;
|
.s_summary_bold {
|
||||||
}
|
font-style: normal;
|
||||||
.s_detail_bold {
|
font-weight: bold;
|
||||||
font-style: normal;
|
}
|
||||||
font-weight: bold;
|
.s_summary_underline {
|
||||||
}
|
font-style: normal;
|
||||||
.s_detail_underline {
|
text-decoration: underline;
|
||||||
font-style: normal;
|
}
|
||||||
text-decoration: underline;
|
.s_summary_summDetail {
|
||||||
}
|
font-size: 0.8em;
|
||||||
.s_detail_meta {
|
}
|
||||||
font-size: 80%;
|
.s_detail_summDetail {
|
||||||
text-align: right;
|
}
|
||||||
background-color: #BBBBFF;
|
.s_detail_summDetailBlog {
|
||||||
border-spacing: 0px;
|
}
|
||||||
margin: 0px;
|
.s_detail_summDetailBlogLink {
|
||||||
padding: 0px;
|
}
|
||||||
border-width: 0px;
|
td.s_detail_summDetail {
|
||||||
border: 0px;
|
background-color: #DDDDFF;
|
||||||
border-style: none;
|
}
|
||||||
}
|
td.s_summary_summ {
|
||||||
|
font-size: 0.8em;
|
||||||
.s_summary_subject {
|
background-color: #DDDDFF;
|
||||||
font-size: 80%;
|
}
|
||||||
text-align: left;
|
|
||||||
background-color: #BBBBFF;
|
|
||||||
border-spacing: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border-width: 0px;
|
|
||||||
border: 0px;
|
|
||||||
border-style: none;
|
|
||||||
}
|
|
||||||
.s_summary_meta {
|
|
||||||
font-size: 80%;
|
|
||||||
text-align: right;
|
|
||||||
background-color: #BBBBFF;
|
|
||||||
border-spacing: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border-width: 0px;
|
|
||||||
border: 0px;
|
|
||||||
border-style: none;
|
|
||||||
}
|
|
||||||
.s_summary_quote {
|
|
||||||
margin-left: 1em;
|
|
||||||
border-width: 1px;
|
|
||||||
border-color: #DBDBDB;
|
|
||||||
border-style: solid;
|
|
||||||
background-color: #E0E0E0;
|
|
||||||
}
|
|
||||||
.s_summary_italic {
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
.s_summary_bold {
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
.s_summary_underline {
|
|
||||||
font-style: normal;
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
|
|
||||||
.s_summary_summDetail {
|
|
||||||
font-size: 80%;
|
|
||||||
}
|
|
||||||
.s_detail_summDetail {
|
|
||||||
}
|
|
||||||
.s_detail_summDetailBlog {
|
|
||||||
}
|
|
||||||
.s_detail_summDetailBlogLink {
|
|
||||||
}
|
|
||||||
td.s_detail_summDetail {
|
|
||||||
background-color: #DDDDFF;
|
|
||||||
}
|
|
||||||
td.s_summary_summ {
|
|
||||||
font-size: 80%;
|
|
||||||
background-color: #DDDDFF;
|
|
||||||
}
|
|
@ -1,4 +1,10 @@
|
|||||||
$Id: history.txt,v 1.383 2006/01/11 15:32:36 jrandom Exp $
|
$Id: history.txt,v 1.384 2006/01/11 18:19:38 jrandom Exp $
|
||||||
|
|
||||||
|
2005-01-12 cervantes
|
||||||
|
* Syndie CSS tweaks to removed some redundant declarations, improve font
|
||||||
|
scaling and layout robustness. Improved cross browser compatibility
|
||||||
|
(in other words "kicked IE"). Tightened the look of the blog template
|
||||||
|
a little.
|
||||||
|
|
||||||
2005-01-11 Complication
|
2005-01-11 Complication
|
||||||
* CSS comment fixes
|
* CSS comment fixes
|
||||||
|
@ -15,9 +15,9 @@ import net.i2p.CoreVersion;
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class RouterVersion {
|
public class RouterVersion {
|
||||||
public final static String ID = "$Revision: 1.328 $ $Date: 2006/01/10 01:59:08 $";
|
public final static String ID = "$Revision: 1.329 $ $Date: 2006/01/11 15:32:36 $";
|
||||||
public final static String VERSION = "0.6.1.8";
|
public final static String VERSION = "0.6.1.8";
|
||||||
public final static long BUILD = 12;
|
public final static long BUILD = 13;
|
||||||
public static void main(String args[]) {
|
public static void main(String args[]) {
|
||||||
System.out.println("I2P Router version: " + VERSION + "-" + BUILD);
|
System.out.println("I2P Router version: " + VERSION + "-" + BUILD);
|
||||||
System.out.println("Router ID: " + RouterVersion.ID);
|
System.out.println("Router ID: " + RouterVersion.ID);
|
||||||
|
Reference in New Issue
Block a user