summaryrefslogtreecommitdiff
path: root/lib/exe/css.php
diff options
context:
space:
mode:
authorlupo49 <post@lupo49.de>2011-09-11 19:02:50 +0200
committerlupo49 <post@lupo49.de>2011-09-11 19:02:50 +0200
commitded84e755a312cf3c82cd910d35b371b64bec5be (patch)
tree2d3bd07085d8ba68c9d487cc90dae8132bdd5824 /lib/exe/css.php
parente2b5ad84f88d0bd1fe510fa74673cc7557c6e630 (diff)
parent8bfdbb5efd72c2e708d005a977444400c7affcfa (diff)
downloadrpg-ded84e755a312cf3c82cd910d35b371b64bec5be.tar.gz
rpg-ded84e755a312cf3c82cd910d35b371b64bec5be.tar.bz2
Merge branch 'master' of github.com:lupo49/dokuwiki
Diffstat (limited to 'lib/exe/css.php')
-rw-r--r--lib/exe/css.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/exe/css.php b/lib/exe/css.php
index 8f86f2433..81f47d8fa 100644
--- a/lib/exe/css.php
+++ b/lib/exe/css.php
@@ -189,7 +189,7 @@ function css_interwiki(){
function css_filetypes(){
// default style
- echo 'a.mediafile {';
+ echo '.mediafile {';
echo ' background: transparent url('.DOKU_BASE.'lib/images/fileicons/file.png) 0px 1px no-repeat;';
echo ' padding-left: 18px;';
echo ' padding-bottom: 1px;';
@@ -212,7 +212,7 @@ function css_filetypes(){
}
foreach($exts as $ext=>$type){
$class = preg_replace('/[^_\-a-z0-9]+/','_',$ext);
- echo "a.mf_$class {";
+ echo ".mf_$class {";
echo ' background-image: url('.DOKU_BASE.'lib/images/fileicons/'.$ext.$type.')';
echo '}';
}