X   Сообщение сайта
(Сообщение закроется через 3 секунды)



 

Здравствуйте, гость (

| Вход | Регистрация )

Открыть тему
Тема закрыта
> Помогите разобраться с CSS
dos1k_rs
dos1k_rs
Topic Starter сообщение 22.2.2014, 17:02; Ответить: dos1k_rs
Сообщение #1


Друзья - нужна помощь. Задача: увеличить шрифт на форуме в темах. Вот код CSS, подскажите, какая строка отвечает за размер шрифта в теме
/*--------------------- Forum start ---------------------*/

.forumContent {
margin-left: 12px;
margin-right: 12px;
width: 980px;
font: 11px 'Tahoma', 'Arial';
}

.forumContent a {
font: 11px 'Tahoma', 'Arial';
color: #6A390A;
}

.forumContent table {
font: 11px 'Arial';
}

.gTable, .postTable {
background-color: #C66D1C;
}

.gTable td {
background: #ffffff;
border: 1px solid #ffffff;
padding: 2px 7px;
}

.gTable td.gTableTop {
padding: 0px 5px;
text-align: left;
background: url(http://ideipodarkov.ucoz.ru/diz/25.png) repeat-x;
height: 28px;
font: 14px 'Tahoma', 'Arial';
color: #6A390A;
line-height: 28px;
text-transform: uppercase;
border: 0px solid #C66D1C;
border-left: 0px solid #C66D1C;
}

.gTableTop a {
font: 14px 'Tahoma', 'Arial';
}

.gTableTop a:hover {}

.gTable td.gTableSubTop {
background: #C66D1C;
font: 10px 'Tahoma', 'Arial';
color: #ffffff;
}

.gTable td.postTdTop {
background: #C66D1C;
color: #ffffff;
}

.gTable td.postTdTop a {
color: #ffffff !important;
}

.gTableSubTop a {
font: 10px 'Tahoma', 'Arial';
color: #ffffff;
}

.postBottom table td {
border: 0px;
}

.postSeparator {
display: none;
}

.posttdMessage {
text-align: justify;
}

td.forumIcoTd, td.forumThreadTd, td.forumPostTd, td.gTableRight, td.threadIcoTd, td.threadPostTd, td.threadViewTd {
background: #FFFFFF;
}

a.TopSortLink {}

a.TopSortLink:hover {}

a.postUser {
font-weight: bold;
color: #ffffff !important;
}

a.forum, a.threadLink {
font: 12px 'Arial';
color: #6A390A;
}

.forumDescr, .threadDescr {
font: 12px 'Arial';
color: #a1a1a1;
}

.quoteMessage {}

td.pollQuestion, .pollResults td, td.pollResults, td.pollTotal, td.pollAnswer, td.pollButtons, .smiles td{
border: 0px;
}

/*--------------------- Forum end ---------------------*/


Пациент - http://expertpodarkov.ru/forum/34-16-1

Добавлено спустя 4 минуты 1 секунду:
И еще вопрос, то же самое, только увеличить шрифт в темах на главной и в каталоге статей. Причем нужно сделать так, чтобы при любом копировании и не зависимо от редактирования шрифт не менялся:
Вот весь css
/*--------------------- General styles start ---------------------*/

body {
margin: 0;
background-color: #FFF6E2;
font: 12px 'Arial';
color: #555555;
text-align: center;
}

body a {
color: #6A390A;
text-decoration: none;
}

body a:hover {
text-decoration: underline;
}

* {}

img {border: 0;}

/*--------------------- General styles end ---------------------*/


/*--------------------- All content start ---------------------*/

#all1 {
width: 100%;
height: 526px;
background: url(http://ideipodarkov.ucoz.ru/diz/1.png) repeat-x;
}

#all2 {
width: 100%;
height: 122px;
background: url(http://ideipodarkov.ucoz.ru/diz/2.png) no-repeat top center;
}

#container {
width: 1004px;
margin: auto;
text-align: left;
}

/*--------------------- All content end ---------------------*/



/*--------------------- Header start ---------------------*/

#sitelogo {
margin-left: 10px;
height: 135px;
color: #ffffff;
font: 40px 'Tahoma';
text-align: left;
line-height: 135px;
}

