• Страница 1 из 1
  • 1
Модератор форума: -SAM-  
Форум » Веб-разработка » Вопросы про uCoz » форум ёпта
форум ёпта
SF1zZ
Среда, 15 Мая 2013 | Сообщение 1
Оффлайн
Пользователи
Сообщений:82
Награды: 0
1) Проблема: хочу установить шаблон форума, но не могу установить CSS, оч много символов, мб можна как то установить ссылку на CSS файл ?
2) Ссылка на сайт(обязательно) (не кликательная): ? http:// igro-serv-ru.at.ua/forum
3) Скрин(если можно): ? нету
4) Код проблемы: ? ссылка на CSS: igro-serv-ru.at.ua/my.css


BEST PUBLIC SERVER CS 1.6 > 91.211.117.33:27060
Страна: (UA)
Kosten
Среда, 15 Мая 2013 | Сообщение 2
Оффлайн
Администраторы
Сообщений:44267
Награды: 70
SF1zZ, Попробуй не весь ставить а этот кусок стиля в CSS
Код
/* General forum Table View */
.gTable {padding:0; margin:0; border-collapse:separate; border-spacing:0 !important; background:#e9e9e9;}
td.gTableTop {background: url(/images/f_top.png) no-repeat; height:40px; line-height:40px; color:#fff; padding:0 0 0 20px; text-shadow:0 1px 0 #1f5778; font:bold 11px Tahoma;}
a.catLink:link, a.catLink:visited {text-decoration:none; color:#fff;}
a.catLink:hover, a.catLink:active {text-decoration:underline; color:#fff;}
.f_bottom {background: url(/images/f_bottom.png) no-repeat; height:10px; margin:0 0 5px 0;}

.gTableSubTop {padding:2px 5px; background:#e9e9e9; border-bottom:1px solid #d5d5d5; box-shadow: inset 0 -1px 0 #fff; color:#000000; height:20px; line-height:20px; font:bold 11px Tahoma;}
td.gTableSubTop:first-child {border-left:1px solid #d5d5d5;}
td.gTableSubTop:last-child {border-right:1px solid #d5d5d5;}
.gTableBody1 {padding:2px;background:#FFFFFF;}
.gTableBottom {padding:2px;background:#D8D8D8; border:1px solid #FFFFFF;;}
.gTableError {padding:2px;background:#D8D8D8; border:1px solid #FFFFFF;;color:#FF0000;}

.gTableLeft, .gTableRight {padding:7px 7px;}

/* Forums Styles */
.forumNameTd,.forumLastPostTd, .forumIcoTd,.forumThreadTd, .forumPostTd, .forumLastPostTd {padding:10px 10px; background:#e9e9e9; border-bottom:1px solid #d5d5d5; box-shadow: inset 0 -1px 0 #fff;}
.forumArchive {padding:10px 10px; background:#e9e9e9; border-bottom:0px solid #d5d5d5; box-shadow: inset 0 0 0 #fff;}
.forumIcoTd, .gTableLeft {border-left:1px solid #d5d5d5;}
.forumThreadTd, .forumPostTd { background: url(/images/f_num.png) #e9e9e9 no-repeat center;}
.forumLastPostTd, .gTableRight {border-right:1px solid #d5d5d5;}
.gTableRight {border-left:1px solid #d5d5d5; border-bottom:1px solid #d5d5d5;}
.gTableBody1 {border-right:1px solid #d5d5d5; border-bottom:1px solid #d5d5d5;}

table.gTable tr:hover td.forumLastPostTd, table.gTable tr:hover td.forumIcoTd, table.gTable tr:hover td.threadIcoTd, table.gTable tr:hover td.forumNameTd, table.gTable tr:hover td.threadNametd, table.gTable tr:hover td.threadAuthTd, table.gTable tr:hover td.threadLastPostTd, table.gTable tr:hover td.forumLastPostTd, table.gTable tr:hover span.forumArchive {background: #f3f3f3;}
table.gTable tr:hover td.forumThreadTd, table.gTable tr:hover td.forumPostTd, table.gTable tr:hover td.threadPostTd, table.gTable tr:hover td.threadViewTd {background: url(/images/f_num_hover.png) #f3f3f3 no-repeat center;}

.lastPostGuest,.lastPostUser,.threadAuthor {font-weight:bold}
.archivedForum{font-size:7pt;color:#FF0000;font-weight:bold;}

/* forum Titles & other */
.forum {font-weight:bold;font-size:8pt;}
.forumDescr,.forumModer, .threadDescr {color:#000;font-size:8pt;}
.forumViewed {font-size:9px;}
a.forum:link, a.lastPostUserLink:link, a.forumLastPostLink:link, a.threadAuthorLink:link {text-decoration:none; color:#174864;}
a.forum:visited, a.lastPostUserLink:visited, a.forumLastPostLink:visited, a.threadAuthorLink:visited {text-decoration:none; color:#174864;}
a.forum:hover, a.lastPostUserLink:hover, a.forumLastPostLink:hover, a.threadAuthorLink:hover {text-decoration:underline; color:#174864;}
a.forum:active, a.lastPostUserLink:active, a.forumLastPostLink:active, a.threadAuthorLink:active {text-decoration:underline; color:#174864;}

/* forum Navigation Bar */
.forumNamesBar {font-weight:bold;font-size:8pt;}
.forumBarKw {font-weight:normal;}
a.forumBarA:link {text-decoration:none; color:#000000;}
a.forumBarA:visited {text-decoration:none; color:#000000;}
a.forumBarA:hover {text-decoration:none; color:#174864;}
a.forumBarA:active {text-decoration:underline; color:#174864;}

/* forum Fast Navigation Blocks */
.fastNav,.fastSearch,.fastLoginForm {font-size:8pt;}

/* forum Fast Navigation Menu */
.fastNavMain {background:#C7D7EF;}
.fastNavCat {background:#E7EEF8;}
.fastNavCatA {background:#E7EEF8;color:#0000FF}
.fastNavForumA {color:#0000FF}

/* forum Page switches */
.switches {background:#103e52; -webkit-border-radius: 3px;-moz-border-radius: 3px;border-radius: 3px;}
.pagesInfo {background:#14465d;padding:7px;color:#fff;font-size:8pt;}
.switch {background:#14465d;width:15px;color:#fff;font-size:7pt;}
.switchActive {background:#19546f;font-weight:bold;color:#fff;width:15px}
a.switchDigit:link,a.switchBack:link,a.switchNext:link, a.switchDigit:visited,a.switchBack:visited,a.switchNext:visited {text-decoration:none; color:#fff;}
a.switchDigit:hover,a.switchBack:hover,a.switchNext:hover, a.switchDigit:active,a.switchBack:active,a.switchNext:active {text-decoration:underline; color:#fff;}

/* forum Threads Style */
.threadNametd,.threadAuthTd,.threadLastPostTd, .threadIcoTd,.threadPostTd,.threadViewTd {padding:10px 10px; background:#e9e9e9; border-bottom:1px solid #d5d5d5; box-shadow: inset 0 -1px 0 #fff;}
.threadIcoTd {border-left:1px solid #d5d5d5;}
.threadPostTd,.threadViewTd { background: url(/images/f_num.png) #e9e9e9 no-repeat center;}
.threadLastPostTd {border-right:1px solid #d5d5d5; font:11px Tahoma;}
.threadsType, .threadsDetails, .forumOnlineBar {padding:5px 5px; background:#dfdfdf; border-bottom:1px solid #d5d5d5; border-left:1px solid #d5d5d5; border-right:1px solid #d5d5d5; color:#000; height:20px; font-size:11px;}
.threadsType {font:bold 11px Tahoma; padding:5px 15px;}

a.threadPinnedLink:link, a.threadPinnedLink:visited, a.threadLink:link, a.threadLink:visited {text-decoration:none; color:#174864;}
a.threadPinnedLink:hover, a.threadPinnedLink:active, a.threadLink:hover, a.threadLink:active {text-decoration:underline; color:#174864;}

.postpSwithces {font-size:7pt;}
.thDescr {font-weight:normal;}
.threadFrmBlock {font-size:7pt;text-align:right;}

/* forum Posts View */
.postTdTop {background:#f3f3f3; color:#000000; font-size:11px; border-left:1px solid #d5d5d5; border-right:1px solid #d5d5d5; border-bottom:1px solid #d5d5d5;}
.forum_post {overflow:hidden; padding:10px 10px;}
.forum_post .left {float:left; width:40px; padding:5px 5px; background:#ccc; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;}
.forum_post .left img {width:40px; height:40px;}
.forum_post .right {margin:0 0 0 55px;}
.forum_post .right .usern {margin:0 0 17px 0;}
.forum_post .right .info {font:11px Tahoma; padding:0 0 0 5px;}
.postUser {font:bold 13px Tahoma;}
.group_4 {color:#a51b1b; font:bold 11px Tahoma;}
.forum_post .user_titul {background:#ccc; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; padding:5px 5px; display:inline-block;}
.posttdMessage {padding:10px; background:#fff; border-left:1px solid #d5d5d5; border-right:1px solid #d5d5d5; font:12px Tahoma; color:#333333}
.postBottom {background:#e9e9e9; color:#000000; height:20px; padding:0 5px; border:1px solid #d5d5d5;}
.posttdMessage img {max-width:600px;}
.gTableRight textarea {width:400px;}
Страна: (RU)
Delete
Среда, 15 Мая 2013 | Сообщение 3
Оффлайн
Проверенные
Сообщений:1079
Награды: 7
Для начала. создаешь текстовый файл и кидаешь в него те стили которые будут относится к форуму...Кодировку ставь Utf-8...Далее заливаешь в свой файловый менеджер этот текстовый документ и переименовываешь на style.css...Потом заходишь в Общий вид страниц форума и находишь там такую строчку:
Код
<link type="text/css" rel="StyleSheet" href="/_st/my.css" />

И в место /_st/my.css прописываешь свой путь к style.css.

Примерно так должно получиться:
Код
<link type="text/css" rel="StyleSheet" href="/designs_01/cstav/style.css" />


На этом все...ничего сложного нету...


На случай если буду нужен, то я там же, где и был, когда был не нужен...
Страна: (RU)
Kosten
Среда, 15 Мая 2013 | Сообщение 4
Оффлайн
Администраторы
Сообщений:44267
Награды: 70
N_O_O_B, не хрена не чего сложного я лично в первые такое слышу. Теперь знать буду. N_O_O_B, ты бы урок какой ни будь интересный написал.
Страна: (RU)
Delete
Суббота, 18 Мая 2013 | Сообщение 5
Оффлайн
Проверенные
Сообщений:1079
Награды: 7
ах да...чуть не забыл...есть еще второй способ...

в таблице стилей в самом верху прописать:
Код
@import url("ссылка на style.css");


Примерно так должно получиться:
Код
@import url("/designs_01/style.css");


Добавлено (15.05.2013, 21:45)
---------------------------------------------
Kosten, какие там с меня уроки ? blink

Добавлено (18.05.2013, 13:36)
---------------------------------------------
Проблема решена или нет ? dry


На случай если буду нужен, то я там же, где и был, когда был не нужен...

Сообщение отредактировал
N_O_O_B - Суббота, 18 Мая 2013, 15:10
Страна: (RU)
Kosten
Суббота, 18 Мая 2013 | Сообщение 6
Оффлайн
Администраторы
Сообщений:44267
Награды: 70
Закрыто!
Страна: (RU)
Форум » Веб-разработка » Вопросы про uCoz » форум ёпта
  • Страница 1 из 1
  • 1
Поиск: