more github-like CSS theme

This commit is contained in:
mappu 2015-11-07 18:33:58 +13:00
parent ea7092ebef
commit 6488bed03c
2 changed files with 8 additions and 6 deletions

View File

@ -313,7 +313,7 @@ class CProject {
<div class="projbody projbody_<?=(count($this->images) ? 'half' : 'full')?>w"> <div class="projbody projbody_<?=(count($this->images) ? 'half' : 'full')?>w">
<?php if (strlen($this->prefix_html)) { ?> <?php if (strlen($this->prefix_html)) { ?>
<p><?=$this->prefix_html?></p> <p style="margin-top:0;"><?=$this->prefix_html?></p>
<?php } ?> <?php } ?>
<strong><?=hesc(strtoupper(ARTICLE_HEADER))?></strong> <strong><?=hesc(strtoupper(ARTICLE_HEADER))?></strong>

View File

@ -7,14 +7,15 @@ img {
border:0; border:0;
} }
a { a {
color:black; color:#4078c0;
text-decoration:underline; text-decoration:none;
} }
a:hover { a:hover {
color:blue;
cursor:pointer; cursor:pointer;
text-decoration:underline;
} }
h1 a { h1 a {
color:black;
text-decoration:none; text-decoration:none;
} }
h1 a:hover { h1 a:hover {
@ -41,14 +42,15 @@ html, body {
/* cosmetic */ /* cosmetic */
font-family:"Helvetica Neue","Segoe UI",Arial,sans-serif; font-family:"Helvetica Neue","Segoe UI",Arial,sans-serif;
font-size:12px; font-size:13px;
line-height:1.4;
background:#DDD url('pixel_weave.png'); /* thanks subtlepatterns.com ! */ background:#DDD url('pixel_weave.png'); /* thanks subtlepatterns.com ! */
color:#333; color:#333;
} }
#container { #container {
margin:0 auto; margin:0 auto;
width:768px; width:960px;
position:relative; position:relative;
height:auto !important; height:auto !important;