You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2013/08/30 09:39:37 UTC
svn commit: r1518901 - /tomcat/trunk/webapps/docs/images/docs-stylesheet.css
Author: markt
Date: Fri Aug 30 07:39:36 2013
New Revision: 1518901
URL: http://svn.apache.org/r1518901
Log:
Part of fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=55383
Improve CSS - use different colours for odd and even table rows
Patch by Konstantin Preißer
Modified:
tomcat/trunk/webapps/docs/images/docs-stylesheet.css
Modified: tomcat/trunk/webapps/docs/images/docs-stylesheet.css
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/images/docs-stylesheet.css?rev=1518901&r1=1518900&r2=1518901&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/images/docs-stylesheet.css (original)
+++ tomcat/trunk/webapps/docs/images/docs-stylesheet.css Fri Aug 30 07:39:36 2013
@@ -184,15 +184,14 @@ main {
code {
background-color: rgb(224,255,255);
- padding: 0 0.1em;
}
-div.codeBox pre code, code.attributeName, code.propertyName {
+div.codeBox pre code, code.attributeName, code.propertyName, code.noHighlight {
background-color: transparent;
}
div.codeBox {
overflow: auto;
- /* TODO: Maybe add margin-top and margin-bottom like with <p> */
+ margin: 1em 0;
}
div.codeBox pre {
margin: 0;
@@ -214,6 +213,18 @@ div.codeBox pre.wrap {
}
+table.defaultTable tr {
+ border: 1px solid #CCC;
+}
+
+table.defaultTable tr:nth-child(even) {
+ background-color: #FAFBFF;
+}
+
+table.defaultTable tr:nth-child(odd) {
+ background-color: #EEEFFF;
+}
+
table.defaultTable th {
background-color: #88b;
color: #fff;
@@ -228,8 +239,7 @@ table.detail-table td {
}
table.defaultTable th, table.defaultTable td, table.detail-table th, table.detail-table td {
- border: 1px solid #777;
- padding: 5px;
+ padding: 5px 8px;
text-align: left;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org