12.91.32. Длинный заголовок, состоящий из нескольких слов
Сообщений 31 страница 39 из 39
Поделиться322018-09-25 15:07:14
<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-stats h2","Статистика форума","Score"); //На следущей строке можно добавить еще запрос UniverСhange("#.punbb .main h2","Быстрый ответ","Answer"); //На следущей строке можно добавить еще запрос </script>
<!-- Универсальный скрипт замены © Alex_63 --> <script type="text/javascript"> function Change(sc,ch,st){$(sc).parent().each(function(){$(this).html($(this).html().replace(ch,st));});} Change('#pun-stats h2','Статистика форума','Score'); Change('#.punbb .main h2','Быстрый ответ','Answer'); </script>
Поделиться332018-09-25 17:02:56
ХЕДЕР
Поделиться342018-09-25 18:56:52
UniverСhange("#pun-ulinks li.item1","Новые сообщения","<img src=\"http://ссылка\"/>"); UniverСhange("#pun-ulinks li.item2","Активные темы","<img src=\"http://ссылка\"/>"); UniverСhange("#pun-ulinks li.item3","Темы без ответов","<img src=\"http://ссылка\"/>"); UniverСhange("#pun-ulinks li.item4","Мои сообщения","<img src=\"http://ссылка\"/>"); UniverСhange("#pun-ulinks li.item5","Подписка","<img src=\"http://ссылка\"/>"); UniverСhange("#pun-ulinks li.item6","Все прочитано","<img src=\"http://ссылка\"/>");
скрипт замены
Поделиться352018-09-26 18:06:28
/* Мобильный дизайн -------------------------------------------------------------*/ @media screen and (max-width: 540px){ #html-header, #html-footer, #pun-title, #pun-announcement div.container { margin: 0 auto !important; overflow-x: auto !important; display: none; } #pun-searchtopics div#tdfor { width: 65%; overflow: hidden; white-space: nowrap; } .Tems_And_messages .right a { font-size: 0.9em; } #pun-searchtopics div#tdans { width: 25%; overflow: hidden; white-space: nowrap; } #pun-searchtopics #pun-main .forum .container { border: none !important; padding: 0px !important; box-shadow: none !important; background: url() !important; } #pun-searchtopics .Add { margin-top: 5px !important; } #pun-searchtopics .tcl .byuser { display: none !important; } #pun-searchtopics .tcl .Add .byuser { display: block !important; } #pun-searchtopics td.tcl { padding-left: 0px !important; } #pun-index .bottom .right { padding-right: 30px; } #pun-viewforum .tcl .bottom .byuser::before, #pun-searchtopics .tcl .bottom .byuser::before { content: "Последнее сообщение:" !important; } #pun-viewforum .tclcon span.byuser { display: none; } #pun-viewforum .Add { display: block; } .punbb .section, .punbb .main { margin-bottom: 0em !important; } .red { position: absolute; right: 40px; } #pun-index .category .tcl, #pun-index .forum .tcl, #pun-searchtopics .forum .tcl, #pun-viewforum td.tcl, #pun-stats .statscon .container, #pun-messages .tcl { /*width: 100% !important;*/ padding: 1em 0.2em 1.2em 1em !important; } #pun-index .category .tcl, #pun-index .forum .tcl { padding: 1em 0.2em 1.2em 0em !important; } #pun-searchtopics .forum .tcl { padding: 1em 0.2em 1.2em 1em !important; } #pun-index .main .tcr, #pun-viewforum .main .tcr, #pun-searchtopics .main .tcr { display: none; } .punbb td.tcl { margin-left: 0px !important; /* border: 1px solid #2e0108 !important; background: #e8ccab !important;*/ } #pun-viewforum td.tcl { padding: 2em 0em 1em 0em !important; } .Add .bottom { display: block; padding-top: 5px; padding-left: 10px; } .Add { display: block; padding-left: 5px; } #pun-index .Add .bottom::before { content: "Последнее сообщение:"; } #pun-index .Add .bottom a, #pun-viewforum .Add .bottom a, #pun-searchtopics .Add .bottom a { margin: 0 !important; padding: 0 !important; font-size: 0; background: url(https://forumstatic.ru/files/0019/ac/64/41366.png) no-repeat center -550px; border: 0 !important; width: 30px; height: 100%; position: absolute; right: 30px; text-decoration: none !important; max-height: 30px; } #pun-viewforum .Add .bottom a, #pun-searchtopics .Add .bottom a { margin-top: -10px !important; } .punbb .quote-box cite, .punbb .code-box strong.legend { text-align: left; } .linksb .pagelink { margin-top: 1.25em !important; } .linksb.postlink { margin-top: -1em; } .subscribelink { position: inherit !important; margin-top: 2px !important; background: transparent !important; margin-left: 0px !important; padding: 0px 0px !important; width: 87px !important; float: right; height: 20px !important; overflow: hidden; } .subscribelink a { display: none !important; } .post-links li.pl-edit, .post-links li.pl-delete, .post-links li.pl-quote { padding-top: 3px !important; max-width: 15px!important; max-height: 20px!important; overflow: hidden!important; display: inline-block!important; } .pl-edit a::before { content: " . . . "; color: transparent; opacity: 0.5; font-size: 1.28em !important; background: url(https://forumstatic.ru/files/0012/e5/af/61492.png) no-repeat left top; padding-left: 10px !important; padding-right: 10px !important; } .pl-delete a::before { content: " . . . "; color: transparent; opacity: 0.5; font-size: 1.28em !important; background: url(https://forumstatic.ru/files/0012/e5/af/36204.png) no-repeat left top; padding-left: 10px !important; padding-right: 10px !important; } .pl-quote a::before { content: " . . . "; color: transparent; opacity: 0.5; font-size: 1.28em !important; background: url(https://forumstatic.ru/files/0012/e5/af/84212.png) no-repeat left top; padding-left: 10px !important; padding-right: 10px !important; } .punbb .post div.container { border-style: solid !important; padding-top: 20px !important; } .punbb .post-body, .punbb .post h3 span { border-left-width: 0px !important; } .punbb .post h3 span { border-bottom-width: 0px !important; float: right !important; width: auto !important; height: 13px !important; margin-top: 6px !important; padding: 0em !important; } .category .container { padding-top: 10px; } #inform-block, #inform-guest, #inform-player, #inform, #avatop, #avatop1, .newpm-pos, .offline-st, .online-st, #header, #contacts, #contacts2, div#jGrowl, #inform-admin, #pun-index .category thead, li.pa-fld4 br, #sidebartop, #sidebarinfo, .cssmenu {display: none !important;} #pun-status, #pun-status .container { margin-top: 0px; } div#span-h1 { background: none !important; padding: 0px !important; } #inform-adm { display: block !important; padding-top: 10px !important; bottom: 0px !important; margin-bottom: -90px !important; margin-left: 0px !important; width: 90% !important; position: absolute !important; top: 100%; } #inform-adm td#left { text-align: center !important; } #inform-adm td#right { display: none !important; } #pun-viewtopic #pun-main h1 { margin-bottom: 35px !important; } div#pun-main { margin-top: -15px !important; background: #ececec !important; } .punbb .category { margin-top: -8px !important; } #pun-redirect, #pun-maint { margin: 12px 25% 12px 0% !important; } div#pun-status { background: rgba(138, 142, 144, 0.5); background-size: 40px auto !important; position: relative !important; top: -20px !important; margin: 5px !important; padding-left: 0px !important; max-width: 100% !important; display: block !important; height: auto !important; -webkit-box-shadow: 0 0 4px rgba(0,0,0,0.4) inset; border-radius: 4px; } #pun-status .container { display: none !important; } #pun-status .container:hover { color: #f1f1ec !important; } #pun-status .container a { color: #dcdcdc !important; } html, body, #pun, .punbb { width: 99% !important; min-height: 100%; margin: 0; padding: 0; background-size: contain; -webkit-text-size-adjust: none; } body { font-size: 99% !important; } html { height: 100%; } td, th { overflow: hidden; } input[type=text], input[type=password] { max-width: 220px; } input{ padding: 10px; } select { padding: 5px; } textarea { font-size: 14px !important; padding: 1.5% !important; max-width: 95% !important; } #pun-index table, #pun-viewforum table { table-layout: auto !important; } #pun-title { margin: 0 auto !important; height: 50px !important; } #pun-title table { height: auto !important; } #pun-title h1 { max-height: 100px !important; } #pun-ulinks .container { background-color: #727679 !important; padding: 0 !important; margin: 0 !important; height: auto !important; border: none !important; text-align: left !important; z-index: 150 !important; } #pun-ulinks li { display: block !important; padding: 0 !important; } #pun-ulinks a { display: block !important; border: none !important; font-size: 16px !important; padding: 3px 6px !important; color: #dcdcdc !important; } #profilenav { float: none !important; } #profile .container { /*padding: 1em !important;*/ } #pun-ulinks { position: absolute !important; border: 0 !important; top: 10px !important; line-height: 32px !important; } #pun-navlinks .container { height: auto !important; padding: 1em 0 !important; text-align: center !important; margin-top: 0px !important; margin-left: 0px !important; } #pun-navlinks li { padding: 0 !important; margin: 0 !important; line-height: 52px !important; background-image: none !important; } #pun-navlinks a { display: inline-block !important; border: 0 !important; padding: 0 !important; } #pun-ulinks, #pun-navlinks a { margin-right: 0px !important; width: 42px !important; height: 42px !important; -webkit-border-radius: 4px; color: #fff !important; background-image: url(https://forumstatic.ru/files/0019/ac/64/41366.png) !important; background-color: rgba(138, 142, 144, 0.76); background-repeat: no-repeat; -webkit-box-shadow: 0 0 4px rgba(0,0,0,0.4) inset; } #pun-ulinks ul { display: none; -webkit-box-shadow: 0px 4px 10px rgba(0,0,0,0.7); z-index: 5 !important; position: absolute; top: 44px; right: 0; background-color: #DCDEDD; } #pun-navlinks a span { font-size: 0 !important; } #pun-ulinks { right: 10px; background-image: url(https://forumstatic.ru/files/0019/ac/64/41366.png); background-position: center -504px; } #pun-ulinks:hover ul, #pun-ulinks:focus ul { display: block; } #pun-stats ul.container { padding: 5px !important; background: none !important; } #pun-status span { white-space: normal !important; } .category .tcr, .forum .tcr { position: relative; width: 30% !important; overflow: initial !important; right: 40px; text-align: right !important; font-size: 11px; } .category .tcr a, .forum .tcr a { display: block; margin: 0 !important; padding: 0 !important; font-size: 0; background: url(https://forumstatic.ru/files/0019/ac/64/41366.png) no-repeat center -550px; border: 0 !important; width: 30%; height: 100%; position: absolute; right: -30%; text-decoration: none !important; max-height: 30px; } .hasicon tr { padding: 5px 0px; overflow: hidden; display: block; position: relative; } #pun-title h1 { padding: 0 !important; } div.icon { background-size: contain; } .byuser { display: block; } #pun-viewforum .tcl .byuser:before { content: "Автор темы:"; } #pun-viewforum .tcr .byuser:before { content: "Последнее сообщение от:"; } #pun-break1, #pun-index #pun-crumbs1, #pun-crumbs2, #pun-break3, .category th, .category .tc2, .category .tc3, .forum th, .forum .tc2, .forum .tc3, #post-form legend { display: none; } .pa-posts, .pa-gifts, /*счетчик сообщений*/ .post-author ul li.pa-fld2 /*дополнительное поле, музыка*/ { display: none !important; } .post-author ul li.pa-fld3, /*дополнительное поле, деньги*/ .post-author ul li.pa-fld1 /*дополнительное поле, анкета*/ { text-align: center !important; /*расположение содержимого*/ display: block !important; } .post h3 span { margin: 0 !important; background: none !important; text-align: left !important; } .punbb .post h3 { position: relative !important; border: none !important; } .post-rating { margin-bottom: -10px !important; margin-top: -10px !important; height: 25px !important; } .punbb .post-links ul { padding: 0.5em 0.5em 0 0 !important; } .post-body, legend, legend span { margin: 0 !important; } .post-body { padding: 0px !important; } .post-author { float: none !important; width: 100% !important; margin: 0px 0px 10px 6px !important; overflow: initial !important; } .post-author ul { padding-bottom: 5px !important; padding-left: 0em !important; padding-right: 0em !important; padding-top: 8px !important; min-height: 110px; } .online .pa-author { padding-bottom: 1px !important; padding-top: 1px !important; } .pa-reg,.pa-from,.pa-invites,.pa-positive,.pa-time-visit,.pa-online,.pa-icq,.pa-sex,.pa-age,.pa-last-visit,.pa-ip,#awards-open { display: none !important; } .post-author li { text-align: left; } .post-author { float: none !important; width: 100% !important; margin: 0 !important; overflow: initial !important; border-color: transparent !important; } .pa-avatar { float: left; height: 65px; overflow: hidden; margin-left: 2px !important; margin-top: -20px !important; position: absolute; background-color: transparent !important; width: auto !important; } .pa-avatar img { -o-object-fit: contain; margin-right: 5px; max-width: 65px !important; height: auto !important; max-height: 65px !important; } .post-author li.pa-avatar { margin-left:12px !important; margin-top: 2px !important; height: 65px !important; width: 65px !important; } .post-author li { margin-left: 100px !important; /*color: #d5bfae !important;*/ } li.pa-author { margin-left: 5px !important; margin-top: -4px !important; } .post-author li a { /*color: #dcc6b4 !important;*/ } .formal .container, .formal fieldset, .usertable .container { margin: 0px !important; padding: 0px !important; } .fs-box .container { width: 96% !important; } .formsubmit { margin: 1em 0 !important; } #navindex a, #navindex a:hover { background-position: center 0 !important; } #navuserlist a, #navuserlist a:hover { background-position: center -42px !important; } #navrules a, #navrules a:hover { background-position: center -84px !important; } #navprofile a, #navprofile a:hover { background-position: center -126px !important; } #navsearch a, #navsearch a:hover { background-position: center -168px !important; } #navpm a, #navpm a:hover { background-position: center -210px !important; } #navadmin a, #navadmin a:hover { background-position: center -252px !important; } #navlogout a, #navlogout a:hover { background-position: center -378px !important; } #navregister a, #navregister a:hover { background-position: center -336px !important; } #navlogin a, #navlogin a:hover { background-position: center -294px !important; } #profile-left { width: 35% !important; } #profile-left li { text-align: center; margin: 0 !important; } #viewprofile li strong, #profile-left li div { background: transparent !important; } #profile-left #profile-name { } #viewprofile li strong { display: block; font-weight: 400 !important; padding: 6px 1em; } #profile-left #profile-title { } #profile-left li img { max-width: 116px !important; height: auto; -o-object-fit: contain; background-color: rgba(200, 200, 200, 0.2); margin-top: 10px; } #profile-left li:nth-child(3) { } #profile-left li:last-child { } div#viewprofile { overflow: hidden; } #profile-right { position: relative; left: 38px; padding-bottom: 10px !important; } #profile-right li { display: block !important; border-left: 4px solid rgba(128, 128, 128, 0.20) !important; margin-bottom: 0px !important; padding: 0px !important; width: 85% !important; } #viewprofile li span { float: none !important; font-weight: 700 !important; padding: 10px 10px 5px !important; margin: 0 !important; font-size: 11px; width: 100% !important; } #profile-right li strong { font-size: 11px; line-height: 1.1; /*padding: 0 10px !important;*/ } #profile-right li strong a { text-decoration: none; border-bottom: 1px solid; font-size: 11px; display: table; } .post-sig {display: none;} td#button-font, td#button-size, td#button-video, td#button-code, td#button-color, td#button-table, td#button-smile, td#button-keyboard, td#button-addition, #imgNIK-SIG2, td#button-quote, td#button-left, #button-mod, #button-otto, td img#button-mybb, td img#button-mybb2, td#button-graffiti_rusff, td#button-files_rusff, td#button-player {display: none !important;} #form-buttons table { background: #ececec !important; border: 1px solid #2d3238 !important; } #vk-banner, #tg-banner, #toprpg-button, #banners-show, #spMyimg {display: none;} .button-change {padding-bottom: 5px; padding-top: 5px;} #form-buttons table, .punbb .formal textarea { table-layout: auto;} body { font-size: 100%; border: #none !important; background: #222222 !important; position: relative; } html { background: #ececec !important; } .punbb table Div.icon { float: right; display: block; position: absolute; left: 15px !important; top: 15px !important; } #pun-searchtopics table Div.icon, #pun-messages table Div.icon { float: left !important; display: block; position: relative !important; top: -3px !important; left: 0px !important; } #pun-viewforum table Div.icon { margin-right: -5px !important; margin-top: -5px !important; } #pun { margin: auto auto auto auto !important; width: auto !important; padding-left: 10px !important; padding-right: 0px !important; background: #ececec !important; } TR.inew Div.icon, TR.iclosed Div.icon, TR.isticky Div.icon { /* background-repeat: no-repeat; */ } li.pa-title { margin-left: 90px; white-space: nowrap; width: auto !important; background: #dcdcdc !important; } li.pa-invites, li.pa-posts, li.pa-respect, li.pa-ip, li.pa-last-visit, li.pa-replies, li.pa-fld3, li.pa-fld1, li.pa-fld2, li.pa-reg { width: auto !important; } .punbb .post-links ul { height: 18px !important; padding-bottom: 3px !important; line-height: 1.5em !important; margin-left: -19em !important; } .punbb .post-links li { padding-left: 10px !important; height: 18px; } #pun_wrap { background: url(https://forumstatic.ru/files/0019/ac/64/42525.png) no-repeat top -8px left, url(https://forumstatic.ru/files/0019/ac/64/86878.jpg) no-repeat top right; padding-top: 65px; padding-bottom: 0px; } #pun-break4 { margin: 3px 5px !important; } #pun-stats .item3 strong::before { font-weight: 400; content: "Пользователей: "; } .item3 span { display: none; } .item4 strong::before { font-weight: 400; content: "Приветствуем "; } .item4 strong::after { font-weight: 400; content: "."; } .item4 span { display: none; } #pun-navlinks { position: inherit !important; width: auto !important; top: 0px !important; display: block !important; } #pun-crumbs1 { position: inherit !important; text-align: left !important; top: 0px !important; width: auto !important; background-color: transparent !important; } #pun-viewforum #pun-crumbs1 { margin-top: -30px !important; } #pun-crumbs1 p.container { padding-top: 4px !important; } .punbb .linksb { width: auto !important; margin: 0px !important; padding: 1px !important; } #pun-viewforum .modmenu { margin: 0px !important; } #pun-messages .post { margin: 0px !important; padding: 15px !important; } .punbb .post { margin: -16px 0px 0px 0px !important; } #pun-main h1 { width: 100% !important; padding: 1em 0em 1em 0em !important; } #pun-main h1 span { margin: 30px -17px -16px -17px !important; padding: 0px 10px 20px 10px !important; width: 100% !important; max-width: 100% !important; height: 40px !important; font-size: 20px !important; } .punbb .linkst { top: -4px !important; } #pun-viewtopic .linkst { top: -21px !important; } .linkst .pagelink { top: -1.2em !important; padding: 2px 1px !important; } .linkst .postlink { top: -1.2em !important; } #pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 { padding: 10px 0px !important; margin: 0px !important; } .category .container, .statscon, .forum .container, .main .section .container { margin-top: -20px !important; } #pun-index .tcl h3 { margin-left: 25px !important; } #pun-viewforum div#pun-main, #pun-searchtopics div#pun-main { } #pun-viewforum .inew td.tcl, #pun-searchtopics .inew td.tcl, tr.inew .tcl, tr.inewisticky .tcl { background: rgba(124, 125, 125, 0.12) !important; border: 1px solid rgba(138, 142, 144, 0.36) !important; } #pun-viewforum .isticky td.tcl, #pun-searchtopics .isticky td.tcl { background: rgba(138, 110, 48, 0.18) !important; border: 1px solid rgba(138, 110, 48, 0.76) !important; color: #96937c !important; } #pun-viewforum .hasicon tr, #pun-searchtopics .hasicon tr { padding: 5px 0px !important; } #pun-viewforum tr.inew, #pun-viewforum tr.inewisticky, #pun-searchtopics tr.inew, #pun-searchtopics tr.inewisticky, #pun-viewforum tr.isticky, #pun-searchtopics tr.isticky { /*background: transparent !important;*/ } .isticky td.tcl a, .isticky td.tcl a { color: #96937c !important; } #pun-viewforum .icon { display: none; } #pun-viewforum .tclcon { padding: 0px 0px 0px 15px !important; } #pun-searchtopics #pun-main h1, #pun-viewforum #pun-main h1 { margin-top: -30px !important; margin-bottom: 16px !important; } #pun-break4 { display: none; } #pun-statistic #pun-main div.section h1 span { margin: 30px -17px 4px 0px !important; } #pun-statistic td.tcl { margin-left: 0px !important; border: 0px !important; background: transparent !important; } div#notify-settings { margin-top: 10px; margin-bottom: -10px !important; } #pun-statistic .tc2, #pun-statistic .tc3, #pun-statistic thead, #pun-userlist .tc2, #pun-userlist .tc3, #pun-messages .tc2, #pun-messages .tc3, #pun-respect .tc2, #pun-respect .tc3, #pun-respect .tcr, pun-respect thead, #navextra1 { display: none !important; } #pun-searchposts .linksb .pagelink, #pun-userlist .linksb .pagelink, #pun-modviewforum .linksb .pagelink { margin-top: -1px !important; } .fs-box { max-width: 95% !important; /* padding: 10px !important;*/ } #setmods dt { margin-left: 0em !important; } #viewprofile li, #setmods dl { /*padding: 0 0 0 0em !important;*/ } #pun-profile #profile-left { display: inherit; margin: 0px !important; } #viewprofile ul { padding: 1.5em 0em 0em 0em !important; } #profile-uploads td { height: 40px !important; } #profile-uploads { width: auto !important; } #viewprofile li strong, #viewprofile li div, #setmods dd { display: block !important;; } #pun-profile #profile-name strong { margin: 0px 10px !important; } #pun-stats h2 { margin-left: 0px !important; } #pun-stats .statscon { padding: 10px !important; margin-top: -10px !important; } #pun-stats .statscon .container { padding: 5px 10px !important; } #pun-crumbs1 p.container { padding: 0.3em 1em 2em 1em !important; } #pun-viewforum #pun-crumbs1 p.container { padding: 1em 1em 3.3em 1em !important; } .punbb .post { background: url(https://forumstatic.ru/files/0012/e5/af/75090.jpg) no-repeat top right, url(https://forumstatic.ru/files/0012/e5/af/85503.jpg) no-repeat top left, url(https://forumstatic.ru/files/0012/e5/af/80102.png) repeat-x top left, url(https://forumstatic.ru/files/0012/e5/af/76155.png) no-repeat top 16px left, url(https://forumstatic.ru/files/0012/e5/af/38571.png) top 18px right no-repeat; } .punbb .post-box { margin-left: -10px !important; } #pun-searchposts li.pa-author { color: #15181e !important; margin-top: 17px !important; } #pun-searchposts .post-author li { margin-left: 10px !important; } #pun-searchposts h3 span { float: none !important; margin-bottom: -80px !important; padding-top: 40px !important; margin-left: 20px !important; color: #22272c; } #pun-searchposts h3 span a { color: #22272c; } #pun-messages td.tcl { padding: 2em 0em !important; } .topic a.sharelink { display: none; } .punbb .post h3 strong { width: 3em !important; } .pa-fld1 hr { width: 90% !important; } .punbb .modmenu .container { padding: 0.5em 0em !important; background-color: #ececec !important; } div#avtrChang-area { width: 240px !important; } .topic { padding: 0px !important; } .post-links, .post-links ul { height: auto !important; margin: 20px !important; }} /* Мобильный дизайн End*/
Поделиться362018-09-26 21:13:44
цсс верх
/* Мобильный дизайн -------------------------------------------------------------*/ @media screen and (max-width: 540px){ #html-header, #html-footer, #pun-title, #pun-announcement div.container { margin: 0 auto !important; overflow-x: auto !important; display: none; } #pun-searchtopics .tcl .byuser { display: none !important; } .main table .Add { font-size: 10px; letter-spacing: 1px; color: #ececec; text-align: right; display: none !important; } .punbb h2 { padding: 0.5em 1em !important; border-color: transparent !important; height: 60px !important; background: url(https://forumstatic.ru/files/0019/bd/98/12178.gif) bottom no-repeat #131313 !important; font-family: 'Montserrat-Regular'; font-weight: bold !important; text-transform: uppercase !important; font-size: 1em !important; text-align: right !important; line-height: 1.8 !important; color: #f0f0f0 !important; } } /* Мобильный дизайн End*/
цсс низ
/*мобильный дизайн*/ .Add {display: none;}
хтмл низ
<!-- мобильный дизайн --> <script type="text/javascript"> $('#pun-index .category td.tcl').each(function() { var TR = $(this).parents('tr:first'); var str='<div class="Add"><div class="Tems_And_messages">Teм: <span class="right">'+TR.find('td.tc2').text()+'</span></div><div style="margin-left:0px; " class="Tems_And_messages">Cообщений: <span class="right">'+$(this).parents('tr:first').find('td.tc3').text()+'</span></div><div style="margin-left:0px;" class="bottom"><span class="right">'+TR.find('td.tcr').html()+'</span></div></div>'; var lsr=TR.find('td:first'); $(str).appendTo(lsr); }); </script> <script type="text/javascript"> $('#pun-respect td.tcl').each(function() { var TR = $(this).parents('tr:first'); var str='<div class="Add"><div class="Tems_And_messages"><span class="right">Что: '+TR.find('td.tc2').text()+'</span></div><div style="margin-left:0px; " class="Tems_And_messages"><span class="right">От кого: '+$(this).parents('tr:first').find('td.tc3').html()+'</span></div><div style="margin-left:0px;" class="bottom"><span class="right">В теме '+TR.find('td.tcr').html()+'</span></div></div>'; var lsr=TR.find('td:first'); $(str).appendTo(lsr); }); </script> <script type="text/javascript"> $('#pun-viewforum .forum td.tcl').each(function() { var TR = $(this).parents('tr:first'); var str='<div class="Add"><div class="Tems_And_messages">Ответов: <span class="right">'+TR.find('td.tc2').text()+'</span></div><div style="margin-left:0px; " class="Tems_And_messages">Просмотров: <span class="right">'+$(this).parents('tr:first').find('td.tc3').text()+'</span></div><div style="margin-left:0px;" class="bottom"><span class="right">'+TR.find('td.tcr').html()+'</span></div></div>'; var lsr=TR.find('td:first'); $(str).appendTo(lsr); }); </script> <script type="text/javascript"> $('#pun-searchtopics .forum td.tcl').each(function() { var TR = $(this).parents('tr:first'); var str='<div class="Add"><div class="Tems_And_messages" id="tdfor"><span class="right">'+TR.find('td.tc2').html()+'</span></div><div style="margin-left:0px; " class="Tems_And_messages" id="tdans"><span class="right">'+$(this).parents('tr:first').find('td.tc3').text()+'</span></div><div style="margin-left:0px;" class="bottom"><span class="right">'+TR.find('td.tcr').html()+'</span></div></div>'; var lsr=TR.find('td:first'); $(str).appendTo(lsr); }); </script> <script type="text/javascript"> $('#pun-statistic .main td.tcl').each(function() { var TR = $(this).parents('tr:first'); var str='<div class="Add"><div class="Tems_And_messages" id="tdfor"><span class="right">'+TR.find('td.tc2').text()+'</span></div><div style="margin-left:0px; " class="Tems_And_messages" id="tdans"><span class="right">'+TR.find('td.tc3').eq(0).text()+'<br>'+TR.find('td.tc3').eq(1).text()+'<br>'+TR.find('td.tc3').eq(2).text()+'</span></div><div style="margin-left:0px;" class="bottom"><span class="right">'+'</span></div></div>'; var lsr=TR.find('td:first'); $(str).appendTo(lsr); }); </script> <script type="text/javascript"> $('#pun-userlist .main td.tcl').each(function() { var TR = $(this).parents('tr:first'); var str='<div class="Add"><div class="Tems_And_messages" id="tdfor"><span class="right">'+TR.find('td.tc2').text()+'</span></div><div style="margin-left:0px; " class="Tems_And_messages" id="tdans"><span class="right">Репутация: '+TR.find('td.tc3').eq(0).text()+'<br>Сообщений: '+TR.find('td.tc3').eq(1).text()+'<br>Зарегистрирован: '+TR.find('td.tc3').eq(2).text()+'<br>Последний визит: '+TR.find('td.tc3').eq(3).text()+'</span></div><div style="margin-left:0px;" class="bottom"><span class="right">'+'</span></div></div>'; var lsr=TR.find('td:first'); $(str).appendTo(lsr); }); </script> <script type="text/javascript"> $('#pun-messages .main td.tcl').each(function() { var TR = $(this).parents('tr:first'); var str='<div class="Add"><div class="Tems_And_messages" id="tdfor"><span class="right">Отправитель:'+TR.find('td.tc2:first').html()+'</span></div><div style="margin-left:0px; " class="Tems_And_messages" id="tdans"><span class="right">Дата:'+TR.find('td.tc3').eq(0).text()+' '+TR.find('td.tc2').eq(1).html()+'</span></div><div style="margin-left:0px;" class="bottom"><span class="right">'+'</span></div></div>'; var lsr=TR.find('td:first'); $(str).appendTo(lsr); }); </script> <!-- мобильный дизайн -->
Поделиться372018-09-29 20:59:33
слайдер
объява
<center> <form><select name="select" class="forminput? Hoverbuttons5" onchange="location.href=(form.select.options[form.select.selectedIndex].value)" style="height:17px; width: 280px; font-family: 'Montserrat-Regular'; font-size: 10px !important; font-weight: bold!important; text-transform: uppercase!important; letter-spacing: 0.3em; padding: 2px 2px 2px 8px; background: #131313 !important; -moz-appearance: none; -webkit-appearance: none; appearance: none; border: none !important; color: #f0f0f0 !important;"> <option>Быстрая навигация по форуму</option> <option value="http://dust.rolka.su/viewtopic.php?id=22#p28">Сюжет</option> <option value="http://dust.rolka.su/viewtopic.php?id=16#p18">Магия</option> <option value="http://dust.rolka.su/viewtopic.php?id=24#p35">О мире</option> <option value="http://dust.rolka.su/viewtopic.php?id=23#p34">Правила форума</option> <option value="http://dust.rolka.su/viewtopic.php?id=18#p20">Общество и касты</option> <option value="http://dust.rolka.su/viewtopic.php?id=18#p90">Кем быть</option> </select></form></center> <!--noindex--> <div id="pun-announcement" class="section"> <div class="container"> <div class="html-box"> <div id="da-slider" class="da-slider"> <!-- ****************** --> <!-- СЛАЙД --> <div class="da-slide"> <div class="da-slide2"> <h3>Во всех газетах Нокса!</h3> <p> <b>Дата: 14.08.1874 - 14.09.1874</b> <br> <b>Сюжетная арка #1 - Светлый луч надежды</b><br> Тревожный звоночек. Вильям Лоуренс получил тайное послание от одного из желавших выслужиться людей, которого якобы пыталась завербовать террористическая группировка. Информация сомнительная, но не проверить её просто невозможно. Вильям берёт с собой в напарники Майкла Винтерса и отправляется допрашивать свидетеля. Долгие опросы ведут их от слухов к информаторам, свидетельствующих о больших закупках пороха и деталей для детонаторов.<br> <a href="/viewtopic.php?id=97#p3804" class="da-link">Квест</a><br> Тем временем из-за занятости усошников в <b>Ноксе</b> разгулялась преступность, а на порт <b>Лантен</b> напал Прибрежный дьявол, уничтожив несколько кораблей.<br> </p> </div> <div class="da-img"><div style="background-image:url(https://forumstatic.ru/files/0019/bd/98/36006.jpg); background-color: #fff;opacity:0.2;width:100%;height:100%;"></div></div> </div> <!-- СЛАЙД --> <div class="da-slide"> <div class="da-slide2"> <h3>Акции</h3> <p> <a href="http://dust.rolka.su/viewtopic.php?id=21#p114"><img src="http://s5.uploads.ru/fcG2n.jpg" alt="Бернард Блейк" style="width: 130px; height: 146px;"></a> <a href="http://dust.rolka.su/viewtopic.php?id=21#p173"><img src="http://sd.uploads.ru/Ud5op.jpg" alt="Колин Рейнхарт" style="width: 130px; height: 146px;"></a> <a href="http://dust.rolka.su/viewtopic.php?id=21#p2884"><img src="http://s5.uploads.ru/JxQlD.jpg" alt="Аманда Довангар" style="width: 130px; height: 146px;"></a> <a href="http://dust.rolka.su/viewtopic.php?id=21#p2886"><img src="http://s9.uploads.ru/5awTu.jpg" alt="Виктория Шарнетт" style="width: 130px; height: 146px;"></a> <a href="http://dust.rolka.su/viewtopic.php?id=21#p26" class="da-link">Все акции</a> </p> </div> <div class="da-img"><div style="background-image:url(https://forumstatic.ru/files/0019/bd/98/91789.jpg); background-color: #fff; opacity:0.3;width:100%;height:100%;"></div></div> </div> <!-- СЛАЙД --> <div class="da-slide"> <div class="da-slide2"> <h3>Добро пожаловать на Третий эпизод</h3> <p> <b>Третий эпизод. NC-21. Мистика, хоррор, магия. Гейм-мастеринг смешанный.</b><br> ФРПГ рассчитана на увлечённых людей, так как содержит множество тонкостей матчасти. Мир полностью авторский, в котором технический прогресс остановился на 1950-х годах (аналогично нашему миру), следовательно совершенно не похож на современность. Хоть в нём и присутствует автоматическое оружие, большее предпочтение отдаётся магии, которая представлена в виде даров. Население разделено на две расы: маги и люди. Самые выгодные позиции, естественно, занимают одарённые маги, в отличие от людей, которые довольствуются низшими должностями, менее комфортными условиями и более тяжелым трудом.<br> У нас нет безработных и несостоявшихся, есть долговое рабство (в прямом смысле слова) и обязательная трудовая повинность. Если вы не работаете на благо Нокса, вас отправят на рудники в обязательном порядке. <br> <a href="/viewtopic.php?id=23#p34" class="da-link">Правила форума</a> <a href="/viewtopic.php?id=22#p28" class="da-link">Сюжет</a> <a href="/viewtopic.php?id=24#p35" class="da-link">О мире</a> <a href="/viewtopic.php?id=18#p20" class="da-link">Общество и касты</a> <a href="/viewtopic.php?id=18#p90" class="da-link">Кем быть</a><br> </p> </div> <div class="da-img"><div style="background-image:url(https://forumstatic.ru/files/0019/bd/98/36006.jpg); background-color: #fff;opacity:0.3;width:100%;height:100%;"></div></div> </div> <!-- СЛАЙД --> <div class="da-slide"> <div class="da-slide2"> <h3>Ништяки за эпизоды</h3> <p> <b>Не нашли нужного товара? Хотите что-то конкретное?</b><br> Оставьте описание предмета и свойств, которыми он должен обладать - наши мастера посмотрят что можно сделать и подсчитают для вас стоимость.<br> <a href="http://dust.rolka.su/viewtopic.php?id=66#p2019" class="da-link">Магазин</a><br> <a href="http://forum-top.ru/vote/6323" title="Рейтинг форумов Forum-top.ru" target="blank"><img src="http://forum-top.ru/uploads/buttons/forum-top_88x31_3.gif" alt="Рейтинг форумов Forum-top.ru" style="width: 88px; height: 31px;"/></a> <a title="Каталог фэнтези сайтов Палантир" href='https://palantir.in/?from=20327' target='_blank'></a> <a href="https://palantir.in/top/Forums_Chats/1.html#20327" title="Каталог фэнтези сайтов Палантир" target="_blank"> <img src="https://palantir.in/count.php?id=20327&today_hits=1&today_hosts=1&total_hosts=1&cid=special_blue.png" alt="Каталог фэнтези сайтов Палантир" border="0" style="width: 88px; height: 31px;"></a> <a href="https://rpgtop.su/25605" title="Рейтинг Ролевых Ресурсов - RPG TOP" target="_blank"> <img src="//img.rpgtop.su/88x31x11x7.gif" alt="Рейтинг Ролевых Ресурсов - RPG TOP" border="0" style="width: 88px; height: 31px;"></a> </p> </div> <div class="da-img"><div style="background-image:url(https://forumstatic.ru/files/0019/bd/98/91789.jpg); background-color: #fff;opacity:0.3;width:100%;height:100%;"></div></div> </div> <!-- СЛАЙД --> <div class="da-slide"> <div class="da-slide2"> <h3>Админы</h3> <p> <a href="tg://resolve?domain=heyashtery"><img src="https://forumstatic.ru/files/0019/ac/64/66254.jpg" onmouseover="this.src='https://forumstatic.ru/files/0019/ac/64/48336.gif'" onmouseout="this.src='https://forumstatic.ru/files/0019/ac/64/66254.jpg'" alt="Admin" style="width: 30px; height: 30px;"></a> <b>Август Эйвери</b> <a href="tg://resolve?domain=heyashtery" class="da-link">telegram: @heyashtery</a> Создатель. Решаю вопросы о мире и матчасти, принимаю анкеты. <br> <a href="tg://resolve?domain=kuroganesan"><img src="https://forumstatic.ru/files/0019/ac/64/14887.jpg" onmouseover="this.src='https://forumstatic.ru/files/0019/ac/64/21517.gif'" onmouseout="this.src='https://forumstatic.ru/files/0019/ac/64/14887.jpg'" alt="Admin" style="width: 30px; height: 30px;"></a> <b>Kuro</b> <a href="tg://resolve?domain=kuroganesan" class="da-link">telegram: @kuroganesan</a> Наблюдатель. Сориентирую по форуму, знаю о вас всё. <br> <a href="tg://resolve?domain=SaharaNoa"><img src="https://forumstatic.ru/files/0019/ac/64/71092.jpg" onmouseover="this.src='https://forumstatic.ru/files/0019/ac/64/78626.gif'" onmouseout="this.src='https://forumstatic.ru/files/0019/ac/64/71092.jpg'" alt="Admin" style="width: 30px; height: 30px;"></a> <b>Sahara</b> <a href="tg://resolve?domain=SaharaNoa" class="da-link">telegram: @SaharaNoa</a> Решаю технические проблемы, двигаю сюжет. </p> </div> <div class="da-img"><div style="background-image:url(https://forumstatic.ru/files/0019/bd/98/36006.jpg); background-color: #fff;opacity:0.3;width:100%;height:100%;"></div></div> </div> <!-- ****************** --> </div> <script type="text/javascript" src="https://forumstatic.ru/files/0019/bd/98/36118.js"></script> <script type="text/javascript" src="https://forumstatic.ru/files/0019/bd/98/51602.js"></script> <script type="text/javascript"> $(function() { $('#da-slider').cslider({ autoplay: true, interval: 10000 }); }); </script> </div> </div> </div> <!--/noindex-->
цсс низ
/************************************************************* СЛАЙДЕРЫ **************************************************************/ .da-slider { width: 100%; position: relative; margin: auto; overflow: hidden; background: #4f4f4f; border-bottom: 1px solid #73797f; -webkit-transition: background-position 1s ease-out 0.3s; -moz-transition: background-position 1s ease-out 0.3s; -o-transition: background-position 1s ease-out 0.3s; -ms-transition: background-position 1s ease-out 0.3s; transition: background-position 1s ease-out 0.3s; } #pun-announcement .da-slider { height: 250px; } .da-slide{ position: absolute; width: 100%; height: 100%; top: 0px; left: 0px; text-align: left; } .da-slide-current {z-index: 1000;} .da-slider-fb .da-slide {left: 100%;} .da-slider-fb .da-slide.da-slide-current {left: 0px;} .da-slide h3, .da-slide p { position: absolute; opacity: 0; left: 110%; } .da-slider-fb .da-slide h3, #pun-announcement .da-slider-fb .da-slide p { left: 0px; opacity: 1; } .da-slide-current h3, .da-slide-current p { left: 0px; opacity: 1; } .da-slide h3 { font-family: 'Montserrat-Regular'; margin: 0; color: #fff; font-size: 24px !important; width: 50%; white-space: nowrap; z-index: 10; margin: 10px 20px 10px 20px; } #pun-announcement .da-slide p { width: auto; top: 20px; color: #d3d3d3; margin: 20px; z-index: 10; } #pun-pages .da-slide p {height: 136px; width: 228px; overflow: hidden; z-index: 10;} .da-slide b {color: #ffc2c2;} .da-slide s {color: #26af33;} .da-slide p img {width: 228px;} .da-slide p#mini1, .da-slide p#mini2, .da-slide p#mini3 { position: relative; width: auto; text-align: right; padding-right: 300px; top: 6px; } .da-slide .da-img { top: 0px; z-index: 5; background-color: #212121; left: 100%; } .da-slide .da-img, .da-slide .da-img div { width: 100%; height: 100%; background-position: center top; background-repeat: no-repeat; /* background-size: auto 100%; */ } .da-slider-fb .da-slide .da-img {left: 100%;} .da-slide-current .da-slide.da-slide-current .da-img {left: 0px; } #pun-announcement .da-slide .da-link { z-index: 10; top: 170px; color: #fff; padding: 2px 20px 0px; font-size: 16px; line-height: 35px; height: 35px; text-align: center; background: #700213; font-family: 'Montserrat-Regular'; padding: 2px 5px 5px 5px; font-weight: normal; } #pun-announcement .da-slide .da-link:hover{ background: #b8142d; } #pun-pages .da-slide .da-link { text-align: center; z-index: 10; background: rgba(255,255,255,0.4); width: 46%; height: 700px; } #pun-pages .da-slide .da-link:after { content: ''; position: absolute; right: -260px; top: 0; border: 250px solid transparent; border-bottom: 680px solid rgba(255,255,255,0.4); border-left: 10px solid rgba(255,255,255,0.4); border-top: 0; } .da-dots { width: 100%; position: absolute; right: 60px; text-align: right; bottom: 20px; z-index: 2000; -moz-user-select: none; -webkit-user-select: none; } #pun-announcement .da-dots {text-align: center; right: auto; left: 0;} .da-dots span{ display: inline-block; position: relative; width: 18px; height: 18px; border-radius: 50%; margin: 3px; cursor: pointer; background: rgba(255,255,255,0.3); } .da-dots span.da-dots-current:after{ content: ''; width: 12px; height: 12px; position: absolute; top: 3px; left: 3px; border-radius: 50%; background: rgba(255,255,255, 0.8); } /* Animation classes and animations */ /* Slide in from the right*/ .da-slide-fromright h3 { -webkit-animation: fromRightAnim1 0.6s ease-in-out 0.8s both; -moz-animation: fromRightAnim1 0.6s ease-in-out 0.8s both; -o-animation: fromRightAnim1 0.6s ease-in-out 0.8s both; -ms-animation: fromRightAnim1 0.6s ease-in-out 0.8s both; animation: fromRightAnim1 0.6s ease-in-out 0.8s both; } .da-slide-fromright p { -webkit-animation: fromRightAnim2 0.6s ease-in-out 0.8s both; -moz-animation: fromRightAnim2 0.6s ease-in-out 0.8s both; -o-animation: fromRightAnim2 0.6s ease-in-out 0.8s both; -ms-animation: fromRightAnim2 0.6s ease-in-out 0.8s both; animation: fromRightAnim2 0.6s ease-in-out 0.8s both; } .da-slide-fromright .da-link { -webkit-animation: fromRightAnim3 0.4s ease-in-out 1.2s both; -moz-animation: fromRightAnim3 0.4s ease-in-out 1.2s both; -o-animation: fromRightAnim3 0.4s ease-in-out 1.2s both; -ms-animation: fromRightAnim3 0.4s ease-in-out 1.2s both; animation: fromRightAnim3 0.4s ease-in-out 1.2s both; } .da-slide-fromright .da-img { -webkit-animation: fromRightAnim4 0.6s ease-in-out 0.8s both; -moz-animation: fromRightAnim4 0.6s ease-in-out 0.8s both; -o-animation: fromRightAnim4 0.6s ease-in-out 0.8s both; -ms-animation: fromRightAnim4 0.6s ease-in-out 0.8s both; animation: fromRightAnim4 0.6s ease-in-out 0.8s both; } @-webkit-keyframes fromRightAnim1{ 0%{ left: 110%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @-webkit-keyframes fromRightAnim2{ 0%{ left: 110%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @-webkit-keyframes fromRightAnim3{ 0%{ left: 110%; opacity: 0; } 1%{ left: 0%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @-webkit-keyframes fromRightAnim4{ 0%{ left: 110%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @-moz-keyframes fromRightAnim1{ 0%{ left: 110%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @-moz-keyframes fromRightAnim2{ 0%{ left: 110%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @-moz-keyframes fromRightAnim3{ 0%{ left: 110%; opacity: 0; } 1%{ left: 0%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @-moz-keyframes fromRightAnim4{ 0%{ left: 110%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @-o-keyframes fromRightAnim1{ 0%{ left: 110%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @-o-keyframes fromRightAnim2{ 0%{ left: 110%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @-o-keyframes fromRightAnim3{ 0%{ left: 110%; opacity: 0; } 1%{ left: 0%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @-o-keyframes fromRightAnim4{ 0%{ left: 110%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @-ms-keyframes fromRightAnim1{ 0%{ left: 110%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @-ms-keyframes fromRightAnim2{ 0%{ left: 110%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @-ms-keyframes fromRightAnim3{ 0%{ left: 110%; opacity: 0; } 1%{ left: 0%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @-ms-keyframes fromRightAnim4{ 0%{ left: 110%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @keyframes fromRightAnim1{ 0%{ left: 110%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @keyframes fromRightAnim2{ 0%{ left: 110%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @keyframes fromRightAnim3{ 0%{ left: 110%; opacity: 0; } 1%{ left: 0%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @keyframes fromRightAnim4{ 0%{ left: 110%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } /* Slide in from the left*/ .da-slide-fromleft h3 { -webkit-animation: fromLeftAnim1 0.6s ease-in-out 0.6s both; -moz-animation: fromLeftAnim1 0.6s ease-in-out 0.6s both; -o-animation: fromLeftAnim1 0.6s ease-in-out 0.6s both; -ms-animation: fromLeftAnim1 0.6s ease-in-out 0.6s both; animation: fromLeftAnim1 0.6s ease-in-out 0.6s both; } .da-slide-fromleft p{ -webkit-animation: fromLeftAnim2 0.6s ease-in-out 0.6s both; -moz-animation: fromLeftAnim2 0.6s ease-in-out 0.6s both; -o-animation: fromLeftAnim2 0.6s ease-in-out 0.6s both; -ms-animation: fromLeftAnim2 0.6s ease-in-out 0.6s both; animation: fromLeftAnim2 0.6s ease-in-out 0.6s both; } .da-slide-fromleft .da-link { -webkit-animation: fromLeftAnim3 0.4s ease-in-out 1.2s both; -moz-animation: fromLeftAnim3 0.4s ease-in-out 1.2s both; -o-animation: fromLeftAnim3 0.4s ease-in-out 1.2s both; -ms-animation: fromLeftAnim3 0.4s ease-in-out 1.2s both; animation: fromLeftAnim3 0.4s ease-in-out 1.2s both; } .da-slide-fromleft .da-img { -webkit-animation: fromLeftAnim4 0.6s ease-in-out 0.6s both; -moz-animation: fromLeftAnim4 0.6s ease-in-out 0.6s both; -o-animation: fromLeftAnim4 0.6s ease-in-out 0.6s both; -ms-animation: fromLeftAnim4 0.6s ease-in-out 0.6s both; animation: fromLeftAnim4 0.6s ease-in-out 0.6s both; } @-webkit-keyframes fromLeftAnim1{ 0%{ left: -110%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @-webkit-keyframes fromLeftAnim2{ 0%{ left: -110%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @-webkit-keyframes fromLeftAnim3{ 0%{ left: -110%; opacity: 0; } 1%{ left: 0%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @-webkit-keyframes fromLeftAnim4{ 0%{ left: -110%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @-moz-keyframes fromLeftAnim1{ 0%{ left: -110%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @-moz-keyframes fromLeftAnim2{ 0%{ left: -110%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @-moz-keyframes fromLeftAnim3{ 0%{ left: -110%; opacity: 0; } 1%{ left: 0%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @-moz-keyframes fromLeftAnim4{ 0%{ left: -110%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @-o-keyframes fromLeftAnim1{ 0%{ left: -110%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @-o-keyframes fromLeftAnim2{ 0%{ left: -110%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @-o-keyframes fromLeftAnim3{ 0%{ left: -110%; opacity: 0; } 1%{ left: 0%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @-o-keyframes fromLeftAnim4{ 0%{ left: -110%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @-ms-keyframes fromLeftAnim1{ 0%{ left: -110%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @-ms-keyframes fromLeftAnim2{ 0%{ left: -110%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @-ms-keyframes fromLeftAnim3{ 0%{ left: -110%; opacity: 0; } 1%{ left: 0%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @-ms-keyframes fromLeftAnim4{ 0%{ left: -110%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @keyframes fromLeftAnim1{ 0%{ left: -110%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @keyframes fromLeftAnim2{ 0%{ left: -110%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @keyframes fromLeftAnim3{ 0%{ left: -110%; opacity: 0; } 1%{ left: 0%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } @keyframes fromLeftAnim4{ 0%{ left: -110%; opacity: 0; } 100%{ left: 0%; opacity: 1; } } /* Slide out to the right */ .da-slide-toright h3 { -webkit-animation: toRightAnim1 0.6s ease-in-out 0.6s both; -moz-animation: toRightAnim1 0.6s ease-in-out 0.6s both; -o-animation: toRightAnim1 0.6s ease-in-out 0.6s both; -ms-animation: toRightAnim1 0.6s ease-in-out 0.6s both; animation: toRightAnim1 0.6s ease-in-out 0.6s both; } .da-slide-toright p { -webkit-animation: toRightAnim2 0.6s ease-in-out 0.3s both; -moz-animation: toRightAnim2 0.6s ease-in-out 0.3s both; -o-animation: toRightAnim2 0.6s ease-in-out 0.3s both; -ms-animation: toRightAnim2 0.6s ease-in-out 0.3s both; animation: toRightAnim2 0.6s ease-in-out 0.3s both; } .da-slide-toright .da-link { -webkit-animation: toRightAnim3 0.4s ease-in-out both; -moz-animation: toRightAnim3 0.4s ease-in-out both; -o-animation: toRightAnim3 0.4s ease-in-out both; -ms-animation: toRightAnim3 0.4s ease-in-out both; animation: toRightAnim3 0.4s ease-in-out both; } .da-slide-toright .da-img { -webkit-animation: toRightAnim4 0.6s ease-in-out both; -moz-animation: toRightAnim4 0.6s ease-in-out both; -o-animation: toRightAnim4 0.6s ease-in-out both; -ms-animation: toRightAnim4 0.6s ease-in-out both; animation: toRightAnim4 0.6s ease-in-out both; } @-webkit-keyframes toRightAnim1{ 0%{ left: 0%; opacity: 1; } 100%{ left: 100%; opacity: 0; } } @-webkit-keyframes toRightAnim2{ 0%{ left: 0%; opacity: 1; } 100%{ left: 100%; opacity: 0; } } @-webkit-keyframes toRightAnim3{ 0%{ left: 0%; opacity: 1; } 99%{ left: 0%; opacity: 0; } 100%{ left: 100%; opacity: 0; } } @-webkit-keyframes toRightAnim4{ 0%{ left: 0%; opacity: 1; } 30%{ left: 45%; opacity: 1; } 100%{ left: 100%; opacity: 0; } } @-moz-keyframes toRightAnim1{ 0%{ left: 0%; opacity: 1; } 100%{ left: 100%; opacity: 0; } } @-moz-keyframes toRightAnim2{ 0%{ left: 0%; opacity: 1; } 100%{ left: 100%; opacity: 0; } } @-moz-keyframes toRightAnim3{ 0%{ left: 0%; opacity: 1; } 99%{ left: 0%; opacity: 0; } 100%{ left: 100%; opacity: 0; } } @-moz-keyframes toRightAnim4{ 0%{ left: 0%; opacity: 1; } 30%{ left: 45%; opacity: 1; } 100%{ left: 100%; opacity: 0; } } @-o-keyframes toRightAnim1{ 0%{ left: 0%; opacity: 1; } 100%{ left: 100%; opacity: 0; } } @-o-keyframes toRightAnim2{ 0%{ left: 0%; opacity: 1; } 100%{ left: 100%; opacity: 0; } } @-o-keyframes toRightAnim3{ 0%{ left: 0%; opacity: 1; } 99%{ left: 0%; opacity: 0; } 100%{ left: 100%; opacity: 0; } } @-o-keyframes toRightAnim4{ 0%{ left: 0%; opacity: 1; } 30%{ left: 45%; opacity: 1; } 100%{ left: 100%; opacity: 0; } } @-ms-keyframes toRightAnim1{ 0%{ left: 0%; opacity: 1; } 100%{ left: 100%; opacity: 0; } } @-ms-keyframes toRightAnim2{ 0%{ left: 0%; opacity: 1; } 100%{ left: 100%; opacity: 0; } } @-ms-keyframes toRightAnim3{ 0%{ left: 0%; opacity: 1; } 99%{ left: 0%; opacity: 0; } 100%{ left: 100%; opacity: 0; } } @-ms-keyframes toRightAnim4{ 0%{ left: 0%; opacity: 1; } 30%{ left: 45%; opacity: 1; } 100%{ left: 100%; opacity: 0; } } @keyframes toRightAnim1{ 0%{ left: 0%; opacity: 1; } 100%{ left: 100%; opacity: 0; } } @keyframes toRightAnim2{ 0%{ left: 0%; opacity: 1; } 100%{ left: 100%; opacity: 0; } } @keyframes toRightAnim3{ 0%{ left: 0%; opacity: 1; } 99%{ left: 0%; opacity: 0; } 100%{ left: 100%; opacity: 0; } } @keyframes toRightAnim4{ 0%{ left: 0%; opacity: 1; } 30%{ left: 45%; opacity: 1; } 100%{ left: 100%; opacity: 0; } } /* Slide out to the left*/ .da-slide-toleft h3 { -webkit-animation: toLeftAnim1 0.6s ease-in-out both; -moz-animation: toLeftAnim1 0.6s ease-in-out both; -o-animation: toLeftAnim1 0.6s ease-in-out both; -ms-animation: toLeftAnim1 0.6s ease-in-out both; animation: toLeftAnim1 0.6s ease-in-out both; } .da-slide-toleft p { -webkit-animation: toLeftAnim2 0.6s ease-in-out 0.3s both; -moz-animation: toLeftAnim2 0.6s ease-in-out 0.3s both; -o-animation: toLeftAnim2 0.6s ease-in-out 0.3s both; -ms-animation: toLeftAnim2 0.6s ease-in-out 0.3s both; animation: toLeftAnim2 0.6s ease-in-out 0.3s both; } .da-slide-toleft .da-link { -webkit-animation: toLeftAnim3 0.6s ease-in-out 0.6s both; -moz-animation: toLeftAnim3 0.6s ease-in-out 0.6s both; -o-animation: toLeftAnim3 0.6s ease-in-out 0.6s both; -ms-animation: toLeftAnim3 0.6s ease-in-out 0.6s both; animation: toLeftAnim3 0.6s ease-in-out 0.6s both; } .da-slide-toleft .da-img { -webkit-animation: toLeftAnim4 0.6s ease-in-out 0.5s both; -moz-animation: toLeftAnim4 0.6s ease-in-out 0.5s both; -o-animation: toLeftAnim4 0.6s ease-in-out 0.5s both; -ms-animation: toLeftAnim4 0.6s ease-in-out 0.5s both; animation: toLeftAnim4 0.6s ease-in-out 0.5s both; } @-webkit-keyframes toLeftAnim1{ 0%{ left: 0%; opacity: 1; } 30%{ left: 15%; opacity: 1; } 100%{ left: -50%; opacity: 0; } } @-webkit-keyframes toLeftAnim2{ 0%{ left: 0%; opacity: 1; } 30%{ left: 15%; opacity: 1; } 100%{ left: -50%; opacity: 0; } } @-webkit-keyframes toLeftAnim3{ 0%{ left: 0%; opacity: 1; } 100%{ left: -50%; opacity: 0; } } @-webkit-keyframes toLeftAnim4{ 0%{ left: 0%; opacity: 1; } 70%{ left: 30%; opacity: 0; } 100%{ left: -50%; opacity: 0; } } @-moz-keyframes toLeftAnim1{ 0%{ left: 0%; opacity: 1; } 30%{ left: 15%; opacity: 1; } 100%{ left: -50%; opacity: 0; } } @-moz-keyframes toLeftAnim2{ 0%{ left: 0%; opacity: 1; } 30%{ left: 15%; opacity: 1; } 100%{ left: -50%; opacity: 0; } } @-moz-keyframes toLeftAnim3{ 0%{ left: 0%; opacity: 1; } 100%{ left: -50%; opacity: 0; } } @-moz-keyframes toLeftAnim4{ 0%{ left: 0%; opacity: 1; } 70%{ left: 30%; opacity: 0; } 100%{ left: -50%; opacity: 0; } } @-o-keyframes toLeftAnim1{ 0%{ left: 0%; opacity: 1; } 30%{ left: 15%; opacity: 1; } 100%{ left: -50%; opacity: 0; } } @-o-keyframes toLeftAnim2{ 0%{ left: 0%; opacity: 1; } 30%{ left: 15%; opacity: 1; } 100%{ left: -50%; opacity: 0; } } @-o-keyframes toLeftAnim3{ 0%{ left: 0%; opacity: 1; } 100%{ left: -50%; opacity: 0; } } @-o-keyframes toLeftAnim4{ 0%{ left: 0%; opacity: 1; } 70%{ left: 30%; opacity: 0; } 100%{ left: -50%; opacity: 0; } } @-ms-keyframes toLeftAnim1{ 0%{ left: 0%; opacity: 1; } 30%{ left: 15%; opacity: 1; } 100%{ left: -50%; opacity: 0; } } @-ms-keyframes toLeftAnim2{ 0%{ left: 0%; opacity: 1; } 30%{ left: 15%; opacity: 1; } 100%{ left: -50%; opacity: 0; } } @-ms-keyframes toLeftAnim3{ 0%{ left: 0%; opacity: 1; } 100%{ left: -50%; opacity: 0; } } @-ms-keyframes toLeftAnim4{ 0%{ left: 0%; opacity: 1; } 70%{ left: 30%; opacity: 0; } 100%{ left: -50%; opacity: 0; } } @keyframes toLeftAnim1{ 0%{ left: 0%; opacity: 1; } 30%{ left: 15%; opacity: 1; } 100%{ left: -50%; opacity: 0; } } @keyframes toLeftAnim2{ 0%{ left: 0%; opacity: 1; } 30%{ left: 15%; opacity: 1; } 100%{ left: -50%; opacity: 0; } } @keyframes toLeftAnim3{ 0%{ left: 0%; opacity: 1; } 100%{ left: -50%; opacity: 0; } } @keyframes toLeftAnim4{ 0%{ left: 0%; opacity: 1; } 70%{ left: 30%; opacity: 0; } 100%{ left: -50%; opacity: 0; } }
2 джава
https://forumstatic.ru/files/0019/bd/98/51602.js
https://forumstatic.ru/files/0019/bd/98/36118.js
Поделиться382018-09-29 21:30:40
HTML-верх
<!--header--> <script type="text/javascript"> function Constellation (canvas) { var _this = this, context = canvas.getContext('2d'), config = { star: { color: 'rgba(255, 255, 255, .5)', width: 3 }, line: { color: 'rgba(255, 0, 0, .5)', width: 0.2 }, position: { x: 0, y: 0 }, width: window.innerWidth, height: window.innerHeight, length: Math.sqrt( Math.pow(window.innerWidth, 2) + Math.pow(window.innerHeight, 2) ) / 10, distance: 150, radius: 150, stars: [] }; function Star () { this.x = Math.random() * canvas.width; this.y = Math.random() * canvas.height; this.radius = Math.random() * config.star.width; this.vx = (0.5 - Math.random())/5; this.vy = (0.5 - Math.random())/5; this.create = function() { context.beginPath(); context.arc(this.x, this.y, this.radius, 0, Math.PI * 2, false); context.fill(); }; } this.animate = function() { var i; for (i = 0; i < config.length; i++) { var star = config.stars[i]; if (star.y < 0 || star.y > canvas.height) { star.vy = - star.vy; } else if (star.x < 0 || star.x > canvas.width) { star.vx = - star.vx; } star.x += star.vx; star.y += star.vy; } }; this.line = function() { var length = config.length, iStar, jStar, i, j; for (i = 0; i < length; i++) { for (j = 0; j < length; j++) { iStar = config.stars[i]; jStar = config.stars[j]; if ( (iStar.x - jStar.x) < config.distance && (iStar.y - jStar.y) < config.distance && (iStar.x - jStar.x) > - config.distance && (iStar.y - jStar.y) > - config.distance ) { if ( (iStar.x - config.position.x) < config.radius && (iStar.y - config.position.y) < config.radius && (iStar.x - config.position.x) > - config.radius && (iStar.y - config.position.y) > - config.radius ) { context.beginPath(); context.moveTo(iStar.x, iStar.y); context.lineTo(jStar.x, jStar.y); context.stroke(); context.closePath(); } } } } }; this.createStars = function () { context.clearRect(0, 0, canvas.width, canvas.height); for (var i = 0; i < config.length; i++) { config.stars.push(new Star()); config.stars[i].create(); } _this.animate(); _this.line(); }; this.setCanvas = function () { canvas.width = config.width; canvas.height = config.height; }; this.setContext = function () { context.fillStyle = config.star.color; context.strokeStyle = config.line.color; context.lineWidth = config.line.width; }; this.loop = function (callback) { callback(); window.requestAnimationFrame(function () { _this.loop(callback); }); }; this.bind = function () { canvas.addEventListener("mousemove", function(e){ config.position.x = e.pageX - canvas.offsetLeft; config.position.y = e.pageY - canvas.offsetTop; }); }; this.init = function () { this.setCanvas(); this.setContext(); this.loop(this.createStars); this.bind(); }; } document.addEventListener("DOMContentLoaded", function() { var c = new Constellation(document.getElementById('canvas')); c.init(); }); document.getElementById('boxet').setAttribute("style","height:200px","width:900px"); </script> <style type="text/css"> #boxet{ overflow: hidden; display: block; top: 0px; position: absolute; width: 900px; height: 200px; } .text{ font-size:72px; font-family: 'Montserrat-Regular'; text-align: center; padding:60px; background: #131313; position: center; color: #fff; } </style> <div class="text">The third Episode</div> <div id="boxet"> <canvas id="canvas"></canvas> </div> <!--подключаем шрифты--> <link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet"> <!-- Выделение кода в блоке "Код" // © Alex_63, версия 2017г. --> <script type="text/javascript" src="https://forumstatic.ru/files/0015/c4/3f/26102.js"></script> <script type="text/javascript">select_text.linkText = 'Выделить код' //текст ссылки</script> <!-- /Выделение кода --> <!--убрать "отредактировано..."--> <style type="text/css"> .lastedit {display:none} </style> <!-- Отключение дополнений --> <script type="text/javascript"> RusffCore.sets.show_reportBtn = 0; </script> <script type="text/javascript"> RusffCore.sets.share = false; </script> <script type="text/javascript"> RusffCore.sets.tags = false; </script> <script type="text/javascript"> rusffLive.enable = false; </script> <!-- /Отключение дополнений --> <!--кнопки вверх вниз--> <div class="go-up" id='ToTop'><img src="https://forumstatic.ru/files/0019/bd/98/34641.png" border="0" /></div> <div class="go-down" id='OnBottom'><img src="https://forumstatic.ru/files/0019/bd/98/67484.png" border="0" /></div> <style> .go-up,.go-down { display:none; position: fixed; margin-left: 950px; z-index:9999; cursor:pointer; opacity:.8; margin-bottom:0px; } .go-up { bottom:140px; /*положение от низа окна браузера верхняя кнопка*/ width:100px; /*ширина кнопки*/ height:156px; /*высота кнопки*/ } .go-down { bottom: 205px; /*положение от низа окна браузера нижняя кнопка кнопка*/ width:100px; /*ширина кнопки*/ height:56px; /*высота кнопки*/ } .go-down:hover,.go-up:hover { opacity:1; } </style> <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> <!-- Конец --> <!-- Маска профиля --> <script src="http://f.etrin.ru/hvss/hvss.min.js"></script> <script> hvScriptSet.addMask({ guestAccess: ['Игра', 'Флешбеки', 'Архив игры'], forumAccessExtended: { 'Игра': ['Игрок'], 'Флешбеки': ['Игрок'], 'Архив игры': ['Игрок'] }, userFields: ['pa-author', 'pa-title', 'pa-avatar', 'pa-fld1', 'pa-fld2', 'pa-fld3', 'pa-respect', 'pa-posts', 'pa-online'] }); </script> <!-- /Маска профиля -->
HTML-низ
<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-stats h2","Статистика форума","Score"); UniverСhange(".punbb .quote-box cite","написал(а)","говорит"); UniverСhange(".punbb h2 span","Быстрый ответ","Answer"); </script> <!--замена надписей--> <script type="text/javascript"> var itemMass = new Array("Домой", "Кто здесь?", "Правила", "Поискать", "Обо мне", "Личка", "Админка", "Регнуться", "Вернуться", "Уйти"); var itemIdMass = new Array("navindex", "navuserlist", "navrules", "navsearch", "navprofile", "navpm", "navadmin", "navregister", "navlogin", "navlogout"); for(i=0; i<itemIdMass.length; i++){ if(document.getElementById(itemIdMass[i])){ var str = document.getElementById(itemIdMass[i]).firstChild.firstChild str.innerHTML=itemMass[i]; } } </script> <!-- Автораспознавание ссылок --> <script> $('div.post-content p a[rel="nofollow"]').map(function(){ var link = $(this).attr('href'); var hrfstr = link.replace(/^.+?click.php\?/i,'');$(this).attr('href',hrfstr); if(hrfstr.indexOf($(this).html().split(' … ')[0])==0){ if( /\.(?:gif|png|jpg)$/ig.test(hrfstr)){ $(this).html('<br><center><img src="'+hrfstr+'" style="max-width: 100%"></center>'); } if(hrfstr.indexOf(".mp3")!= -1) { $(this).replaceWith('<br /><embed src="https://forumstatic.ru/files/000f/5f/a4/48643.swf" type="application/x-shockwave-flash" allowscriptaccess="always" wmode="transparent" flashvars="comment=track&st=https://forumstatic.ru/files/000f/5f/a4/15057.txt&file='+hrfstr+'" width="400" height="25">' ); } if(hrfstr.indexOf("youtu")!= -1) { var End = hrfstr.slice(hrfstr.indexOf('?v=') +3); $(this).replaceWith('<br /><center><iframe class="youtube-player" src="http://www.youtube.com/embed/'+End+'" frameborder="0" allowfullscreen="true" width="480" height="284"></iframe></center>'); }} }); </script> <!-- Перенос Колонок тем и сообщений под Описание Форума / Deff, Alex_63 --> <script type="text/javascript"> (function(){ $.catch = function(a,f){$(function(){var t,i=0;function s(){i++;if(i>120)return;t=setTimeout(function(){if(!$(a).length){s();return};f()},100);}s();});} function appendTopicS(){ $('.category td.tcl .tclcon,#f-subforums td.tcl .tclcon').each(function() { var L=$(this).parents('tr:first'); var str='<br><div class="Add"><div class="Tems_And_messages">Teм: <span class="right">'+L.find('td.tc2').text()+'</span></div>\ <div style="margin-left:12px;" class="Tems_And_messages">Cообщений: <span class="right">'+L.find('td.tc3').text()+'</span></div>\ </div>';$(str).appendTo(this); }); } if($('#pun-index').length){appendTopicS ();} if($('#pun-viewforum').length){ var summ=$('.main table[summary]').attr('summary').split(': ')[1].substr(0,1); if(summ=='#'||summ==String.fromCharCode(173))$.catch('#f-subforums',function(){appendTopicS()}); } }()); </script> <!-- Конец --> <!--// CSS-версия обтекания изображений в Постах //--> <style>.postimg[alt="float:right"]{float:right;padding-left:12px}.postimg[alt="float:left"]{float:left;padding-right:12px} #add_float{position:absolute;padding:2px;top:-8px;left:50%;margin-left:-29px!important;width:57px!important;background: url("http://savepic.ru/7021157.png") no-repeat 50%!important;} #button-image #add_float img{display:block;position:relative;z-index:4;} #button-image>img{position:relative;z-index:2;} #button-image>center{opacity:0;visibility:hidden; transition-duration: .8s;} #button-image:hover>center{opacity:1; visibility:visible;} </style> <script>$(function(){$('.postimg[title="float:right"],.postimg[title="float:left"]').mouseover(function(e){e.preventDefault();}); var a ='<center style="position:relative;"><table id=add_float><tr><td id="text-left" title="Обтекание: текст слева">@@</td><td></td><td id="text-right" title="Обтекание: текст справа">##</td></tr></table></center>',b3="]'"; var b1 = '<img onclick="bbcode(\'[img=float:right'+b3+',\'[/img'+b3+')" src="/i/blank.gif"/>',b2 = '<img onclick="bbcode(\'[img=float:left'+b3+',\'[/img'+b3+')" src="/i/blank.gif"/>'; a = a.replace('@@',b1).replace('##',b2); $('#post #button-image').prepend(a);}); </script> <!--пиар--> <script type="text/javascript"> PiarNik="PR"; PiarPas="1234"; PiarTopic="http://dust.rolka.su/viewforum.php?id=6"; var L="<div id=\"PR_loginDiv\" style=\"display:none;\">\ <form id=\"form_login\" name=\"login\" method=\"post\" action=\"login.php?action=in\" onsubmit=\"return check_form()\">\ <fieldset>\ <input type=\"hidden\" value=\""+PiarTopic+"\" name=\"redirect_url\">\ <input type=\"hidden\" name=\"form_sent\" value=\"1\"/>\ <input type=\"text\" id=\"fld1\" name=\"req_username\" size=\"21\" maxlength=\"25\"/>\ <input type=\"text\" id=\"fld2\" name=\"req_password\" size=\"7\" maxlength=\"16\"/>\ <input type=\"submit\" class=\"button\" name=\"login\"/>\ </fieldset>\ </form>\ </div>\ <li id=\"navpiar\"><a onclick=\"PiarIn()\"><span style=\"cursor:pointer\">Пиар-вход</span></a></li>"; if($("#navlogin").html()!=null){ $("#navlogin").after(L) //navlogin $("#PR_loginDiv #fld1").val(PiarNik) $("#PR_loginDiv #fld2").val(PiarPas) function PiarIn () {$("#PR_loginDiv input[type='submit']").click();} } </script> <!-- Читатель-читалка - НАЧАЛО --> <style>.Myread {cursor: pointer;}</style> <script type="text/javascript"> ReaderNik="Читатель"; ReaderPas="reader"; var L="<div id=\"RD_loginDiv\" style=\"display:none;\">\ <form id=\"form_login\" name=\"login\" method=\"post\" action=\"login.php?action=in\" onsubmit=\"return check_form()\">\ <fieldset>\ <input type=\"hidden\" name=\"form_sent\" value=\"1\"/>\ <input type=\"text\" id=\"fld1\" name=\"req_username\" size=\"21\" maxlength=\"25\"/>\ <input type=\"text\" id=\"fld2\" name=\"req_password\" size=\"7\" maxlength=\"16\"/>\ <input type=\"submit\" class=\"button\" name=\"login\"/>\ </fieldset>\ </form>\ </div>\ <span id=spMyimg><a class=\"Myread\" title=\"Читатель\" onclick=\"ReaderIn()\" >Читатель</a></span>"; if($("#navlogin").html()!=null){ $("#navlogin").append(L) //navlogin $("#RD_loginDiv #fld1").val(ReaderNik) $("#RD_loginDiv #fld2").val(ReaderPas) function ReaderIn () {$("#RD_loginDiv input[type='submit']").click();} } </script> <!-- Читатель-читалка - КОНЕЦ --> <!-- Ссылка на цитату --> <script type="text/javascript"> $(".post-content .quote-box cite:contains('#p')").each(function (){ var b=$(this).text();var c=b.replace(/^#p[\d?]*,/,""); if(b!=c){b=b.replace(','+c,'');c=(b+b).replace("#p","")+'">'+c+'</a>'; $(this).html('<a href="/viewtopic.php?pid='+c+'');};}); $(".post").each(function (){ var b='#'+$(this).attr("id"); pp=$(this).find("li.pl-quote");if(pp.html()!==null){ pp.html(pp.html().replace("ipt:quote('","ipt:quote('"+b+","))};}); </script> <!-- /Ссылка на цитату --> <div id="banneri" style="position: absolute; width: 850px; height: 60px !important; opacity: 1.0; margin-top: 30px; margin-left: 20px; padding: 1px 2px; overflow-y: auto !important; background: #121212; border: none"> <!----------------------- здесь баннеры -------------------------------> <a href="http://forum-top.ru/vote/6323" title="Рейтинг форумов Forum-top.ru" target="blank"><img src="http://forum-top.ru/uploads/buttons/forum-top_88x31_3.gif" alt="Рейтинг форумов Forum-top.ru" /></a> <a title="Каталог фэнтези сайтов Палантир" href='https://palantir.in/?from=20327' target='_blank'> <script type="text/javascript"> Mz = "wh=" + screen.width + 'x' + screen.height; My = "<img src='https://palantir.in/count.php?id=20327&today_hits=1&today_hosts=1&total_hosts=1&cid=special_blue.png"; My += "&cntc=none&rand=" + Math.random() + "&referer=" + encodeURIComponent(document.referrer); My += '&pg=' + encodeURIComponent(window.location.href); My += "' alt='Palantir' title='Каталог фэнтези сайтов Палантир' border='0' width='88px' height='31px'>"; document.write(My);</script> <noscript><img src="https://palantir.in/count.php?id=20327&today_hits=1&today_hosts=1&total_hosts=1&cid=special_blue.png" alt='Palantir' title="Каталог фэнтези сайтов Палантир" border=0 width="88px" height="31px"></noscript> </a> <a href="https://rpgtop.su/25605" title="Рейтинг Ролевых Ресурсов - RPG TOP" target="_blank"> <img src="//img.rpgtop.su/88x31x11x7.gif" alt="Рейтинг Ролевых Ресурсов - RPG TOP" border="0" width="88" height="31"></a> <a href="http://artishock.rusff.me/" target="_blank"><img src="http://s2.uploads.ru/nzVxs.gif" title="ARTISHOCK" border="0"width="88" height="31"></a> <a href="http://urchoice.rolka.su/" target="_blank"><img src="https://forumstatic.ru/files/000b/09/4f/76237.gif" title="Каталог форумов" alt="LYL" width="88" height="31"></a> <a href="https://frpg.community/m/sites/view/The-third-Episode" title="The-third-Episode"><img src="https://frpg.community/media/images/fban.gif"></a><a href="http://never-where.diary.ru"><img src="http://static.diary.ru/userdir/6/7/1/4/671413/73075332.jpg" width="88px;" height="31px;" border="0" title="Реклама текстовых ролевых игр" alt="Реклама текстовых ролевых игр" /></a> <br> <a href="http://braven.rolka.su" target=_blank><img src="http://i.imgur.com/b5imOdN.gif" border="0" title="Brave New World" width="88" height="31"></a> <a href="http://estar.1bb.ru/" target=_blank> <img src="http://funkyimg.com/i/2wSRC.gif" border="0" title="Rivelein" width=88 height=31></a> <a href="http://brimstone.rusff.me/" title="Англия XIX век. Демоны, дирижабли и лавкрафтовские чудовища" target="blank"><img src="https://forumstatic.ru/files/000c/a9/31/63493.gif"></a> <a href="http://pegasus.rusff.me/" target=_blank> <img src="http://i92.fastpic.ru/big/2017/0805/d7/80bd4cb25bf83a7d4577484c9e733ed7.gif" title="Black Pegasus" alt="Black Pegasus"></a> <a href="http://sputnik.f-rpg.ru/" target="blank"><img src="http://funkyimg.com/i/2HtyC.gif" title="С П У Т Н И К (Sci-fi | неонуар)"></a> <a href="http://whitepr.0pk.ru/" title="Здесь может быть ваша реклама!" target=_blank> <img src="https://forumstatic.ru/files/0010/0e/ae/60444.gif" border="0" alt="White PR"></a> </div> <style> #banneri img { -webkit-filter: grayscale(100%); opacity: 0.5; transition-duration: 0.7s; } #banneri img:hover { -webkit-filter: grayscale(0%); opacity: 1.0; transition-duration: 0.7s; } #banneri::-webkit-scrollbar { width: 0px; height: 0px; } </style> <!-- Конец --></div>
Структура style.css
/************************************************************* 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 { position: relative; background: #131313; margin: 0 auto; height: 274px; } /* 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 75.50% 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: 0px auto auto auto; border: none; width: 900px; background-color: #f0f0f0; } /* A5.2 */ .punbb { float: none; width: 100%; height: auto; margin: 0 auto; } /* A5.3 */ #pun-redirect, #pun-maint { margin: 50px 20% 12px 20%; width: auto; float: none; } /* A5.4 */ .punbb .section, .punbb .main { margin-bottom: 0em; } /* A5.5 */ .punbb .category, .punbb .post { margin-top: 0; } /* 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; } /* 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; border-style: none; } /************************************************************* 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: 4px double #fff; } /* 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; } /* B3.2 */ .multipage { margin-top: 3em; } /* B3.3 */ .linkst .pagelink { position: absolute; top: -2.5em; left: 1em; width: 24em; color: #899ca6; } /* B3.4 */ .linkst .postlink { position: absolute; top: -2.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: 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%; height: 50px; } /* 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.6em; font-weight: bold; color: #000; text-align: center; font-family: 'Montserrat-Regular'; font-weight: bold; text-transform: uppercase; letter-spacing: 2px; } /* 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 { border: none; height: 0; line-height: 0.0; margin-top: 0.1em; width: 28px; height: 19px; } /* C2.16 */ .punbb table div.icon { font-size: 1.05em; position: absolute; margin-left: -2.5em; } /* 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: 20em; 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: 18em; 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: 20em; 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: none; 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 { padding: 0 5px; position: relative; } #profilenav h2 span{ font-size: 16px; margin-left: 700px; } /* 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: none; } /* D1.2 */ #pun-title h1 { display : none; } /* 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; background: transparent; height: 0x; } #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-top: -5px; } /* D3.2 */ #pun-navlinks .container { padding: 0.7em 1em; width: 876px; /*должно соответствовать ширине форума*/ text-align: center; /*выравнивает по центру*/ } /* D.3 */ #pun-navlinks li { display: inline; padding-right: 1em; } /* D3.4 */ #pun-navlinks li a { font-size: 1.6em; width: 876px; /*должно соответствовать ширине форума*/ text-align: center; /*выравнивает по центру*/ font-family: 'Montserrat-Regular'; padding: 5px; } /* D4 User links -------------------------------------------------------------*/ /* D4.1 */ #pun-ulinks { margin-top: 0px; } /* D4.2 */ #pun-ulinks .container { border-top: none; padding: 0.7em 1em; width: 876px; /*должно соответствовать ширине форума*/ text-align: center; /*выравнивает по центру*/ border: none; background-color: #dedfdf; color: #f1f1f1; } /* D4.3 */ #pun-ulinks li, #pun-ulinks li a { display: inline; border: none; white-space: nowrap; font-family: 'Montserrat-Regular'; } /* D4.4 */ #pun-ulinks li a { padding: 0 0.3em 0 0.6em } /* 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: 0em 0em 0em 0em; background: #131313; } /* 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; }
Цвета style_cs.css
/*всплывающие подписи над пикчами*/ .overlay{ display:none; position: absolute; } a:hover .overlay{ display: block; width: 220px; position: absolute; z-index: 100; left: 36%; bottom: -117%; padding: 5px; margin: 0 0 0 -85px; background: rgba(17,17,17,.9); color: #cfcfcf; border-style: none; } /*настройка скопировать код*/ .code-box { margin: 1px; transition: all 0.6s; -webkit-transition: all 0.6s; } .code-box:hover { border: 1px solid #e63737; } .code-box .legend { font-family: 'Montserrat-Regular'; display: block; font-size: 20px !important; font-style: normal; background: #5c0909 !important; text-align: center; } .code-box .legend:hover { background: #360303 !important; transition: all 0.6s; -webkit-transition: all 0.6s; } .code-box .legend a { display: block; width: 100%; padding: 1px 1px; color: #fff !important; } .code-box .legend a:hover, .code-box .legend a:focus, .code-box .legend a:active { color: #fff; padding: 1px 1px; display: block; width: 100%; } .code-box .scrollbox { height: auto !important; max-height: 240px; overflow: auto; padding: 1px; } .code-box pre { font-family: 'Montserrat-Regular'; margin: 0; } /*спойлер*/ .punbb .post-content .spoiler-box > div, .punbb .post-content .spoiler-box > div.visible { font-family: 'Montserrat-Regular'; display: block; font-size: 20px; color: #fff; transition: all 0.6s; -webkit-transition: all 0.6s; padding: 10px; margin: 5px; text-align: center; } .punbb .post-content .spoiler-box > div:hover {background: #5c0909 !important;} .punbb .post-content .spoiler-box > div {background: #360303 !important;} .post-content .spoiler-box > div.visible {background:#360303 !important;} .punbb .post-content .spoiler-box > blockquote {padding: 0 10px 10px;} /*статистика*/ #pun-stats h2 { background: url(https://forumstatic.ru/files/0019/bd/98/12178.gif) bottom no-repeat #131313 !important; height: 28px !important; font-family: 'Montserrat-Regular'; font-weight: bold; text-transform: uppercase; font-size: 64px !important; text-align: right !important; color: #f0f0f0 !important; line-height: 1.25em !important; } /*таблица в постах - толщина*/ #pun-main .topic .container .post-content table tbody tr td { border-color: #cfcfcf; border-width: 1px; border-style: solid; } /*профиль*/ .punbb .post-author a { color: #dededd!important; transition-duration: 0.3s; } .punbb .post-author a:hover { color: #c2eff5 !important; transition-duration: 0.3s; } .punbb .post .post-author { text-align: center; overflow: hidden; font-size: 12px; background-color: #131313 !important; color: #9d9d9d; border: 4px double; border-color: #fff; } .post-author ul li.pa-gifts /*подарки*/{ display: none; } .post-author ul li.pa-online, /*онлайн*/ .post-author ul li.pa-positive, /*позитив*/ .post-author ul li.pa-ip, /*айпи*/ .post-author ul li.pa-time-visit, /*время визита*/ .post-author ul li.pa-last-visit /*последний визит*/ { color: #595959; /*цвет текста*/ font-size: 10px !important; } .post-author ul li.pa-avatar /*аватар*/ { margin-bottom: 14px; margin-top: 14px; } .post-author ul li.pa-avatar img { border: 4px double #5c0909; /*значения рамки*/ } .post-author ul li.pa-author /* имя пользователя*/ { padding: 2px; /*отступ от текста до рамки*/ margin: 2px; /*отступ между полями*/ border: 3px inset #ooo; /*значения рамки*/ text-align: center; /*расположение содержимого*/ height: 30px; font-weight: bold; font-family: 'Montserrat-Regular'; font-size: 20px !important; color: #9d9d9d !important; line-height: 1.5; } .post-author ul li.pa-title, /*статус*/ .post-author ul li.pa-fld3, /*дополнительное поле, деньги*/ .post-author ul li.pa-fld2, /*дополнительное поле, деньги*/ .post-author ul li.pa-fld1 /*дополнительное поле, анкета*/ { background: #171717 !important; color: #c5c5c4; padding: 2px; margin: 2px; text-align: center; font-size: 10px !important; } .post-author ul li.pa-posts, /*количество сообщений*/ .post-author ul li.pa-respect /*репутация*/ { text-align: center; border: none; display: inline-block; padding: 0 3px !important; padding-bottom: 0px; width: 70px; margin-left: 7px; margin-right: 7px; padding-bottom: 5px !important; color: #9d9d9d; font-size: 9px; } /*обводки категорий*/ .category .tclcon { border-right: 3px solid #c5c5c5; border-top: 1px solid #cacaca; border-bottom: 12px solid #8f8d8d; font-style: normal; margin: 5px; padding: 7px; text-align: justify; } /*Убираем слово объявление из таблицы*/ #pun-announcement h2 {display: none;} #pun-announcement .container {padding-top: 0em;} /*Tems_And_messages*/ #pun-index .category .tc2, #pun-index .category .tc3, #f-subforums .tc2, #f-subforums .tc3 { display: none !important; } .Tems_And_messages { display: inline-block; } .main table .Add { display: block; float: right; padding-right: 17px; font-size: 10px; letter-spacing: 1px; color: #ececec; width: 96%; text-align: right; margin: 5px 0 0 0; } .Tems_And_messages .right { float: right; margin-left: 5px; } /* CS1 Background and text colours -------------------------------------------------------------*/ /* CS1.1 */ .punbb .section .container, .punbb .post-body, .punbb .post-links, .punbb td.tc2, .punbb td.tc3, .punbb .formal fieldset .post-box, #viewprofile li strong, #viewprofile li div, #setmods dd, .punbb .info-box, .punbb #pun-main .info-box .legend { background-color: transparent; color: #333; } /* CS1.2 */ .punbb .main .container, .punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer { background-color: #f0f0f0; color: #333; } /* CS1.3 */ #pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 { background-position: top; height: 60px; font-family: 'Montserrat-Regular'; font-size: 24px; text-align: center; color: #fff; line-height: 1.8; background: url(https://forumstatic.ru/files/0019/bd/98/12178.gif) bottom no-repeat #131313; } .punbb .main h2 { background-color: #131313 background: url(https://forumstatic.ru/files/0019/bd/98/12178.gif) bottom no-repeat #131313; background-position: bottom; height: 0px; font-family: 'Montserrat-Regular'; font-weight: bold; text-transform: uppercase; font-size: 64px; text-align: right; color: #f0f0f0; padding: -2em -2em; line-height: 0.3; } /* CS1.4 */ #pun-title, #pun-title .container, .punbb .modmenu .container { background-color: transparent; color: #333; } /* CS1.5 */ .punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span { background-color: #f7f7f7; color: #404040; } /* CS1.6 */ .punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl { background-color: transparent; color: #333 } /* CS1.7 */ .punbb .quote-box, .punbb .code-box { background-color: #e5dcdf; color: #313131; } /* CS1.8 */ #pun-navlinks .container { background-color: #363636; color: #f1f1f1; } .offline li.pa-online strong { font-weight: normal } /* CS2 Border colours -------------------------------------------------------------*/ /* CS2.1 */ .punbb .container, .punbb .post-body, .post h3, #pun-title { border-color: transparent; } /* CS2.2 */ .punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info, .punbb .category, .punbb .post { border-color: transparent; } /* CS2.3 */ #pun-stats h2, .punbb .main h1, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2 { 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; } /* 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: 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: #700213; text-decoration: none; } .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: #D35339; transition: all 0.6s; -webkit-transition: all 0.6s; } /* CS3.3 */ #pun-navlinks a { color: #f0f0f0; text-decoration: none; } /* CS3.4 */ #pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active { color: #D35339; transition: all 0.6s; -webkit-transition: all 0.6s; } #pun-pagelinks a:active, #pun-pagelinks a:focus { background-color: #333; color: #fff; } /* CS4 Post status icons -------------------------------------------------------------*/ .container table .hasicon .tclcon { padding-left: 35px; } /*Старые сообщения*/ Div.icon { background-image : url('https://forumstatic.ru/files/0019/bd/98/61760.png'); background-repeat: no-repeat; } /*Новые сообщения*/ TR.inew Div.icon { background-image : url('https://forumstatic.ru/files/0019/bd/98/11835.png'); background-repeat: no-repeat; } /*Важные темы*/ TR.isticky Div.icon { background-image : url('https://forumstatic.ru/files/0019/bd/98/56919.png'); background-repeat: no-repeat; } /*Закрытые темы*/ TR.iclosed Div.icon { background-image : url('https://forumstatic.ru/files/0019/bd/98/42554.png'); background-repeat: no-repeat; } #pun-main .category .container table thead {display: none;}