<html>
<html>
<body>
<div class = "header">
<div class = "content">
<div class = "logo">
IGDC
</div>
<a href="#" class = "button">Правила</a>
<a href="#" class = "button">Конкурсы</a>
<a href="#" class = "button">ТОП</a>
<a href="#" class = "button">Форум</a>
<a href="#" class = "button">Игры</a>
<a href="#" class = "button">Призы</a>
<a href="#" class = "button">RSS</a>
<a href="#" class = "button">Стримы</a>
</div>
<div class = "user">
<a class = "user_mailbox">
<img src = "http://pelmenka.pe.hu/mail.png"/>
<span class = "mailcount">
1
</span>
</a>
<a class = "user_togledown">
<img src = "http://igdc.ru/images/avatars/ava%5B977%5D.png" class = "user_ava"/>
<span>pelmenka</span>
<ul id = "user_menu">
<li><a href = "#">Настройки</a></li>
<li><a href = "#">Стрим</a></li>
<li><a href = "#">Выход</a></li>
<li><hr></li>
<li>Монетки</li>
</ul>
</a>
</div>
</div>
<div class = "content">
<table>
<tr>
<td style = "height: 1000px; color: #fff; width: 33%;">
Форум и конкурсы
</td>
<td style = "height: 1000px; color: #fff; width: 33%;">
Новости
</td>
<td style = "height: 1000px; color: #fff; width: 33%;">
рандомные игры и чатик
</td>
</tr>
</table>
</div>
</body>
</html>
body
body
{
background: #000;
}
.content
{
color: #f00;
z-index: 90;
}
.header
{
z-index: 1000;
position: fixed;
background: rgba(80, 80, 80, 1);
width: 100%;
height: 42px;
vertical-align: middle;
display: table;
color: fff;
}
.header .content
{
display: table;
margin-left: auto;
margin-right: auto;
float: left;
width: 800px;
direction: ltr;
height: 42;
text-align: center;
}
.header .content .logo
{
color: rgba(223, 113, 38, 1);
font-weight: 700;
font-size: 24pt;
margin-left: 4px;
display: table-cell;
vertical-align: middle;
}
.header .content a.button
{
display: table-cell;
text-decoration: none;
border-left: 0.5px solid rgba(255, 255, 255, 0.1);
border-right: 0.5px solid rgba(255, 255, 255, 0.1);
padding: 2px 2px 4px;
color: fff;
vertical-align: middle;
}
.header .content a.button:hover
{
background: rgba(0, 0, 0, 0.1);
}
.header .user
{
position: relative;
display: table-cell;
vertical-align: middle;
height: 42px;
padding-right: 7px;
padding-left: 7px;
}
.header .user:hover
{
background: rgba(0, 0, 0, 0.1);
}
.header .user .user_togledown .user_ava
{
height: 29px;
vertical-align: middle;
}
ul, li {
margin:0;
padding:0;
list-style-type:none;
}
.user_mailbox
{
vertical-align: middle;
}
.mailcount
{
background: rgba(223, 113, 38, 1);
position: relative;
top: -9px;
left: -27px;
font-size: 11pt;
border-radius: 50%;
}
.user > #user_menu
{
display: none;
position: relative;
z-index: 1001;
background-color: #eee;
text-decoration: none;
margin-top: 2px;
width: 100%;
color: rgba(223, 113, 38, 1);
list-style-position: outside;
position: absolute;
right: 0px;
}
.user:hover > #user_menu
{
display: block;
}
#user_menu a
{
display: block;
color: #000;
text-decoration: none;
}
#user_menu a:hover
{
background: rgba(0, 0, 0, 0.1);
}