summaryrefslogtreecommitdiffstats
path: root/skins/Cavendish/resources/style.php
diff options
context:
space:
mode:
Diffstat (limited to 'skins/Cavendish/resources/style.php')
-rw-r--r--skins/Cavendish/resources/style.php36
1 files changed, 36 insertions, 0 deletions
diff --git a/skins/Cavendish/resources/style.php b/skins/Cavendish/resources/style.php
new file mode 100644
index 0000000..18c4480
--- /dev/null
+++ b/skins/Cavendish/resources/style.php
@@ -0,0 +1,36 @@
+<?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
+}
+?>