Update of /cvsroot/phpwiki/phpwiki/themes/MacOSX In directory sc8-pr-cvs1:/tmp/cvs-serv2752 Modified Files: MacOSX.css Log Message: Update: Added tightenable styles from default css (long overdue). Formatting changes: Wrap text in RC lists past diff buttons. Index: MacOSX.css =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/themes/MacOSX/MacOSX.css,v retrieving revision 1.33 retrieving revision 1.34 diff -u -2 -b -p -d -r1.33 -r1.34 --- MacOSX.css 22 Nov 2003 21:39:19 -0000 1.33 +++ MacOSX.css 27 Nov 2003 16:47:11 -0000 1.34 @@ -57,4 +57,5 @@ input[type=text] { border-right: 1px solid #c3c3c3; } + /* Add space between the input field and following buttons, but not after the last button. */ div.wikiaction input[type=text], @@ -487,4 +488,51 @@ pre { background: #fafafa url("images/bgpaper8.png"); } +/* Indented wrap past diff buttons in RecentChanges */ +ul li.rc-major, ul li.rc-minor { + margin-left: 0; + padding-left: 3em; + text-indent: -3em; +} + + +/* + * Vertical margins around block elements. + */ +p { margin: 1em 0; } /* Normal ("loose") paragraphs */ +li p, dd p, td p { margin: 1ex 0; } /* Paragraphs within lists are a little tighter. */ + +/* ul, ol, dl { margin: 0.2ex 0; } /* A little room around lists. */ +/* li ul, li ol, li dl, +dd ul, dd ol, dd dl { margin: 0 0; } /* but not around sub-lists. */ + +/* Normal ("loose") list elements */ +li.tightenable { margin: 1em 0; } +dt.tightenable { margin-top: 1em; } +dd.tightenable { margin-bottom: 1.5ex; } + +li.tightenable.top, +dt.tightenable.top, +dd.tightenable.top { + margin-top: 0.2ex; +} +li li.tightenable.top { + margin-top: 0; +} +li.tightenable.bottom, +dd.tightenable.bottom { + margin-bottom: 0.2ex; +} +li li.tightenable.bottom { + margin-bottom: 0; +} + +.tightenable.top { + margin-top: 0; +} +.tightenable.bottom { + margin-bottom: 0; +} + + /* For emacs users *