com web/shared: Removed CSS override for pre.code; tweaked margin and padding.: styles/wiki.css
| From: | Levi Morrison | Date: | Fri, 21 Mar 2014 21:16:22 +0000 |
| Subject: | com web/shared: Removed CSS override for pre.code; tweaked margin and padding.: styles/wiki.css | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-18559@lists.php.net to get a copy of this message | ||
Commit: 48aab2b15e09cf66827dfd7dc519ede4dde194d7
Author: Levi Morrison <levi_morrison@byu.edu> Fri, 21 Mar 2014 15:16:22 -0600
Parents: 551ade45bb14fa5e133f8065c9395d027623d4e6
Branches: master
Link: http://git.php.net/?p=web/shared.git;a=commitdiff;h=48aab2b15e09cf66827dfd7dc519ede4dde194d7
Log:
Removed CSS override for pre.code; tweaked margin and padding.
Changed paths:
M styles/wiki.css
Diff:
diff --git a/styles/wiki.css b/styles/wiki.css
index 34b1b36..e4c3248 100644
--- a/styles/wiki.css
+++ b/styles/wiki.css
@@ -643,7 +643,6 @@ a:link, a:visited {
/* Cascading Style Sheet for 'code' syntax plugin - 2007-08-31
Copyright (C) 2007 M.Watermann, D-10247 Berlin, FRG - <support@mwat.de>
*/
-pre.code{background:#fcfdfe none;border:thin dotted #ccc;color:#000;margin:1ex
0;padding:0.4ex;line-height:1.2;overflow:auto;max-height:50em;max-width:99%;}
.code .diff-addedline{background:#cfc none;color:#000;}
.code .diff-blockheader{background:#ccf none;color:#000;}
.code .diff-deletedline{background:#fcc none;color:#000;}
@@ -698,15 +697,15 @@ div.code pre.codeShown{display:block;}
/* The main preformatted block containing the hilighted code */
pre.code {
- background: #fcfdfe none;
- border: thin dotted #ccc;
- color: #000;
- margin: 1ex 0;
- padding: 0.4ex;
- line-height:1.2;
- overflow: auto;
- max-height: 50em;
- max-width: 99%;
+ background: #fcfdfe;
+ border: thin dotted #ccc;
+ color: #000;
+ margin: 0 0 .75rem;
+ padding: .75rem;
+ line-height: 1.2;
+ overflow: auto;
+ max-height: 50em;
+ max-width: 99%;
}
/* The various code parts /