#top {
position: relative;
height: 32px;
background: #C66D1C;
background: url(http://ideipodarkov.ucoz.ru/diz/3.png);
}

#bird {
position: absolute;
width: 160px;
height: 145px;
left: -135px;
top: -100px;
background: url(http://ideipodarkov.ucoz.ru/diz/4.png);
margin: 0px 0px 0px 0px;
}

#today {
margin-left: 10px;
float: left;
width: 400px;
height: 32px;
text-align: left;
color: #ffffff;
font: 12px 'Tahoma';
line-height: 32px;
}
#whois {
margin-right: 10px;
float: right;
width: 500px;
height: 32px;
text-align: right;
color: #ffffff;
font: 12px 'Tahoma';
line-height: 32px;
}

#top-menu {
height: 23px;
text-align: left;
background: url(http://ideipodarkov.ucoz.ru/diz/5.png);
}

.home_left {
display: block;
float: left;
height: 23px;
width: 24px;
margin-left: 10px;
background: url(http://ideipodarkov.ucoz.ru/diz/6.png);
}

.home a {
background: url() no-repeat;
padding: 0px 0px 0px 0px;
}

.prof a {
background: url() no-repeat;
padding: 0px 0px 0px 0px;
}

.reg a {
background: url() no-repeat;
padding: 0px 0px 0px 0px;
}

.logout a {
background: url() no-repeat;
padding: 0px 0px 0px 0px;
}

.login a {
background: url() no-repeat;
padding: 0px 0px 0px 0px;
}

.rss a {
background: url() no-repeat;
padding: 0px 0px 0px 0px;
}

.tm_left {
display: block;
float: left;
height: 23px;
width: 17px;
background: url(http://ideipodarkov.ucoz.ru/diz/13.png);
}

.tm_right {
display: block;
float: left;
height: 23px;
width: 17px;
background: url(http://ideipodarkov.ucoz.ru/diz/14.png);
}

.tm_end {
display: block;
float: left;
height: 23px;
width: 5px;
background: url(/.s/t/796/15.png);
}

.tm {
display: block;
float: left;
height: 23px;
text-align: center;
background: url(http://ideipodarkov.ucoz.ru/diz/16.png);
}

.tm a {
color: #6A390A;
font: 12px 'Tahoma';
line-height: 23px;
text-transform: uppercase;
}

.tm a:hover {
color: #d21918;
text-decoration: none;
background-position: 0px -19px;
}


/*--------------------- Header end ---------------------*/


/*--------------------- Main content start ---------------------*/

#site-bg {
width: 1004px;
padding-top: 1px;
padding-bottom: 1px;
background: url(http://ideipodarkov.ucoz.ru/diz/17.png);
}

#site-bottom-bg {
clear: both;
width: 1004px;
height: 8px;
overflow: hidden;
margin: auto;
background: url(http://ideipodarkov.ucoz.ru/diz/18.png);
}

#leftcol {
float: left;
width: 210px;
margin-left: 2px;
text-align: justify;
}

#rightcol {
float: right;
width: 210px;
margin-right: 2px;
text-align: justify;
}

.sidebar {
margin-left: 10px;
width: 190px;
font: 11px 'Tahoma', 'Arial';
}

.sidebar a {
color: #C66D1C;
}

#maincol {
margin: 9px 0px 5px 0px;
float: left;
width: 580px;
text-align: justify;
}

#maincol table {
font: 11px 'Arial', 'Tahoma';
}

.eTitle {
margin: 0px 0px 3px 0px;
font: 14px 'Tahoma', 'Arial';
text-transform: uppercase;
}

.eTitle a {}

.eTitle a:hover {}

.eMessage, .eText, .eAnswer {
font: 12px 'Arial';
text-align: justify !important;
background: url(/.s/t/796/19.png) no-repeat;
}

.cMessage {
font: 12px 'Arial';
text-align: justify !important;
}

.eDetails, .eDetails1, .eDetails2 {
padding: 3px 5px;
font: 11px 'Tahoma', 'Arial';
color: #ffffff;
background: #C56D1D;
border: 1px solid #C66D1C;
margin-top: 5px;
}

