Hatchlets - Home Demo
by surfine
HTML
<header class="mainHeader bgRed pf">
<div class="mainHeaderWrap centerX pa">
<div class="smallarrow ib"></div>
<div class="ib" style="margin-left: 50px; font-size: 24px;">Hatchlets</div>
</div>
</header>
<div class="falseSidebar ib pr" style="width: 235px; height:100%; visibility: hidden;"></div>
<div class="sidebar ib pf">
<ul class="nav-tabs-y pr" style="margin-top: 100px;">
<li>
<img src="" />
<span>Home</span>
</li>
<li>
<img src="" />
<span>Battles</span>
</li>
<li>
<img src="" />
<span>Clan</span>
</li>
<li class="active">
<img src="" />
<span>About</span>
</li>
</ul>
</div>
<div class="container-main pr ib">
<table style="width: 100%;">
<tr>
<td>
<div class="panel">
<h3>What are Hatchlets?</h3>
<div class="panel-wrap">Hatchlets are monsters with special abilities that hatch from magical eggs. Legend says these mysterious eggs originated centuries ago from the shattered peices of two magical crystals - the holy crystal and the dark crystal.
<br />
<br />For years, hatchlets have lived alongside humans, as pets, house keepers, friends and as weapons.
<br />
<br />People from all over the world are taught to train hatchlets and become the ultimate hatchlet trainer. <a href="">Click here for comic intro.</a>
<br />
<br /> <a href="">I already know the story. Take me to home page.</a>
</div>
</div>
</td>
</tr>
<tr>
<td align="right">
<div class="panel">
<h3>What's this game about?</h3>
<div class="panel-wrap">This...
CSS
html, body {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
line-height: 1.5em;
}
body {
background: #eee;
font-family:"Lato", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
}
a, a:visited {
text-decoration: none;
color: #4585f4;
}
.pr {
position: relative;
}
.pa {
position: absolute;
}
.pf {
position: fixed;
}
.ib {
display: inline-block;
}
.centerX {
top: 50%;
transform: translate(0, -50%);
}
.txtRed {
color: #bd4a4d;
}
.bgRed {
color: #fff;
background: #bd4a4d;
}
.mainHeader {
height: 70px;
width: 100%;
top: 0;
left: 0;
z-index: 5;
}
.mainHeaderWrap {
padding: 10px 10px 10px 30px;
color: #fff;
font-size: 18px;
}
.smallarrow {
width: 15px;
height: 15px;
border-top: 5px solid #f9f9f9;
border-right: 5px solid #f9f9f9;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
transform: rotate(135deg);
}
.sidebar {
top: 0;
left: 0;
width: 225px;
height: 100%;
padding-right: 10px;
background: #fff;
box-shadow: 2px 0px 5px 0px rgba(0, 0, 0, 0.2);
z-index: 4;
}
.nav-tabs-y {
padding: 0;
}
.nav-tabs-y > li {
height: 30px;
padding: 10px 5px 10px 25px;
margin: 0;
color: #999;
font-size: 14px;
line-height: 50px;
font-weight: bold;
border-right: 3px solid #eee;
display: block;
}
.nav-tabs-y > li:hover {
color: #bd4a4d;
border-right: 3px solid #bd4a4d;
cursor: pointer;
}
.nav-tabs-y > li.active {
color: #bd4a4d;
border-right: 3px solid #bd4a4d;
}
.nav-tabs-y > li > img {
position: absolute;
height: 30px;
width: 30px;
display: inline-block;
}
.nav-tabs-y > li > span {
margin: -20px 0 0 45px;
vertical-align: middle;
display: inline-block;
}
.container-main {
top: 85px;
left: 10px;
width: 50%;
}
.panel {
width: 60%;
min-width: 410px;
min-height:...