Page MenuHomeWolfplex

css.php
No OneTemporary

<?php
/**
* Wolfplex API - Design API - Header provider - CSS
*/
///
/// Gets the accent to use
///
require('../kibaone/accents/KibaOneAccents.php');
$accent = 'bluegray';
if (isset($_REQUEST['accent'])) {
$accent = $_REQUEST['accent'];
}
if (isset($argc) && $argc > 1 && $argv[1] !== '') {
$accent = $argv[1];
}
try {
$accentColor = KibaOneAccents::getAccentColor($accent);
} catch (InvalidArgumentException $ex) {
die("Unknown accent: $accent");
}
///
/// CSS output
///
?>:root {
var-accent-color: <?= $accentColor ?>;
var-logo-color: #4b4b50;
}
/* -------------------------------------------------------------
Header
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
#wolfplex-header {
height: 105px;
width: 100%;
background-color: black;
color: var(logo-color);
border-top: 4px solid var(accent-color);
background-position: right;
background-image: url(//assets.wolfplex.be/kibaone/img/TunnelMetroFantome-169x105.jpg);
background-repeat: no-repeat;
}
#wolfplex-logo {
margin-left: 81px;
margin-top: 13px;
}

File Metadata

Mime Type
text/x-php
Expires
Wed, Jun 4, 1:59 PM (2 w, 22 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
46673
Default Alt Text
css.php (1 KB)

Event Timeline