.cBlock1, .cBlock2 {
font: 11px 'Tahoma', 'Arial';
background: #f4f7f8;
border: 1px dotted #eceff0;
}

/*--------------------- Main content end ---------------------*/


/*--------------------- Containers start ---------------------*/

.block {
width: 190px;
margin-top: 10px;
}

.blocktitle {
width: 190px;
height: 27px;
font: 12px 'Tahoma', 'Arial';
line-height: 27px;
color: #6A390A;
text-transform: uppercase;
background: url(http://ideipodarkov.ucoz.ru/diz/20.png);
margin-bottom: 5px;
}

.blocktitle-inside {
margin-left: 10px;
}

.blockcontent {
text-align: left;
}

.blockcontent-inside {
margin-left: 10px;
width: 170px;
}

.blockcontent ul {
margin: 0;
padding: 0;
margin-left: 15px;
}

.blockcontent li {
margin-left: 10px;
}

.blockcontent li a {
color: #555555;
}

.blockcontent li a:hover {
color: #C66D1C;
text-decoration: none;
}

.blockcontent a {}

.blockcontent a:hover {}

.blockcontent table {
font: 12px 'Arial';
color: #5d5d5d;
}

.calTable {
font: 12px 'Arial';
color: #5d5d5d;
}

a.calMonthLink {
color: #5d5d5d;
}

a.calMdayLink {}

.calWday {
background: url(/.s/t/796/21.png) repeat-x;
border-left: 1px solid #C66D1C;
border-right: 1px solid #C66D1C;
color: #ffffff;
}

.calWdaySe, .calWdaySu {
background: url(/.s/t/796/22.png) repeat-x;
border-left: 1px solid #ac1e20;
border-right: 1px solid #ac1e20;
color: #ffffff;
}
.calWday, .calWdaySe, .calWdaySu {
line-height: 22px;
padding: 0 3px;
}

.calMdayIs {
border: 1px solid #C66D1C;
background: #C56D1D;
color: #ffffff;
}

.calMdayA {
color: #e83f63;
font-weight: bold;
}

a.groupAdmin {}

.swchItem span, .swchItemA span {}

.swchItem span:hover {}

.swchItem span:active {}

.swchItem {}

.admBarCenter div, .myWinSuccess {}

/*---------------- Mainmenu start------------*/

.uMenuH li {float:left;padding: 0 5px;list-style:none;}

ul.uMenuRoot, .uMenuV {
margin: 0px;
padding: 0px;
margin-left: 0px;
}

.uMenuV .uMenuItem span {
margin-left: 10px;
}

.uMenuV .uMenuRoot li {
margin-left: 0px;
list-style-type: none;
border-bottom: 1px dotted #C66D1C;
line-height: 19px;
}

.uMenuV .uMenuArrow {
position: absolute;
height: 7px;
width: 4px;
top: 6px;
right: 0px;
background: url(/.s/t/796/23.gif);
}

.uMenuV li:hover {}

.uMenuV a {}

.uMenuV a:hover {}

.uMenuV a:active {}

.uMenuV a.uMenuItemA {
color: #C66D1C;
background-position: 0px -40px;
}

.uMenuV .uMenuRoot .uMenuItem {
margin-top: 3px;
margin-bottom: 3px;
}

.uMenuV .uMenuItem a {
background: url(/.s/t/796/24.png) no-repeat;
background-position: 0px -6px;
}

.uMenuV .uMenuRoot .uMenuItem a:hover {
background-position: 0px -40px;
}

/*------------------- Mainmenu end -------------------*/
/*--------------------- Containers end ---------------------*/


/*--------------------- Footer start ---------------------*/

#footer {
clear: both;
margin: 8px auto;
width: 980px;
height: 35px;
font: 11px 'Tahoma','Arial';
}

#copyright {
float: left;
width: 450px;
margin-left: 22px;
text-align: left;
line-height: 35px;
color: #555555;
text-transform: uppercase;
}

#powered_by {
float: right;
width: 450px;
margin-right: 22px;
text-align: right;
line-height: 35px;
}

