Уважаемые пользователи!
C 7 ноября 2020 года phpBB Group прекратила выпуск обновлений и завершила дальнейшее развитие phpBB версии 3.2.
С 1 августа 2024 года phpBB Group прекращает поддержку phpBB 3.2 на официальном сайте.
Сайт официальной русской поддержки phpBB Guru продолжит поддержку phpBB 3.2 до 31 декабря 2024 года.
С учетом этого, настоятельно рекомендуется обновить конференции до версии 3.3.

Цвет шрифта в Charcoal2

Есть любые вопросы, связанные со стилями/темами для phpBB 2.0.x? Ишите ответы здесь!
resttime
phpBB 1.2.0
Сообщения: 11
Стаж: 16 лет 6 месяцев
Откуда: Из мамы
Контактная информация:

Цвет шрифта в Charcoal2

Сообщение resttime »

Я в затруднении. После полуторачасового рассматривания аналогичных тем на форуме, ничего не понял.
Вот адрес на сайт:
http://www.resttime.jino-net.ru/

Требуется:
Поменять цвет вот этих слов: " Форум Темы Сообщения Последнее сообщение"
А так же "Основной"
и "Кто сейчас на форуме", с оранжевого на бордовый. В админке, в свойствах темы, менял цвета методом тыка: результат - нулевой, поэтому поставил всё на дефолт.
Подскажите, как поменять.
Аватара пользователя
Палыч
Former team member
Сообщения: 9683
Стаж: 17 лет 10 месяцев
Откуда: Питер
Благодарил (а): 3 раза
Поблагодарили: 454 раза
Контактная информация:

Сообщение Палыч »

resttime
А у меня он и так бордовый... Или вы уже поменяли?
Не все то WINDOWS, что висит... phpBB только учусь.
ICQ, email, ЛС - только для личных сообщений. Вопросы по phpbb только на форумах. По найму не работаю.
D71
phpBB 1.4.1
Сообщения: 44
Стаж: 16 лет 7 месяцев

Сообщение D71 »

Вот у меня тоже вопрос по данной теме....
Как всетаки сменить основной шрифт в сообщениях...с белого на черный...в админке стоит "000000" менял на нужное значение - не помогает....Очень надо...белый шрифт на сером фоне глаза режет...

Сразу говорю - поиском искал...ну не нашел я...
Дайте ссылку хотябы, если знаете куда...Заранее спасибо.
Аватара пользователя
Палыч
Former team member
Сообщения: 9683
Стаж: 17 лет 10 месяцев
Откуда: Питер
Благодарил (а): 3 раза
Поблагодарили: 454 раза
Контактная информация:

Сообщение Палыч »

D71 писал(а):белый шрифт на сером фоне
templates/Charcoal2/Charcoal2.css
Не все то WINDOWS, что висит... phpBB только учусь.
ICQ, email, ЛС - только для личных сообщений. Вопросы по phpbb только на форумах. По найму не работаю.
D71
phpBB 1.4.1
Сообщения: 44
Стаж: 16 лет 7 месяцев

Сообщение D71 »

Спасибо...то есть там меняю...и в админке уже не надо?

Добавлено спустя 39 минут 9 секунд:

Всю голову сломал...все FFFFFF значения перепробывал менять...Ну где строчка с основным текстом в сообщении!!! А? Палыч, подскажи!?
Kos
phpBB 1.4.0
Сообщения: 38
Стаж: 16 лет 9 месяцев
Контактная информация:

Сообщение Kos »

в начале файла overall_header.tpl может быть
D71
phpBB 1.4.1
Сообщения: 44
Стаж: 16 лет 7 месяцев

Сообщение D71 »

вот сам фаил

Код: Выделить всё

/*
  The original Charcoal2 Theme for phpBB version 2+
  Created by subBlue design
  http://www.subBlue.com
*/


 /* General page style. The scroll bar colours only visible in IE5.5+ */
