Files
legacy_rock/main.css

318 lines
5.2 KiB
CSS

/* General styles */
body {
margin: 8px 0px;
padding: 0;
border:0; /* This removes the border around the viewport in old versions of IE */
width:100%;
background:#000000;
/* The min-width property does not work in old versions of Internet Explorer */
/* font-size:90%;*/
text-align: center;
color: #CACACA;
font-family: verdana, arial, helvetica;
font-size: 10pt;
}
#fixed {
margin:0 auto;
text-align: left;
width: 800px;
}
ul.menu {
padding: 0;
margin: 0;
background-image: url(http://rock.ru/IMG/hand.gif);
width: 150px;
}
.menu li a:hover {
background: none;
color: #cfcece;
}
.menu li a {
padding-left: 4px;
padding-top: 3px;
COLOR: #CFCECE;
FONT-FAMILY: verdana, arial, helvetica;
FONT-SIZE: 11px;
TEXT-DECORATION: none;
/*width: 100%;*/
height: 100%;
display: block;
}
.menu li:hover {
background-image: url(http://rock.ru/IMG/22s.gif);
}
.menu li.menuheader:hover {
background-image: none;
}
.topmenulink {
COLOR: #000000; FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 9pt; TEXT-DECORATION: none
}
.menu li {
padding-left: 4px;
list-style-type: none;
/* list-style-position: inside;*/
border: black 1px solid;
/*border-right: black 1px solid; */
/* COLOR: #000000; */
HEIGHT: 20px;
/* cursor: pointer;*/
/* font-size: 7pt;*/
}
.menuheader * {
font-size: 7pt;
COLOR: #ffcc66;
FONT-FAMILY: verdana, arial, helvetica;
}
.menuheader:hover {
background-image: none;
BACKGROUND: #2f3847;
}
.menuheader {
background-image: none;
/*margin-left: -8px;*/
BACKGROUND: #2f3847;
}
h1, h2, h3 {
margin:.8em 0 .2em 0;
padding:0;
}
p {
margin:.4em 0 .8em 0;
padding:0;
}
/*
img {
margin:10px 0 5px;
}
*/
/* Header styles */
#header {
clear:both;
float:left;
width:100%;
}
#logo {
background-image: url(http://rock.ru/IMG/_logotop.gif);
width: 800px;
height: 88px;
display: block;
}
/*
#header p,
#header h1,
#header h2 {
padding:.4em 15px 0 15px;
margin:0;
}
*/
#header ul {
clear:left;
float:left;
width:100%;
list-style:none;
margin:0 0 0 0;
padding:0;
background-image: url(http://rock.ru/IMG/_logoright.gif);
background-position: center right;
}
#header ul li {
display:inline;
list-style:none;
margin:0;
padding:0;
}
#header ul li a {
display:block;
float:left;
margin:0;
/*background:#eee;
color:#000;*/
text-decoration:none;
position:relative;
text-indent: -9999px;
}
#menu1 {
width: 92px;
height: 28px;
background-image: url(http://img.rock.ru/main/main.png);
}
#menu1:hover {
background-image: url(http://img.rock.ru/main/main-l.png);
}
#menu2 {
width: 93px;
height: 28px;
background-image: url(http://img.rock.ru/main/news.png);
}
#menu2:hover {
background-image: url(http://img.rock.ru/main/news-l.png);
}
#menu3 {
width: 99px;
height: 28px;
background-image: url(http://img.rock.ru/main/reviews.png);
}
#menu3:hover {
background-image: url(http://img.rock.ru/main/reviews-l.png);
}
#menu4 {
width: 156px;
height: 28px;
background-image: url(http://img.rock.ru/main/wiki.png);
}
#menu4:hover {
background-image: url(http://img.rock.ru/main/wiki-l.png);
}
#menu5 {
width: 78px;
height: 28px;
background-image: url(http://img.rock.ru/main/forum.png);
}
#menu5:hover {
background-image: url(http://img.rock.ru/main/forum-l.png);
}
#menu6 {
width: 46px;
height: 28px;
background-image: url(http://img.rock.ru/main/chat.png);
}
#menu6:hover {
background-image: url(http://img.rock.ru/main/chat-l.png);
}
/* Footer styles */
#footer {
clear:both;
float:left;
width:100%;
border-top:1px solid #000;
text-align: center;
}
#footer p {
padding:10px;
margin:0;
}
.news_preview a:link, .news_preview a:visited {
color: #b1b1b4;
font-weight: bold;
}
.news_preview a:link:hover, .news_preview a:visited:hover {
color: #E0E0E2;
background-color: transparent;
}
a:link, a:visited {
color: #ffc246;
}
a:link:hover, a:visited:hover {
color: black;
background-color: #E0E0E2;
}
h1 {
/*margin-top: 0px;*/
font-size: 14pt;
color: #ffc246;
}
h3 {
font-weight: normal;
font-size: 10pt;
color: yellow;
}
div.spacer {
clear: both;
width: 800px;
height: 18px;
background-color: #202020;
}
.news_headline {
/*display: block;*/
color: #ffc246;
font-size: 12pt;
text-decoration: none;
margin: 5px;
}
img {
border: 0px;
}
#col2 {
float: left;
width: 300px;
margin-left: 150px;
background-color: #404040;
border-top: 1px solid black;
}
* html #col2 {
display: inline;
}
#col3 {
float: left;
width: 350px;
background-color: #404040;
border-top: 1px solid black;
}
#col1 {
width: 150px;
float: left;
margin-left: -800px;
background-image: url(http://rock.ru/IMG/bgleftmenu.gif);
}
.news_preview {
color:#CACACA;
font-family:verdana,arial,helvetica;
font-size:9pt;
margin-left:10px;
text-decoration:none;
}
.news_header {
font-weight: bold;
}
#ads {
font-size: xx-small;
}
#wrapper-body:after
{
content: '.';
display: block;
height: 0;
clear: both;
visibility: hidden;
}
#wrapper-body
{
display: inline-block;
}
/*\*/
#wrapper-body
{
display: block;
overflow: hidden;
}
/* end easy clearing */
#col1, #col2, #col3 {
padding-bottom: 32767px !important;
margin-bottom: -32767px !important;
}