#powered_by a {
color: #d21918;
}

#powered_by img {
vertical-align: middle !important;
}

/*--------------------- Footer end ---------------------*/


/*--------------------- Forum start ---------------------*/

.forumContent {
margin-left: 12px;
margin-right: 12px;
width: 980px;
font: 11px 'Tahoma', 'Arial';
}

.forumContent a {
font: 11px 'Tahoma', 'Arial';
color: #6A390A;
}

.forumContent table {
font: 14px 'Arial';
}

.gTable, .postTable {
background-color: #C66D1C;
}

.gTable td {
background: #ffffff;
border: 1px solid #ffffff;
padding: 2px 7px;
}

.gTable td.gTableTop {
padding: 0px 5px;
text-align: left;
background: url(http://ideipodarkov.ucoz.ru/diz/25.png) repeat-x;
height: 28px;
font: 14px 'Tahoma', 'Arial';
color: #6A390A;
line-height: 28px;
text-transform: uppercase;
border: 0px solid #C66D1C;
border-left: 0px solid #C66D1C;
}

.gTableTop a {
font: 14px 'Tahoma', 'Arial';
}

.gTableTop a:hover {}

.gTable td.gTableSubTop {
background: #C66D1C;
font: 10px 'Tahoma', 'Arial';
color: #ffffff;
}

.gTable td.postTdTop {
background: #C66D1C;
color: #ffffff;
}

.gTable td.postTdTop a {
color: #ffffff !important;
}

.gTableSubTop a {
font: 10px 'Tahoma', 'Arial';
color: #ffffff;
}

.postBottom table td {
border: 0px;
}

.postSeparator {
display: none;
}

.posttdMessage {
text-align: justify;
}

td.forumIcoTd, td.forumThreadTd, td.forumPostTd, td.gTableRight, td.threadIcoTd, td.threadPostTd, td.threadViewTd {
background: #FFFFFF;
}

a.TopSortLink {}

a.TopSortLink:hover {}

a.postUser {
font-weight: bold;
color: #ffffff !important;
}

a.forum, a.threadLink {
font: 12px 'Arial';
color: #6A390A;
}

.forumDescr, .threadDescr {
font: 12px 'Arial';
color: #a1a1a1;
}

.quoteMessage {}

td.pollQuestion, .pollResults td, td.pollResults, td.pollTotal, td.pollAnswer, td.pollButtons, .smiles td{
border: 0px;
}

/*--------------------- Forum end ---------------------*/


/*--------------------- INPUTS start ---------------------*/

input {
font: 11px 'Tahoma', 'Arial';
margin: 0px 1px;
}

input[type=submit], input[type=reset], input[type=button] {}

input[type=submit]:hover, input[type=reset]:hover, input[type=button]:hover {}

input[type=submit]:active, input[type=reset]:active, input[type=button]:active {}

input[type=text], input[type=password], textarea {box-sizing: border-box;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;*padding-left: 0;*padding-right: 0;}

textarea {resize: none;overflow: auto;}

#mchatBtn, input.codeButtons, input.button {
padding-left: 0px;
padding-right: 0px;
}

.queryField {
width: auto !important;
}

/*--------------------- INPUTS end ---------------------*/


/*--------------------- POPUP start ---------------------*/

.popup a {
color: #C66D1C;;
}

.popup {
font: 11px 'Tahoma', 'Arial';
margin: 10px;
}

.popuptitle {
border: 1px solid #bc0000;
height: 28px;
background: url(/.s/t/796/26.png) no-repeat;
}

.ptitle-inside {
padding-left: 5px;
text-align: left;
background: url(/.s/t/796/25.png) repeat-x;
margin-left: 6px;
height: 100%;
font: 14px 'Tahoma', 'Arial';
color: #C66D1C;
line-height: 28px;
text-transform: uppercase;
}

.popupbody {
margin-top: 1px;
background: #ffffff;
border: 1px solid #259ec6;
}

.popupbody table {
font: 11px 'Tahoma', 'Arial';
}

.pbody-inside {
margin: 5px;
}

/*--------------------- POPUP end ---------------------*/

