From: Reini U. <ru...@x-...> - 2002-01-14 13:26:51
|
This broke netscape. with -r 1.20 it works okay. Carsten Klapp schrieb: > Update of /cvsroot/phpwiki/phpwiki > In directory usw-pr-cvs1:/tmp/cvs-serv20630 > > Modified Files: > phpwiki.css > Log Message: > Adds a little padding to wikiaction buttons, and shrinks "(diff)" buttons a bit in RecentChanges so they don't overlap as much in Mozilla. Some minor source text reformatting. > > Index: phpwiki.css > =================================================================== > RCS file: /cvsroot/phpwiki/phpwiki/phpwiki.css,v > retrieving revision 1.20 > retrieving revision 1.21 > diff -C2 -r1.20 -r1.21 > *** phpwiki.css 2002/01/09 04:11:14 1.20 > --- phpwiki.css 2002/01/13 05:39:36 1.21 > *************** > *** 6,16 **** > DIV.wikitext - the transformed wiki page text. > > ! A.wiki - link to page in wiki. > ! A.named-wiki - a named link to page in wiki (from e.g. [name|WikiPage]). > ! A.interwiki - link to page in another wiki > ! SPAN.wikipage - page name within interwiki link. > ! A.named-interwiki - link to page in another wiki > ! A.url - link to external URL from wiki page. > ! A.named-url - link to external URL from wiki page. > > .wikiunknown A, .wikiunknown U > --- 6,16 ---- > DIV.wikitext - the transformed wiki page text. > > ! A.wiki - link to page in wiki. > ! A.named-wiki - a named link to page in wiki (from e.g. [name|WikiPage]). > ! A.interwiki - link to page in another wiki > ! SPAN.wikipage - page name within interwiki link. > ! A.named-interwiki - link to page in another wiki > ! A.url - link to external URL from wiki page. > ! A.named-url - link to external URL from wiki page. > > .wikiunknown A, .wikiunknown U > *************** > *** 46,58 **** > > DIV.wikitext { > ! background: white; > ! border: thin; > ! border-color: black; > ! border-style: solid; > ! padding-left: 0.8em; > padding-right: 0.8em; > ! padding-top: 0px; > ! padding-bottom: 0px; > ! margin: 0.5ex 0px; > /* This breaks Netscape 4: (display does not go full width). > width: auto; > --- 46,58 ---- > > DIV.wikitext { > ! background: white; > ! border: thin; > ! border-color: black; > ! border-style: solid; > ! padding-left: 0.8em; > padding-right: 0.8em; > ! padding-top: 0px; > ! padding-bottom: 0px; > ! margin: 0.5ex 0px; > /* This breaks Netscape 4: (display does not go full width). > width: auto; > *************** > *** 145,149 **** > > .wikiunknown, .named-wikiunknown > ! {color: #600; } > > /* Interwiki links */ > --- 145,149 ---- > > .wikiunknown, .named-wikiunknown > ! { color: #600; } > > /* Interwiki links */ > *************** > *** 162,180 **** > * wikiaction, wikiadmin, wikiunsafe: > */ > ! A.wikiaction, A.wikiadmin { text-decoration: none; } > ! A.wikiaction, .wikiaction TABLE, SPAN.wikiaction { background-color: #ddd; } > ! A.wikiadmin, .wikiadmin TABLE { background-color: #fdd; } > .wikiunsafe { background-color: #ccc; } > > /* > * No border on external link icons. > */ > ! img.linkicon, img.rssicon { border: 0px; } > ! img.rssicon { vertical-align: top; } > /* This screws up NS4, moved to phpwiki-heavy.css > ! img.linkicon { vertical-align: middle; } > */ > > ! > /* > * Put a border around wikiaction forms: > --- 162,200 ---- > * wikiaction, wikiadmin, wikiunsafe: > */ > ! A.wikiaction, A.wikiadmin { text-decoration: none; } > ! A.wikiaction, .wikiaction TABLE, SPAN.wikiaction { background-color: #ddd; } > ! A.wikiadmin, .wikiadmin TABLE { background-color: #fdd; } > .wikiunsafe { background-color: #ccc; } > > + /* Adds a little more surface area to make actions a little more like > + buttons. Apparently some versions of ie choke on percentages, so > + these just are fixed dimensions and may need some tweaking, add or > + subtract a pixel or so. */ > + A.wikiaction, > + A.wikiadmin { padding-top: 0pt; > + padding-left: 6pt; > + padding-bottom: 1pt; > + padding-right: 6pt; } > + > + /* reduces the size of "(diff)" buttons in RecentChanges a bit so they > + don't overlap as much (for mozilla) */ > + DIV.wikitext > + .wikiaction { font-size: smaller; > + padding-top: 0pt; > + padding-left: 2pt; > + padding-bottom: 0pt; > + padding-right: 2pt; } > + > /* > * No border on external link icons. > */ > ! img.linkicon, > ! img.rssicon { border: 0px; } > ! img.rssicon { vertical-align: top; } > /* This screws up NS4, moved to phpwiki-heavy.css > ! img.linkicon { vertical-align: middle; } > */ > > ! > /* > * Put a border around wikiaction forms: > *************** > *** 199,206 **** > > a.cal-hide, a.cal-arrow { text-decoration: none; } > ! .cal-arrow { font-weight: bold; } > ! .cal-header { font-size: larger; } > ! .cal-dayname { font-size: smaller; text-decoration: underline; } > ! table.cal { border: thin solid black; } > > > --- 219,226 ---- > > a.cal-hide, a.cal-arrow { text-decoration: none; } > ! .cal-arrow { font-weight: bold; } > ! .cal-header { font-size: larger; } > ! .cal-dayname { font-size: smaller; text-decoration: underline; } > ! table.cal { border: thin solid black; } > > > *************** > *** 214,233 **** > > div.transclusion { > ! background: #cfc; > ! border: thin; > ! border-style: solid; > ! padding-left: 0.8em; > padding-right: 0.8em; > ! padding-top: 0px; > ! padding-bottom: 0px; > ! margin: 0.5ex 0px; > } > > /* The transclusion of the TextEditingRules Synopsis on templates/editpage.html */ > div.wiki-edithelp .transclusion { > ! font-size: smaller; > ! background: inherit; > padding: 0.5ex 0.5em; > ! margin: 0.2ex 5%; > } > div.wiki-edithelp .transclusion p { > --- 234,253 ---- > > div.transclusion { > ! background: #cfc; > ! border: thin; > ! border-style: solid; > ! padding-left: 0.8em; > padding-right: 0.8em; > ! padding-top: 0px; > ! padding-bottom: 0px; > ! margin: 0.5ex 0px; > } > > /* The transclusion of the TextEditingRules Synopsis on templates/editpage.html */ > div.wiki-edithelp .transclusion { > ! font-size: smaller; > ! background: inherit; > padding: 0.5ex 0.5em; > ! margin: 0.2ex 5%; > } > div.wiki-edithelp .transclusion p { > *************** > *** 236,240 **** > div.wiki-edithelp { > background: #fff8dc; /* darker ivory */ > ! font-size: smaller; > padding: 0.05ex 2pt; > } > --- 256,260 ---- > div.wiki-edithelp { > background: #fff8dc; /* darker ivory */ > ! font-size: smaller; > padding: 0.05ex 2pt; > } -- Reini Urban http://atelier.akbild.ac.at/ (soon) http://xarch.tu-graz.ac.at/home/rurban/ (big) http://tv.mur.at/ (kulturelles) |