• DONATE to NULLED!
    Форуму и его команде можно помочь, мотивировать модераторов разделов.
    Помогите модератору этого раздела killoff лично.

Помощь [help] как в новостях изменить цвет ссылок

Статус
В этой теме нельзя размещать новые ответы.

index111

Гуру форума
Регистрация
21 Окт 2007
Сообщения
536
Реакции
78
Как сделать что бы в новостях цвет ссылок был как и сам текст новости, тоесть если цвет текста крассный что бы и ссылки были красными, я так понимаю нужно style.css править, а где и что именно там?:thenks:
PHP:
html, body {
	height: 100%;
	margin: 0px;
	padding: 0px;
	background-color: #FFFFFF;
	font-size: 11px;
	font-family: tahoma;
	color: #757575;	/* цвет текста задается для загрузчика, чтобы не вносить изменений в главный index.php */
}
table {
	border: 0px;
	border-collapse: collapse;
}
table td {
	padding: 0px;
}

/* ==================== */

.category {
	color: #757575;
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	text-decoration: none;
}
.category a {
	color: #2b79d1;
	text-decoration: none;
}
.category a:hover {
	color: #2b79d1;
	text-decoration: underline;
}

/* ==================== */

.speedbar {
	color: #757575;
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	text-decoration: none;
}
.speedbar a {
	color: #2b79d1;
	text-decoration: none;
}
.speedbar a:hover {
	color: #2b79d1;
	text-decoration: underline;
}

/* ==================== */

.slink {
	color: #757575;
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	text-decoration: none;
}
.slink a:active, .slink a:visited, .slink a:link {
	color: #2b79d1;
	text-decoration: none;
}
.slink a:hover {
	color: #2b79d1;
	text-decoration: underline;
}

/* ==================== */

.copy {
	color: #757575;
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	text-decoration: none;
}
.copy a:active, .copy a:visited, .copy a:link {
	color: #757575;
	text-decoration: none;
}
.copy a:hover {
	color: #2b79d1;
	text-decoration: underline;
}

/* ==================== */

.stext {
	color: #757575;
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	text-decoration: none;
}
.stext a:active, .stext a:visited, .stext a:link {
	color: #2b79d1;
	text-decoration: none;
}
.stext a:hover {
	color: #2b79d1;
	text-decoration: underline;
}

/* ==================== */

.ltitle {
	color: #ffffff;
	font-size: 11px;
}

/* ==================== */

.ntitle {
	color: #757575;
	font-size: 11px;
	font-weight: bold;
	text-transform: uppercase;
}
.ntitle a {
	color: #2b79d1;
	text-decoration: underline;
}
.ntitle a:hover {
	color: #2b79d1;
	text-decoration: none;
}
.ntitle1 {
	color: #ffffff;
	font-size: 11px;
	font-weight: bold;
	text-transform: uppercase;
}
.ntitle1 a {
	color: #ffffff;
	text-decoration: underline;
}
.ntitle1 a:hover {
	color: #ffffff;
	text-decoration: none;
}

/* ==================== */

.ctitle {
	color: #757575;
	font-size: 12px;
	font-weight: normal;
}
.ctitle a {
	color: #2b79d1;
	text-decoration: none;
}
.ctitle a:hover {
	color: #2b79d1;
	text-decoration: underline;
}

/* ==================== */

.news {
	color: #757575;
	font-size: 11px;		/* ! */
	font-family: tahoma;
	text-align: justify;	/* ! */
	line-height: 15px;
}
.news a {
	color: #2b79d1;
	text-decoration: none;
}
.news a:hover {
	color: #2b79d1;
	text-decoration: underline;
}

/* ==================== */

.userstop {
	color: #757575;
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	text-decoration: none;
}
.userstop a {
	color: #2b79d1;
	text-decoration: none;
}
.userstop a:hover {
	color: #2b79d1;
	text-decoration: underline;
}
.userstop td {
	padding: 3px;
}
.userstop thead {
	color: #757575;
	font-weight: bold;
}

/* ==================== */

.hr_line {
	background: url(../images/line.gif);
	width: 100%;
	height: 7px;
	font-size: 3px;
	margin-top: 4px;
	margin-bottom: 4px;
}

/* ==================== */

.skin {
	padding-left: 10px;
}
select {
	font-size: 11px;
	font-family: tahoma;
}

.navigation {
	color: #757575; 
	border: 0px;
}

