JSFiddle - React, Tailwind, and code Playground
HTML
<ul id="top-nav">
<li><a href="../"><img src="{T_THEME_PATH}/images/elrp_logo.png" alt="Logo" /></a></li>
<li><a href="../forum">Forum</a></li>
<li><a href="../forum/staff">Staff</a></li>
<li><a href="../forum/rules.php">Rules</a></li>
<li><a href="../forum/contact.php">Contact</a></li>
<li class="right"><a>Test</a></li>
</ul>
<div class="outer">
<div class="middle">
<br /><br />
<div id="sidebar">
<ul>
<li class="first">Marketplace</li>
<li>Second</li>
</ul>
</div>
<div class="container">
test
</div>
</div>
</div>
</body>
CSS
@charset "utf-8";
@font-face {
font-family: 'ubuntulight';
src: url('fonts/ubuntu-webfont.eot');
src: url('fonts/ubuntu-webfont.eot?#iefix') format('embedded-opentype'),
url('fonts/ubuntu-webfont.woff') format('woff'),
url('fonts/ubuntu-webfont.ttf') format('truetype'),
url('fonts/ubuntu-webfont.svg#ubuntulight') format('svg');
font-weight: normal;
font-style: normal;
}
html {
height: 100%;
}
body {
height: 100%;
background: #FFF url('./images/subtle_dots.png') repeat;
margin: 0;
min-width: 980px;
padding: 0;
font-size: 10px;
font-family: 'ubuntulight';
}
a, a:active, a:hover, a:visited {
color: inherit;
text-decoration: none;
}
img {
border: 0;
max-width: 100%;
}
#top-nav {
position: fixed;
z-index: 500;
top: 0;
width: 100%;
height: 35px;
margin: 0;
padding: 0;
list-style: none;
background: #303030;
background: -moz-linear-gradient(top, #303030 0%, #000000 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#303030), color-stop(100%,#000000));
background: -webkit-linear-gradient(top, #303030 0%,#000000 100%);
background: -o-linear-gradient(top, #303030 0%,#000000 100%);
background: -ms-linear-gradient(top, #303030 0%,#000000 100%);
background: linear-gradient(to bottom, #303030 0%,#000000 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#303030', endColorstr='#000000',GradientType=0 );
-webkit-box-shadow: 0px 1px 2px rgba(50, 50, 50, 0.75);
-moz-box-shadow: 0px 1px 2px rgba(50, 50, 50, 0.75);
box-shadow: 0px 1px 2px rgba(50, 50, 50, 0.75);
}
#top-nav li {
float: left;
position: relative;
display: block;
}
#top-nav .right {
float: right;
position: relative;
display: block;
}
#top-nav a:hover, #top-nav .right:hover {
background: #c64011;
-webkit-transition: background 200ms linear;
-moz-transition: background 200ms linear;
-o-transition: background 200ms linear;
-ms-transition: background 200ms...