Добрый день.
Помогите разобраться со стелем шаблона.
Дело в том что при установке активной ссылки на часть текста этот текст становится белого цвета и сливается с фоном.
Что нужно исправить что бы текст при установке ссылки не становился белым.
Текст из Стиля шаблона:
html, body{margin: 0;padding: 0;
background: top center no-repeat;}
body{height:auto !important; height:100%;width: 100%; font-size: 13px; font-family: Arial, sans-serif;
margin: 0;padding: 0;color: #363636;overflow-y: scroll; min-width: 1141px;
}
/*fonts*/
@font-face {
font-family: 'CalibriRegular';
src: url('font/CALIBRI.eot');
src: local('Calibri'), local('Calibri'), url('font/CALIBRI.woff') format('woff'), url('font/CALIBRI.ttf') format('truetype'), url('font/CALIBRI.svg#Calibri') format('svg');
}
@font-face {
font-family: 'FranklinGothicMediumCondRg';
src: url('font/framdcn0-webfont.eot');
src: url('font/framdcn0-webfont.eot?#iefix') format('embedded-opentype'),
url('font/framdcn0-webfont.woff') format('woff'),
url('font/framdcn0-webfont.ttf') format('truetype'),
url('font/framdcn0-webfont.svg#FranklinGothicMediumCondRg') format('svg');
font-weight: normal;
font-style: normal;
}
/*Links*/
a:link {color: #8894a6;}
a:visited{color:#8894a6;}
a:active {color: #525f78;}
a:hover{color:#DD0000;}
a.registr:link {color: #999; font-size: 13px;}
a.registr:visited{color:#999;}
a.registr:active {color: #486DAA;}
a.registr:hover{color:#DD0000;}
a.white:link {color: #fff; text-decoration: none;}
a.white:visited{color:#fff;}
a.white:active {color: #fff;}
a.white:hover{color:#fff;}
a.white-blue:link {color: #fff; text-decoration: none;}
a.white-blue:visited{color:#fff;}
a.white-blue:active {color: #abe0f3;}
a.white-blue:hover{color: #abe0f3;}
a.red-black:link {color: #ee4035; text-decoration: none;}
a.red-black:visited{color:#ee4035;}
a.red-black:active {color: #333;}
a.red-black:hover{color: #333;}
a.black:link {color: #333; text-decoration: none;}
a.black:visited{color:#333;}
a.black:active {color: #ee4035;}
a.black:hover{color: #ee4035;}
a.green:link {color: #74b630; text-decoration: none;}
a.green:visited{color:#74b630;}
a.green:active {color: #3194c3;}
a.green:hover{color: #3194c3;}
a.blue:link {color: #3194c3; text-decoration: none;}
a.blue:visited{color:#3194c3;}
a.blue:active {color: #74b630;}
a.blue:hover{color: #74b630;}
/*container*/
/*container*/
.container{ margin: 0 auto; padding: 0px; width: 1165px;}
.main{width: 98%; float: left;
padding-left: 1%;
padding-right: 1%;
-moz-box-shadow: 0 5px 5px #b2b2b2;
-webkit-box-shadow: 0 5px 5px #b2b2b2;
box-shadow: 0 5px 5px #b2b2b2;
beh * avior: url("../bitrix/PIE.htc";);
/* padding-top: 63px; */
background: #fff;
}
/*header*/
.header{width: 100%; float: left; height: 200px;}
/*logo*/
.logo{float: left;}
/*header-right*/
.header-left{float: left; width: 275px; margin-top: 5px; margin-left: 15px;
width: 275px;
margin-top: 5px;
margin-left: 15px;
z-index: 100;
position: absolute;
}
.header-right{float: right; margin-right: -55px; width: 235px; height: 198px; padding-top:10px; position: relative; z-index:999;}
/*content*/
.content{width: 100%; float: left; vertical-align: top;}
.content-left{ vertical-align: top;width: 208px; padding-top: 15px;}
.content-main{ vertical-align: top;padding: 5px; padding-left: 10px; padding-right: 10px; min-width:560px; }
.content-right{vertical-align: top;width: 208px; padding-top: 15px;}
.footer{float: left; width: 100%;
background:url(img/footer.png) repeat-x;
color: #fff;
height: 50px;
-moz-box-shadow: 0 5px 5px #b2b2b2;
-webkit-box-shadow: 0 5px 5px #b2b2b2;
box-shadow: 0 5px 5px #b2b2b2;
border-radius: 5px 5px 0px 0px;
-webkit-border-radius: 5px 5px 0px 0px;
-moz-border-radius: 5px 5px 0px 0px;
-khtml-border-radius:5px 5px 0px 0px;
beh * avior: url("../bitrix/PIE.htc";);
}
.copy { padding-top: 9px; }
.copyright{
color: #fff;
text-align: center;
z-index:999;
width: 20%;
float:right;
text-decoration:underline;
margin-top:10px;
margin-right:16px;
font-size:14px;
}
.footer_fon_bit {
margin-top: -15px;
color: #fff;
font-weight: bold;
width: 80%;
text-align: center;
font-size: 11px;
margin-left: 10%;
margin-top: 5px;
}
/*h2*/
.h2-time {color: #000;font-size: 26px;font-family: 'FranklinGothicMediumCondRg';}
.h2-blue{width: 70%;margin-top: 5px;margin-bottom: 5px; font-size: 14px;font-weight: bold;text-transform: uppercase; color: #3194c3 !important;font-family: FranklinGothicMediumCondRg; float: left;}
.h2-green{width: 70%;margin-top: 5px;margin-bottom: 5px; font-size: 14px;font-weight: bold;text-transform: uppercase; color: #77b234!important;font-family: FranklinGothicMediumCondRg; float: left;}
.price_img
{
height: 90%;
max-height: 15px;
}
td {
background-color:none;
}
a.block_link {
display: block;
padding-bottom: 15px;
}
.mobil-off {
display: block;
}
.mobil-on {
display: none;
float:left;
}
@media (max-width: 979px) {
.mobil-off {
display: none;
}
.mobil-on {
display: block;
}
}
#metro-img {
width: 210px;
height: 305px;
position: relative;
background: url("img/metro_img.png";) no-repeat;
}
Помогите разобраться со стелем шаблона.
Дело в том что при установке активной ссылки на часть текста этот текст становится белого цвета и сливается с фоном.
Что нужно исправить что бы текст при установке ссылки не становился белым.
Текст из Стиля шаблона:
html, body{margin: 0;padding: 0;
background: top center no-repeat;}
body{height:auto !important; height:100%;width: 100%; font-size: 13px; font-family: Arial, sans-serif;
margin: 0;padding: 0;color: #363636;overflow-y: scroll; min-width: 1141px;
}
/*fonts*/
@font-face {
font-family: 'CalibriRegular';
src: url('font/CALIBRI.eot');
src: local('Calibri'), local('Calibri'), url('font/CALIBRI.woff') format('woff'), url('font/CALIBRI.ttf') format('truetype'), url('font/CALIBRI.svg#Calibri') format('svg');
}
@font-face {
font-family: 'FranklinGothicMediumCondRg';
src: url('font/framdcn0-webfont.eot');
src: url('font/framdcn0-webfont.eot?#iefix') format('embedded-opentype'),
url('font/framdcn0-webfont.woff') format('woff'),
url('font/framdcn0-webfont.ttf') format('truetype'),
url('font/framdcn0-webfont.svg#FranklinGothicMediumCondRg') format('svg');
font-weight: normal;
font-style: normal;
}
/*Links*/
a:link {color: #8894a6;}
a:visited{color:#8894a6;}
a:active {color: #525f78;}
a:hover{color:#DD0000;}
a.registr:link {color: #999; font-size: 13px;}
a.registr:visited{color:#999;}
a.registr:active {color: #486DAA;}
a.registr:hover{color:#DD0000;}
a.white:link {color: #fff; text-decoration: none;}
a.white:visited{color:#fff;}
a.white:active {color: #fff;}
a.white:hover{color:#fff;}
a.white-blue:link {color: #fff; text-decoration: none;}
a.white-blue:visited{color:#fff;}
a.white-blue:active {color: #abe0f3;}
a.white-blue:hover{color: #abe0f3;}
a.red-black:link {color: #ee4035; text-decoration: none;}
a.red-black:visited{color:#ee4035;}
a.red-black:active {color: #333;}
a.red-black:hover{color: #333;}
a.black:link {color: #333; text-decoration: none;}
a.black:visited{color:#333;}
a.black:active {color: #ee4035;}
a.black:hover{color: #ee4035;}
a.green:link {color: #74b630; text-decoration: none;}
a.green:visited{color:#74b630;}
a.green:active {color: #3194c3;}
a.green:hover{color: #3194c3;}
a.blue:link {color: #3194c3; text-decoration: none;}
a.blue:visited{color:#3194c3;}
a.blue:active {color: #74b630;}
a.blue:hover{color: #74b630;}
/*container*/
/*container*/
.container{ margin: 0 auto; padding: 0px; width: 1165px;}
.main{width: 98%; float: left;
padding-left: 1%;
padding-right: 1%;
-moz-box-shadow: 0 5px 5px #b2b2b2;
-webkit-box-shadow: 0 5px 5px #b2b2b2;
box-shadow: 0 5px 5px #b2b2b2;
beh * avior: url("../bitrix/PIE.htc";);
/* padding-top: 63px; */
background: #fff;
}
/*header*/
.header{width: 100%; float: left; height: 200px;}
/*logo*/
.logo{float: left;}
/*header-right*/
.header-left{float: left; width: 275px; margin-top: 5px; margin-left: 15px;
width: 275px;
margin-top: 5px;
margin-left: 15px;
z-index: 100;
position: absolute;
}
.header-right{float: right; margin-right: -55px; width: 235px; height: 198px; padding-top:10px; position: relative; z-index:999;}
/*content*/
.content{width: 100%; float: left; vertical-align: top;}
.content-left{ vertical-align: top;width: 208px; padding-top: 15px;}
.content-main{ vertical-align: top;padding: 5px; padding-left: 10px; padding-right: 10px; min-width:560px; }
.content-right{vertical-align: top;width: 208px; padding-top: 15px;}
.footer{float: left; width: 100%;
background:url(img/footer.png) repeat-x;
color: #fff;
height: 50px;
-moz-box-shadow: 0 5px 5px #b2b2b2;
-webkit-box-shadow: 0 5px 5px #b2b2b2;
box-shadow: 0 5px 5px #b2b2b2;
border-radius: 5px 5px 0px 0px;
-webkit-border-radius: 5px 5px 0px 0px;
-moz-border-radius: 5px 5px 0px 0px;
-khtml-border-radius:5px 5px 0px 0px;
beh * avior: url("../bitrix/PIE.htc";);
}
.copy { padding-top: 9px; }
.copyright{
color: #fff;
text-align: center;
z-index:999;
width: 20%;
float:right;
text-decoration:underline;
margin-top:10px;
margin-right:16px;
font-size:14px;
}
.footer_fon_bit {
margin-top: -15px;
color: #fff;
font-weight: bold;
width: 80%;
text-align: center;
font-size: 11px;
margin-left: 10%;
margin-top: 5px;
}
/*h2*/
.h2-time {color: #000;font-size: 26px;font-family: 'FranklinGothicMediumCondRg';}
.h2-blue{width: 70%;margin-top: 5px;margin-bottom: 5px; font-size: 14px;font-weight: bold;text-transform: uppercase; color: #3194c3 !important;font-family: FranklinGothicMediumCondRg; float: left;}
.h2-green{width: 70%;margin-top: 5px;margin-bottom: 5px; font-size: 14px;font-weight: bold;text-transform: uppercase; color: #77b234!important;font-family: FranklinGothicMediumCondRg; float: left;}
.price_img
{
height: 90%;
max-height: 15px;
}
td {
background-color:none;
}
a.block_link {
display: block;
padding-bottom: 15px;
}
.mobil-off {
display: block;
}
.mobil-on {
display: none;
float:left;
}
@media (max-width: 979px) {
.mobil-off {
display: none;
}
.mobil-on {
display: block;
}
}
#metro-img {
width: 210px;
height: 305px;
position: relative;
background: url("img/metro_img.png";) no-repeat;
}