.navigation a:link,
.navigation a:visited,
.navigation a:active {
	text-decoration: none;
	color: #757575;
	background-color: #f9f9f9;
	border: 1px solid #e0e0e0;
	padding: 3px 6px;
	font-size: 11px
}

.navigation a:hover {
	background-color: #2b79d1;
	color: #ffffff;
	border-color: #e0e0e0;
}

.navigation span {
	text-decoration: none;
	background-color: #ffffff;
	padding: 3px 6px;
	border: 1px solid #e0e0e0;
	color: #cccccc;
	font-size: 11px;
}

/* CUSTOM STYLES FOR DLETEMPLATES.COM SKIN */

/* ==================== Поле малой формы поиска */

.s_field {
	color: #757575;			/* ! */
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	background-image: url(../images/dlet_field_s.gif);
	background-repeat: repeat-x;
	height: 14px;
	padding-left: 3px;
	
	border: 1px solid #EDEDED;	
}

/* ==================== Поле формы авторизации */

.a_field {
	color: #757575;			/* ! */
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	background-image: url(../images/dlet_field_a.gif);
	background-repeat: repeat-x;
	height: 14px;
	padding-left: 3px;
	
	border: 1px solid #ffffff;	
}

.f_textarea {
	color: #757575;			/* ! */
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	background-image: url(../images/dlet_field_o.gif);
	background-repeat: repeat-x;
	
	width: 459px;
	height: 156px;
	border: 1px solid #e0e0e0;
}
.f_input {
	color: #757575;			/* ! */
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	background-image: url(../images/dlet_field_o.gif);
	background-repeat: repeat-x;
	
	width: 300px;
	height: 14px;
	border: 1px solid #e0e0e0;
}
.f_select {
	color: #757575;			/* ! */
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	background-image: url(../images/dlet_field_o.gif);
	background-repeat: repeat-x;
	
	height: 14px;
	border: 1px solid #e0e0e0;
}
.header_bkgr {
	background-image: url(../images/dlet_back_header.gif);
	background-repeat: repeat-x;
	height: 331px;
}
.head003 {
	background-image: url(../images/dlet_head003.gif);
	background-repeat: no-repeat;
	background-position: left bottom;
}
.head04 {
	background-image: url(../images/dlet_head04.jpg);
	background-repeat: no-repeat;
	height: 114px;
}
.head005 {
	background-image: url(../images/dlet_head005.gif);
	background-repeat: no-repeat;
	background-position: right bottom;
}
.head007 {
	background-image: url(../images/dlet_head007.gif);
	background-repeat: no-repeat;
	height: 76px;
}
.mmtext {
	color: #cccccc;
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	text-decoration: none;
}
.mmtext a:active, .mmtext a:visited, .mmtext a:link {
	color: #cccccc;
	text-decoration: none;
}
.mmtext a:hover {
	color: #ffffff;
	text-decoration: none;
}
.navtext {
	color: #cccccc;
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	text-decoration: none;
}
.navtext a:active, .navtext a:visited, .navtext a:link {
	color: #cccccc;
	text-decoration: none;
}
.navtext a:hover {
	color: #ffffff;
	text-decoration: underline;
}
.whtext {
	color: #000000;
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	text-decoration: none;
}
.whtext a:active, .whtext a:visited, .whtext a:link {
	color: #ffffff;
	text-decoration: none;
}
.whtext a:hover {
	color: #ffffff;
	text-decoration: underline;
}
.newsoftheday {
	color: #EAF0FF;
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	text-align: justify;
	line-height: 15px;
	padding-top: 7px;
}
.newsoftheday a {
	color: #ffffff;
	text-decoration: underline;
}
.newsoftheday a:hover {
	color: #ffffff;
	text-decoration: underline;
}
.newsoftheday img {
	padding-right: 10px;
}
.footer_01 {
	background-image: url(../images/dlet_foofoo_01.gif);
	background-repeat: repeat-x;
}
.foofoo_03 {
	background-image: url(../images/dlet_foofoo_03.gif);
	background-repeat: no-repeat;
}
.col_03 {
	background-image: url(../images/dlet_col_03.gif);
	background-repeat: repeat-y;
}
.cp_b {
	background-image: url(../images/dlet_cp_b.gif);
	background-repeat: no-repeat;
	height: 120px;
}
.bodyleft_column {
	width: 100%;
}
.readmore {
	color: #757575;
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	text-decoration: none;
	font-weight: bold;
}
.readmore a:active, .readmore a:visited, .readmore a:link {
	color: #2b79d1;
	text-decoration: underline;
}
.readmore a:hover {
	color: #2b79d1;
	text-decoration: none;
}
.infs {
	color: #ffffff;
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	text-align: justify;
	line-height: 15px;
}
.infs a {
	color: #ffffff;
        text-transform: uppercase;} 
	text-decoration: none;
}
.infs a:hover {
	color: #ffffff;
	text-decoration: underline;
}

