Skip to content

Commit

Permalink
Homepage: Replaced the graphical outer border with a simpler border
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Mar 30, 2012
1 parent bd8bcb9 commit 7d4564a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
4 changes: 2 additions & 2 deletions web/classes/frontcontroller.class.php
Expand Up @@ -475,7 +475,7 @@ public function beginPage($mainHeading='', $page=null)
?>
<body>
<div id="mainouter">
<div class="t"><div class="b"><div class="l"><div class="r"><div class="bl"><div class="br"><div class="tl"><div class="tr">
<div id="main">
<div id="divider"></div>
<?php
$this->outputMainMenu($page);
Expand Down Expand Up @@ -525,7 +525,7 @@ public function endPage()
</div>
</div>
</div>
</div></div></div></div></div></div></div></div>
</div>
<div id="footer">
<?php

Expand Down
17 changes: 6 additions & 11 deletions web/style.css
Expand Up @@ -272,17 +272,6 @@ ol.jumplist li {
cursor: pointer;
}

/*------------- Graphical Outer Border ------------*/

.t {background: url(http://code.iki.fi/dengine.net/images/tc02.png) 0 0 repeat-x;}
.b {background: url(http://code.iki.fi/dengine.net/images/tc08.png) 0 100% repeat-x;}
.l {background: url(http://code.iki.fi/dengine.net/images/tc04.png) 0 0 repeat-y;}
.r {background: url(http://code.iki.fi/dengine.net/images/tc06.png) 100% 0 repeat-y;}
.bl {background: url(http://code.iki.fi/dengine.net/images/tc07.gif) 0 100% no-repeat;}
.br {background: url(http://code.iki.fi/dengine.net/images/tc09.gif) 100% 100% no-repeat;}
.tl {background: url(http://code.iki.fi/dengine.net/images/tc01.gif) 0 0 no-repeat;}
.tr {background: url(http://code.iki.fi/dengine.net/images/tc03.gif) 100% 0 no-repeat; padding:7px;}

/*---------------- Main site frame ----------------*/

#mainouter {
Expand All @@ -298,6 +287,12 @@ ol.jumplist li {
text-align: left;
}

#main {
border: 2px solid #A5B9A5;
border-radius: 10px;
box-shadow: 0 0 20px 10px rgba(0, 0, 0, .05);
}

#maininner {
width: 100%;
position: relative;
Expand Down

0 comments on commit 7d4564a

Please sign in to comment.