/*--ubutton-fix--*/
.myBtnLeft img, .myBtnRight img, .myBtnLeftA img, .myBtnRightA img, .myBtnRight + td input, .myBtnRightA + td input { display: block }
.myBtnCenter, .myBtnCenterA { line-height:19px !important }
.myBtnCont { height:19px; padding-bottom:0 !important }

/* Вид новостей для uCoz v2
------------------------------------------*/
.cell_news {
float:left;
width:580px;
margin-bottom: 15px;
overflow:hidden;
border: 1px solid #C66D1C;
font:11px Verdana,Arial,Helvetica, sans-serif;
text-shadow: 0px 0px 0px #6A390A;
color:#6A390A;
border-radius:5px;
}

.cell_news h2 {
margin:0;
float:left;
width:400px;
padding: 7px 7px;
font: 125% Verdana,Arial,Helvetica, sans-serif;
font-weight: 700;
border-bottom: 0px solid #C66D1C;
}

.news_message {
float:left;
width:550px;
padding: 1px 5px;
font: 115% Verdana,Arial,Helvetica, sans-serif; text-align:justify;
}

.news_message img {
float:left;
padding: 5px;
margin: 0px 15px 5px 0px;
border: 1px solid #C66D1C;
}

.news_bottom {
float:left;
width:100%;
margin-top: -3px;
border-top: 1px solid #C66D1C;
}

.news_author{
float:left;
}

.news_author img {
float:left;
width:20px;
height:20px;
margin: 5px 5px 0px 20px;
}

.news_author a {
float:left;
font-weight: 700;
margin: 8px 5px 0px 5px;
}

.news_statistics{
float:right;
margin:0;
padding: 0;
margin-right: -2px;
list-style:none;
border-left: 0px solid #C66D1C;
}

.news_statistics li {
float:left;
height:20px;
padding: 8px 8px 2px 8px;
border-right: 0px solid #C66D1C;
border-left: 1px solid #C66D1C;
}

.news_statistics span{
float:left;
margin: 0px 5px 0px 0px;
}

.opacity a:hover img {filter: progid: DXImageTransform.Microsoft.Alpha(opacity=85); -moz-opacity: 0.7; opacity: 0.7; filter: alpha(opacity=85);}

/* ----////// Эффект прозрачности /////------- */

#banners a img {
opacity:0.3; -moz-opacity:0.3; filter:alpha(opacity=40);
}

#banners a:hover img {
opacity:1.0; -moz-opacity:1.0; filter:alpha(opacity=100);
}

#news_table {margin:0 0 25px 0; padding:0;}
#news_table a {text-decoration:none; color:#000000;}
#news_table a:hover {text-decoration:underline;}
#news_table td.top_corners {width:20px; height:53px;}
#news_table td.top_r_l img {width:20px; height:53px;}
#news_table td.top_center {height:53px; background:url(/images/block_c_top_center.png);}
#news_table td.left {width:20px; background:url(/images/block_c_left.png)}
#news_table td.right {width:20px; background:url(/images/block_c_right.png)}
#news_table td.bot_corners {width:20px; height:57px;}
#news_table td.bot_corners img {width:20px; height:57px;}
#news_table td.bot_center {height:57px; background:url(/images/block_c_bottom_center.png);}

#news_table div.header {margin:15px 0 0 9px; padding:0; color:#000000; font: bold 14px Tahoma; float:left;}
#news_table span.autor {font:normal 10px verdana; color:#393e41;}
#news_table div.rating {float:right; font:normal 10px verdana; color:#393e41; margin:17px 0 0 5px; border:solid 0px;}
#news_table div.insideblock {margin:10px; padding:0;}
#news_table div.text {font:normal 12px Verdana; color:#393e41; text-align:justify; margin:15px 0 0 0;}
#news_table div.text strong { color:#00caff;}
#news_table div.plus_minus {margin:20px 0 0 5px; width:16px; height:16px; float:left; padding:0;}
#news_table div.bot_links {font:normal 11px Verdana; color:#b1b1b1; margin:20px 0 0 0; float:right;}

