cvs: phpweb /styles site.css
| From: | Hannes Magnusson | Date: | Sun, 04 Feb 2007 00:40:50 +0000 |
| Subject: | cvs: phpweb /styles site.css | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-34072@lists.php.net to get a copy of this message | ||
bjori Sun Feb 4 00:40:50 2007 UTC
Modified files:
/phpweb/styles site.css
Log:
Remove those oldschool table borders from warning/causion tables
Add redish background and text for warnings
Add yellowish background and text for causions
Ignore the example table styles (the tables will be removed soonish)
Add greyish background for the example title
Add greyer background for the example it self
Add fancy borders arround it
Initial css example-line-number implementation (commented out)
http://cvs.php.net/viewvc.cgi/phpweb/styles/site.css?r1=1.33&r2=1.34&diff_format=u
Index: phpweb/styles/site.css
diff -u phpweb/styles/site.css:1.33 phpweb/styles/site.css:1.34
--- phpweb/styles/site.css:1.33 Sat Feb 3 19:41:06 2007
+++ phpweb/styles/site.css Sun Feb 4 00:40:50 2007
@@ -55,7 +55,8 @@
padding: 8px;
}
-p.formerror, p.warn {
+/* {{{ Errors and warning classes */
+p.formerror, p.warn, div.warning, div.caution {
border: 1px solid #666600;
color: #660000;
background-color: #ffeeee;
@@ -63,6 +64,18 @@
padding: 6px;
}
+div.caution {
+ border: 1px solid #333;
+ color: #333;
+ background-color: #ffc;
+}
+
+div.warning table, div.warning table tr, div.warning table td,
+div.caution table, div.caution table tr, div.caution table td {
+ border: 0;
+}
+/* }}} */
+
hr {
border: 0px;
color: black;
@@ -593,9 +606,52 @@
padding: 2px;
}
-/* phpdoc image example output */
-div.example div.screenshot img {
- padding: 20px;
- border: 1px dotted #000;
- background-color: #E0E0E0;
+/* {{{ phpdoc examples */
+div.example, div.informalexample {
+ background-color: #eee;
+ border: 1px dotted #000;
+}
+
+div.example p {
+ margin: 0px;
+ padding: 0px;
+ text-indent: 50px;
+ border-bottom: 1px dotted #000;
+}
+
+div.example div.example-contents, div.informalexample .phpcode, div.informalexample pre.html {
+ background-color: #ddd;
+ margin: 10px;
+ border: 1px outset #000;
+}
+
+/* Konq & Fx, for what ever reason, dislike br:before so this doesn't work at the
moment...
+ * This should however add line-number to examples - which will _not_ be copied to clipboard
+ * when the code is copy/pasted
+div.example div.example-contents:after {
+ counter-reset: phpexample;
+}
+
+div.example-contents br:before {
+ content: counter(phpexample);
+ counter-increment: phpexample;
}
+*/
+
+div.example div.example-contents p, div.informalexample p {
+ background-color: #ccc;
+ text-indent: 0;
+ border-bottom: 1px outset #000;
+}
+
+div.example div.screenshot img {
+ padding: 20px;
+ border: 1px dotted #000;
+ background-color: #E0E0E0;
+}
+/* }}} */
+
+/*
+ * vim: noet
+ */
+