owls

diff owls.css.php @ 17:081ba8764994

The wiki-like system became a content-rendering system This is a single changeset to include all the changes throughout the last years. Owls no longer supports editing pages but only renders them. Also, it no longer uses a database to store the contents but reads the contents from the filesystem. All this made owls simpler ... anyway, it just reflects my needs.
author markus schnalke <meillo@marmaro.de>
date Sat, 23 Jul 2016 21:39:17 +0200
parents Config/Owls.css.php@cebc198276eb
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/owls.css.php	Sat Jul 23 21:39:17 2016 +0200
     1.3 @@ -0,0 +1,210 @@
     1.4 +<?php
     1.5 +/*########################################################
     1.6 +######    to modify the look of owls, edit below    ######
     1.7 +########################################################*/
     1.8 +
     1.9 +
    1.10 +/*
    1.11 +    color setup
    1.12 +    use color values according to http://www.w3.org/TR/CSS21/syndata.html#color-units
    1.13 +    you can assign the set variables too
    1.14 +*/
    1.15 +
    1.16 +  $c_Text             = '#ccc';
    1.17 +  $c_Background       = '#333';
    1.18 +
    1.19 +  $c_Border           = $c_Text;
    1.20 +
    1.21 +  $c_Link             = $c_Text;
    1.22 +  $c_LinkHover        = '#6af';    // ff8040
    1.23 +  $c_LinkVisited      = '#666';
    1.24 +
    1.25 +  $c_Nav              = $c_Link;
    1.26 +  $c_NavHover         = $c_LinkHover;
    1.27 +  $c_NavSelected      = '#06f';
    1.28 +
    1.29 +  $c_Login            = '#000';
    1.30 +  $c_Admin            = '#ffff80';    //ffff80
    1.31 +
    1.32 +
    1.33 +/*
    1.34 +    width of the menu area
    1.35 +    the unit 'em' is relative to the font-size
    1.36 +    see: http://www.w3.org/TR/CSS21/syndata.html#length-units
    1.37 +*/
    1.38 +
    1.39 +  $m_NavWidth         = '10em';
    1.40 +
    1.41 +
    1.42 +/*########################################################
    1.43 +#################    stop editing here    ################
    1.44 +########################################################*/
    1.45 +
    1.46 +
    1.47 +
    1.48 +
    1.49 +
    1.50 +
    1.51 +  header('Content-Type: text/css; charset=utf8');
    1.52 +
    1.53 +  // avoid caching    TODO: think about removing, cause it's just for dev
    1.54 +  header('Expires: Thu, 05 Apr 1984 04:47:00 GMT');
    1.55 +  header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
    1.56 +  header('Cache-Control: no-store');
    1.57 +  header('Pragma: no-cache');
    1.58 +  echo('/* Anti-Caching: '.microtime()." */\r\n");
    1.59 +
    1.60 +?>
    1.61 +
    1.62 +
    1.63 +
    1.64 +body {
    1.65 +  font-family: sans-serif;
    1.66 +  margin: 30px 0;
    1.67 +  text-align: center;
    1.68 +  color: <?php echo $c_Text; ?>;
    1.69 +  background-color: <?php echo $c_Background; ?>;
    1.70 +}
    1.71 +
    1.72 +
    1.73 +#websiteContainer {
    1.74 +  width: 760px;
    1.75 +  margin: 0 auto;
    1.76 +  text-align: justify;
    1.77 +}
    1.78 +
    1.79 +#banner {
    1.80 +  display: block;
    1.81 +  margin: 0 auto;
    1.82 +  border: none;
    1.83 +}
    1.84 +
    1.85 +#content {
    1.86 +  position: relative;
    1.87 +  margin-left: <?php echo $m_NavWidth; ?>;
    1.88 +  padding: 1em;
    1.89 +}
    1.90 +
    1.91 +
    1.92 +
    1.93 +
    1.94 +
    1.95 +/*  links  */
    1.96 +a:link {
    1.97 +  color: <?php echo $c_Link; ?>;
    1.98 +}
    1.99 +a:visited {
   1.100 +  color: <?php echo $c_LinkVisited;?>;
   1.101 +}
   1.102 +a:active,
   1.103 +a:hover {
   1.104 +  color: <?php echo $c_LinkHover; ?>;
   1.105 +}
   1.106 +
   1.107 +
   1.108 +
   1.109 +
   1.110 +
   1.111 +
   1.112 +/*  nav  */
   1.113 +#nav {
   1.114 +  list-style: none;
   1.115 +  float: left;
   1.116 +  width: <?php echo $m_NavWidth; ?>;
   1.117 +  padding: 0.5em 2em 1em 0.5em;
   1.118 +  margin: 2.5em 0 1em 0;
   1.119 +  font-size: 0.8em;
   1.120 +}
   1.121 +
   1.122 +#nav ul {
   1.123 +  list-style: none;
   1.124 +  margin-left: 0;
   1.125 +  padding-left: 1em;
   1.126 +}
   1.127 +#nav li {
   1.128 +  padding: 1px;
   1.129 +  margin: 0;
   1.130 +}
   1.131 +
   1.132 +#nav a {
   1.133 +  display: block;
   1.134 +  text-decoration: none;
   1.135 +  color: <?php echo $c_Nav; ?>;
   1.136 +}
   1.137 +#nav a:link,
   1.138 +#nav a:visited {
   1.139 +  text-decoration: none;
   1.140 +}
   1.141 +#nav a:active,
   1.142 +#nav a:hover {
   1.143 +  color: <?php echo $c_NavHover; ?>;
   1.144 +  text-decoration: none;
   1.145 +}
   1.146 +
   1.147 +#selected:link,
   1.148 +#selected:visited {
   1.149 +  color: <?php echo $c_NavSelected; ?>;
   1.150 +}
   1.151 +#nav #selected:hover {
   1.152 +  color: <?php echo $c_NavHover; ?>;
   1.153 +}
   1.154 +
   1.155 +
   1.156 +
   1.157 +
   1.158 +/*  orphans and broken  */
   1.159 +li#orphans,
   1.160 +li#broken {
   1.161 +  margin-top: 3em;
   1.162 +  font-style: italic;
   1.163 +  color: <?php echo $c_Admin; ?>;
   1.164 +}
   1.165 +
   1.166 +
   1.167 +
   1.168 +
   1.169 +/*  login  */
   1.170 +#loginform input {
   1.171 +  background-color: transparent;
   1.172 +  border: <?php echo $c_Login; ?> 1px solid;
   1.173 +  font-size: 0.8em;
   1.174 +  width: 8em;
   1.175 +}
   1.176 +
   1.177 +
   1.178 +
   1.179 +
   1.180 +
   1.181 +
   1.182 +/*  admin controls  */
   1.183 +.ctrl {
   1.184 +  position: absolute;
   1.185 +  right: 0;
   1.186 +  text-align: right;
   1.187 +  font-size: 0.8em;
   1.188 +  color: <?php echo $c_Login; ?>;
   1.189 +}
   1.190 +.ctrl a,
   1.191 +.ctrl a:visited,
   1.192 +.ctrl a:hover {
   1.193 +  margin-left: 1em;
   1.194 +  color: <?php echo $c_Admin; ?>;
   1.195 +}
   1.196 +
   1.197 +
   1.198 +
   1.199 +
   1.200 +
   1.201 +
   1.202 +/*  edit form  */
   1.203 +#edit {
   1.204 +  margin-top: 1.5em;
   1.205 +}
   1.206 +#edit input,
   1.207 +#edit select,
   1.208 +#edit textarea {
   1.209 +  font-family: sans-serif;
   1.210 +  font-size: 0.8em;
   1.211 +  border: <?php echo $c_Border; ?> 1px solid;
   1.212 +}
   1.213 +