* {
margin: 0;
padding: 0;
}
header, nav, section, article, aside, footer, div, span {
display: block;
}
html{
background:#ececec; /*Задаем фоновое изображение*/
background-image: -moz-linear-gradient(top, #333333, #ececec); /* Firefox 3.6 */
background-image: -webkit-linear-gradient(#333333, #ececec); /* Safari & Chrome */
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#333333', endColorstr='#ececec'); /* IE6 & IE7 */
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#333333', endColorstr='#ececec')"; /* IE8 */
}
body{
font:12px verdana, geneva, sans-serif;
}
a {
outline: none;
text-decoration: none;
}
a:hover {
text-decoration: none;
}
img {
border: none;
}
ul {
list-style:none;
}
div#globl_wrap {
width: 1000px;
margin: 0 auto;
border: 5px solid #333333;
}
h2 {
text-align: center;
font-size: 16px;
font-weight: bold;
margin: 10px 0;
}
.hr {
clear: both;
width: 80%;
border-bottom: 1px solid #000000;
margin: 10px auto;
}
/* Header
-----------------------------------------------------------------------------*/
#header {
background: url(http://teamgreed.ru/images/header_repeat.jpg) repeat-x;
height: 39px;
}
#header a#logo {
margin-left: 50px;
float:left;
}
#header ul#menu {
float:right;
height:39px;
margin:0 250px 0 0;
font:12px;
}
#header ul#menu li {
float:left;
position:relative;
border-left:1px solid #333;
}
#header .on {
background:url(http://teamgreed.ru/images/header_repeat_dark.jpg) repeat-x;
}
#header ul#menu li a {
display:inline-block;
height:39px;
line-height:39px;
padding:0 20px;
color:#fff;
}
#header ul#menu li a:hover {
background:url(http://teamgreed.ru/images/header_repeat_dark.jpg) repeat-x;
}
#header ul#menu li ul {
display:none;
position:absolute;
left:0;
border-right:1px solid #333;
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=90);
-moz-opacity: 0.9;
-khtml-opacity: 0.9;
opacity: 0.9;
}
#header ul#menu li:hover ul {
display: block;
z-index: 2;
}
#header ul#menu li ul li {
float:none;
}
#header #menu li ul li a {
display:block;
background:#666;
white-space:nowrap;
}
ul#menu li ul li a:hover {
background:#333;
}
#header #forum {
border-right:1px solid #333;
}
/* Middle
-----------------------------------------------------------------------------*/
#middle {
border-right: 250px solid #666666;
height: 1%;
position: relative;
}
#middle:after {
content: '.';
display: block;
clear: both;
visibility: hidden;
height: 0;
}
div#container {
width: 100%;
float: left;
overflow: hidden;
}
div#container span {
color: #FFFFFF;
font: 14px verdana, geneva, sans-serif;
float: left;
margin-left: 40px;
}
div#container div#float_news {
width: 740px;
margin-left: 5px;
}
/* Content
----------------------------------------------------------------------------*/
div#content {
padding: 0 20px;
background: #ececec;
width: 740px;
margin: auto;
padding: 10px 0 0 10px;
}
div#content div.text_news {
overflow: hidden;
}
div#content div.text_news div.news_pic {
width: 500px;
margin: 0px auto 10px auto;
}
div#content div.text_news p {
padding: 10px;
}
div#content div.text_news a.text_link {
font-size: 10px;
float: right;
margin: 0px 75px 10px 0px;
}
/* Sidebar Right
-----------------------------------------------------------------------------*/
#sideRight {
float: right;
margin-right: -250px;
width: 250px;
position: relative;
background: #666666;
}
#teamspeak {
float:right;
width:240px;
height:410px;
background:#333333;
margin-bottom:10px;
margin-right:5px;
}
/* Footer
-----------------------------------------------------------------------------*/
#clear{
height:20px;
clear:both;
background:#333333;
}
#footer {
height: 30px;
background:#000000;
}
#footer p {
color: #ffffff;
padding: 5px 0px 5px 25px;
}