aboutsummaryrefslogtreecommitdiffstats
path: root/css/index.php
diff options
context:
space:
mode:
authorManuel Hiebel <leuhmanu@mageia.org>2017-07-05 08:14:41 +0200
committerManuel Hiebel <leuhmanu@mageia.org>2017-07-05 08:14:41 +0200
commit69e6a3dde63c2deeea005e42fca4308b562a6de4 (patch)
tree17524ac75fb7350c80f5f44860da32e0e85778db /css/index.php
parent8efd88cba6a9544af859ef5833c1e2e4ed227a60 (diff)
downloadnav-69e6a3dde63c2deeea005e42fca4308b562a6de4.tar
nav-69e6a3dde63c2deeea005e42fca4308b562a6de4.tar.gz
nav-69e6a3dde63c2deeea005e42fca4308b562a6de4.tar.bz2
nav-69e6a3dde63c2deeea005e42fca4308b562a6de4.tar.xz
nav-69e6a3dde63c2deeea005e42fca4308b562a6de4.zip
Import css for bootstrap, use by nav.mageia.org
This version is build via scss to workaround webapp conf (forum, wiki, etc)
Diffstat (limited to 'css/index.php')
-rw-r--r--css/index.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/css/index.php b/css/index.php
index a7aafd6..e5d695b 100644
--- a/css/index.php
+++ b/css/index.php
@@ -28,7 +28,8 @@ $style = isset($_GET['s']) ? trim($_GET['s']) : null;
echo "/*if lang_from missing, add some space*/ #nav li:last-child { padding-right:143px }";
}
else {
- echo str_replace('nav.mageia.org', $_SERVER['HTTP_HOST'], file_get_contents('source.css'));
- }
+ echo str_replace('nav.mageia.org', $_SERVER['HTTP_HOST'], file_get_contents('bootstrap_nav.css'));
+ echo str_replace('nav.mageia.org', $_SERVER['HTTP_HOST'], file_get_contents('bootstrap_nav_theme.css'));
+ }