body  { background-image: url(images/bk-w.jpg); border: none; scrollbar-3dlight-color: #D1D7DC; scrollbar-arrow-color: #006699; scrollbar-darkshadow-color: #98AAB1; scrollbar-face-color: #DEE3E7; scrollbar-highlight-color: #FFFFFF; scrollbar-shadow-color: #DEE3E7; scrollbar-track-color: #EFEFEF }

/* General font families for common tags */
font,th,td,p { font-family: Verdana, Arial, Helvetica, sans-serif }
a:link,a:active,a:visited   { color: #000; text-decoration: none }
a:hover		  { color: #ff4500; text-decoration: none }
hr	 { border: none #d1d7dc; height: 0px }


/* This is the border line & background colour round the entire page */
.bodyline	 { }

/* This is the outline round the main forum tables */
.forumline	  { background-color: #696969; border: solid 1px #000 }


/* Main table cell colours and backgrounds */
td.row1	 { background: #696969 url(images/dkback.gif) }
td.row2	  { background: #808080 url(images/bk-z.jpg) }
td.row3	 { background: #a9a9a9 url(images/dkback.gif) }


/*
  This is for the table cell above the Topics, Post & Last posts on the index.php page
  By default this is the fading out gradiated silver background.
  However, you could replace this with a bitmap specific for each forum
*/
td.rowpic  { background: #3f3f3f repeat; border-top: none; border-right: none #fff; border-bottom: none; border-left: none }

/* Header cells - the blue and silver gradient backgrounds */
th	  { color: #ff4500; font-weight: bold; font-size: 11px; background: #006699 url(images/sidebox_background.gif); height: 25px }

td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom  { background-color: #3f3f3f; border: none #ffffff; height: 28px }


/*
  Setting additional nice inner borders for the main table cells.
  The names indicate which sides the border will be on.
  Don't worry if you don't understand this, just ignore it :-)
*/
td.cat,td.catHead,td.catBottom  { background-image: url(images/sidebox_background2.gif); border: 0px; height: 29px }
th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR  { font-weight: bold; border: none #ffffff; height: 28px }
td.row3Right,td.spaceRow  { background: #a9a9a9 url(images/dkback.gif); border: none #ffffff }

th.thHead,td.catHead  { font-size: 12px; border: none }
th.thSides,td.catSides,td.spaceRow	  { border: none }
th.thRight,td.catRight,td.row3Right	  { border: none }
th.thLeft,td.catLeft	   { border: none }
th.thBottom,td.catBottom   { border: none }
th.thTop	  { border: none }
th.thCornerL  { border: none }
th.thCornerR  { border: none }


/* The largest text used in the index page title and toptic title etc. */
.maintitle,h1,h2	{
			font-weight: bold; font-size: 22px; font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif;
			text-decoration: none; line-height : 120%; color : #000000;
}
.maintitle:visited,h1,h2 { color: #000000; font-weight: bold; font-size: 22px; line-height: 120%; font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; text-decoration: none }
/* General text */
.gen { font-size : 12px; }
.genmed { font-size : 11px; }
.gensmall { font-size : 10px; }
.gen,.genmed,.gensmall { color : #000000; }
a.gen,a.genmed,a.gensmall  { color: #000000; text-decoration: none }
a.gen:visited,a.genmed:visited,a.gensmall:visited { color: #000000; text-decoration: none }
a.gen:hover,a.genmed:hover,a.gensmall:hover	 { color: #fff; text-decoration: underline }


/* The register, login, search etc links at the top of the page */
.mainmenu		 { color: #000000; font-size: 11px; font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular }
a.mainmenu		  { color: #000; font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular; text-decoration: none }
a.mainmenu:visited  { color: #000; font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular; text-decoration: none }
a.mainmenu:hover  { color: #fff; font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular; text-decoration: none }


/* Forum category titles */
.cattitle		 { color: #ff4500; font-weight: bold; font-size: 12px; text-decoration: none; letter-spacing: 1px }
a.cattitle		 { color: #ff4500; text-decoration: none }
a.cattitle:visited { color: #ff4500; text-decoration: none }
a.cattitle:hover { color: #fff; text-decoration: none }


/* Forum title: Text and link to the forums used in: index.php */
.forumlink		  { color: #000; font-weight: bold; font-size: 12px }
a.forumlink 	  { color: #000; text-decoration: none }
a.forumlink:visited { color: #000; text-decoration: none }
a.forumlink:hover { color: #fff; text-decoration: underline }


/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav			{ font-weight: bold; font-size: 11px; color : #000000;}
a.nav			 { color: #000; text-decoration: none }
a.nav:visited { color: #000; text-decoration: none }
a.nav:hover		 { color: #fff; text-decoration: underline }


/* titles for the topics: could specify viewed link colour too */
.topictitle			 { color: #ff4500; font-weight: bold; font-size: 11px }
a.topictitle:link     { color: #000; text-decoration: none }
a.topictitle:visited    { color: #000; text-decoration: none }
a.topictitle:hover	 { color: #fff; text-decoration: underline }


/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name			 { color: #ffd700; font-size: 11px }

/* Location, number of posts, post date etc */
.postdetails		{ font-size : 10px; color : #000000; }


/* The content of the posts (body of text) */
.postbody  { color: #dcdcdc; font-size: 12px }
a.postlink:link	  { color: #000; text-decoration: none }
a.postlink:visited   { color: #000; text-decoration: none }
a.postlink:hover   { color: #fff; text-decoration: underline }
.bottomnav     { color: #ff4500; font-weight: bold; font-size: 10px; text-decoration: none }
a.bottomnav    { color: #ff4500; font-weight: bold; font-size: 10px; text-decoration: none }
a.bottomnav:visited    { color: #ff4500; font-weight: bold; font-size: 10px; text-decoration: none }
a.bottomnav:hover    { color: #fff; font-weight: bold; font-size: 10px; text-decoration: none }

/* Quote & Code blocks */
.code  { color: #c0c0c0; font-size: 11px; font-family: Courier, "Courier New", sans-serif; background-color: #000; border: solid 1px #d1d7dc }

.quote  { color: #444444; font-style: italic; font-size: 11px; line-height: 125%; font-family: Verdana, Arial, Helvetica, sans-serif; background-color: #c0c0c0; border: solid 1px #000 }


/* Copyright and bottom info */
.copyright		{ font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #444444; letter-spacing: -1px;}
a.copyright		{ color: #444444; text-decoration: none;}
a.copyright:visited { color: #444444; text-decoration: none }
a.copyright:hover { color: #000000; text-decoration: underline;}


/* Form elements */
input,textarea, select {
	color : #000000;
	font: normal 11px Verdana, Arial, Helvetica, sans-serif;
	border-color : #000000;
}

/* The text input fields background colour */
input.post, textarea.post, select {
	background-color : #CCCC99;
}

input { text-indent : 2px; }

/* The buttons used for bbCode styling in message post */
input.button {
	background-color : #EFEFEF;
	color : #000000;
	font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif;
}

/* The main submit button option */
input.mainoption {
	background-color : #FAFAFA;
	font-weight : bold;
}

/* None-bold submit button */
input.liteoption {
	background-color : #FAFAFA;
	font-weight : normal;
}

/* This is the line in the posting page which shows the rollover
  help line. This is actually a text box, but if set to be the same
  colour as the background no one will know ;)
*/
.helpline { background-color: #DEE3E7; border-style: none; }


/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
@import url("formIE.css");
Где тут оно??? подсажите плз!
Аватара пользователя
Палыч
Former team member
Сообщения: 9683
Стаж: 17 лет 10 месяцев
Откуда: Питер
Благодарил (а): 3 раза
Поблагодарили: 454 раза
Контактная информация:

Сообщение Палыч »

D71
Посмотрите, что у вас стоит в таблице ваш_префикс_themes в строке с ID вашего стиля в поле body_text
D71 писал(а):Где тут оно?
D71 писал(а):.postbody  { color: #dcdcdc; font-size: 12px }
но вообще-то он тут серый, а не белый...
Хотя есть и черный
D71 писал(а):.gen,.genmed,.gensmall { color : #000000; }
Вообще, принцип приоритетов, если не ошибаюсь, такой:
1. Таблица ваш_префикс_themes, если иное не указано в файле стиль.css
2. Файл стиль.css, если иное не указано в файле overall_header.tpl в теге <style type="text/css"> ... </style>
3. Файл overall_header.tpl в теге <style type="text/css"> ... </style>, если иное не указано тегами (типа span) непосредственно в соответствующем файле шаблона
Не все то WINDOWS, что висит... phpBB только учусь.
ICQ, email, ЛС - только для личных сообщений. Вопросы по phpbb только на форумах. По найму не работаю.
D71
phpBB 1.4.1
Сообщения: 44
Стаж: 16 лет 7 месяцев

Сообщение D71 »

Спасибо, буду разбираться:)
Закрыто

Вернуться в «Стили для phpBB 2.0.x»