Не могу найти нужную строку и изменить цвет блоков в style.css

  • Автор темы rubilave
  • Дата начала
rubilave
Участник
Сообщения
29
Реакции
0
Всем привет. Помогите пожалуйста изменить цвет блоков. Я уже перепробовал кучу вариантов в файле style.css но так и не нашел строку которая отвечает за цвет блоков... Нужно изменить цвета в блоках 1 и 2 что на скриншоте



Вот сам style.css подскажите пожалуйста где именно это меняется

body{
margin:0;
padding:0;
font:12px Tahoma, Arial, sans-serif;
background-image: url(../images/newy27.jpg) ;
word-wrap: break-word;
background-position: 50% 0;
background-attachment: fixed;
font-weight: normal;
width:1000px;
margin:0 auto;
}



a {
color: #ffffff;
text-decoration: none;
}

a:hover {
text-decoration: underline; }

a img {
border: 0 none; }

div#wrapper{
width:1000px;
margin:0 auto;
background-image: url(../images/bg.jpg) ;
outline:1px solid #cc0000;
}

ul{
margin:0;
padding:0;
list-style:none;
}

div.clear{
clear:both;
}


div#navblock{
height:50px;
width:auto;
}

div#contentindex{
margin:10px;
margin-bottom:50px;
}

div#contentindex a{
color: #000;
}

div#sidebar{
height:auto;
width:250px;
float:left;
margin:5px;
}


div#index{
height:auto;
width:730px;
float:right;
margin:5px;
background:#fff;
-moz-border-radius: 6px 6px;
-webkit-border-radius: 6px 6px;
-khtml-border-radius: 6px 6px;
border-radius: 6px 6px;
}



div#logo{
height:40px;
width:210px;
float:left;
margin:4px;
margin-left:10px;
background: url(../images/logo.png) no-repeat;
}



/*Шапка сайта*/

div#header{
height:50px;
background:321D1D;
position:relative;
-moz-border-radius: 0 0 10px 10px;
-webkit-border-radius: 0 0 10px 10px;
-khtml-border-radius: 0 0 10px 10px;
border-radius: 0 0 10px 10px;
}



/*---logotype---*/
#header h1 a {
display: block;
width: 300px;
padding-top: 89px;
background: url("../images/logo.png"); }

ul.mainMenu{
outline:0px solid #330066;
position:absolute;
right:250px;
top:15px;
}

ul.mainMenu li{
font-size:13px;
float:left;
text-align:center;
padding:2px 10px;
border-right:1px solid #181818;
border-left:1px solid #333
}

ul.mainMenu li span{
display:block;
font-size:10px;
}


ul.login{
position:absolute;
right:10px;
top:15px;
}

ul.login li{
font-size:13px;
float:left;
text-align:center;
padding:2px 10px;
border-right:1px solid #181818;
border-left:1px solid #333
}

/*Шапка сайта*/

div#sideblock{
height:auto;
width:250px;
margin-bottom:15px;
background:#fff;
-moz-border-radius: 6px 6px;
-webkit-border-radius: 6px 6px;
-khtml-border-radius: 6px 6px;
border-radius: 6px 6px;
border: 1px solid #330066;
}

div#sidetitle{
height:20px;
width:auto;
background:#330066;
text-align:left;
font-size:15px;
padding:10px 10px;
-moz-border-radius: 5px 5px 0 0;
-webkit-border-radius: 5px 5px 0 0;
-khtml-border-radius: 5px 5px 0 0;
border-radius: 5px 5px 0 0;
}

div#sidetitle a{
color: #fff;
font-weight:bold;
text-decoration:none;
}

div#sidecontent{
margin:5px;
height:auto;
width:auto;
}

div#sidecontent a{
color: #000;
text-decoration:none;
}

div#footer{
height:80px;
width:auto;
margin-top:10px;
}

div#bgfooter{
height:10px;
background:#330066;
}

div#bottommenu{
height:20px;
}


div#footerblock{
height:30px;
}


#footermenu{
position:relative;
font: 12px Arial, sans-serif;
}


#footermenu ul{
padding:0 0 0 5px;
margin:0;
list-style:none;
}
#footermenu li{
float:left;
margin:3px;
}
#footermenu li a{
text-decoration:none;
color:#000;
display:block;
padding:5px 5px;
}

#footermenu li a:hover {
text-decoration: underline; }

#counts{
float:right;
height:10px;
padding:5px 20px;
margin:5px;
}

#copyright{
float:left;
height:auto;
margin:5px;
margin-left:10px;
}

#script{
float:right;
height:auto;
margin:5px;
text-align:right;
}
#script a{
color: #000;
}
#usermenu{
float:left;
width:200px;
height:auto;
margin:5px;
}