/* ----////// комы /////------- */
.datesmall{font-size:10px;color:#C66D1C;}
.ratecomUDS{padding: 5px 7px 5px 5px; float:right; font-size:7pt; font-weight: bold; clear:both;font-size:7pt;color:#666666;}
.ratecomUDS span {color: #318bbf;}
.bbb {font-weight:bold; color:#6A390A;}
.bbb_p {font-weight:bold;color:#6A390A;}
.mcontcomm{padding-left:5px;padding-right:5px;display:block; color: #6A390A;line-height:12px;font-size:12px; font-family;}
.mcontcomm a{color: #666 !important; text-decoration:none; font-weight: 100;}
.mcontcomm a:hover {color: #44bbff !important; text-decoration:none;}
.usernamelinkUDS{font-size:11px !important; padding:2px 2px 2px 0;}
.avacomUDS {float: left; border: 1px #C56D1D solid; padding: 2px; position: absolute;}
.avacomUDS img {width: 55px; height: 55px;}
.avacomUDS a img { opacity:1.0; -moz-opacity:1.0; filter:alpha(opacity=50); }
.avacomUDS a:hover img { opacity:0.6; -moz-opacity:0.4; filter:alpha(opacity=70); }
.textcomUDS {padding-left: 65px;}

#rightcol2 {
float: right;
width: 200px;
margin: -10px 0px 0px 0px;
text-align: justify;}

#maincol2 {
margin: 0px 0px 0px 0px;
width: 779px;
text-align: justify;}

.clear2,#forum_filter {
clear: none !important;
}


--------------------
0
Вернуться в начало страницы
 
Ответить с цитированием данного сообщения
Aman_sf
Aman_sf
сообщение 23.2.2014, 20:04; Ответить: Aman_sf
Сообщение #2


Размер регулируется этим тегом
font: 12px 'Arial'; - здесь 12 это пункты размера, ариал это имя шрифта.

Тебе нужно в зависимости от форума посмотреть его исходный код и найти стили, с которыми он работает и им поменять эти параметры.
На форуме размер можно менять через класс
class="posttdMessage" или
class="ucoz-forum-post" или ид
ucoz-forum-post-23 но ИД это генерируется движком, поэтому его не найти, работать нужно через классы.

Я совсем забыл укоз, и не смог его найти.

Добавлено спустя 6 минут 59 секунд:
и не забудь обновить кэш память или отключить кэширование, и потом обновить куки файлы в браузере или нажатием ctr+f5.

Замечание модератора:
Эта тема была закрыта автоматически ввиду отсутствия активности в ней на протяжении 100+ дней.
Если Вы считаете ее актуальной и хотите оставить сообщение, то воспользуйтесь кнопкой
или обратитесь к любому из модераторов.
Вернуться в начало страницы
 
Ответить с цитированием данного сообщения
Открыть тему
Тема закрыта
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0


Свернуть

> Похожие темы

  Тема Ответов Автор Просмотров Последний ответ
Открытая тема (нет новых ответов) Помогите вспомнить рекламного бота Телеграм для обмена рекламой
0 Mixatraider 725 21.2.2024, 23:42
автор: Mixatraider
Открытая тема (нет новых ответов) Разработка/доработка сайтов Wordpress, HTML/CSS/JS
Вёрстка, перенос на WP, правки
9 malamut 3459 25.1.2024, 14:36
автор: malamut
Открытая тема (нет новых ответов) СОЗДАНИЕ : / САЙтЫ / ЛЕНДЫ / БОТЫ ТГ / ВАЙТЫ / КРЕО / СОФТЫ / ДИЗАЙН [PHP, JS, HTML/CSS] и другое
5 CULA 3398 19.12.2023, 18:55
автор: CULA
Открытая тема (нет новых ответов) Веб-разработка (HTML, CSS)
1 ViktoriaFE 6459 5.5.2021, 5:22
автор: bekett
Открытая тема (нет новых ответов) Разработка адаптивных вебсайтов. HTML/CSS/WordPress(сайты-визитки, лендинги, корпоративные сайты, интернет-магазины).
0 kozak199110 1667 3.3.2021, 12:22
автор: kozak199110


 



RSS Текстовая версия Сейчас: 19.4.2024, 13:13
Дизайн