img]https://upforme.ru/uploads/001b/c4/83/2/881763.png[/img]
Код:]https://upforme.ru/uploads/001b/c4/83/2/932917.jpg
Код:https://upforme.ru/uploads/001b/c4/83/2/145888.jpg
Код:https://upforme.ru/uploads/001b/c4/83/2/53677.jpg
Дизайн форума
Сообщений 1 страница 14 из 14
Поделиться12025-03-02 12:42:27
Поделиться22025-03-02 12:42:38
текст | текст | текст | |
текст | текст | текст |
Поделиться32025-03-02 12:42:51
Коды бордюров
/* CS2 Border colours
-------------------------------------------------------------*//* CS2.2 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {
border-color: transparent
}/* CS2.4 */
.punbb td, .punbb fieldset, #viewprofile ul, #profilenav ul, .punbb .post .post-body,
.punbb .post h3 span, .post-links ul, .post-links, .usertable table {
border-color: transparent;
}/* CS2.5 */
.punbb th {
border-color: transparent
}
.punbb .post-sig dt {border-top: 1px solid #ffe2be;}/* CS2.6 */
.punbb .quote-box, .punbb .code-box {
border-color: transparent;
}#pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span {
border-color: transparent
}#pun-ulinks li a, #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend {
border-color: transparent
}.punbb .divider {
border-color: transparent
}.punbb .formal fieldset .post-box, .punbb .info-box {
border: 1px solid transparent
}li.pa-online {
border-left-color: transparent;
}
Поделиться52025-03-02 12:43:12
[icon]https://upforme.ru/uploads/001b/c4/83/2/576237.jpg[/icon]
Трям
Поделиться62025-03-02 12:43:24
Маска профиля - поменять фон
Сам профиль доредачить, картинка с лапами или другая.
Код мгновенногого копирования кода.
Верхняя шапка.
Чтоб сохраняло посты
Иконки, или уменьшить или добавить. Найти вообще хоть какую-то нормальную, чтоб его
Узнать как исправить чёрный текст после подписки, это где-то рядом с postlink.
Добавить кнопки вверх, вниз. Ещё раз попробовать скрипт с затуханием.
Узнать за цвет полосы прокрутке в браузере
Подумать о заполнении меню #pun, где тройное свойство background. В одном из уроков
Найти себе аватар!
Ах, да, готический шрифт, установка с сайта, попробовать на шаблоне
Поделиться72025-03-02 12:43:35
Дизайн закончен. Ура
Поделиться82025-03-02 12:43:56
Код:/************************************************************* A - SETUP **************************************************************/ /* A1 Import the colour scheme -------------------------------------------------------------*/ /* A1.1 */ @import url(style_cs.css); @import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@1,300&display=swap'); /* Код для подключения шрифта в /css/stylename.css */ @font-face { font-family: "HarryPotterRegular"; src: url("https://forumstatic.ru/files/001b/b6/3c/65571.eot") format("embedded-opentype"), url("https://forumstatic.ru/files/001b/b6/3c/31973.woff") format("woff"), url("https://forumstatic.ru/files/001b/b6/3c/19060.ttf") format("truetype"); font-style: normal; font-weight: normal; } /* A2 Deal with browser defaults and wonkiness -------------------------------------------------------------*/ /* A2.1 */ html, body {margin: 0; padding: 0} /* A2.2 */ .punbb * { margin: 0 } /* A2.3 */ .punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt { padding: 0; list-style: none; } /* A2.4 */ .punbb img { border:none } /* A2.5 */ .punbb .main table { table-layout: fixed; width: 100%; } /* A2.6 */ .checkfield input[type="checkbox"], .radiofield input[type="radio"] {margin: 0 0.3em;} /* A2.7 */ p[class="checkfield"] *, div[class="checkfield"] *, fieldset[class="radiofield"] * { height: 1.8em; vertical-align: middle } /* A3 Text setup -------------------------------------------------------------*/ /* A3.1 */ body { font-size: 100.01%; } /* A3.2 */ .punbb { font: normal 68.75% verdana, arial, helvetica, sans-serif; } /* 3.3 */ .punbb textarea, .punbb input, .punbb select, .punbb optgroup { font: 1em verdana, arial, helvetica, sans-serif } /* A3.4 */ .punbb h1, .punbb h2, .punbb h3, .punbb h4, .punbb table, .punbb th { font-size: 1em; font-weight: normal; } /* A3.5 */ .punbb h1 span, .punbb h2 span, .punbb legend span { font-size: 1.1em; } /* A3.6 */ .punbb pre { font: 1.1em/140% monaco, "bitstream vera sans mono", "courier new", courier, monospace } /* A3.7 */ .punbb address, .punbb em { font-style: normal } /* A3.8 */ .punbb .post-content em { font-style: italic } /* A3.9 */ .punbb .post-content em.bbuline { font-style: normal; text-decoration: underline; } /* A3.10 */ .punbb a { text-decoration: underline } /* A3.11 */ .punbb optgroup { font-weight: bold; } /* A4 Float clearing and hidden items -------------------------------------------------------------*/ /* A4.1 */ #pun:after, .punbb .container:after, .punbb .post-links ul:after, .punbb .main div.inline:after, .punbb .post-box:after, .punbb .linksb:after { clear: both; content: "."; display: block; height: 0; visibility: hidden; overflow:hidden; line-height: 0.0; font-size: 0; } /* A4.2 */ .acchide, #pun-index #pun-main h1, #pun-navlinks h2, #pun-pagelinks h2, #pun-status h2, #pun-ulinks h2, .punbb .forum h2, .punbb .multipage .topic h2, .punbb dl.post-sig dt span, .punbb p.crumbs strong, .punbb .divider hr, .punbb .required label em, .punbb .formsubmit label, .punbb .submitfield label, .punbb .modmenu label, #pun-userlist .main h2 { font-size: 0; height: 0; width: 0; line-height: 0.0; position:absolute; left: -9999px; overflow: hidden } /* A5 Basic page layout and borders -------------------------------------------------------------*/ /* A5.1 */ #pun { margin: auto; width: 900px; } /* A5.2 */ .punbb { float: left; width: 100%; height: auto; } /* A5.3 */ #pun-redirect, #pun-maint { margin: 50px 20% 12px 20%; width: auto; float: none; } /* A5.4 */ .punbb .section, .punbb .main { margin-bottom: 1em; } /* A5.5 */ .punbb .category, .punbb .post { margin-top: 0.4em; } /* A5.6 */ .punbb #pun-category1, .punbb .toppost, .punbb .topicpost { margin-top: 0; } /* 5.7 */ #pun-post .topic { margin-top: 1em; } /* A5.8 */ .punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info, .punbb .category, .punbb .post { border-style: none none solid none; border-width: 0px 0px 2px 0px } /* A5.9 */ .punbb .container { border-style: solid; border-width: 1px; } /* A5.10 */ .punbb .section h2, #pun-main h1, #pun-main h2, #pun-stats h2, #pun-debug h2 { padding: 0.5em 1em; } /************************************************************* B - MAIN CONTENT - GENERAL **************************************************************/ /* B1 Parsed Content, Signatures and Scroll Boxes -------------------------------------------------------------*/ /* B1.1 */ .punbb .post-content { padding: 0; margin: 0; width: 100%; overflow: hidden; } /* B1.2 */ .punbb .post-sig dt { display: block; border-top: 1px solid #888; width: 250px; margin: 5px 0; } /* B1.3 */ .punbb .post-content p { margin: 0; padding: 0 0 1em 0; line-height: 150%; } /* B1.4 */ .punbb .post-content img { vertical-align: text-bottom } /* B1.5 */ .punbb .post-content img.postimg { vertical-align: middle; } /* B1.6 */ .punbb .post-content .blockcode, .punbb .post-content blockquote { width: 100%; overflow: hidden; } /* B1.7 */ .punbb .post-content .scrollbox { width: 100%; overflow: auto; } /* B1.8 */ .punbb .post-content .quote-box, .punbb .post-content .code-box { margin: 0.4em 1.8em 1.4em 1.8em; padding: 1em; border-style: solid; border-width: 1px; } /* B1.9 */ .punbb .quote-box cite, .punbb .code-box strong.legend { display: block; padding-bottom: 0.7em; font-size: 1.1em; font-weight: bold; font-style: normal; margin: 0; } /* B2 Information boxes -------------------------------------------------------------*/ /* B2.1 */ .punbb .info-box { padding: 1.1em 1.7em 1em 1.7em; border-style: solid; border-width: 1px; margin: 0 0 1.1em 0; } /* B2.2 */ .punbb .info-box * { padding: 0 0 0.7em 0; } /* B2.3 */ .punbb #pun-main .info-box .legend { font-size: 1.1em; font-weight: bold; } /* B3 Pagination and posting links -------------------------------------------------------------*/ /* B3.1 */ .punbb .linkst { float: left; position: relative; width: 100%; font-size: 1.1em; height: 0; color: white; } /* B3.2 */ .multipage { margin-top: 3em; } /* B3.3 */ .linkst .pagelink { position: absolute; top: -5em; left: 1em; width: 24em; color: white; } /* B3.4 */ .linkst .postlink { position: absolute; top: -5em; right: 1em; width: 16em; text-align: right; font-weight: bold; color: white; } /* B3.5 */ .punbb .linksb { text-align: right; padding: 0.4em 1em 0.5em 1em; font-size: 1.1em; color: white; } /* B3.6 */ .linksb .pagelink { float: left; width: 24em; text-align: left; color: white; } /* B3.7 */ .linksb .postlink { float: right; width: 16em; font-weight: bold } /* B3.8 */ .subscribelink { clear:both; padding-top: 0.3em; padding-bottom: 0.5em; } /************************************************************* C - MAIN CONTENT - SPECIFIC **************************************************************/ /* C1 Form layout -------------------------------------------------------------*/ /* C1.1 */ .punbb .formal .container { padding: 1.7em 2.3em 1.1em 2.3em; } /* C1.2 */ .punbb .formsubmit { padding: 0 0 0 1.7em; margin: 1em 0 0 0; } /* C1.3 */ .punbb .formsubmit input, .punbb .formsubmit a, .punbb .formsubmit span { margin: 0 0.6em 0 0 } /* C1.4 */ .punbb fieldset { border-style: solid; border-width: 1px; padding: 0 18px 0 18px; margin: 0 0 1em 0 } /* C1.5 */ .punbb fieldset legend { padding: 0; margin: 0 0 0 11px; font-size: 1.1em } /* C1.6 */ .punbb fieldset legend span { padding: 0 5px; margin: 0 0 0 -15px; } /* C1.7 */ .punbb fieldset fieldset { border-style: none; margin: 0; padding: 0 0 8px 0 } /* C1.8 */ .punbb .fs-box { padding: 1em 0 0.8em 0; } /* C1.9 */ .punbb .fs-box p, .punbb .fs-box fieldset { padding: 0 0 0.8em 0 } /* C1.10 */ .punbb .inline .inputfield, .punbb .inline .selectfield, .punbb .inline .passfield { float: left; margin-right: 1em; } /* C1.11 */ .punbb .inline .infofield { clear:both } /* C1.12 */ .punbb .datafield br { display: none } /* C1.13 */ .punbb .required label, .punbb .datafield span.input { font-weight: bold } /* C1.14 */ .punbb .datafield span.input a { font-weight: normal; } /* C1.15 */ .punbb .areafield span.input, .punbb p.longinput span.input { display: block; padding: 0 12em 0 0; height: 100%; /* For IE */ } /* C1.16 */ .punbb textarea, .punbb .longinput input { width: 64%; margin: 0; } /* C1.17 */ .punbb .hashelp { position: relative; } /* C1.18 */ .punbb .helplinks { display: block; position: absolute; top: 1em; right: 0; font-weight: normal; width: 36%; } /* c1.19 */ .punbb #profile .helplinks { top: 1.5em; } /* C1.20 */ .punbb .helplinks span { display: block; padding-bottom: 0.2em; } /* C1.21 */ #pun-post .formal .info-box li { padding-left: 4px; list-style-type: square; list-style-position: inside; line-height: 1.5; margin: 0; } /* C2 Table layout -------------------------------------------------------------*/ /* C2.1 */ .punbb .main .tcl { overflow: hidden; text-align: left; width: 50%; } /* C2.2 */ .punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod { text-align: center; width: 10%; } /* C2.3 */ .punbb .main .tcr { overflow: hidden; text-align: left; width: 30%; } /* C2.4 */ #pun-userlist .main .tcl, #pun-searchtopics .main .tcl, #pun-modviewforum .main .tcl { width: 40% } /* C2.5 */ #pun-userlist .main .tc2, #pun-searchtopics .main .tc2 { text-align: left; width: 20%; } /* C2.6 */ #pun-debug table .tcl { width: 15%; white-space:normal; } /* C2.7 */ #pun-debug .tcr { width: 90%; white-space: normal; } /* C2.8 */ #pun-index .tcl h3 { font-size: 1.2em; font-weight: bold; } /* C2.9 */ .punbb td span.youposted { font-weight: bold; margin-left: -1em; position: absolute; } /* C2.10 */ .punbb td .modlist { display: block; padding-top: 0.3em } /* C2.11 */ .punbb .main td { border-style: solid none none solid; border-width: 1px 0 0 1px; padding: 0.8em 1em; } /* C2.12 */ .punbb .main th { border-style: none none none solid; border-width: 0 0 0 1px; padding: 0.4em 1em 0.4em 1em; } /* C2.13 */ .punbb .main .tcl { border-left-style: none; border-left-width: 0 } /* C2.14 */ .punbb tbody.hasicon td.tcl { padding-left: 3.2em } /* C2.15 */ .punbb div.icon { float: left; display: block; width: 57px; height: 37px; margin-left: -20px; } /* C3 Topics -------------------------------------------------------------*/ /* C3.1 */ .punbb .post .container { border-style: none solid solid solid; border-width: 1px; margin-top: -1px; padding-bottom: 1px; } /* C3.2 */ .punbb .post h3 { border-style: solid solid none solid; border-width: 1px; } /* C3.3 */ .punbb .post h3 span { padding: 0.5em 1em; display: block; margin-left: 19em; border-left-style: solid; border-left-width: 1px } /* C3.4 */ .punbb .post h3 strong { float: right; width: 5em; text-align: right; font-weight: normal; } /* C3.5 */ .punbb .post .post-author { float: left; width: 19em; margin-top: -1.5em; overflow: hidden; } /* C3.6 */ .punbb .post .post-author ul, .punbb .post .post-author p { padding: 0 1em 1em 1em; line-height: 140%; } /* C3.7 */ .pa-author { font-size: 1.1em; font-weight: bold; } /* C3.8 */ .pa-author a { text-decoration: none } /* C3.9 */ li.pa-title { padding-bottom: 0.4em; font-weight: bold; } li.pa-online { line-height: 0.8em; border-left-style: solid; border-left-width: 0.7em; padding-left: 0.4em; margin-top: 0.7em; } /* C3.11 */ .punbb .post-body { margin-left: 19em; border-left-style: solid; border-left-width: 1px; padding: 0 0 1px 0; } /* C3.12 */ .punbb .post-box { padding: 1em; } /*C3.13 */ .punbb fieldset .post-box { margin-bottom: 0.8em } /* C3.14 */ .punbb .post-links { margin-left: 19em; border-left-style: solid; border-left-width: 1px; } /* C3.15 */ .punbb .post-links ul { padding: 0 1em 0 0; height: 2em; line-height: 2em; margin-left: -19em; border-top-style: dashed; border-top-width: 1px; background: transparent; text-align: right; } /* C3.16 */ .punbb .post-links li { display: inline; padding-left: 1em; } /* C3.17 */ .pl-email, .pl-website { float: left; } /* C3.18 */ .punbb .clearer { clear: both; height: 0; font-size: 0; } /* C4 Moderator menu -------------------------------------------------------------*/ /* C4.1 */ .punbb .modmenu .container { padding: 0.5em 1em; text-align: right; } /* C4.2 */ .punbb .modmenu strong, .punbb .modmenu a { height: 1.8em; line-height: 1.8em; } /* C4.3 */ .punbb .modmenu .container strong { float: left; } /* C4.4 */ .punbb .modmenu input { margin-left: 1em; } /* C5 Message boxes -------------------------------------------------------------*/ /* C5.1 */ .punbb .info .container { padding: 0.8em 1em } /* C5.2 */ .punbb .info .container .backlink { padding-top: 0.8em; } /* C6 Profile -------------------------------------------------------------*/ /* C6.1 */ #profile .container { padding-left: 18.6em; } /* C6.2 */ #profilenav { float: left; width: 14em; margin-left: -16.3em; display: inline; } /* C6.3 */ #profilenav li { padding-bottom: 0.8em; font-weight: bold; } /* C6.4 */ #viewprofile ul, #profilenav ul { border-style: solid; border-width: 1px; padding: 1.5em 18px 0.8em 18px; margin: 0 0 1em 0; } /* C6.5 */ #viewprofile h2, #profilenav h2 { background: transparent; border: none; padding: 0 0 0 0; margin: 0 14px -0.6em 14px; } /* C6.6 */ #viewprofile h2 span, #profilenav h2 span { padding: 0 5px; position: relative; } /* C6.7 */ #viewprofile li, #setmods dl { padding: 0 0 0 16em; margin-bottom: 0.2em; } /* C6.8 */ #viewprofile li span { float: left; width: 14em; margin-left: -16em; padding: 0.5em 1em; font-weight: bold; } /*C6.9 */ #setmods dt { float: left; width: 14em; margin-left: -16em; padding: 0.8em 1em; font-weight: bold; display: inline; } /* C6.10 */ #viewprofile li strong, #viewprofile li div, #setmods dd { display: block; padding: 0.5em 1em; font-weight: normal; } /* C6.11 */ .punbb img.avatardemo { float: right; margin: 0 0 0.8em 1.8em } /* C7 User list -------------------------------------------------------------*/ /* C7.1 */ #pun-userlist .formal, #pun-userlist .formal .container { border-bottom: none; margin-bottom: 0; } /* C7.2 */ #pun-userlist .usertable .container { padding: 0 2.3em 2.3em 2.3em; border-top: none; } /* C7.3 */ #pun-userlist .usertable table { border-style: solid; border-width: 1px; } /************************************************************* D - PUNBB SECTIONS OTHER THAN MAIN CONTENT **************************************************************/ /* D1 Logo and description -------------------------------------------------------------*/ /* D1.1 */ #pun-title { margin: 0; border-style: none; } /* D1.2 */ #pun-title h1 { display : none; padding: 0em 1em 0 1em; } /* D1.3 */ #pun-title .container { border-style: none solid none solid; } /* D1.4 */ #pun-title h1 span { font-size: 1.5em; } #pun-title table { border: none; height: 431px; width: 100%; } #pun-title td.title-logo-tdl { border: none; width: 100%; } #pun-title td.title-logo-tdr { border: none; width: 468px; } /* D2 Page navigation -------------------------------------------------------------*/ /* D2.1 */ #pun-pagelinks { position: absolute; top: -15px; left: 0; margin: 0; border: none; padding: 0; width: 100%; } /* D2.2 */ #pun-pagelinks .container { background: transparent; border: none; padding: 0} /* D2.3 */ #pun-pagelinks .container li { display: inline } /* D2.4 */ #pun-pagelinks li a, #pun-pagelinks a:link, #pun-pagelinks a:hover { height: 2em; line-height: 2em; padding: 0; font-size: 1.2em; margin-left: -9999px; display: block; float:left; width: 100%; } /* D2.5 */ #pun-pagelinks a:active, #pun-pagelinks a:focus { position:relative; margin: 0; } #pun-pagelinks li a span { display:block; margin: 0 1em } /* D3 Forum navigation -------------------------------------------------------------*/ /* D3.1 */ #pun-navlinks, #pun-navlinks .container { border-style: none; border-width: 0; margin: 0; } /* D3.2 */ #pun-navlinks .container { padding: 0.7em 5em; margin-top: -427px; } /* D.3 */ #pun-navlinks li { display: inline; padding-right: 1em; } /* D3.4 */ #pun-navlinks li a { font-family: "HarryPotterRegular"; font-size: 1.8em; font-weight: bold; text-shadow: #FC0 1px 0 10px; color: red; } /* D4 User links -------------------------------------------------------------*/ /* D4.1 */ #pun-ulinks { margin-top: 0; } /* D4.2 */ #pun-ulinks .container { border-top: none; border-style: none; /* убрал нижнее чёрное подчёркивание */ padding: 0.7em 1em; margin-top: 350px; } /* D4.3 */ #pun-ulinks li, #pun-ulinks li a { display: inline; border-left-style: solid; border-left-width: 1px; white-space: nowrap; } /* D4.4 */ #pun-ulinks li a { padding: 0 0.3em 0 0.6em font-size: 0.8em; font-weight: bold; color: white; text-shadow: #f7513b 1px 0 10px; } /* D4.5 */ #pun-ulinks li.item1, #pun-ulinks li.item1 a { border-left-style: none; border-left-width: 0; padding-left: 0 } /* D5 Welcome box and Top Breadcrumbs -------------------------------------------------------------*/ /* D5.1 */ #pun-status, #pun-status .container { border-bottom: none; margin-bottom: 0; } /* D5.2 */ #pun-status .container { padding: 0.8em 1em 1em 1em; } /* D5.3 */ #pun-status span { white-space: nowrap; margin-right: 0.5em; } /* D5.4 */ #pun-crumbs1 { font-weight: bold; overflow: hidden; margin-top: 0; } /* D5.5 */ #pun-crumbs1 p.container { border-top: none; padding: 1em 1em 0.8em 1em; font-size: 1.1em; } /* D5.6 */ #pun-break1 { margin: 0 1em; border-style: solid none; border-width: 1px 0; height: 0; margin: -2px 1em; position: relative; z-index: 1; } /* D6 Announcement -------------------------------------------------------------*/ /* D6.1 */ #pun-announcement h2 { padding: 0; margin: 0 1em -3.5em 1em; border-style: none none solid none; border-width: 0 0 1px 0; position: relative; font-weight: bold; } /* D6.2 */ #pun-announcement h2 span { display: block; padding: 1em 0 0.8em 0; border-bottom-style: solid; border-bottom-width: 1px; } /* D6.3 */ #pun-announcement .container { padding: 4.3em 1em 1em 1em; } /* D7 Statistics -------------------------------------------------------------*/ /* D7.1 */ #pun-stats .container { padding: 0.8em 1em } /* D7.2 */ #pun-stats li.item1, #pun-stats li.item2 { float: left; clear: both; line-height: 150%; } /* D7.3 */ #pun-stats li.item3, #pun-stats li.item4 { text-align: right; line-height: 150%; } /* D7.4 */ li#onlinelist { margin-top: 1em; border-top-style: solid; border-top-width: 1px; float: left; width: 100%; line-height: 130%; } /* D7.5 */ li#onlinelist div { border-top-style: solid; border-top-width: 1px; padding: 0.7em 0 0 0; } /* D8 Quick Jump - About - Bottom Breadcrumbs -------------------------------------------------------------*/ /* D8.1 */ #pun-qjump { margin: 0; border: none; width: 50%; position: relative; float: left; } /* D8.2 */ #pun-qjump .container { border: none; background: transparent; padding: 0.8em 1em; } /* D8.3 */ #pun-about { margin-top: 0; } /* D8.4 */ #pun-about .container { border-top-style: none; text-align: right; line-height: 150%; padding: 0.8em 1em; } /* D8.5 */ #pun-about p span { display:block; padding-left: 50%; } /* D8.6 */ #pun-crumbs2 { font-weight: bold; overflow: hidden; margin-bottom: 0; border-bottom: none; } /* D8.7 */ #pun-crumbs2 .container { border-bottom: none; padding: 0.8em 1em; font-size: 1.1em; } /* D8.8 */ #pun-break4 { margin: -2px 1em; border-style: solid none; border-width: 1px 0; position: relative; height: 0; z-index: 1; } /* D8.9 */ div.punbb-admin #pun-about .container { border-top-style: solid; border-top-width: 1px; } /* D9 Help file -------------------------------------------------------------*/ /* D9.1 */ #pun-help .formal .info-box h3.legend { border-bottom-style: solid; border-bottom-width: 1px; padding-bottom: 0; margin-bottom: 0.8em; } /* D9.2 */ #pun-help .formal .info-box h3.legend span { padding-bottom: 0.6em; display: block; border-bottom-style: solid; border-bottom-width: 1px; font-size: 1.1em; } /* D9.3 */ #pun-help .formal p, #pun-help .formal dd { margin-bottom: 1em } /* D9.4 */ #pun-help .formal ul, #pun-help .formal dl { padding: 0 0 0 1em } /* D9.5 */ #pun-help .formal li { padding: 0; line-height: 130% } /* D9.6 */ #pun-help .formal li * { vertical-align: text-top } /* D9.7 */ #pun-help .formal dt span { font: 1.4em/120% monaco, "bitstream vera sans mono", "courier new", courier, monospace } /* D9.8 */ #pun-help .formal .parsedmsg, #pun-help .formal .parsedmsg .incode { padding-bottom: 0; } #mask_dialog .inner { background: url("https://forumstatic.ru/files/001b/c4/83/99139.jpg?v=1"); } .pa-avatar img { max-width: 175px; max-height: 250px; }Код:/* CS1 Background and text colours -------------------------------------------------------------*/ body {background: url("https://forumstatic.ru/files/001b/b6/3c/24198.jpg") fixed top repeat #000000} #pun-title table {background: url("https://forumstatic.ru/files/001b/b6/3c/62918.jpg") top no-repeat #000000} #pun-ulinks .container {background: transparent; text-align: center} .punbb .quote-box, .punbb .code-box {background: url("https://forumstatic.ru/files/001b/c4/83/18151.jpg") } /* CS1.1 цвет постов и первых ячеек*/ .punbb .section .container, .punbb .post-body, .punbb .post-links, .punbb .formal fieldset .post-box, #viewprofile li strong, #viewprofile li div, #setmods dd, .punbb .info-box, .punbb #pun-main .info-box .legend { background-color: #ded5cc; color: black; } .punbb td.tc2, .punbb td.tc3 { background-color: #e6dacf; /* цвет фона */ color: black; /* цвет текста */ } .punbb td.tcl { /* для ячейки с названием и описанием */ background-color: #e0d3c5; color: black; } .punbb td.tcr { /* для ячейки с последним сообщением */ background: url(https://forumstatic.ru/files/001b/b6/3c/23249.png) right bottom no-repeat #ede6e4; color: black; } /* CS1.2 админ панель, лич сооб, профиль, участники, рядом с ответом и само поле ответа */ .punbb .main .container, .punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer { background-color: #ded5cc; color: black; } /* #f7f7f7 */ /* CS1.3 */ /* категории форума */ #pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 { background: url("https://forumstatic.ru/files/001b/b6/3c/74433.png") no-repeat bottom transparent; background-size: cover; color: #fff; font-family: 'Cormorant', serif; font-size: 1.6em; font-weight: bold; text-shadow: #f1e300 2px 0 10px; } /* CS1.4 */ #pun-title, #pun-title .container, .punbb .modmenu .container { background-color: #ccc1b6; color: black; } /* CS1.5 */ .punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span { background-color: #ded5cc; color: #7a2407 } /* CS1.6 */ .punbb .post h3 span, #viewprofile li, #setmods dl { background-color: #ccbba9; color: black; } .punbb th { background-color: #851313; /* цвет ячейки таблицы форум, количество тем */ color: #fff; } /* CS1.7 */ /* цитата её тень */ .punbb .quote-box, .punbb .code-box { background-color: white; color: #333 border-color: black; border-radius: 5px 5px; padding: 20px; box-shadow: inset 0 -3em 3em rgba(0,0,0,0.1), 0 0 0 2px rgb(255, 255, 255), 0.3em 0.3em 1em rgba(28, 0, 0, 1); } /* CS1.8 */ /* меню навигации: форум и др */ #pun-navlinks .container { background-color: transparent; color: #ffffff; text-align: center } .offline li.pa-online strong { font-weight: normal } /* CS2 Border colours -------------------------------------------------------------*/ .container, #pun-main .post h3 {border-color: #8c550d; } /* CS2.2 */ .punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info, .punbb .category, .punbb .post { border-color: transparent; } /* CS2.4 */ .punbb td, .punbb fieldset, #viewprofile ul, #profilenav ul, .punbb .post .post-body, .punbb .post h3 span, .post-links ul, .post-links, .usertable table { border-color: transparent; } /* CS2.5 */ .punbb th { border-color: transparent; } .punbb .post-sig dt {border-top: 1px solid #ffe2be;} /* CS2.6 */ .punbb .quote-box, .punbb .code-box { border-color: transparent; } #pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span { border-color: transparent; } #pun-ulinks li a, #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend { border-color: transparent } .punbb .divider { border-color: transparent; } .punbb .formal fieldset .post-box, .punbb .info-box { border: 1px solid transparent; } li.pa-online { border-left-color: transparent; } /* CS3 Links -------------------------------------------------------------*/ /* CS3.1 */ .punbb a, .punbb a:link, .punbb a:visited, .punbb-admin #pun-admain a, .punbb-admin #pun-admain a:link, .punbb-admin #punbb-admain a:visited { color: #750606; text-shadow: white 1.8px 0 1px; } .punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited { color: #333 } /* CS3.2 */ .punbb a:hover, .punbb a:focus, .punbb a:active, .punbb-admin #pun-admain .nodefault, .punbb-admin #punbb-admain a:hover, .punbb-admin #punbb-admain a:focus, .punbb-admin #punbb-admain a:active { color: #e39a56; } /* CS3.3 */ #pun-navlinks a { color: #eee; text-decoration: none } /* CS3.4 */ #pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active { color: #fff; text-decoration: underline } #pun-pagelinks a:active, #pun-pagelinks a:focus { background-color: white; color: white; } /* CS4 Post status icons -------------------------------------------------------------*/ div.icon { background: url(https://forumstatic.ru/files/001b/b6/3c/88463.png?v=1) no-repeat; } tr.inew div.icon { background: url(https://forumstatic.ru/files/001b/b6/3c/74700.png?v=1) no-repeat; } tr.isticky div.icon { background: url(https://forumstatic.ru/files/001b/b6/3c/79070.png?v=1) no-repeat; } tr.iclosed div.icon { background: url(https://forumstatic.ru/files/001b/b6/3c/99102.png?v=1) no-repeat; } tr.iredirect div.icon { background: url(https://forumstatic.ru/files/001b/b6/3c/79070.png?v=1) no-repeat; }
Поделиться92025-03-02 12:44:13
<!--Скрытие профиля в теме тегом-->
<style type="text/css">.hideprofile .post-author,.hideprofile .pl-email,.hideprofile .pl-website{display:none!important}
.hideprofile .post-body,.hideprofile .post-links,.hideprofile .post-links ul,.post.hideprofile h3>span{margin-left:0!important}</style>
<script>
FORUM.set('editor.addition.tags.hideprofile',{name:'Скрыть минипрофиль',onclick:function(){insert('[hideprofile]');}});
$().pun_mainReady(function(){$('.post:contains("[hideprofile]")').addClass('hideprofile').html(function(){return $(this).html().replace(/\[hideprofile\]/gim,'')})});
</script>
<!-- Конец -->
[hideprofile]
Поделиться122025-03-09 17:23:56
Новый код
/* Шрифт */
@import url(style_cs.css);
@import url('https://fonts.googleapis.com/css2?family=Alice&display=swap');
/* Код для подключения готического шрифта */
@font-face {
font-family: "MasonChronicles";
src: url("https://forumstatic.ru/files/001b/c4/83/39764.eot"); /* IE9 Compat Modes */
src: url("https://forumstatic.ru/files/001b/c4/83/39764.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */ url("https://forumstatic.ru/files/001b/c4/83/62586.otf") format("opentype"), /* Open Type Font */ url("https://forumstatic.ru/files/001b/c4/83/16018.svg") format("svg"), /* Legacy iOS */ url("https://forumstatic.ru/files/001b/c4/83/98247.ttf") format("truetype"), /* Safari, Android, iOS */ url("https://forumstatic.ru/files/001b/c4/83/19935.woff") format("woff"), /* Modern Browsers */ url("https://forumstatic.ru/files/001b/c4/83/11498.woff2") format("woff2"); /* Modern Browsers */
font-weight: normal;
font-style: normal;
}
/*** ICOMOON ***/
@font-face {
font-family: "icomoon";
src: url("https://forumstatic.ru/files/001b/aa/c9/72070.woff") format("woff"),
url("https://forumstatic.ru/files/001b/aa/c9/93478.ttf") format("truetype");
font-style: normal;
font-weight: normal;
}
:root {
--bg-main: #000000;
--radio: #202020;
--radio-bg: #bc6c28;
--link-color: #750606;
--link-font: "Alice";
--white: #fff;
--border-field: #750606;
}
/* форум */
html, body {margin: 0; padding: 0; min-width: 1020px !important;}
html {
background: var(--bg-main) url(https://forumstatic.ru/files/001c/6c/7f/55985.webp) top center no-repeat fixed;
}
body {
padding-top: 214px;
background: url(https://forumstatic.ru/files/001c/6c/7f/15366.webp) center -5px no-repeat;
}
.punbb * {
margin: 0
}
.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {
padding: 0;
list-style: none;
}
.punbb .main table {
table-layout: fixed;
width: 100%;
}
/* Чекбоксы импуты */
.checkfield input[type="checkbox"], .radiofield input[type="radio"] {margin: 0 0.3em;}
p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
height: 1.8em;
vertical-align: middle;
}
.checkfield input[type="checkbox"], .radiofield input[type="radio"] {margin: 0 0.3em;}
@supports(-webkit-appearance: none) or (-moz-appearance: none) {
input[type='checkbox'], input[type='radio'] {
-webkit-appearance: none;
-moz-appearance: none;
}
}
input[type="checkbox"] {
box-shadow: 0 0 0 1px var(--radio) inset;
cursor: pointer;
padding: 10px;
transition: all .3s ease-in-out 0s;
}
input[type="radio"] {
box-shadow: 0 0 0 1px var(--radio) inset;
cursor: pointer;
padding: 6px;
transition: all .3s ease-in-out 0s;
}
input[type="checkbox"]:checked, input[type="radio"]:checked {
background: var(--radio-bg);
box-shadow: 0 0 0 4px var(--radio) inset;
}
input[type="radio"], input[type="checkbox"] {box-shadow: none;}
/* кнопки */
input.button, button.button, button.sticker, button.size {
color:#fff;
background-color:red;
background-image: -moz-linear-gradient(#fabdbd, #a60a0a 50%, #67010b 20%, #ed1b0c);
background-image: -webkit-linear-gradient(#fabdbd, #a60a0a 50%, #67010b 20%, #ed1b0c);
background-image: -o-linear-gradient(#fabdbd, #a60a0a 50%, #67010b 20%, #ed1b0c);
border:1px solid #db1616;
font-weight: 600 !important;
border-radius:10px;
padding: 6px 14px 6px 14px;
box-shadow: 0 0 0 1px #520707;
-webkit-transition: all 0.5s linear;
-moz-transition: all 0.5s linear;
-o-transition: all 0.5s linear;
-ms-transition: all 0.5s linear;
transition: all 0.5s linear;
}
input.button:hover, button.button:hover, button.sticker:hover, button.size:hover {
background-image: -moz-linear-gradient(#f57373, #8f0909 50%, #67010b 20%, #c21206);
background-image: -webkit-linear-gradient(#f57373, #8f0909 50%, #67010b 20%,#c21206);
background-image: -o-linear-gradient(#f57373, #8f0909 50%, #67010b 20%, #c21206);
cursor: pointer;
}
/* инпут */
textarea#main-reply {
padding: 10px;
height: 200px;
width: 96.7% !important;
font-family: Verdana;
background: #DEC29D url(https://forumstatic.ru/files/001c/6c/7f/67800.webp) bottom right no-repeat;
}
.modal-inner.section, input, textarea, select, optgroup, .punbb .resizable-textarea textarea {
border: 1px solid #FFE4B5;
background-color: rgba(210, 180, 140, .6);
border-radius: 10px;
box-shadow: 0 0 5px #fff inset;
padding: 3px;
}
input {
outline: none;
padding: 3px 6px;
border: 1px solid #FFE4B5;
transition: 0.5s linear;
}
/* Текст */
.punbb {
font: normal 80% verdana, arial, helvetica, sans-serif, Alice, MasonChronicles;
}
.punbb textarea, .punbb input, .punbb select, .punbb optgroup {
font: 1em verdana, arial, helvetica, sans-serif;
}
.punbb h1, .punbb h2, .punbb h3, .punbb h4, .punbb table, .punbb th {
font-size: 1em;
font-weight: normal;
}
.punbb h1 span, .punbb h2 span, .punbb legend span {
font-size: 1.1em;
}
.punbb pre {
font: 1.1em/140% monaco, "bitstream vera sans mono", "courier new", courier, monospace;
}
.punbb address, .punbb em {
font-style: normal;
}
.punbb .post-content em {
font-style: italic;
}
.punbb .post-content em.bbuline {
font-style: normal;
text-decoration: underline;
}
/* ссылки */
.punbb a {
color: var(--link-color);
text-shadow: 1px 0 1px rgb(87 134 161 / 50%);
text-decoration: none;
font-weight: 700;
font-family: var(--link-font);
transition: all 0.5s ease-in-out;
}
.punbb a:hover, a:active {color: #CC0000;}
.punbb optgroup {
font-weight: bold;
}
/* скрыть */
#pun:after,
.punbb .container:after,
.punbb .post-links ul:after,
.punbb .main div.inline:after,
.punbb .post-box:after,
.punbb .linksb:after {
clear: both;
content: ".";
display: block;
height: 0;
visibility: hidden;
overflow:hidden;
line-height: 0.0;
font-size: 0;
}
.acchide,
#pun-index #pun-main h1,
#pun-navlinks h2,
#pun-pagelinks h2,
#pun-status h2,
#pun-ulinks h2,
.punbb .forum h2,
.punbb .multipage .topic h2,
.punbb dl.post-sig dt span,
.punbb p.crumbs strong,
.punbb .divider hr,
.punbb .required label em,
.punbb .formsubmit label,
.punbb .submitfield label,
.punbb .modmenu label,
#pun-userlist .main h2 {
font-size: 0;
height: 0;
width: 0;
line-height: 0.0;
position:absolute;
left: -9999px;
overflow: hidden
}
#pun-main div.catleft, #pun-main div.catright, #title-logo-table h1 span, .lastedit {display: none}
/* тело */
#pun {
width: 978px;
margin: 134px auto 50px auto;
padding-bottom: 120px;
overflow-wrap: break-word;
background: url(https://forumstatic.ru/files/001c/6c/7f/54344.webp) bottom no-repeat,
url(https://forumstatic.ru/files/001c/6c/7f/41007.webp) repeat;
}
.punbb {
padding: 50px 30px 0 30px;
height: auto;
}
/* redirect */
#pun-redirect {
background:
var(--bg-main) url(https://forumstatic.ru/files/001c/6c/7f/44483.webp) top center no-repeat fixed;
position: absolute;
width: 100%;
height: 100%;
z-index: 900;
top: 0 !important;
left: 0 !important;
}
#pun-redirect #pun-main {
margin: 30px auto;
background: #d3c8b2;
border: 2px solid #2e2a20;
border-radius: 15px;
width: 50%;
text-align: center;
box-shadow: 0px 8px 22px 6px rgba(68, 225, 240, 0.5), 1px -16px 31px 2px rgba(245, 242, 75, 0.5);
}
#pun-redirect #pun-main h1 {
background: none !important;
font-family: "MasonChronicles";
width: auto;
border: none !important;
}
#pun-redirect #pun-main h1 span {
color: #302b1f !important;
text-transform: none !important;
font-size: 18px !important;
letter-spacing: 0.5 !important;
}
.punbb .section, .punbb .main {
margin-bottom: 1em;
}
.punbb .category, .punbb .post {
margin-top: 0.4em;
}
.punbb #pun-category1, .punbb .toppost, .punbb .topicpost {
margin-top: 0;
}
#pun-post .topic {
margin-top: 1em;
}
.punbb .section h2, #pun-main h1, #pun-main h2, #pun-stats h2, #pun-debug h2 {
padding: 0.4em 1em;
}
/* Контент, коды, цитата*/
.punbb .post-content {
padding: 0;
margin: 0;
width: 100%;
overflow: hidden;
}
.punbb .post-sig dt {
display: block;
width: 250px;
margin: 5px 0;
}
.punbb .post-content p {
margin: 0;
padding: 0 0 1em 0;
line-height: 150%;
}
.punbb .post-content img {vertical-align: text-bottom;}
.punbb .post-content img.postimg {vertical-align: middle;}
.punbb .post-content .blockcode, .punbb .post-content blockquote {
width: 100%;
overflow: hidden;
}
.punbb .post-content .scrollbox {
width: 100%;
overflow: auto;
}
/* цитата, спойлер и код */
.post-content .quote-box,
.post-content .code-box,
.post-content .hide-box {
display: flex;
flex-direction: column;
position: relative;
padding: 16px 20px ;
margin: 14px 0.6em 14px 0.6em;
border-radius: 5px;
border: 1px solid var(--btmcl);
box-shadow:inset 0 0 0 1px #d9ccbc, inset 0 0 2px 1px #95745d, inset 0 0 8px 1px #caa790;
background: url(https://forumstatic.ru/files/001b/ca/07/32559.webp) calc(100% + 126px) 20% no-repeat;
background-color: rgba(222, 207, 184, 0.5);
}
.post-content .code-box {font-size: 0.8rem;}
/*** УБИРАЕМ ЛИШНИЙ ОТСТУП В ЦИТАТЕ ***/
.quote-box p:last-of-type, blockquote p:last-of-type, .post-content p:last-of-type {padding-bottom:0;}
/*** СПОЙЛЕР ***/
/* свернуть спойлер ссылка */
.post-content .spoiler-box>blockquote a[onclick^="clickSP"] {
margin: 8px 0px -8px auto;
padding: 2px 6px 0;
font-size: 0.75em;
font-family: Tahoma, sans-serif;
border-top: 1px solid var(--btmcl);
}
.spoiler-box>div[onclick]>p {margin: 0 !important; padding: 0 !important; display: inline-block;}
.post-content .spoiler-box>blockquote.visible {overflow-x: hidden !important;}
/*** БЛОК СПОЙЛЕРА ВИДИМАЯ ЧАСТЬ ***/
.post-content .quote-box.spoiler-box {padding: 0px;}
.post-content .spoiler-box>div {
display:block; position:relative;
padding: 10px 1em 10px 40px !important;
box-shadow: none;
font-weight: 400;
font-size: 1em;
letter-spacing: 0.02em;
color: white;
border-radius: 5px;
text-shadow: 0 0px 3px #000;
background: linear-gradient(2deg, #290505 0%, #961a1a 100%), #290505 !important;
}
.post-content .spoiler-box>div.visible {
text-shadow: 0 0px 3px #000;
background: linear-gradient(2deg, #961a1a 0%, #290505 100%), #290505 !important;
border-bottom: solid 1px var(--btmcl);
box-shadow:0 1px 0 0px #d9ccbc, 0 3px 2px -2px #95745d, 0 9px 8px -8px #caa790;
}
/*** луна на спойлере ***/
.post-content .spoiler-box>div:before {
content: '\e915';
font-family: icomoon, FontAwesome;
font-size: 30px;
position:absolute;
display: inline-block;
margin-left: -35px;
top: 50%;
transform: translateY(-50%);
height: 20px;
line-height: 20px;
}
.post-content .spoiler-box>div.visible:before {
content: '\e914';
height: 20px;
line-height: 20px;
}
/* Боксы информации */
.punbb .info-box {
padding: 1.1em 1.7em 1em 1.7em;
margin: 0 0 1.1em 0;
}
.punbb .info-box * {
padding: 0 0 0.7em 0;
}
.punbb #pun-main .info-box .legend {
font-size: 1.1em;
font-weight: bold;
}
/* аватар */
.punbb .post .post-author {
float: left;
width: 250px;
height: 574px;
margin-left: 10px;
overflow: hidden;
background: url(https://forumstatic.ru/files/001c/6c/7f/16261.webp) no-repeat top center;
text-align: center;
color: #FFDEAD;
font-family: "MasonChronicles";
font-size: 14px;
font-weight: normal;
text-shadow: black 1px 0.5px 2px,
black 2px 0 5px,
red 2px 5px 4px,
red 1px 0 10px;
}
.punbb .post .post-author a {
color: #FFDEAD;
font-family: "MasonChronicles";
text-shadow: black 1px 0.5px 2px,
black 2px 0 5px,
red 2px 5px 4px,
red 1px 0 10px;
}
.post-author li.pa-author {
font-size: 20px;
font-weight: normal;
font-family: "MasonChronicles";
padding: 64px 0 14px 0;
box-sizing: border-box;
line-height: 1;
}
li.pa-title {
margin-bottom: 14px;
font-weight: 500;
color: #FFDEAD;
font-size: 14px;
}
.pa-avatar.item2 img {
border: 4px solid transparent;
border-image: url(https://forumstatic.ru/files/001c/6c/7f/31894.webp) 4 round;
}
li.pa-avatar {
width: 175;
height: 250;
margin-bottom: 18px;
position: relative;
}
/* Пагинация, оформление страниц */
.punbb .linkst {
float: left;
position: relative;
width: 100%;
font-size: 1.1em;
height: 0;
}
.multipage {
margin-top: 3em;
}
.linkst .pagelink {
position: absolute;
top: -5em;
left: 1em;
width: 24em;
font-family: var(--link-font);
}
.linkst .postlink {
position: absolute;
top: -5em;
right: 1em;
width: 16em;
text-align: right;
font-weight: bold;
}
.punbb .linksb {
text-align: right;
padding: 0.4em 1em 0.5em 1em;
font-size: 1.1em;
}
.linksb .pagelink {
float: left;
width: 24em;
text-align: left;
font-family: var(--link-font);
}
.linksb .postlink {
float: right;
width: 16em;
font-weight: bold
}
.subscribelink {
clear:both;
padding-top: 0.3em;
padding-bottom: 0.5em;
}
/* нумерация страниц */
.punbb .linksb .pagelink a, .punbb .linkst .pagelink a {
border: 1px solid rgba(28, 3, 3,.1);
background: rgba(0,0,0,.1);
padding: 0 5px;
}
.punbb .linksb .pagelink strong, .punbb .linkst .pagelink strong {
background: linear-gradient(to bottom, rgba(255,255,255,0.13) 0%,rgba(0,0,0,0.23) 55%,rgba(255,255,255,0.13) 100%), #ab0c0c;
border: 1px solid #400707 !important;
color: rgba(255,255,255,.9);
padding: 0 4px;
border-radius: 2px;
}
/* формы, сумбит, филд */
.punbb .formal .container {
padding: 1.7em 2.3em 1.1em 2.3em;
}
.punbb .formsubmit {
padding: 0 0 0 1.7em;
margin: 1em 0 0 0;
}
.punbb .formsubmit input, .punbb .formsubmit a, .punbb .formsubmit span {
margin: 0 0.6em 0 0
}
.punbb fieldset {
padding: 0 18px 0 18px;
margin: 0 0 1em 0
}
.punbb fieldset legend {
padding: 0;
margin: 0 0 0 11px;
font-size: 1.1em
}
.punbb fieldset legend span {
padding: 0 5px;
margin: 0 0 0 -15px;
}
.punbb fieldset fieldset {
border-style: none;
margin: 0;
padding: 0 0 8px 0
}
.punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span, #post-new legend strong, .punbb fieldset legend {
background: radial-gradient(circle, rgba(210,0,0,1) 15%, rgba(0,0,0,1) 100%);
color: var(--white);
border: 1px solid var(--border-field);
border-radius: 10px;
font-family: var(--link-font);
font-weight: bold;
white-space: nowrap;
}
.punbb fieldset, #viewprofile ul, #profilenav ul {
border: 1px solid var(--border-field);
border-radius: 10px;
}
.punbb .fs-box {
padding: 1em 0 0.8em 0;
}
.punbb .fs-box p, .punbb .fs-box fieldset {
padding: 0 0 0.8em 0;
}
.punbb .inline .inputfield, .punbb .inline .selectfield, .punbb .inline .passfield {
float: left;
margin-right: 1em;
}
.punbb .inline .infofield {
clear:both;
}
.punbb .datafield br {
display: none;
}
.punbb .required label, .punbb .datafield span.input {
font-weight: bold
}
.punbb .datafield span.input a {
font-weight: normal;
}
.punbb .areafield span.input, .punbb p.longinput span.input {
display: block;
padding: 0 12em 0 0;
height: 100%; /* For IE */
}
.punbb textarea, .punbb .longinput input {
width: 64%;
margin: 0;
}
.punbb .hashelp {
position: relative;
}
.punbb .helplinks {
display: block;
position: absolute;
top: 1em;
right: 0;
font-weight: normal;
width: 36%;
}
.punbb #profile .helplinks {
top: 1.5em;
}
.punbb .helplinks span {
display: block;
padding-bottom: 0.2em;
}
#pun-post .formal .info-box li {
padding-left: 4px;
list-style-type: square;
list-style-position: inside;
line-height: 1.5;
margin: 0;
}
/* таблица */
.punbb .main .tcl {
overflow: hidden;
text-align: left;
width: 50%;
}
.punbb .main .tc2, .punbb .main .tc3, .punbb .main .tcmod {
text-align: center;
width: 10%;
}
.punbb .main .tcr {
overflow: hidden;
text-align: left;
width: 30%;
}
#pun-userlist .main .tcl,
#pun-searchtopics .main .tcl,
#pun-modviewforum .main .tcl {
width: 40%
}
#pun-userlist .main .tc2,
#pun-searchtopics .main .tc2 {
text-align: left;
width: 20%;
}
#pun-debug table .tcl {
width: 15%;
white-space:normal;
}
#pun-debug .tcr {
width: 90%;
white-space: normal;
}
#pun-index .tcl h3 {
font-size: 1.2em;
font-weight: bold;
}
.punbb td span.youposted {
font-weight: bold;
margin-left: -1em;
position: absolute;
}
.punbb td .modlist {
display: block;
padding-top: 0.3em
}
.punbb .main td {
padding: 0.8em 1em;
}
.punbb .main th {
padding: 0.4em 1em 0.4em 1em;
}
.punbb th {
background-color: transparent; /* цвет ячейки таблицы форум, количество тем */
box-shadow: inset 0 15px 15px -10px #ba0404;
color: var(--white);
}
/* Таблица на главной */
#pun-index .tcl h3 {
background: url(https://forumstatic.ru/files/001b/c4/83/88188.jpg) no-repeat top left;
width: 439px;
height: 37px;
line-height: 35px;
text-align: left;
box-sizing: border-box;
border: none;
padding: 0 1px;
}
#pun-index .tcl h3 a {
font-size: 17px;
font-family: "MasonChronicles";
font-weight: bold;
color: #e6d2b2;
margin: 0 0 0 26px;
}
#pun-index .tcl h3 a:hover {
color: #b4925b;
}
#pun-index .intd {
position: relative;
}
/* Иконки */
.punbb .main .tcl {
border-left-style: none;
border-left-width: 0;
}
.punbb tbody.hasicon td.tcl {
padding-left: 3.2em;
}
.punbb div.icon {
height: 0;
line-height: 0.0;
margin-top: 0.1em;
width: 0;
}
.punbb table div.icon {
font-size: 1.05em;
position: absolute;
margin-left: -2.2em;
}
/* icon */
#pun-index div.icon {
position: absolute;
background: url(https://forumstatic.ru/files/001b/c4/83/74152.png) no-repeat 0 0;
float: left;
display: block;
width: 57px;
height: 37px;
margin-left: -19px;
margin-top: -2px;
}
#pun-index tr.inew div.icon {
position: absolute;
background: url(https://forumstatic.ru/files/001b/c4/83/74152.png) no-repeat 0 -40px;
float: left;
display: block;
width: 57px;
height: 37px;
margin-left: -19px;
margin-top: -1px;
}
#pun-viewforum div.icon, #pun-messages div.icon, #pun-searchtopics div.icon {
position: absolute;
display: block;
height: 15px;
width: 15px;
background: #dcc5a4;
box-shadow: inset 0 0 5px rgb(20 26 35 / 20%);
margin: 2px 0 0 -23px;
border-radius: 10px;
}
#pun-viewforum tr.inew div.icon, #pun-messages tr.inew div.icon, #pun-searchtopics tr.inew div.icon {
position: absolute;
display: block;
height: 15px;
width: 15px;
background: #8b955a;
box-shadow: inset 0 0 5px rgb(20 26 35 / 20%);
margin: 2px 0 0 -23px;
border-radius: 10px;
}
#pun-viewforum tr.iclosed div.icon, #pun-messages tr.iclosed div.icon, #pun-searchtopics tr.iclosed div.icon {
position: absolute;
display: block;
height: 15px;
width: 15px;
background: #524431;
box-shadow: inset 0 0 5px rgb(20 26 35 / 20%);
margin: 2px 0 0 -23px;
border-radius: 10px;
}
#pun-viewforum tr.isticky div.icon, #pun-messages tr.isticky div.icon, #pun-searchtopics tr.isticky div.icon {
position: absolute;
display: block;
height: 15px;
width: 15px;
background: #c38f31;
box-shadow: inset 0 0 5px rgb(20 26 35 / 20%);
margin: 2px 0 0 -23px;
border-radius: 10px;
}
/* топик */
.punbb .post .container {
margin-top: -1px;
padding-bottom: 1px;
}
/* Дата поста */
.punbb .post h3 span {
padding: 0.5em 1em;
display: block;
background: url("https://forumstatic.ru/files/001b/c4/83/90615.png") no-repeat top center transparent;
}
#pun-main .post-links ul {
background: url(https://forumstatic.ru/files/001b/c4/83/95369.png) no-repeat bottom center transparent;}
.punbb .post h3 strong {
float: right;
width: 5em;
text-align: right;
font-weight: normal;
}
.punbb .post .post-author ul, .punbb .post .post-author p {
padding: 0 1em 1em 1em;
line-height: 140%;
}
/* Аватар/профиль */
li.pa-posts, li.pa-respect {
display: inline-block;
width: 85px;
box-sizing: border-box;
margin: 0 auto;
padding: 0px 5px 20px 5px;
}
li.pa-online {
line-height: 0.8em;
padding-left: 0.3em;
margin: 0 auto 15px auto;
}
/* пост, цвет поста */
#pun-main .post-content {
color: #4a2d0d;
}
.punbb .post-body {
margin-left: 20em;
padding: 0 0 1px 0;
}
.punbb .post-box {
padding: 1em;
}
.punbb fieldset .post-box {
margin-bottom: 0.8em
}
.punbb .post-links {
margin-left: 19em;
}
.punbb .post-links ul {
padding: 0 1em 0 0;
height: 2em;
line-height: 2em;
margin-left: -19em;
text-align: right;
}
.punbb .post-links li {
display: inline;
padding-left: 1em;
}
.pl-email, .pl-website {
float: left;
}
.punbb .clearer {
clear: both;
height: 0;
font-size: 0;
}
/* мод меню */
.punbb .modmenu .container {
padding: 0.5em 1em;
text-align: right;
}
.punbb .modmenu strong, .punbb .modmenu a {
height: 1.8em;
line-height: 1.8em;
}
.punbb .modmenu .container strong {
float: left;
}
.punbb .modmenu input {
margin-left: 1em;
}
/* Сообщения */
.punbb .info .container {
padding: 0.8em 1em
}
.punbb .info .container .backlink {
padding-top: 0.8em;
}
#profile .container {
padding-left: 18.6em;
}
#profilenav {
float: left;
width: 14em;
margin-left: -16.3em;
display: inline;
}
#profilenav li {
padding-bottom: 0.8em;
font-weight: 900;
font-family: var(--link-font);
font-size: 16px;
}
#viewprofile ul, #profilenav ul {
padding: 1.5em 18px 0.8em 18px;
margin: 0 0 1em 0;
}
#viewprofile h2, #profilenav h2 {
padding: 0 0 0 0;
margin: 0 14px -0.6em 14px;
background-image: none;
}
#viewprofile h2 span, #profilenav h2 span {
padding: 0 5px;
position: relative;
}
#viewprofile li, #setmods dl {
padding: 0 0 0 16em;
margin-bottom: 0.2em;
}
#viewprofile li span {
float: left;
width: 14em;
margin-left: -16em;
padding: 0.5em 1em;
font-weight: bold;
}
#setmods dt {
float: left;
width: 14em;
margin-left: -16em;
padding: 0.8em 1em;
font-weight: bold;
display: inline;
}
#viewprofile li strong, #viewprofile li div, #setmods dd {
display: block;
padding: 0.5em 1em;
font-weight: normal;
}
/* аватар */
.punbb img.avatardemo {
float: right;
margin: 0 0 0.8em 1.8em
}
#pun .user-avatar.user-avatar .avatar-image {
border-radius: 10px 0px !important;
box-shadow: 2px 1px 4px rgba(0, 0, 0, .4);
border: 1px solid black;}
/* Лист пользователя*/
#pun-userlist .formal, #pun-userlist .formal .container {
margin-bottom: 0;
}
#pun-userlist .usertable .container {
padding: 0 2.3em 2.3em 2.3em;
}
/* лого */
#title-logo-table {
background: url(https://forumstatic.ru/files/001c/6c/7f/82053.webp) bottom no-repeat !important;
position: absolute;
width: 978px;
height: 450px;
top: -5px;
margin-left: -35px;
}
/* Меню форума */
#pun-pagelinks {
position: absolute;
top: -15px;
left: 0;
margin: 0;
border: none;
padding: 0;
width: 100%;
}
#pun-pagelinks .container {
background: transparent;
border: none;
padding: 0}
#pun-pagelinks .container li {
display: inline;
}
#pun-pagelinks li a, #pun-pagelinks a:link, #pun-pagelinks a:hover {
height: 2em;
line-height: 2em;
padding: 0;
font-size: 1.2em;
margin-left: -9999px;
display: block;
float:left;
width: 100%;
}
#pun-pagelinks a:active, #pun-pagelinks a:focus {
position:relative;
margin: 0;
}
#pun-pagelinks li a span {
display:block;
margin: 0 1em;
}
#pun-navlinks .container {
position: relative;
text-align: center;
font-size: 20px;
padding: 2px 0 6px;
margin-top: -404px;
white-space: nowrap;
z-index: 330 !important;
}
#pun-navlinks li {display: inline;}
#pun-navlinks li a {
padding: 12px;
font-family: "MasonChronicles";
font-weight: 700;
color: #FFF8DC;
text-shadow: black 1px 0.5px 2px,
black 2px 0 5px,
red 2px 5px 4px,
red 1px 0 10px;
z-index: 330;
}
#pun-ulinks .container {
position: relative;
font-size: 16px;
font-family: var(--link-font);
font-weight: 900;
text-align: center;
margin-right: 18px;
margin-bottom: 5px;
padding: 0 0 10px 0;
top: 264px;
white-space: nowrap;
z-index: 330 !important;
}
#pun-ulinks li {display: inline;}
#pun-ulinks li a {text-decoration: none; padding-right: 8px; color: white; font-weight: 600; z-index: 330; text-shadow: #FC0 2px 0 3px;}
#pun-navlinks li a:hover, #pun-ulinks li a:hover {color: white;
text-shadow: 0px 0px 3px red, 2px 2px 3px black, 0 0 1em blue, 0 0 0.2em blue;}
/* Статус */
#pun-status .container {
position: relative;
font-size: 16px;
letter-spacing: 0.5px;
margin-top: 330px;
white-space: nowrap;
padding: 0 0 0 15px;
font-family: var(--link-font);
}
#pun-status .container a:hover {color: #95a060;}
#pun-status .item4.status-right a {padding-right: 10px;}
#pun-crumbs1 {
font-weight: bold;
overflow: hidden;
margin-top: 0;
}
#pun-crumbs1 p.container {
padding: 1em 1em 0 1em;
font-size: 16px;
font-family: var(--link-font);
}
#pun-break1 {
margin: 0 1em;
height: 0;
margin: -2px 1em;
position: relative;
z-index: 1;
}
#pun-announcement h2 {
padding: 0;
margin: 0 1em -3.5em 1em;
position: relative;
font-weight: bold;
}
#pun-announcement h2 span {
display: block;
padding: 1em 0 0.8em 0;
}
#pun-announcement .container {
padding: 4.3em 1em 1em 1em;
}
/* Статистика */
#pun-stats .container {
padding: 0.8em 1em;
font-family: Alice;
}
#pun-stats li.item1, #pun-stats li.item2 {
float: left;
clear: both;
line-height: 150%;
}
#pun-stats li.item3, #pun-stats li.item4 {
text-align: right;
line-height: 150%;
}
li#onlinelist {
margin-top: 1em;
float: left;
width: 100%;
line-height: 130%;
}
li#onlinelist div {
padding: 0.7em 0 0 0;
text-align: center;
}
#pun-qjump {
margin: 0;
width: 50%;
position: relative;
float: left;
}
#pun-qjump .container {
background: transparent;
padding: 0.8em 1em;
}
/* эбаут */
#pun-about .container {
background-image: url(https://forumstatic.ru/files/001c/6c/7f/38195.webp); /*картинка в футере*/
background-position: top center;
background-repeat: no-repeat;
height: 418px; /*высота картинки*/
position: absolute;
width: 916px;
margin-left: -5px;
margin-top: -10px;
text-align: right;
z-index: 800;
}
#pun-about .container a:hover {color: #750606;}
#pun-about .container .item1 {margin-left: -6px; z-index: 900;}
#pun-about .container a, #pun-about .container span {
color: #FFDEAD;
font-weight: 200;
font-size: 12px;
transition: 0.5s linear;
z-index: 900;
}
#pun-crumbs2 {
font-weight: bold;
overflow: hidden;
margin-bottom: 0;
}
#pun-crumbs2 .container {
padding: 0.8em 1em;
font-size: 16px;
font-family: var(--link-font);
}
#pun-break4 {
margin: -2px 1em;
position: relative;
height: 0;
z-index: 1;
}
/* ??? */
#pun-help .formal .info-box h3.legend {
padding-bottom: 0;
margin-bottom: 0.8em;
}
/* D9.2 */
#pun-help .formal .info-box h3.legend span {
padding-bottom: 0.6em;
display: block;
font-size: 1.1em;
}
/* D9.3 */
#pun-help .formal p, #pun-help .formal dd {
margin-bottom: 1em
}
/* D9.4 */
#pun-help .formal ul, #pun-help .formal dl {
padding: 0 0 0 1em
}
/* D9.5 */
#pun-help .formal li {
padding: 0;
line-height: 130%
}
/* D9.6 */
#pun-help .formal li * {
vertical-align: text-top
}
/* D9.7 */
#pun-help .formal dt span {
font: 1.4em/120% monaco, "bitstream vera sans mono", "courier new", courier, monospace
}
/* D9.8 */
#pun-help .formal .parsedmsg, #pun-help .formal .parsedmsg .incode {
padding-bottom: 0;
}
/* остальное, кнопки */
.upme, .downme {
cursor: pointer;
display: none;
margin-bottom: 160px;
opacity: 0.7;
position: fixed;
z-index: 9999;
text-align: center;
transition: 0.5s linear;
}
.upme img {width: 57px !important; height: 61px !important;}
.downme img {width: 57px !important; height: 61px !important;}
.upme {top: 480px;margin-left: 940px !important;}
.downme {top: 565px;margin-left: 940px !important;}
.downme:hover, .upme:hover {opacity: 1.0;}
/* Фон маски и размер аватара */
.pa-avatar img {
max-width: 175px;
max-height: 250px;
}
/* scroll */
::-webkit-scrollbar-thumb:vertical {background-color: #780c0c; border: 0px solid white; box-shadow: inset 0 0 2px #FFA500;}
::-webkit-scrollbar-thumb:horizontal {background-color: #780c0c; border: 0px solid white; box-shadow: inset 0 0 2px #FFA500;}
::-webkit-scrollbar {width: 4px; height: 4px; background-color: rgba(255, 228, 181, 0.3);}
::-webkit-scrollbar-track {
background-color: transparent;
border: 0.2px solid #FFA500;
box-shadow: inset 0 0 2px #FFA500;
}
::selection {background: #b00909 !important; color: #fff;}
/* ссылки редактировать, лс и др */
#topic-users-in {font-size: 12px; margin: 0;}
.post-links {margin: 5px 0; padding: 0; white-space: nowrap;}
.post-links li {padding-right: 3px; display: inline-block;}
.pl-email, .pl-website {float: left; margin-right: 3px;}
.post-rating {text-align: right;}
.post-rating p {margin-right: 7px;}
.post-rating p a {font-weight: 600;}
.post-links ul {line-height: 20px; text-align: right; margin-right: 5px; padding-left: 0;}
.post-links a {
padding: 2px 10px;
background: linear-gradient(0deg, rgba(235,39,9,0.3) 0%, rgba(255,174,0,0.1) 57%);
border: 1px solid #c4480e;
font-size: 11px;
text-shadow: none !important;
letter-spacing: 0.5px;
text-transform: uppercase;
border-radius: 2px;
-webkit-transition: all 0.5s linear;
-moz-transition: all 0.5s linear;
-o-transition: all 0.5s linear;
-ms-transition: all 0.5s linear;
transition: all 0.5s linear;
}
.post-links a:hover {text-shadow: black 1px 0.5px 2px;}
/* оформление ссылок на главной в подкатегориях */
.podfortext {
font-family: var(--link-font);
font-weight: 500;
padding: 0 5px 5px 0;
}
.podforlink {
text-align: center;
position: relative;
-webkit-text-size-adjust: 100%;
}
.podforlink a {
font-size: 13px;
margin-bottom: 10px;
transition: all 0.5s ease-in-out 0s;
letter-spacing: 0.8px;
}
@media screen and (max-device-width: 480px) {
html {-webkit-text-size-adjust: 100%;}}
Поделиться132025-03-09 17:25:10
Низ
/* Админка */
#fld-o_pm_subject {width: 96% !important;}
#pun-adnav a, #pun-admain a {color: var(--link-color) !important;}
#pun-adnav a:hover, #pun-adnav a:active, #pun-adnav a:focus, #pun-admain a:hover {color: #CC0000 !important;}
#pun-admain .adformal, #pun-admain .adcontainer {border: none;}
.adinput textarea {width: 99% !important;}
.admin-advert-block {margin: 10px 0 0 400px;}
#page-content.tinymce.processed {background-color: #d1d1d1;}
#pun-admain h2, #pun-admain1.adformal h2, #pun-admain #pun-adnav h2 {
background: url(https://forumstatic.ru/files/001b/e8/70/86163.png) no-repeat center;
color: var(--white);
border: none;
text-align: center;
margin: 0;
text-transform: uppercase;
font-weight: 600;
font-family: var(--gothic-font);
}
#pun-admain .adformal, #pun-admain .adcontainer {border: none;}
#pun-admain fieldset .handle, #pun-admain fieldset p, #pun-admain1 .sortable p, #pun-admain .adcontainer th, .punbb-admin #pun-admain .adcontainer {background: rgba(222, 184, 135, 0.3) !important; border-color: rgba(255, 222, 173) !important; border-radius: 6px !important;}
#pun-admain fieldset {border: 1px solid var(--link-color) !important;}
/* выпадающие окошки */
#tags .container
{
background: #FFEBCD;
border: 2px double #FFDEAD;
color: black;
box-shadow: inset 0 0 10px 0 rgba(139, 69, 19, .4);
border-radius: 15px;
}
/* категории */
.punbb .category h2, #pun-stats.section h2, #pun-main h1, #post-form h2 {
background: url("https://forumstatic.ru/files/001c/6c/7f/90014.webp") no-repeat bottom transparent;
background-size: 916px;
color: #fff;
font-family: "MasonChronicles";
font-size: 1.5em;
font-weight: bold;
text-shadow: #f1e300 2px 0 10px;
text-align: center;
white-space: nowrap;
}
/* чередующиеся иемы */
.forum tr:nth-child(even) {
background: linear-gradient(90deg, rgba(255, 222, 173,0) 0%, rgba(255, 222, 173, 0.4) 50%, rgba(0,212,255,0) 100%);
}
/* стиль увеличения шрифта */
.FNTslider {
border-radius: 4px;
position:relative;z-index:1000;
background: #fffbf2;
width: 110px;
height: 5px;
margin: 3px 5px;
border: solid 1px #ccc;
float: right;
margin-right: 7%;
}
.FNTslider .before {
height: 5px;
border: solid 1px transparent;
border-right: none 0;
border-radius: 4px 0 0 4px;
position: absolute;
background: #daa0a0;
margin-top: -1px;
}
.FNTslider .thumb {
width: 8px;
height: 13px;
border-radius: 3px;
position: relative;
top: -4px;
background: #bf1515;
cursor: pointer;
}
/* убрать обводку выделенного окна */
input, textarea, button {outline:none;}
input:active, textarea:active, button:active {outline:none;}
Поделиться142025-03-09 17:27:08
Решить проблему с отступами на спойлере.
Дозалить картинки
Перезалить шрифты.
Решить что-то с аватаркой, пошаманить с размерами, а то оно непонятно как сделано.
В одминке текст ареа добавить, там ьелая штука
В загрузке аватарок попробовать кнопку поменять.
Изменить скрипт панели навигации герды
Перезалить все картинки в webp на другом сайте




