#menupay{
width:auto;
height:auto;
margin-left:29px;
}

input {
font-family: "Helvetica Neue", Helvetica, sans-serif;
font-size: 12px;
outline: none;
}

input[type=text],
input[type=password] {
color: #777;
padding-left: 10px;
margin: 7px;
width: 190px;
height: 30px;
border: 1px solid #bdbdbd;
border-radius: 1px;
box-shadow: inset 0 1.5px 3px rgba(190, 190, 190, .4), 0 0 0 2px #fff;
-webkit-transition: all .4s ease;
-moz-transition: all .4s ease;
transition: all .4s ease;
}

input[type=text]:hover,
input[type=password]:hover {
border: 1px solid #bdbdbd;
box-shadow: inset 0 1.5px 3px rgba(190, 190, 190, .7), 0 0 0 2px #f5f7f8;
}

input[type=text]:focus,
input[type=password]:focus {
border: 1px solid #bdbdbd;
box-shadow: inset 0 1.5px 3px rgba(190, 190, 190, .7), 0 0 0 2px #dfdfdf;
}


input[type=checkbox] {
margin-left: 20px;
margin-top: 30px;
}

#loginblock{
width:auto;
height:48px;
}

#loginblockiconuser{
width:20px;
height:20px;
float:left;
margin-top:13px;
background: url(../img/iconuser.png) no-repeat;
}

#loginblockiconpas{
width:20px;
height:20px;
float:left;
margin-top:13px;
background: url(../img/pas.png) no-repeat;
}

#loginblockform{
width:auto;
height:45px;
float:right;
}


/* == [buttons] ============================================================ */
button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
overflow:visible;
}
button,
input[type="submit"],
input[type="button"],
input[type="reset"],
a[role="button"] {
position:relative;
display: inline-block;
line-height:1.5em;
text-decoration:none;
vertical-align:baseline;
padding:.5em 1em;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size:.9em;
outline:none;
cursor: pointer;
border-width:1px;
border-style:solid;
}
button,
input[type="submit"],
input[type="button"],
input[type="reset"],
a[role="button"] {
background-color: #fafafa;
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), color-stop(25%, #ffffff), to(#e6e6e6));
background-image: -webkit-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
background-image: -moz-linear-gradient(top, #ffffff, #ffffff 25%, #e6e6e6);
background-image: -ms-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
background-image: -o-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
background-image: linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
background-repeat: no-repeat;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
color:#666;
text-shadow: 0px 1px 1px #ffffff;
filter: dropshadow(color=#ffffff, offx=0, offy=1);
border-radius: 3px;
border-color:#ddd;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
a[role="button"]:hover {
color:#333;
box-shadow: 0 1px 3px #DDD inset;
}
button:active,
input[type="submit"]:active,
input[type="button"]:active,
input[type="reset"]:active,
a[role="button"]:active {
top:1px;
}

button,input,select,textarea {font-size: 100%;margin: 0;vertical-align: baseline;*vertical-align: middle;}
button,input {line-height: normal;}
button,input[type="button"],input[type="reset"],input[type="submit"] {cursor: pointer;-webkit-appearance: button;*overflow: visible;}
button[disabled],input[disabled] {cursor: default;}
input[type="checkbox"],input[type="radio"] {box-sizing: border-box;padding: 0;*height: 13px;*width: 13px;}
input[type="search"] {-webkit-appearance: textfield;-moz-box-sizing: content-box;-webkit-box-sizing: content-box;box-sizing: content-box;}
input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button {-webkit-appearance: none;}
button::-moz-focus-inner,input::-moz-focus-inner {border: 0;padding: 0;}

#login-form .button {
float:right;
font-size:.95em;
}


#statbutred{
width:auto;
height:auto;
padding:3px 5px;
background:#ff0000;
-moz-border-radius: 5px 5px;
-webkit-border-radius: 5px 5px;
-khtml-border-radius: 5px 5px;
border-radius: 5px 5px;
float:left;
margin-left:5px;
color:#fff;
}

#statbutred a{
color:#fff;
text-decoration: none;
font-weight:bold;
}



#block1{
width:700px;
height:auto;
border:1px solid #ccc;
-moz-border-radius: 5px 5px;
-webkit-border-radius: 5px 5px;
-khtml-border-radius: 5px 5px;
border-radius: 5px 5px;
padding-bottom:10px;
}

#contblock1{
margin:10px;
height:auto;
width:auto;
}


#pasblock{
width:auto;
height:48px;
margin:5px;
}


#pasblocktitle{
width:150px;
height:20px;
float:left;
margin-top:13px;
}

#pasblockform{
width:auto;
height:45px;
float:left;
}

#regblock{
width:auto;
height:48px;
margin:5px;
}