.weather_info {
	color: #0066CC;
	font-size:10px;
}
.weather_gradus {
	color: #CC0000;
	font-size:28px;

}

.firm_podcat {
	margin-left:10px; // Отступ что б было видно что подкатегория
}
.firm_podcat a {
	color:#CC0000; // Цвет ссылок в подкатегории
}
 
Ты бы хоть указал стиль для ссылки, в котром копаться, но чисто логически думаю это "navigation"
Попробуй этот залить..глянешь

PHP:
html, body {
    height: 100%;
    margin: 0px;
    padding: 0px;
    background-color: #FFFFFF;
    font-size: 11px;
    font-family: tahoma;
    color: #757575;    /* цвет текста задается для загрузчика, чтобы не вносить изменений в главный index.php */
}
table {
    border: 0px;
    border-collapse: collapse;
}
table td {
    padding: 0px;
}

/* ==================== */

.category {
    color: #757575;
    font-size: 11px;        /* ! */
    font-family: tahoma;    /* ! */
    text-decoration: none;
}
.category a {
    color: #2b79d1;
    text-decoration: none;
}
.category a:hover {
    color: #2b79d1;
    text-decoration: underline;
}

/* ==================== */

.speedbar {
    color: #757575;
    font-size: 11px;        /* ! */
    font-family: tahoma;    /* ! */
    text-decoration: none;
}
.speedbar a {
    color: #2b79d1;
    text-decoration: none;
}
.speedbar a:hover {
    color: #2b79d1;
    text-decoration: underline;
}

/* ==================== */

.slink {
    color: #757575;
    font-size: 11px;        /* ! */
    font-family: tahoma;    /* ! */
    text-decoration: none;
}
.slink a:active, .slink a:visited, .slink a:link {
    color: #2b79d1;
    text-decoration: none;
}
.slink a:hover {
    color: #2b79d1;
    text-decoration: underline;
}

/* ==================== */

.copy {
    color: #757575;
    font-size: 11px;        /* ! */
    font-family: tahoma;    /* ! */
    text-decoration: none;
}
.copy a:active, .copy a:visited, .copy a:link {
    color: #757575;
    text-decoration: none;
}
.copy a:hover {
    color: #2b79d1;
    text-decoration: underline;
}

/* ==================== */

.stext {
    color: #757575;
    font-size: 11px;        /* ! */
    font-family: tahoma;    /* ! */
    text-decoration: none;
}
.stext a:active, .stext a:visited, .stext a:link {
    color: #2b79d1;
    text-decoration: none;
}
.stext a:hover {
    color: #2b79d1;
    text-decoration: underline;
}

/* ==================== */

.ltitle {
    color: #ffffff;
    font-size: 11px;
}

/* ==================== */

