summaryrefslogtreecommitdiffstats
path: root/skins/cavendish/style.php
diff options
context:
space:
mode:
authorNicolas Lécureuil <neoclust@mageia.org>2017-04-19 00:31:39 +0200
committerNicolas Lécureuil <neoclust@mageia.org>2017-04-19 00:31:39 +0200
commit77ba80f434366c75ae0b73d561b843ff367ebd84 (patch)
tree471fe12e439809a412b90cf8adc1b4b0d89a9568 /skins/cavendish/style.php
parent3c17e63c47e55f5070e3c7049d300f3e6164f190 (diff)
downloadmediawiki-77ba80f434366c75ae0b73d561b843ff367ebd84.tar
mediawiki-77ba80f434366c75ae0b73d561b843ff367ebd84.tar.gz
mediawiki-77ba80f434366c75ae0b73d561b843ff367ebd84.tar.bz2
mediawiki-77ba80f434366c75ae0b73d561b843ff367ebd84.tar.xz
mediawiki-77ba80f434366c75ae0b73d561b843ff367ebd84.zip
Fix layout
Diffstat (limited to 'skins/cavendish/style.php')
-rw-r--r--skins/cavendish/style.php37
1 files changed, 37 insertions, 0 deletions
diff --git a/skins/cavendish/style.php b/skins/cavendish/style.php
new file mode 100644
index 0000000..a68550e
--- /dev/null
+++ b/skins/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