готовые дизайны
Страница: 1
Сообщений 1 страница 16 из 16
Поделиться151 марта, 2017г. 03:23:06
Структура style.css
Код:/* structure by chibi -------------------------------------------------------------*/ /************************************************************* A - SETUP **************************************************************/ /* A1 Import the colour scheme -------------------------------------------------------------*/ /* A1.1 */ @import url(style_cs.css); @font-face { font-family: 'Roboto', sans-serif; src: url("https://fonts.googleapis.com/css?family=Roboto:500&subset=cyrillic" rel="stylesheet") ;} @font-face { font-family: 'Bebas Neue'; src: url('https://forumstatic.ru/files/0016/19/ea/68421.ttf'); font-weight: normal; font-style: normal; } @font-face { font-family: 'OfficinaSansMediumOSC'; src: url('https://forumstatic.ru/files/0016/19/ea/64666.ttf'); font-weight: normal; font-style: 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;} /* 3.3 */ .punbb textarea, .punbb input, .punbb select, .punbb optgroup { font: 1em verdana, arial, helvetica, sans-serif} .punbb input, .punbb select {padding: 2px;} /* 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: normal} /* 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: 0px auto auto auto; width: 920px;} /* A5.2 */ .punbb { width: 920px; position: relative; height: auto; margin-left: 0px;} /* A5.3 */ #pun-redirect, #pun-maint { margin: 0; width: 100%; height: 100%; float: none; top: 0 !important; left: 0 !important; } /* 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; border-width: 0px 0px 0px 0px} /* A5.9 */ .punbb .container { border-style: none; border-width: 0px;} /* A5.10 */ .punbb .section h2, #pun-main h1, #pun-main h2, #pun-stats h2, #pun-debug h2 { padding: 4px 4px 5px 1em; border-style: none; border-width: 0px; } /************************************************************* 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; width: 660px; margin: 5px 0px; background: url("http://savepic.ru/13106227.jpg") right no-repeat; height: 2px; } #pun-messages .post-sig dt { display: block; width: 400px; margin: 5px 0px; background: url("http://savepic.ru/13106227.jpg") right no-repeat; height: 2px; } /* 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 { padding: 1em;} /* B1.9 */ .punbb .quote-box cite, .punbb .code-box strong.legend { display: block; padding-bottom: 0.5em; font-size: 0.9em; font-weight: normal; margin: 0; font-size: 13px; font-style: normal; font-family: "Bebas Neue"; letter-spacing: 3px; } /* B2 Information boxes -------------------------------------------------------------*/ /* B2.1 */ .punbb .info-box { padding: 1.1em 1.7em 1em 1.7em; border-style: none; border-width: 0px; 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;} /* B3.2 */ .multipage { margin-top: 3em;} /* B3.3 */ .linkst .pagelink { position: absolute; top: -6em; left: 1em; width: 24em; color: #3e4c47; letter-spacing: 1px; font-family: 'Roboto', sans-serif; } /* B3.4 */ .linkst .postlink { position: absolute; top: -6em; right: 1em; width: 16em; text-align: right; font-weight: bold;} /* B3.5 */ .punbb .linksb { text-align: right; padding: 0.4em 1em 0.5em 1em; font-size: 1.1em;} /* B3.6 */ .linksb .pagelink { float: left; width: 24em; text-align: left;} /* 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: none; border-width: 0px; 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: 40%;} /* 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%; padding-top: 40px; font-size: 12px; } /* 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-weight: bold; margin-bottom: 10px;} /* 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: none; border-width: 1px 0 0 1px; padding: 0.8em 1em;} /* C2.12 */ .punbb .main th { border-style: none; 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 { margin-right: 15px;} /* C2.15 */ .punbb div.icon { float: left; display: block;} /* C3 Topics -------------------------------------------------------------*/ /* C3.1 */ .punbb .post .container { border-style: none; padding-bottom: 20px;} /* C3.2 */ .punbb .post h3 { border-style: none; border-width: 0px; } /* C3.3 */ .punbb .post h3 span { padding: 0.5em 1em; display: block; margin-left: 21em; 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; 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; text-align: center;} /* C3.8 */ .pa-author a { text-decoration: none} /* C3.9 */ li.pa-title { padding-bottom: 0.4em;} li.pa-online { line-height: 0.8em; 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; text-align: justify; margin-left: 20px; margin-right: 10px; margin-top: -5px; margin-bottom: -5px; color: #000000; font-size: 13px; font-family: 'OfficinaSansMediumOSC'; } /*C3.13 */ .punbb fieldset .post-box { margin-bottom: 0.8em } /* C3.14 */ .punbb .post-links { border-left-style: solid; border-left-width: 1px;} /* C3.15 */ .punbb .post-links ul { padding: 0 1em 0 0; height: 2em; line-height: 2em; 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;} /* C6.4 */ #viewprofile ul, #profilenav ul { border-style: solid; border-width: 1px; padding: 1.5em 18px 0.8em 18px; margin: 0 0 1em 0; margin-top: 70px; } /* C6.5 */ #viewprofile h2, #profilenav h2 { background: transparent; border: none; padding: 0 0 0 0; margin: 0 15px -4em 4px; margin-left: -790px;} #viewprofile h1 span { background-image: none !important; color: #494949; } #profilenav h2 { margin-top: -50px; } /* C6.6 */ #viewprofile h2 span, #profilenav h2 span { padding: 0 5px; position: absolute; margin-left: -120px; margin-top: 40px; } /* 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: none; border-width: 0px;} /************************************************************* D - PUNBB SECTIONS OTHER THAN MAIN CONTENT **************************************************************/ /* D1 Logo and description -------------------------------------------------------------*/ /* D1.1 */ #pun-title { margin: 0; border-style: none; border-width: 1px 1px 0 1px;} /* D1.2 */ #pun-title h1 { display : block; height : 40px; padding: 2em 1em 0 1em; } /* D1.3 */ #pun-title .container { border-style: none; } /* D1.4 */ #pun-title h1 span { display: none;} #pun-title table { border: none; height: 400px; width: 100%;} /* D2 Page navigation -------------------------------------------------------------*/ /* D2.1 */ #pun-pagelinks { position: absolute; 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.8em 1em; text-align: right; width: 400px; margin-top:-4px; margin-left: 35px; } /* D.3 */ #pun-navlinks li { display: inline; padding-right: 1em;} /* D3.4 */ #pun-navlinks li a { font-size: 1.1em;} /* D4 User links -------------------------------------------------------------*/ /* D4.1 */ #pun-ulinks { padding-bottom: 1px;} /* D4.2 */ #pun-ulinks .container { border-top: none; text-align: left; padding: 0em 3em; width: 400px; position: absolute; margin-left: 430px; top: 295px;} /* D4.3 */ #pun-ulinks li, #pun-ulinks li a { display: inline; border-left-style: none; border-left-width: 0px; white-space: nowrap; padding-left: 1px;} /* D4.4 */ #pun-ulinks li a { padding: 0 -0.1em 0 -0.1em;} /* 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; text-align: center; color: #a3b6af; font-size: 12px; font-family: 'Roboto', sans-serif; } /* D5.2 */ #pun-status .container { padding: 0em 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 2.3em 1em; display: none; font-size: 12px; font-family: 'Roboto', sans-serif; color: #a3b6af; text-transform: lowercase; margin-top: 50px; } /* D5.6 */ #pun-break1 { margin: 0 1em; border-style: none none; border-width: 0px 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 none none; border-width: 0 0 0px 0; position: relative; display: none; } /* 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: 1em 1em 1em 1em; } /* D7 Statistics -------------------------------------------------------------*/ /* D7.1 */ #pun-stats .container { padding: 0.8em 1em; font-size: 12px; } /* 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 { border-top-style: solid; border-top-width: 1px; float: left; width: 100%; line-height: 150%; } /* 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: 1px; } /* 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%; margin-bottom: 4px; } /* D8.6 */ #pun-crumbs2 { font-weight: bold; overflow: hidden; margin-bottom: 0px; 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: none none; border-width: 0px 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; } .pl-share { display: none !important; } li.reports { display: none !important; } p.lastedit {display:none;} #pun-viewtopic p.container { display: block;} /* structure by chibi -------------------------------------------------------------*/
Цвета style_cs.css
Код:/* structure by chibi -------------------------------------------------------------*/ /* CS1 Основа -------------------------------------------------------------*/ /* CS1.1 */ body { background: url("http://savepic.ru/13083670.jpg") repeat-x top center; background-color: #f2f2f2; } #pun { background-color: #f2f2f2;} /* CS1.2 */ #pun-title.section { background-color: #000000; background: #000000 url("http://savepic.ru/13048875.jpg") top center scroll no-repeat; height: 290px; width: 920px; margin-top: 0px; margin-left: 0px;} #html-footer { margin: 0px; text-align: center; } #gif { display: block; position: absolute; margin-top: 20px; margin-left: 271px; width: 350px; height: 139px;} /* CS2 Форум -------------------------------------------------------------*/ /* CS2.1 */ .punbb .main .container, .punbb .post h3, #pun-title, #pun-title .container, .punbb .modmenu .container, .punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span, .punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl, #pun-navlinks .container, #pun-status .container, #pun-crumbs1 p.container, #pun-stats .container, #pun-about .container, #pun-crumbs2 .container, .linkst .pagelink, .linksb .pagelink { color: #3e4c47; background-color: transparent; font-family: 'Roboto', sans-serif; font-size: 12px; } .punbb .post .container{ color: #3e4c47; background-color: transparent; font-family: 'Roboto', sans-serif; } /* CS2.2 */ #pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 { background: url("http://savepic.ru/13057061.jpg") no-repeat right; /* height: 32px; */ width: 920px; margin-left: 0px; font-style: normal; text-align: right; color: #f2f2f2; font-family: "Bebas Neue"; font-size: 15px; letter-spacing: 4px !important; text-transform: uppercase; } .punbb th { text-transform: lowercase; font-size: 0px !important;} #pun-viewtopic .main h1 { background-image: none; color: #1c1c1c; font-family: 'Roboto', sans-serif; text-align: center; font-size: 11px !important; letter-spacing: 3px !important; margin-top: -140px; padding-bottom: 40px; padding-top: 40px;} #pun-profile .main h1, #pun-searchtopics .main h1, #pun-viewforum .main h1, #pun-online .main h1 { background-image: none; color: #1c1c1c; font-family: 'Roboto', sans-serif; text-align: center; font-size: 11px !important; letter-spacing: 3px !important; margin-top: -20px; padding-bottom: 20px; padding-top: 0px;} #pun-viewforum .linkst .pagelink, #pun-viewforum .linkst .postlink { top: -10px;} #pun-viewforum .main .tcr, #pun-searchtopics .main .tcr { padding-top: 10px;} /* CS2.3 */ .punbb .quote-box { background: #dbe0de; font-size: 13px; font-family: 'OfficinaSansMediumOSC'; color: #000000;} .punbb .code-box { background: #dbe0de; font-size: 10px !important; font-family: 'OfficinaSansMediumOSC'; color: #000000;} .punbb textarea, .punbb select, .punbb input, .punbb .button { background: #dbe0de; color: #000000 !important;} /* CS2.4 */ ::-webkit-scrollbar {width: 6px; height: 5px; background-color: #020101;} ::-webkit-scrollbar-thumb {background-color: #DBE0DE;} ::selection {background: #DBE0DE; color: #020101;} /* CS2.5 */ #pun-redirect, #pun-maint { margin: 0; width: 100%; height: 100%; float: none; top: 0 !important; left: 0 !important;} #pun-redirect { background: url("http://savepic.ru/13107174.gif") no-repeat top center; position: fixed; text-align: center; font-size: 11px; padding-top: 420px !important;} #pun-redirect .main-title { display: none;} /* CS2.6 */ .punbb .post .post-author { text-align: left; width: 220px; height: 250px; margin-top: -10px !important; margin-left: 0px; color: #000000 !important; font-size: 12px; font-family: 'Roboto', sans-serif; padding-left: 10px; position: relative; z-index: 999;} li.pa-author { margin-bottom: 25px; background: url(http://savepic.ru/13072377.jpg) center no-repeat; height: 20px; width: 219px; margin-left: -30px; padding-left: 12px !important; text-align: center; padding-top: 4px !important; color: #f2f2f2 !important; font: 14px "Bebas Neue"; letter-spacing: 4px !important; text-transform: uppercase; text-align: center; } li.pa-author a { color: #f2f2f2 !important; font: 14px "Bebas Neue"; letter-spacing: 4px !important; text-transform: uppercase; text-align: center; } li.pa-author a:hover, li.pa-author a:focus, li.pa-author a:active { color: #DBE0DE !important;} li.pa-avatar { margin-left: -5px; margin-top: -20px; position: absolute; z-index: -1;} #pun-messages li.pa-avatar { opacity: 0.4; margin-top: -40px; margin-left: -13px;} #pun-messages .post .post-author { height: 250px !important; margin-top: 0px !important; width: 190px !important;} /* CS2.7 */ .tclcon { font-size: 12px; font-family: 'Roboto', sans-serif; letter-spacing: 0px; text-align: right; width: 390px; } #pun-index .tcl h3 a { font-style: normal; text-align: center; text-transform: uppercase; font-size: 17px !important; letter-spacing: 2px; font-family: "Bebas Neue"; color: #256665 !important; } /* CS2.8 */ .punbb-admin #pun-admain .adcontainer, #pun-reputation div.inner div.container, #pun-report div.inner div.container , #pun-popup_awards div.inner div.container { background: #dbe0de; color: #000000;} #pun-reputation .tc2 textarea {width: 600px !important;} #pun-reputation .tcl {width: 80px !important;} #pun-reputation h1 { background: #dbe0de; text-align: center; width: 757px; height: 15px; margin-left: 0px; padding-top: 20px !important;} #pun-main .formsubmit input { background: #dbe0de; color: #3e4c47 !important; padding: 5px; border: none !important; text-transform: lowercase; margin-top: -20px !important; -moz-transition: 0.2s ease; -webkit-transition: 0.2s ease; font-family: 'Roboto', sans-serif; } .punbb .formsubmit { text-align: center} #pun-main .formsubmit input:hover { background: #f2f2f2;} .punbb input, .punbb select { background-color: #dbe0de; color: #3e4c479 !important; padding: 2px; font-family: 'Roboto', sans-serif; } #size-area, #font-area, #color-area, #smilies-area, #keyboard-area, #imageup-area, #font-area, #size-area, #color-area, #smilies-area, #image-area, #imageup-area, #imageattach-area, #keyboard-area, #video-area, #table-area, #addition-area { background: #DBE0DE; color: #3e4c47; padding: 5px; border: solid #3e4c47 1px !important;} hr { color: #DBE0DE; background-color: #DBE0DE; height: 2px; border: none;} /* CS3 Рамки -------------------------------------------------------------*/ .punbb .post-body, .post h3, #pun-title, .punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info, .punbb .category, .punbb .post, #pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2, .punbb td, .punbb fieldset, #viewprofile ul, #profilenav ul, .punbb .post .post-body, .punbb .post h3 span, .post-links ul, .post-links, .usertable table, #pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span, #pun-ulinks li a, #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend, .punbb .divider, .punbb .formal fieldset .post-box, .punbb .info-box, .punbb-admin #pun-admain .adcontainer { border-color: transparent;} /* CS4 Ссылки -------------------------------------------------------------*/ /* CS4.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, .punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited { text-decoration: none; color: #256665; -moz-transition: 0.2s ease; -webkit-transition: 0.2s ease;} punbb a:postlink { text-decoration: none; color: #3e4c47; -moz-transition: 0.2s ease; -webkit-transition: 0.2s ease;} .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: #3e4c47;} /* CS4.2 */ #pun-navlinks a { color: #3e4c47; font-weight: normal; font-style: normal; text-transform: lowercase; font-size: 12px !important; font-family: 'Roboto', sans-serif; -moz-transition: 0.2s ease; -webkit-transition: 0.2s ease;} #pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active, #pun-pagelinks a:active, #pun-pagelinks a:focus { color: #65736e;} /* CS4.3 */ #pun-ulinks a { color: #3e4c47; text-transform: lowercase; font-family: 'Roboto', sans-serif; font-size: 12px !important; -moz-transition: 0.2s ease; -webkit-transition: 0.2s ease;} #pun-ulinks a:hover, #pun-ulinks a:focus, #pun-ulinks a:active { color: #65736e;} /* CS5 Иконки сообщений -------------------------------------------------------------*/ .punbb table Div.icon { float: right; width: 50px; height: 50px; background-image: url(http://savepic.ru/13048867.jpg); background-repeat: no-repeat; padding-left: 35px; margin-top: 30px;} TR.inew Div.icon { background: url(http://savepic.ru/13049891.jpg) no-repeat;} TR.isticky Div.icon { background: url(http://savepic.ru/13091874.jpg) no-repeat;} TR.iclosed Div.icon { background: url(http://savepic.ru/13103138.jpg) no-repeat;} TR.iredirect Div.icon { background: url(http://savepic.ru/13049891.jpg) no-repeat;} #pun-messages Div.icon, #pun-viewforum Div.icon { float: left; margin-top: -10px;} #pun-messages .tclcon, #pun-viewforum .tclcon { width: 100%; text-align: left; padding-top: 10px; } #pun-searchtopics Div.icon { float: left; margin-top: -10px;} /*CS6 Таблицы и прочее ---------------------------------*/ .tipsy { padding: 5px; font-size: 10px; font-family: 'Roboto', sans-serif; opacity: 0.8; filter: alpha(opacity=80); background-repeat: no-repeat; background-image: url(http://i40.servimg.com/u/f40/16/50/61/52/tipsy10.gif); } .tipsy-inner { padding: 5px 8px 4px 8px; background-color: black; color: white; max-width: 200px; text-align: center; } .tipsy-inner { -moz-border-radius:3px; -webkit-border-radius:3px; border-radius: 3px; } .tipsy-north { background-position: top center; } .tipsy-south { background-position: bottom center; } .tipsy-east { background-position: right center; } .tipsy-west { background-position: left center; } #pun-index .category .tc2, #pun-index .category .tc3{ display:none!important; } div.tipsy.tipsy-s.Sp-imgSp-img .tipsy-inner{font-size:11px;letter-spacing:1px;} img.post-img-Sp { display: block; margin-left: -21px; margin-bottom: 45px;} ul.post-ul-Sp { margin-top: -185px; margin-left: -10px; background: #f2f2f2; width: 170px; height: 190px; opacity: 0.8; padding-top: 40px !important; padding-left: 15px !important;} ul.post-ul-Sp.Sp1 { background: none!important;} #tab1 { display: block; position: absolute; top: 45px; margin-left: -20px; opacity: 0; background-color: #020101; color: #f2f2f2; font-family: 'Roboto', sans-serif; font-size: 12px; border: none; width: 290px; height: 235px; text-align: center;} #tab1:hover { opacity: 1;} #tab2 { display: block; position: absolute; top: 45px; margin-left: 620px; opacity: 0; background-color: #020101; color: #f2f2f2; font-family: 'Roboto', sans-serif; font-size: 12px; border: none; width: 290px; height: 235px; text-align: center;} #tab2:hover { opacity: 1;} .FNTslider { border-radius: 4px; position:relative;z-index:1000; background: #dbe0de; width: 100px; height: 2px; margin: 3px 5px; border: solid 1px #ccc; float: right; margin-right: 7%; } .FNTslider .before { height: 2px; border: solid 1px transparent; border-right: none 0; border-radius: 3px 0 0 3px; position: absolute; background: #000000; margin-top: -1px; } .FNTslider .thumb { width: 5px; height: 10px; border-radius: 2px; position: relative; top: -4px; background: #000000; cursor: pointer; } .go-up, .go-down { display: none; position: fixed; /*позиционирование*/ z-index: 9999; /*поверх все элементов на странице*/ right: 5%; /*положение на странице, если слева - left*/ cursor: pointer; opacity: .5; padding: 3px; margin-bottom: 5px; width: 30px; height: 30px;} .go-up { bottom: 260px; } .go-down { bottom: 210px; } .go-down:hover, .go-up:hover { opacity: 1;} #pun-navlinks #navindex>a>span, #navuserlist>a>span, #navrules>a>span, #navsearch>a>span, #navprofile>a>span, #navpm>a>span, #navadmin>a>span, #navregister>a>span, #navlogin>a>span, #navlogout>a>span{display:none;} #pun-navlinks #navindex a:after{content:"форум";} #pun-navlinks #navuserlist a:after{content:"участники";} #pun-navlinks #navrules a:after{content:"правила";} #pun-navlinks #navsearch a:after{content:"поиск";} #pun-navlinks #navprofile a:after{content:"профиль";} #pun-navlinks #navpm a:after{content:"сообщения";} #pun-navlinks #navadmin a:after{content:"админка";} #pun-navlinks #navregister a:after{content:"регистрация";} #pun-navlinks #navlogin a:after{content:"вход";} #pun-navlinks #navlogout a:after{content:"выход";} /* structure by chibi -------------------------------------------------------------*/
HTML-верх
Код:<!-- ЛЕВЫЙ БЛОК --> <div id="tab1"> <b>01.08</b> Спешим сообщить, что в наши дни уже никого не удивляет, что люди работают с утра до ночи, а затем сообразно личным своим вкусам убивают остающееся им для жизни время на карты, сидение в кафе и на болтовню. </div> <!-- ЛЕВЫЙ БЛОК --> <!-- ПРАВЫЙ БЛОК --> <div id="tab2"> Спешим сообщить, что в наши дни уже никого не удивляет, что люди работают с утра до ночи, а затем сообразно личным своим вкусам убивают остающееся им для жизни время на карты, сидение в кафе и на болтовню. </div> <!-- ЛЕВЫЙ БЛОК --> <div id="gif"><img src="http://savepic.ru/13055369.gif"></div> <script type="text/javascript" src="https://forumstatic.ru/files/0010/b4/f8/57844.js"></script> <div class="go-up" title="Вверх" id='ToTop'><img src="http://savepic.ru/13061896.png"></div> <div class="go-down" title="Вниз" id='OnBottom'><img src="http://savepic.ru/13060872.png"></div>
HTML-низ
Код:<!-- HTML низ -Cпойлер cкрытия Инфы под N-кнопок в Профиле Топика --> <script> var a1 = 1 // 0 - спойлер-аккордеон, 1 - вертикальный спойлер; 3 - обычный спойлер var a2 = 0 // 0 - Скрытие первой вкладки; 1 - Показ первой вкладки; var a3 = 1 // Резкость Открытия: 0 - Плавно; 1 - Резко; var LiArr=new Array( //При наличии двух косых => // в начале пункта, - пункт не скрывается. //"pa-author", //Ник-Нейм //"pa-avatar", //Аватар "http://savepic.ru/13060091.jpg[аватар]", "gift", //Подарки(только для rusff и ork) // 1 кнопка - ссылка на Картинку "http://savepic.ru/13060091.jpg[о пользователе]", "pa-title", //статус "pa-posts", //Кол-во сообщений: "pa-respect", //Уважение: "pa-from", //Откуда "pa-reg", //Зарегистрирован "pa-invites", //Приглашений "pa-sex", //Пол "pa-age", //Возраст "pa-positive", //Позитив "pa-icq", //Аська "pa-ip", //IP Юзера "pa-time-visit", //Провел на форуме: "pa-last-visit", //Последний визит: "pa-online", //Пользователь online // 2 кнопка- ссылка на Картинку "http://savepic.ru/13060091.jpg[о персонаже]", "pa-fld1", //Доп.Поле.1 "pa-fld2", //Доп.Поле.1 "pa-fld3", //Доп.Поле.1 //"award", //Награды(только для rusff и ork) //Конец Списка, "_End"); SetProvilSpoil(a1,a2,a3); </script> <!--Конец//=Cпойлер cкрытия Инфы под N-кнопок в Профиле Топик--> <!--Универсальный скрипт замены. --> <script type="text/javascript"> $('.post-author li.pa-avatar > img[title]').removeAttr('title');</script> <script> function UniverСhange(selektor,changed,substitute){ $(selektor).each(function(){if ($(this).parent().html()!=null){if($(this).parent().html().indexOf(changed)!=-1){ $(this).parent().html($(this).parent().html().replace(changed,substitute));};};});} UniverСhange("#pun-status .container","Привет","Добро пожаловать в систему"); UniverСhange("#pun-stats","Статистика форума","statistics"); UniverСhange("#post-form h2 span","Быстрый ответ","reply form"); </script> <script type="text/javascript"> RusffCore.sets.show_reportBtn = 0; rusffLive.enable = false; RusffCore.sets.use_awards = 0; RusffCore.sets.tags = false; RusffCore.sets.share = false; </script> <script type="text/javascript" src="https://forumstatic.ru/files/0015/c4/3f/31001.js"></script> <!-- Выделить код --> <script type="text/javascript"> function select_text(elem) { if(window.getSelection) { var s=window.getSelection(); if(s.setBaseAndExtent){ s.setBaseAndExtent(elem,0,elem,elem.innerText.length-1); } else { var r=document.createRange(); r.selectNodeContents(elem); s.removeAllRanges(); s.addRange(r); } } else if(document.getSelection){ var s=document.getSelection(); var r=document.createRange(); r.selectNodeContents(elem); s.removeAllRanges(); s.addRange(r); } else if(document.selection){ var r=document.body.createTextRange(); r.moveToElementText(elem); r.select(); } } </script> <script type="text/javascript"> var div = document.getElementById('pun-main').getElementsByTagName('div'); for(x in div){ if(div[x].className=='code-box'){ div[x].getElementsByTagName('strong')[0].innerHTML = '<a href="#" onclick="select_text(this.parentNode.parentNode.childNodes[1].getElementsByTagName(\'pre\')[0]); return false;">Выделить код</a>'; } } </script> <!-- Стрелки --> <script type="text/javascript"> $(function(){ if ($(window).scrollTop()>="250") $("#ToTop").fadeIn("slow") $(window).scroll(function(){ if ($(window).scrollTop()<="250") $("#ToTop").fadeOut("slow") else $("#ToTop").fadeIn("slow") }); if ($(window).scrollTop()<=$(document).height()-"999") $("#OnBottom").fadeIn("slow") $(window).scroll(function(){ if ($(window).scrollTop()>=$(document).height()-"999") $("#OnBottom").fadeOut("slow") else $("#OnBottom").fadeIn("slow") }); $("#ToTop").click(function(){$("html,body").animate({scrollTop:0},"slow")}) $("#OnBottom").click(function(){$("html,body").animate({scrollTop:$(document).height()},"slow")}) }); </script>
Поделиться1614 февраля, 2019г. 04:26:43
Структура style.css
Код:/* structure by chibi -------------------------------------------------------------*/ /************************************************************* A - SETUP **************************************************************/ /* A1 Import the colour scheme -------------------------------------------------------------*/ /* A1.1 */ @import url(style_cs.css); /* 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;} /* 3.3 */ .punbb textarea, .punbb input, .punbb select, .punbb optgroup { font: 1em verdana, arial, helvetica, sans-serif} .punbb input, .punbb select {padding: 2px;} /* 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; position: relative; top: 10px;} /* 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: normal} /* 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: 0px auto auto auto; width: 972px;} /* A5.2 */ .punbb { width: 950px; position: relative; height: auto; margin-left: 15px;} /* A5.3 */ #pun-redirect, #pun-maint { margin: 0; width: 100%; height: 100%; float: none; top: 0 !important; left: 0 !important; } /* 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; border-width: 0px 0px 0px 0px} /* A5.9 */ .punbb .container { border-style: none; border-width: 0px;} /* A5.10 */ .punbb .section h2, #pun-main h1, #pun-main h2, #pun-stats h2, #pun-debug h2 { padding: 5px 1em 5px 1em; border-style: none; border-width: 0px; } /************************************************************* 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; margin: 20px 0 5px 0; border: 1px solid #aa873f;} /* B1.3 */ .punbb .post-content p { margin: 0; padding: 0 0px 1em 0px; 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 { overflow: hidden; padding-top: 0px; } /* 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 0.2em 1.8em; padding: 1em;} /* B1.9 */ .punbb .quote-box cite { display: block; padding-bottom: 1em; font-size: 0.9em; font-weight: bold; font-style:normal; margin: 0;} .punbb .code-box strong.legend { display: block; padding-bottom: 1em; font-size: 0.9em; 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: none; border-width: 0px; 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;} /* B3.2 */ .multipage { margin-top: 3em;} /* B3.3 */ .linkst .pagelink { position: absolute; top: -6em; left: 1em; width: 24em; } /* B3.4 */ .linkst .postlink { position: absolute; top: -4.5em; right: 1em; width: 16em; text-align: right; font-weight: bold;} /* B3.5 */ .punbb .linksb { text-align: right; padding: 0.4em 1em 0.5em 1em; font-size: 1.1em;} /* B3.6 */ .linksb .pagelink { float: left; width: 24em; text-align: left;} /* 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: none; border-width: 0px; 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; } /* CS2.7 */ .tclcon { font-size: 12px; letter-spacing: 0px; text-align: left; width: 70%; } #pun-index .tcl h3 a { font-family: arial black; font-style: normal; text-align: left; text-transform: uppercase; font-size: 18px !important; color: #000000 !important; } #pun-index .tcl h3 a:hover, #pun-index .tcl h3 a:focus, #pun-index .tcl h3 a:active { font-family: arial black; font-style: normal; text-transform: uppercase; font-size: 18px !important; color: #795b19 !important; } /* C2.8 */ #pun-index .tcl h3 { font-size: 1.2em; font-weight: bold; position: relative; top:-5px; border-bottom: 2px solid black;} /* 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: none; border-width: 1px 0 0 1px; padding: 2em 3em 1em 2em; } /* C2.12 */ .punbb .main th { border-style: none; 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 { margin-right: 15px;} /* C2.15 */ .punbb div.icon { float: left; display: block;} /* C3 Topics -------------------------------------------------------------*/ /* C3.1 */ .punbb .post .container { border-style: none; padding-bottom: 1px; } /* C3.2 */ .punbb .post h3 { border-style: none; border-width: 0px; } /* 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; 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; text-align: left;} /* C3.8 */ .pa-author a { text-decoration: none} /* C3.9 */ li.pa-title { padding-bottom: 0.4em;} li.pa-online { line-height: 1em; 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; text-align: justify;} /*C3.13 */ .punbb fieldset .post-box { margin-bottom: 0.8em } /* C3.14 */ .punbb .post-links { border-left-style: solid; border-left-width: 1px;} /* C3.15 */ .punbb .post-links ul { padding: 0 1em 0 0; height: 2em; line-height: 2em; 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;} /* 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 15px -1em 4px; text-align: left;} /* 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: none; border-width: 0px;} /************************************************************* D - PUNBB SECTIONS OTHER THAN MAIN CONTENT **************************************************************/ /* D1 Logo and description -------------------------------------------------------------*/ /* D1.1 */ #pun-title { margin: 0; border-style: none; border-width: 1px 1px 0 1px;} /* D1.2 */ #pun-title h1 { display : block; height : 40px; padding: 2em 1em 0 1em; } /* D1.3 */ #pun-title .container { border-style: none; } /* D1.4 */ #pun-title h1 span { display: none;} #pun-title table { border: none; height: 400px; width: 100%;} /* D2 Page navigation -------------------------------------------------------------*/ /* D2.1 */ #pun-pagelinks { position: absolute; 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.8em 1em; text-align: right; position: relative; top: -45px;} /* D.3 */ #pun-navlinks li { display: inline; padding-right: 1em;} /* D3.4 */ #pun-navlinks li a { font-size: 1.1em;} /* D4 User links -------------------------------------------------------------*/ /* D4.1 */ #pun-ulinks { padding-bottom: 1px;} /* D4.2 */ #pun-ulinks .container { border-top: none; text-align: right; padding: 0em 1em; position: relative; top: -54px;} /* D4.3 */ #pun-ulinks li, #pun-ulinks li a { display: inline; border-left-style: none; border-left-width: 0px; white-space: nowrap; padding-left: 3px;} /* D4.4 */ #pun-ulinks li a { padding: 0 -0.1em 0 -0.1em;} /* 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: 0px 1em 0em 1em; position: relative; top: -20px; } /* 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 0em 1em; font-size: 1.1em; position: relative; top: -10px;} /* D5.6 */ #pun-break1 { margin: 0 1em; border-style: none none; border-width: 0px 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 none none; border-width: 0 0 0px 0; position: relative; display: none; } /* 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: 1em 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: 1px; } /* 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%; margin-bottom: 4px; } /* D8.6 */ #pun-crumbs2 { font-weight: bold; overflow: hidden; margin-bottom: 0px; 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: none none; border-width: 0px 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; } .pl-share { display: none !important; } li.reports { display: none !important; } p.lastedit {display:none;} /* structure by сhibi -------------------------------------------------------------*/
Цвета style_cs.css
Код:/* structure by chibi -------------------------------------------------------------*/ /* CS1 Основа -------------------------------------------------------------*/ @font-face { font-family: 'Moderno Regular'; src: url(https://forumstatic.ru/files/0019/c4/43/98930.ttf) format('truetype'); font-weight: normal; font-style: normal; } /* CS1.1 */ body { background: url("https://forumstatic.ru/files/0019/c4/43/86953.jpg") repeat top center; background-color: #161514; background-attachment: fixed; } #pun { margin: 265px auto auto auto !important; background-color: #e2d7be;} /* CS1.2 */ #pun-title.section { background-color: transparent; margin-left: -15px; width: 900px; height: 1px; z-index: 100} #html-footer { margin: 0px; text-align: center; } /* CS2 Форум -------------------------------------------------------------*/ /* CS2.1 */ .punbb .main .container, .punbb .post h3, #pun-title, #pun-title .container, .punbb .modmenu .container, .punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span, .punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl, #pun-navlinks .container, #pun-status .container, #pun-crumbs1 p.container, #pun-stats .container, #pun-about .container, #pun-crumbs2 .container, .linkst .pagelink, .linksb .pagelink { color: #000000; background-color: transparent; font-size: 12px; } /* CS2.2 */ #pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 { background: url("https://i.imgur.com/hrTkyfZ.png") no-repeat center; height: 40px; width: 974px; margin-left: -32px; font-style: normal; text-align: center; color: #e2d7be; font-family: "Moderno Regular"; font-size: 16px; text-transform: uppercase; letter-spacing: 2px !important; } .punbb th { text-transform: lowercase; font-size: 0px !important;} #pun-viewtopic .main h1 { background-image: none; color: #1c1c1c; text-align: center; margin-top: -60px; padding-bottom: 40px; padding-top: 40px;} #pun-profile .main h1, #pun-searchtopics .main h1, #pun-viewforum .main h1, #pun-online .main h1 { background-image: none; color: #1c1c1c; text-align: center; margin-top: -20px; padding-bottom: 20px; padding-top: 0px;} #pun-viewforum .linkst .pagelink, #pun-viewforum .linkst .postlink { top: -10px;} #pun-viewforum .main .tcr, #pun-searchtopics .main .tcr { padding-top: 10px;} /* CS2.3 */ .punbb .quote-box { background: #c7bea8; color: #000000; box-shadow: inset 0px 0px 40px #a99e87; border-radius: 10px; border: solid 3px #cbb689;} .punbb .code-box { background: #c7bea8; color: #000000; box-shadow: inset 0px 0px 40px #a99e87; border-radius: 10px; border: solid 3px #cbb689; font-size: 10px;} .punbb .code-box p { padding: 0px 0 1em 15px;} .punbb textarea, .punbb select, .punbb input, .punbb .button { background: #c7bea8; color: #000000 !important;} /* CS2.4 */ ::-webkit-scrollbar {width: 6px; height: 5px; background-color: #e2d7be;} ::-webkit-scrollbar-thumb {background-color: #a68237;} ::selection {background: #DBE0DE; color: #795b19;} /* CS2.5 */ #pun-redirect { background: url(http://s5.uploads.ru/nFjPv.gif) #000; text-align: center; margin-top: 140px; font-size: 10px; position: fixed;} #pun-redirect a:hover { text-shadow: none!important } #pun-redirect .info .container { display:none; } #pun-redirect .info .container a {display:none;} #pun-redirect h1 { background-image: none;} #pun-redirect h1 span {display:none;} #pun-redirect h1 { background-image: url(http://s5.uploads.ru/nFjPv.gif); padding-bottom: 10px; color: transparent; text-shadow: none; margin-top: 5px;} /* CS2.6 */ .punbb .post .post-author { text-align: center; width: 200px; margin-top: -20px; color: #ac9b67; font-size:12px;} li.pa-author a, li.pa-author { color: #e2d7be; font-weight: normal; font-style: normal; font-size: 16px; text-transform: uppercase; font-family: "Moderno Regular"; letter-spacing: 2px !important; -moz-transition: 0.2s ease; -webkit-transition: 0.2s ease;} li.pa-author a:hover, li.pa-author a:focus, li.pa-author a:active { color: #795b19 !important;} .punbb .post .pa-avatar > img{ border: 3px solid #a68237;} .pa-title { padding-bottom:10px !important; background: url(https://forumstatic.ru/files/0019/c4/43/67332.jpg) bottom center no-repeat; } /* CS2.7 */ .tclcon { font-size: 12px; font-family: 'Roboto', sans-serif; letter-spacing: 0px; text-align: right; width: 390px; } #pun-index .tcl h3 a { font-style: normal; text-align: center; text-transform: uppercase; font-size: 17px !important; letter-spacing: 2px; font-family: "Bebas Neue"; color: #256665 !important; } /* CS2.8 */ .punbb-admin #pun-admain .adcontainer, #pun-reputation div.inner div.container, #pun-report div.inner div.container , #pun-popup_awards div.inner div.container { background: #c7bea8; color: #000000;} #pun-reputation .tc2 textarea {width: 600px !important;} #pun-reputation .tcl {width: 80px !important;} #pun-reputation h1 { background: #c7bea8; text-align: center; width: 757px; height: 15px; margin-left: 0px; padding-top: 20px !important;} #pun-main .formsubmit input { background: #c7bea8; color: #000000 !important; padding: 7px; border: none !important; margin-top: -20px !important; -moz-transition: 0.2s ease; -webkit-transition: 0.2s ease; box-shadow: inset 0px 0px 30px #a99e87; border-radius: 10px; border: solid 2px #cbb689;} .punbb .formsubmit { text-align: center} #pun-main .formsubmit input:hover { background: #795b19;} .punbb input, .punbb select { background-color: #c7bea8; color: #000000 !important; padding: 2px;} #size-area, #font-area, #color-area, #smilies-area, #keyboard-area, #imageup-area, #font-area, #size-area, #color-area, #smilies-area, #image-area, #imageup-area, #imageattach-area, #keyboard-area, #video-area, #table-area, #addition-area { background: #c7bea8; color: #000000; padding: 5px;} hr { color: #aa873f; background-color: #aa873f; height: 2px; border: none;} /* CS3 Рамки -------------------------------------------------------------*/ .punbb .post-body, .post h3, #pun-title, .punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info, .punbb .category, .punbb .post, #pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2, .punbb td, .punbb fieldset, #viewprofile ul, #profilenav ul, .punbb .post .post-body, .punbb .post h3 span, .post-links ul, .post-links, .usertable table, #pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span, #pun-ulinks li a, #pun-announcement h2, li#onlinelist div, #pun-help .formal .info-box h3.legend, .punbb .divider, .punbb .formal fieldset .post-box, .punbb .info-box, .punbb-admin #pun-admain .adcontainer { border-color: transparent;} /* CS4 Ссылки -------------------------------------------------------------*/ /* CS4.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, .punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited { text-decoration: none; color: #795b19; -moz-transition: 0.2s ease; -webkit-transition: 0.2s ease;} punbb a:postlink { text-decoration: none; color: #726d63; -moz-transition: 0.2s ease; -webkit-transition: 0.2s ease;} .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: #726d63;} /* CS4.2 */ #pun-navlinks a { color: #e2d7be; font-weight: normal; font-style: normal; font-size: 16px; text-transform: uppercase; font-family: "Moderno Regular"; letter-spacing: 2px !important; -moz-transition: 0.2s ease; -webkit-transition: 0.2s ease;} #pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active, #pun-pagelinks a:active, #pun-pagelinks a:focus { color: #795b19;} /* CS4.3 */ #pun-ulinks a { color: #aaaaaa; text-transform: lowercase; font-size: 10px !important; -moz-transition: 0.2s ease; -webkit-transition: 0.2s ease;} #pun-ulinks a:hover, #pun-ulinks a:focus, #pun-ulinks a:active { color: #795b19;} /* CS5 Иконки сообщений -------------------------------------------------------------*/ .punbb table Div.icon { float: right; width: 100px; height: 50px; background-image: url(http://s9.uploads.ru/foCMY.png); background-repeat: no-repeat; padding-left: 0px; margin-top: 20px;} TR.inew Div.icon { background: url(http://s3.uploads.ru/5PcI3.png) no-repeat;} TR.isticky Div.icon { background: url(http://s8.uploads.ru/6RIMD.png) no-repeat;} TR.iclosed Div.icon { background: url(http://s8.uploads.ru/TmgDS.png) no-repeat;} TR.iredirect Div.icon { background: url(http://s3.uploads.ru/5PcI3.png) no-repeat;} #pun-messages Div.icon, #pun-viewforum Div.icon { float: left; margin-top: -10px;} #pun-messages .tclcon, #pun-viewforum .tclcon { width: 100%; text-align: left; padding-top: 5px; } #pun-searchtopics Div.icon { float: left; margin-top: -10px;} /*CS6 Таблицы и прочее ---------------------------------*/ #pun-index .category .tc2, #pun-index .category .tc3{ display:none!important; } #pun-navlinks #navindex>a>span, #navuserlist>a>span, #navrules>a>span, #navsearch>a>span, #navprofile>a>span, #navpm>a>span, #navadmin>a>span, #navregister>a>span, #navlogin>a>span, #navlogout>a>span{display:none;} #pun-navlinks #navindex a:after{content:"форум";} #pun-navlinks #navuserlist a:after{content:"участники";} #pun-navlinks #navrules a:after{content:"правила";} #pun-navlinks #navsearch a:after{content:"поиск";} #pun-navlinks #navprofile a:after{content:"профиль";} #pun-navlinks #navpm a:after{content:"сообщения";} #pun-navlinks #navadmin a:after{content:"AMS";} #pun-navlinks #navregister a:after{content:"регистрация";} #pun-navlinks #navlogin a:after{content:"вход";} #pun-navlinks #navlogout a:after{content:"выход";} #dop1 { display: block; position: absolute; margin-top: -255px; margin-left: 375px;} #menu { margin-top: 0px; width: 80px; height: 35px; background-repeat : no-repeat;} #menu span { text-align:left; display:block; margin: 15px 0; padding: 0px;} #menu .tabactive { box-shadow:0px 0px 40px #967430; border-radius:30px;} #submenu { padding: 0px; height: 150px; text-align: center; font-size: 12px; width: 430px; color: #e5dbc5; text-align: left; margin-top:-10px;} .submenutext { display: none; height: 40px;} #news { position: absolute; width: 430px; height: 150px; display: block; padding: 5px; overflow: auto; text-align: center;} #news::-webkit-scrollbar{ width: 5px; height: 5px; background: #000000;} #news::-webkit-scrollbar-thumb{ background-color: #524735; } #linki { position: absolute; width: 430px; height: 150px; display: block; padding-top: 30px;} #linki a { color: #e5dbc5 !important;} #go-up, #go-down { position:fixed; bottom: 20%; right: 10%; text-align:center; opacity: 0.5; margin-bottom: 10px; } #go-down:hover, #go-up:hover { opacity: 1;} /* structure by chibi -------------------------------------------------------------*/
HTML-верх
Код:<!--шапка--> <div style="position: absolute;width: 970px;height: 265px;margin-top: -255px;margin-left: -15px;"><img src="http://sg.uploads.ru/mMDQc.png"></div> <div id="dop1"> <table style="width: 600px"> <tbody> <tr> <td id="MenuTxT" align="center" valign="top"> <div id="submenu" align="center"> <div id="sm1" class="submenutext"> </div> <div id="sm2" class="submenutext" style="display:block;"> <div id="linki"> <center> <a href="ссылка">Вводные</a> / <a href="ссылка">Информация</a> / <a href="ссылка">FAQ</a> / <a href="ссылка">Акции</a><br> <a href="ссылка">Вводные</a> / <a href="ссылка">Информация</a> / <a href="ссылка">FAQ</a> / <a href="ссылка">Акции</a> </center><br><br> Связаться с администрацией и просто ткнуть ей в лицо: <br> тг: @liloshre <br><br> <table> <tr> <td><a href="ссылка"><img src="https://forumstatic.ru/files/0019/c4/43/99320.jpg"></a></td> <td width="15px"></td> <td><a href="ссылка"><img src="https://forumstatic.ru/files/0019/c4/43/99320.jpg"></a></td> </tr> </table> </div> </div> <div id="sm3" class="submenutext"><br /><br /> <b>«Режим всё»</b><br> – так, или, почти так звучит каждый заголовок хтономедиа. Никакого комендантского часа, никаких жестких мер (разве что к бывшему Главе Совета, упс) – и вроде как можно начать дышать полной грудью, но чёрта с два. В конце концов, будет ли доверие к организации, снабдившей всех и каждого чипом и проехавшейся по огромному числу хтоноидов во время режима? И если о существовании Катарсиса пока знают лишь единицы, то воспоминания о РАПСе всё ещё свежи. Куда они делись и появится ли сейчас, когда всё поутихло? </div> <div id="sm4" class="submenutext"><br /><br /> <div id="news"> <b>28/01</b><br> свежая пресса: собрали события текущей арки, планируем ад и немного израиля.<br><br> <b>13/01</b><br> шестая арка всё<br><br> <b>11/01</b><br> запилила тему для тех, кто хочет, но не может ворваться в проект.<br><br> <b>09/01</b><br> запилила тему для тех, кто хочет, но не может ворваться в проект. </div> </div> </div> </td> <td valign=top> <div id="menu"> <b> <span alt="#sm1" style="cursor: pointer;"></span> <span alt="#sm2" style="cursor: pointer;"><img src="https://forumstatic.ru/files/0019/c4/43/30706.png"></span> <span alt="#sm3" style="cursor: pointer;"><img src="https://forumstatic.ru/files/0019/c4/43/26592.png"></span> <span alt="#sm4" style="cursor: pointer;"><img src="https://forumstatic.ru/files/0019/c4/43/89493.png"></span> </b> </div> </td> </tr> </tbody> </table> </div>
HTML-низ
Код:<div id="go-up"> <a href=#top onClick="$('html,body').scrollTop(0,0); return false;" title="Вверх страницы" alt="Вверх страницы" ><img src="https://forumstatic.ru/files/0019/c4/43/47734.png" style="margin-bottom: 70px;"/></a><br> </div> <div id="go-down"> <a href="#bottom" onclick="$('html,body').scrollTop(document.body.scrollHeight); return false;" title="Вниз страницы"><img src="https://forumstatic.ru/files/0019/c4/43/52523.png" alt="Вниз страницы"/></a> </div> <script type="text/javascript"> RusffCore.sets.show_reportBtn = 0; rusffLive.enable = false; RusffCore.sets.use_awards = 0; RusffCore.sets.tags = false; RusffCore.sets.share = false; </script> <script type="text/javascript"> $(document).ready(function() { $("td.#MenuTxT div.submenutext").hide(); <!--$(".tabs span:first").addClass("active").show(); --> $("td.#MenuTxT div.submenutext:first").show(); $("div.#menu span").click(function() { $("div.#menu span").removeClass("tabactive"); $(this).addClass("tabactive"); $("td.#MenuTxT div.submenutext").hide(); var activeDiv = $(this).attr("alt"); $("div."+activeDiv).fadeIn(); return false; }); }); </script>
Страница: 1