.ntitle {
    color: #757575;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}
.ntitle a {
    color: #2b79d1;
    text-decoration: underline;
}
.ntitle a:hover {
    color: #2b79d1;
    text-decoration: none;
}
.ntitle1 {
    color: #ffffff;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}
.ntitle1 a {
    color: #ffffff;
    text-decoration: underline;
}
.ntitle1 a:hover {
    color: #ffffff;
    text-decoration: none;
}

/* ==================== */

.ctitle {
    color: #757575;
    font-size: 12px;
    font-weight: normal;
}
.ctitle a {
    color: #2b79d1;
    text-decoration: none;
}
.ctitle a:hover {
    color: #2b79d1;
    text-decoration: underline;
}

/* ==================== */

.news {
    color: #757575;
    font-size: 11px;        /* ! */
    font-family: tahoma;
    text-align: justify;    /* ! */
    line-height: 15px;
}
.news a {
    color: #2b79d1;
    text-decoration: none;
}
.news a:hover {
    color: #2b79d1;
    text-decoration: underline;
}

/* ==================== */

.userstop {
    color: #757575;
    font-size: 11px;        /* ! */
    font-family: tahoma;    /* ! */
    text-decoration: none;
}
.userstop a {
    color: #2b79d1;
    text-decoration: none;
}
.userstop a:hover {
    color: #2b79d1;
    text-decoration: underline;
}
.userstop td {
    padding: 3px;
}
.userstop thead {
    color: #757575;
    font-weight: bold;
}

/* ==================== */

.hr_line {
    background: url(../images/line.gif);
    width: 100%;
    height: 7px;
    font-size: 3px;
    margin-top: 4px;
    margin-bottom: 4px;
}

/* ==================== */

.skin {
    padding-left: 10px;
}
select {
    font-size: 11px;
    font-family: tahoma;
}

[COLOR="Red"].navigation {
    color: #f80426; 
    border: 0px;
}

.navigation a:link,
.navigation a:visited,
.navigation a:active {
    text-decoration: none;
    color: #f80426;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    padding: 3px 6px;
    font-size: 11px
}

.navigation a:hover {
    background-color: #2b79d1;
    color: #f80426;
    border-color: #e0e0e0;
}

.navigation span {
    text-decoration: none;
    background-color: #ffffff;
    padding: 3px 6px;
    border: 1px solid #e0e0e0;
    color: #f80426;
    font-size: 11px;
}[/COLOR]

/* CUSTOM STYLES FOR DLETEMPLATES.COM SKIN */

/* ==================== Поле малой формы поиска */

.s_field {
    color: #757575;            /* ! */
    font-size: 11px;        /* ! */
    font-family: tahoma;    /* ! */
    background-image: url(../images/dlet_field_s.gif);
    background-repeat: repeat-x;
    height: 14px;
    padding-left: 3px;
    
    border: 1px solid #EDEDED;    
}

/* ==================== Поле формы авторизации */

.a_field {
    color: #757575;            /* ! */
    font-size: 11px;        /* ! */
    font-family: tahoma;    /* ! */
    background-image: url(../images/dlet_field_a.gif);
    background-repeat: repeat-x;
    height: 14px;
    padding-left: 3px;
    
    border: 1px solid #ffffff;    
}

.f_textarea {
    color: #757575;            /* ! */
    font-size: 11px;        /* ! */
    font-family: tahoma;    /* ! */
    background-image: url(../images/dlet_field_o.gif);
    background-repeat: repeat-x;
    
    width: 459px;
    height: 156px;
    border: 1px solid #e0e0e0;
}
.f_input {
    color: #757575;            /* ! */
    font-size: 11px;        /* ! */
    font-family: tahoma;    /* ! */
    background-image: url(../images/dlet_field_o.gif);
    background-repeat: repeat-x;
    
    width: 300px;
    height: 14px;
    border: 1px solid #e0e0e0;
}
.f_select {
    color: #757575;            /* ! */
    font-size: 11px;        /* ! */
    font-family: tahoma;    /* ! */
    background-image: url(../images/dlet_field_o.gif);
    background-repeat: repeat-x;
    
    height: 14px;
    border: 1px solid #e0e0e0;
}
.header_bkgr {
    background-image: url(../images/dlet_back_header.gif);
    background-repeat: repeat-x;
    height: 331px;
}
.head003 {
    background-image: url(../images/dlet_head003.gif);
    background-repeat: no-repeat;
    background-position: left bottom;
}
.head04 {
    background-image: url(../images/dlet_head04.jpg);
    background-repeat: no-repeat;
    height: 114px;
}
.head005 {
    background-image: url(../images/dlet_head005.gif);
    background-repeat: no-repeat;
    background-position: right bottom;
}
.head007 {
    background-image: url(../images/dlet_head007.gif);
    background-repeat: no-repeat;
    height: 76px;
}
.mmtext {
    color: #cccccc;
    font-size: 11px;        /* ! */
    font-family: tahoma;    /* ! */
    text-decoration: none;
}
.mmtext a:active, .mmtext a:visited, .mmtext a:link {
    color: #cccccc;
    text-decoration: none;
}
.mmtext a:hover {
    color: #ffffff;
    text-decoration: none;
}
.navtext {
    color: #cccccc;
    font-size: 11px;        /* ! */
    font-family: tahoma;    /* ! */
    text-decoration: none;
}
.navtext a:active, .navtext a:visited, .navtext a:link {
    color: #cccccc;
    text-decoration: none;
}
.navtext a:hover {
    color: #ffffff;
    text-decoration: underline;
}
.whtext {
    color: #000000;
    font-size: 11px;        /* ! */
    font-family: tahoma;    /* ! */
    text-decoration: none;
}
.whtext a:active, .whtext a:visited, .whtext a:link {
    color: #ffffff;
    text-decoration: none;
}
.whtext a:hover {
    color: #ffffff;
    text-decoration: underline;
}
.newsoftheday {
    color: #EAF0FF;
    font-size: 11px;        /* ! */
    font-family: tahoma;    /* ! */
    text-align: justify;
    line-height: 15px;
    padding-top: 7px;
}
.newsoftheday a {
    color: #ffffff;
    text-decoration: underline;
}
.newsoftheday a:hover {
    color: #ffffff;
    text-decoration: underline;
}
.newsoftheday img {
    padding-right: 10px;
}
.footer_01 {
    background-image: url(../images/dlet_foofoo_01.gif);
    background-repeat: repeat-x;
}
.foofoo_03 {
    background-image: url(../images/dlet_foofoo_03.gif);
    background-repeat: no-repeat;
}
.col_03 {
    background-image: url(../images/dlet_col_03.gif);
    background-repeat: repeat-y;
}
.cp_b {
    background-image: url(../images/dlet_cp_b.gif);
    background-repeat: no-repeat;
    height: 120px;
}
.bodyleft_column {
    width: 100%;
}
.readmore {
    color: #757575;
    font-size: 11px;        /* ! */
    font-family: tahoma;    /* ! */
    text-decoration: none;
    font-weight: bold;
}
.readmore a:active, .readmore a:visited, .readmore a:link {
    color: #2b79d1;
    text-decoration: underline;
}
.readmore a:hover {
    color: #2b79d1;
    text-decoration: none;
}
.infs {
    color: #ffffff;
    font-size: 11px;        /* ! */
    font-family: tahoma;    /* ! */
    text-align: justify;
    line-height: 15px;
}
.infs a {
    color: #ffffff;
        text-transform: uppercase;} 
    text-decoration: none;
}
.infs a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.weather_info {
    color: #0066CC;
    font-size:10px;
}
.weather_gradus {
    color: #CC0000;
    font-size:28px;

}

.firm_podcat {
    margin-left:10px; // Отступ что б было видно что подкатегория
}
.firm_podcat a {
    color:#CC0000; // Цвет ссылок в подкатегории
}
 
  • Заблокирован
  • #3
Как сделать что бы в новостях цвет ссылок был как и сам текст новости, тоесть если цвет текста крассный что бы и ссылки были красными, я так понимаю нужно style.css править, а где и что именно там?:thenks:
PHP:
html, body {
	height: 100%;
	margin: 0px;
	padding: 0px;
	background-color: #FFFFFF;
	font-size: 11px;
	font-family: tahoma;
	color: #757575;	/* цвет текста задается для загрузчика, чтобы не вносить изменений в главный index.php */
}
table {
	border: 0px;
	border-collapse: collapse;
}
table td {
	padding: 0px;
}

/* ==================== */

.category {
	color: #757575;
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	text-decoration: none;
}
.category a {
	color: #2b79d1;
	text-decoration: none;
}
.category a:hover {
	color: #2b79d1;
	text-decoration: underline;
}

/* ==================== */

.speedbar {
	color: #757575;
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	text-decoration: none;
}
.speedbar a {
	color: #2b79d1;
	text-decoration: none;
}
.speedbar a:hover {
	color: #2b79d1;
	text-decoration: underline;
}

/* ==================== */

.slink {
	color: #757575;
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	text-decoration: none;
}
.slink a:active, .slink a:visited, .slink a:link {
	color: #2b79d1;
	text-decoration: none;
}
.slink a:hover {
	color: #2b79d1;
	text-decoration: underline;
}

/* ==================== */

.copy {
	color: #757575;
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	text-decoration: none;
}
.copy a:active, .copy a:visited, .copy a:link {
	color: #757575;
	text-decoration: none;
}
.copy a:hover {
	color: #2b79d1;
	text-decoration: underline;
}

/* ==================== */

.stext {
	color: #757575;
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	text-decoration: none;
}
.stext a:active, .stext a:visited, .stext a:link {
	color: #2b79d1;
	text-decoration: none;
}
.stext a:hover {
	color: #2b79d1;
	text-decoration: underline;
}

/* ==================== */

.ltitle {
	color: #ffffff;
	font-size: 11px;
}

/* ==================== */

.ntitle {
	color: #757575;
	font-size: 11px;
	font-weight: bold;
	text-transform: uppercase;
}
.ntitle a {
	color: #2b79d1;
	text-decoration: underline;
}
.ntitle a:hover {
	color: #2b79d1;
	text-decoration: none;
}
.ntitle1 {
	color: #ffffff;
	font-size: 11px;
	font-weight: bold;
	text-transform: uppercase;
}
.ntitle1 a {
	color: #ffffff;
	text-decoration: underline;
}
.ntitle1 a:hover {
	color: #ffffff;
	text-decoration: none;
}

/* ==================== */

.ctitle {
	color: #757575;
	font-size: 12px;
	font-weight: normal;
}
.ctitle a {
	color: #2b79d1;
	text-decoration: none;
}
.ctitle a:hover {
	color: #2b79d1;
	text-decoration: underline;
}

/* ==================== */

.news {
	color: #757575;
	font-size: 11px;		/* ! */
	font-family: tahoma;
	text-align: justify;	/* ! */
	line-height: 15px;
}
.news a {
	color: #2b79d1;
	text-decoration: none;
}
.news a:hover {
	color: #2b79d1;
	text-decoration: underline;
}

/* ==================== */

.userstop {
	color: #757575;
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	text-decoration: none;
}
.userstop a {
	color: #2b79d1;
	text-decoration: none;
}
.userstop a:hover {
	color: #2b79d1;
	text-decoration: underline;
}
.userstop td {
	padding: 3px;
}
.userstop thead {
	color: #757575;
	font-weight: bold;
}

/* ==================== */

.hr_line {
	background: url(../images/line.gif);
	width: 100%;
	height: 7px;
	font-size: 3px;
	margin-top: 4px;
	margin-bottom: 4px;
}

/* ==================== */

.skin {
	padding-left: 10px;
}
select {
	font-size: 11px;
	font-family: tahoma;
}

.navigation {
	color: #757575; 
	border: 0px;
}

.navigation a:link,
.navigation a:visited,
.navigation a:active {
	text-decoration: none;
	color: #757575;
	background-color: #f9f9f9;
	border: 1px solid #e0e0e0;
	padding: 3px 6px;
	font-size: 11px
}

.navigation a:hover {
	background-color: #2b79d1;
	color: #ffffff;
	border-color: #e0e0e0;
}

.navigation span {
	text-decoration: none;
	background-color: #ffffff;
	padding: 3px 6px;
	border: 1px solid #e0e0e0;
	color: #cccccc;
	font-size: 11px;
}

/* CUSTOM STYLES FOR DLETEMPLATES.COM SKIN */

/* ==================== Поле малой формы поиска */

.s_field {
	color: #757575;			/* ! */
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	background-image: url(../images/dlet_field_s.gif);
	background-repeat: repeat-x;
	height: 14px;
	padding-left: 3px;
	
	border: 1px solid #EDEDED;	
}

/* ==================== Поле формы авторизации */

.a_field {
	color: #757575;			/* ! */
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	background-image: url(../images/dlet_field_a.gif);
	background-repeat: repeat-x;
	height: 14px;
	padding-left: 3px;
	
	border: 1px solid #ffffff;	
}

.f_textarea {
	color: #757575;			/* ! */
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	background-image: url(../images/dlet_field_o.gif);
	background-repeat: repeat-x;
	
	width: 459px;
	height: 156px;
	border: 1px solid #e0e0e0;
}
.f_input {
	color: #757575;			/* ! */
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	background-image: url(../images/dlet_field_o.gif);
	background-repeat: repeat-x;
	
	width: 300px;
	height: 14px;
	border: 1px solid #e0e0e0;
}
.f_select {
	color: #757575;			/* ! */
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	background-image: url(../images/dlet_field_o.gif);
	background-repeat: repeat-x;
	
	height: 14px;
	border: 1px solid #e0e0e0;
}
.header_bkgr {
	background-image: url(../images/dlet_back_header.gif);
	background-repeat: repeat-x;
	height: 331px;
}
.head003 {
	background-image: url(../images/dlet_head003.gif);
	background-repeat: no-repeat;
	background-position: left bottom;
}
.head04 {
	background-image: url(../images/dlet_head04.jpg);
	background-repeat: no-repeat;
	height: 114px;
}
.head005 {
	background-image: url(../images/dlet_head005.gif);
	background-repeat: no-repeat;
	background-position: right bottom;
}
.head007 {
	background-image: url(../images/dlet_head007.gif);
	background-repeat: no-repeat;
	height: 76px;
}
.mmtext {
	color: #cccccc;
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	text-decoration: none;
}
.mmtext a:active, .mmtext a:visited, .mmtext a:link {
	color: #cccccc;
	text-decoration: none;
}
.mmtext a:hover {
	color: #ffffff;
	text-decoration: none;
}
.navtext {
	color: #cccccc;
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	text-decoration: none;
}
.navtext a:active, .navtext a:visited, .navtext a:link {
	color: #cccccc;
	text-decoration: none;
}
.navtext a:hover {
	color: #ffffff;
	text-decoration: underline;
}
.whtext {
	color: #000000;
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	text-decoration: none;
}
.whtext a:active, .whtext a:visited, .whtext a:link {
	color: #ffffff;
	text-decoration: none;
}
.whtext a:hover {
	color: #ffffff;
	text-decoration: underline;
}
.newsoftheday {
	color: #EAF0FF;
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	text-align: justify;
	line-height: 15px;
	padding-top: 7px;
}
.newsoftheday a {
	color: #ffffff;
	text-decoration: underline;
}
.newsoftheday a:hover {
	color: #ffffff;
	text-decoration: underline;
}
.newsoftheday img {
	padding-right: 10px;
}
.footer_01 {
	background-image: url(../images/dlet_foofoo_01.gif);
	background-repeat: repeat-x;
}
.foofoo_03 {
	background-image: url(../images/dlet_foofoo_03.gif);
	background-repeat: no-repeat;
}
.col_03 {
	background-image: url(../images/dlet_col_03.gif);
	background-repeat: repeat-y;
}
.cp_b {
	background-image: url(../images/dlet_cp_b.gif);
	background-repeat: no-repeat;
	height: 120px;
}
.bodyleft_column {
	width: 100%;
}
.readmore {
	color: #757575;
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	text-decoration: none;
	font-weight: bold;
}
.readmore a:active, .readmore a:visited, .readmore a:link {
	color: #2b79d1;
	text-decoration: underline;
}
.readmore a:hover {
	color: #2b79d1;
	text-decoration: none;
}
.infs {
	color: #ffffff;
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	text-align: justify;
	line-height: 15px;
}
.infs a {
	color: #ffffff;
        text-transform: uppercase;} 
	text-decoration: none;
}
.infs a:hover {
	color: #ffffff;
	text-decoration: underline;
}