#regblocktitle{
width:130px;
height:20px;
float:left;
margin-top:13px;
}

#regblockform{
width:auto;
height:45px;
float:left;
margin-left:8px;
}

#regblocktitle1{
width:130px;
height:20px;
float:left;
margin-top:13px;
}

#regblockform1{
width:auto;
height:45px;
float:left;
}

#regblockselect{
width:auto;
height:45px;
float:left;
margin-left:50px;
margin-top:3px;
}

#iagry{
width:auto;
height:auto;
margin:5px;
float:left
}


#qiwi{
width:200px;
height:40px;
float:right;
background: url("../img/qiwi.png");
margin:5px;
}
 
himik
Участник
Сообщения
230
Реакции
32
1.
div#sideblock{
height:auto;
width:250px;
margin-bottom:15px;
background:#fff;
-moz-border-radius: 6px 6px;
-webkit-border-radius: 6px 6px;
-khtml-border-radius: 6px 6px;
border-radius: 6px 6px;
border: 1px solid #330066;
}

2.
div#index{
height:auto;
width:730px;
float:right;
margin:5px;
background:#fff;
-moz-border-radius: 6px 6px;
-webkit-border-radius: 6px 6px;
-khtml-border-radius: 6px 6px;
border-radius: 6px 6px;
}
 
rubilave
Участник
Сообщения
29
Реакции
0
himik написал(а):
1.
div#sideblock{
height:auto;
width:250px;
margin-bottom:15px;
background:#fff;
-moz-border-radius: 6px 6px;
-webkit-border-radius: 6px 6px;
-khtml-border-radius: 6px 6px;
border-radius: 6px 6px;
border: 1px solid #330066;
}

2.
div#index{
height:auto;
width:730px;
float:right;
margin:5px;
background:#fff;
-moz-border-radius: 6px 6px;
-webkit-border-radius: 6px 6px;
-khtml-border-radius: 6px 6px;
border-radius: 6px 6px;
}
Спасибо огромное! Теперь все в порядке )
 
rubilave
Участник
Сообщения
29
Реакции
0
И еще один вопрос - как убрать эти полосы в шапке между разделами? Какая строка за них отвечает?
 
rich-99000000
php developer
Участник
Сообщения
227
Реакции
48
В коде, не в стилях. Скорее всего что-то вроде <div class="hl"></div>
 
rubilave
Участник
Сообщения
29
Реакции
0
rich-99000000 написал(а):
В коде, не в стилях. Скорее всего что-то вроде <div class="hl"></div>
Глянь пожалуйста, <div class="wrapper"> попробовал убрал не изменилось ничего.

<head>
<title>Freshmonitor | HYIP мониторинг | Инвестиции</title>
<style type="text/css">.highslide img {cursor: url(/engine/classes/highslide/graphics/zoomin.cur), pointer !important;}.highslide-viewport-size {position: fixed; width: 100%; height: 100%; left: 0; top: 0}</style>
<link href="http://fonts.googleapis.com/css?family=Cuprum&subset=latin,cyrillic" rel="stylesheet" type="text/css" />
<link media="screen" href="/style/style.css" type="text/css" rel="stylesheet" />
<link media="screen" href="/style/engine.css" type="text/css" rel="stylesheet" />
<link rel="stylesheet" href="/style/style2.css" type="text/css" media="screen, projection">
<script type="text/javascript" src="/js/loading.js"></script>
</head>
<body>
<div class="wrapper">
<div id="header">
<center><a href="index"><div id="logo"></div></a></center>
<ul class="mainMenu">
<li style="border-left:none;"><a href="/index"><font color = 'yellow'>ГЛАВНАЯ</font></a></li>
 
himik
Участник
Сообщения
230
Реакции
32
В style.css строка 120
ul.mainMenu li {
float: left;
font-size: 13px;
padding: 2px 10px;
text-align: center;
}

замени на это ну или сотри там пару строчек)
 
rubilave
Участник
Сообщения
29
Реакции
0
himik написал(а):
В style.css строка 120
ul.mainMenu li {
float: left;
font-size: 13px;
padding: 2px 10px;
text-align: center;
}

замени на это ну или сотри там пару строчек)
Во, спасибо огромное )
 
rubilave
Участник
Сообщения
29
Реакции
0
Еще 1 вопрос: Какая строка отвечает за рамку в блоке? Нужно убрать её. Заранее очень благодарен! )
 
himik
Участник
Сообщения
230
Реакции
32
  • #10
style.css строка примерно 445 отредактировать

#block1 {
height: auto;
padding-bottom: 10px;
width: 700px;
}
 
rubilave
Участник
Сообщения
29
Реакции
0
  • #11
Огромное спасибо
 
Сверху