summaryrefslogtreecommitdiffstats
path: root/cavendish/style.php
diff options
context:
space:
mode:
authorNicolas Lécureuil <neoclust@mageia.org>2017-04-19 00:21:33 +0200
committerNicolas Lécureuil <neoclust@mageia.org>2017-04-19 00:21:33 +0200
commit3c17e63c47e55f5070e3c7049d300f3e6164f190 (patch)
treefb851e6a74a1c46e3d4ccc5944053813888201d3 /cavendish/style.php
parent0e8b7f021f27e524f8c0b25dca600c00fd2c2468 (diff)
downloadmediawiki-3c17e63c47e55f5070e3c7049d300f3e6164f190.tar
mediawiki-3c17e63c47e55f5070e3c7049d300f3e6164f190.tar.gz
mediawiki-3c17e63c47e55f5070e3c7049d300f3e6164f190.tar.bz2
mediawiki-3c17e63c47e55f5070e3c7049d300f3e6164f190.tar.xz
mediawiki-3c17e63c47e55f5070e3c7049d300f3e6164f190.zip
Add Cavendish theme
Diffstat (limited to 'cavendish/style.php')
-rw-r--r--cavendish/style.php37
1 files changed, 37 insertions, 0 deletions
diff --git a/cavendish/style.php b/cavendish/style.php
new file mode 100644
index 0000000..a68550e
--- /dev/null
+++ b/cavendish/style.php
@@ -0,0 +1,37 @@
+<?php header("Content-type: text/css");
+include('config.php');
+?>
+#header h6 a {
+ background-color: transparent;
+ background-image: url("<?php echo $cavendishLogoURL ?>");
+ background-repeat: no-repeat;
+ width: <?php echo $cavendishLogoWidth ?>px;
+ height: <?php echo $cavendishLogoHeight ?>px;
+ margin-top: <?php echo $cavendishLogoMargin ?>px;
+ }
+<?php
+if ($cavendishSiteWith) { ?>
+#globalWrapper {
+ width: <?php echo $cavendishSiteWith ?>px;
+ }
+<?php
+}
+if ($cavendishSidebarSearchbox) { ?>
+ #nav #p-search {
+ display:none;
+ }<?php
+}
+if ($cavendishQRCodeMode=='all'){ ?>
+#f-poweredbyico {
+ display:none;
+}
+<?php
+}
+if ($cavendishQRCodeMode=='print'){ ?>
+#qrcode {
+ display:none;
+}
+<?php
+}
+?>
+ \ No newline at end of file