.weather_info {
	color: #0066CC;
	font-size:10px;
}
.weather_gradus {
	color: #CC0000;
	font-size:28px;

}

.firm_podcat {
	margin-left:10px; // Отступ что б было видно что подкатегория
}
.firm_podcat a {
	color:#CC0000; // Цвет ссылок в подкатегории
}

В стилях прописываем:

Код:
a.red {color: red; text-decoration:none;}
a.red:visited {color:#ff5223; text-decoration:none;}
a.red:hover {color:#ff5223; text-decoration:underline}
a.red:active {color:#ff5223; text-decoration:none;}

1 строка - ссылка в обычном состоянии,
2 - уже посещенная ссылка,
3 - ссылка при наведение на нее курсора,
4. ссылка в момент нажатия на нее.

Тебе осталось только настроить цвет и дектор ссылки.


Далее идем в шаблон и приписываем к ссылки на новость следующий код:
Код:
class="red"

т.е. ссылка должна будет иметь примерно такой вид:
Код:
<a href="http://site.ru/novost.html" class="red">Текст</a>

----------------------

Если нужно изменить цвет всех ссылок на сайте, кроме тех, у которых прописанн отдельный стиль, то вставляем следующее:

Код:
a:link {color:#578cca; text-decoration:none;}
a:visited {color:#578cca; text-decoration:none;}
a:hover {color:#000; text-decoration:none; border-bottom:1px solid #ccc;}
a:active {color:#578cca;  text-decoration:none;}

Все аналогично предыдущему, осталось только изменить цвета и декор по своему вкусу.
 
Статус
В этой теме нельзя размещать новые ответы.
Назад
Сверху