--- a/css/local.css.php +++ b/css/local.css.php @@ -1,13 +1,15 @@ <?php - header('Content-type: text/css'); - ob_start("compress"); - function compress($buffer) { + +header('Content-type: text/css'); +ob_start("compress"); + +function compress($buffer) { /* remove comments */ $buffer = preg_replace('!/\*[^*]*\*+([^/][^*]*\*+)*/!', '', $buffer); /* remove tabs, spaces, newlines, etc. */ $buffer = str_replace(array("\r\n", "\r", "\n", "\t", ' ', ' ', ' '), '', $buffer); return $buffer; - } +} echo ' .ui-li-thumb, .ui-li-icon { position: relative; } @@ -25,11 +27,11 @@ margin: 0 !important; } .ui-icon-navigation { - background-image: url('.$_REQUEST['labsPath'].'css/images/113-navigation.png); + background-image: url(images/113-navigation.png); background-position: 1px 0; } .ui-icon-beaker { - background-image: url('.$_REQUEST['labsPath'].'css/images/91-beaker-2.png); + background-image: url(images/91-beaker-2.png); background-position: 1px 0; } #footer { @@ -53,7 +55,7 @@ visibility: hidden; display: none; } - #servicewarning { + .servicewarning { padding: 1em; margin-bottom: 0.5em; text-size: 0.2em; @@ -86,7 +88,7 @@ }'; //if (false) - echo ' +echo ' // adaptive layout from jQuery Mobile docs site .type-interior .content-secondary { border-right: 0; @@ -113,7 +115,9 @@ padding:0; margin: 0; } + /* hires ahoy */ @media all and (min-width: 650px){ + .content-secondary { text-align: left; float: left; @@ -210,7 +214,8 @@ .type-interior .content-primary { width: 60%; } -}'; - ob_end_flush(); +} +'; +ob_end_flush(); ?>