Единый форум поддержки

Информация о пользователе

Привет, Гость! Войдите или зарегистрируйтесь.



bo2soft

Сообщений 1 страница 16 из 16

1

bo2Soft

Портировано с phpBB. Официальный сайт был http://www.bozuntu.org . Автором давно не поддерживается. Снят с архива и отсюда: https://www.phpbb3styles.net/db/style/bo2Soft?lang=ru Я собрал этот стиль и адаптировал насколько это возможно под mybb.ru .

Релиз. Версия 1.10

Возможности стиля
  • Разделитель между важными темами и обычными

  • Аватар по умолчанию для тех у кого нет аватара

  • Цветовыделение ников по группам (три группы: Администратор, Модератор, Гости)

Недостатки стиля
  • Код большой и сложный.

  • Плохая адаптированность под скрипты.

  • Пока не адаптирован под мобильные устройства.

Логотип

По умолчанию стоит мой логотип. Если хотите заменить, есть заглушка:

https://forumstatic.ru/files/0013/49/9f/60447.png
Ссылкой: https://forumstatic.ru/files/0013/49/9f/60447.png

Найдите в Цвета style_cs.css:

/* 2.1.3 - Логотип */
.title-logo {
  background: url(https://i.ibb.co/DCnTRqG/logo.png) no-repeat 15px 21px;
}

Ссылку на картинку замените на свою.

Скриншоты

https://i.imgur.com/8EAkJemm.png
https://i.imgur.com/KQoWN0Dm.png
https://i.imgur.com/eyGHfEBm.png
https://i.imgur.com/6S2ipuqm.png
https://i.imgur.com/bpgdtW5m.png
https://i.imgur.com/urnN2Rim.png
https://i.imgur.com/6Zlwm0Km.png
https://i.imgur.com/gb0jUZtm.png

Посмотреть можно здесь

Структура style.css

Цвета style_cs.css

Правка для Закладок

Скрипты адаптированные под стиль bo2soft

Стиль периодически обновляется, поэтому свои правки лучше ставить в НТМЛ верх.

Отредактировано kolobdur74 (Вс, 17 Окт 2021 17:26:16)

+5

2

Структура style.css

Структура style.css
Код:
@charset "Windows-1251";

/**************************************************************
***************************************************************
****************-----------------------------******************
****************-------Стиль bo2soft---------******************
****************-----------------------------******************
***************************************************************
***************************************************************
****************-----------------------------******************
****************--------Версия 1.10----------******************
****************-----------------------------******************
***************************************************************
***************************************************************
************--------------------------------------*************
************---Свёрстан и адаптирован Kolobdur----*************
************--------------------------------------*************
***************************************************************
***************************************************************
**************----------------------------------***************
**************-------Для сервиса mybb.ru--------***************
**************----------------------------------***************
***************************************************************
***************************************************************
**********************-------------****************************
**********************--STYLE.CSS--****************************
**********************-------------****************************
***************************************************************
***************************************************************/

/**************************************************************
A - Основная часть                                            *
***************************************************************/
  
/* A1 Подключаем файл с фонами и цветами
-------------------------------------------------------------*/
@import url(style_cs.css);
  
/* A2 Обнуление и общие установки
-------------------------------------------------------------*/

/* A2.1 */
*, html, body {
  margin: 0; 
  padding: 0;
  }
  
/* A2.2 */
html {
  overflow-y: scroll;
  font-size: 100%;
}   
 
/* A2.3 */
body {
  font-size: 62.5%;
}

/* A2.4 */
body, .sharelink, body .tipsy, #pun-viewforum .inew .tclcon strong, #pun-searchtopics .inew .tclcon strong, #post-new legend strong, textarea, input, select, optgroup, #pun #pun-admain input, #pun #pun-admain select, #pun #pun-admain optgroup, #pun-index .modlist a, .subforums a {
  font-family: "Lucida Grande", "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
}
 
/* A2.5 */
ul, dl, li, dd, dt {list-style: none;}
 
/* A2.6 */
img {border:none;}
  
/* A2.7 (Clear outline) */
a:active, a:focus, input, textarea, input:active, textarea:active, :focus {outline:none;}
button:active, button:focus {outline: none !important;}
button::-moz-focus-inner {border: 0 !important;}
  
/* A2.8 */
a:link, a:active, a:visited, .legend a, .legend a:hover, .legend a:focus {
  text-decoration: none;
}

/* A2.9 */
a:hover, a:focus, a:active {
  text-decoration: underline;
}

/* A2.10 */
table {
  table-layout: fixed;
  width: 100%;
  }
  
/* A2.11 (правка для подсказок с таблицами) */
.tipsy table {width: initial;}
 
/* A2.12 */
br {line-height: 2em;}
  
/* A2.13 */
#pun .punbb select {
  padding: 2px 3px;
  border-radius: 3px;
  text-indent: 0.01px;
  text-overflow: '';
  cursor: pointer;
  font-size: 1em;
  }
  
/* A2.14 */
#pun .punbb select::-ms-expand {
  display: none;
}
 
/* A2.15 */
textarea, #pun #pun-admain textarea {
  font-size: 1.4em;
}

/* A2.16 */
#pun #pun-admain textarea {
  font-family: "Courier New", tahoma, arial, helvetica, sans-serif;
}

/* A2.17 */
pre {
  font-family: "Courier New", monaco, "bitstream vera sans mono", courier, monospace;
}

/* A2.18 */
.formsubmit input, .formsubmit a, .formsubmit span {
  margin: 0 5px 0 0;
}

/* A2.19 */
.formsubmit {text-align: right;padding: 0 0 0 1.7em;}

/* A2.20 */
#pun-profile .formsubmit {text-align: left;}

/* A2.21 */
.button, input[type="submit"] {
  padding: 3px 5px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
  text-decoration: none;
  vertical-align: middle;
  font-size: 10px;
  cursor: pointer;
}

/* A2.22 */
input[type="text"], input[type="password"], textarea, 
#pun .formal textarea {
  margin: 3px 0;
  padding: 3px;
  width: calc(100% - 6px);
}

/* A2.23 */
.datafield span.input a {
  font-weight: normal;
  }

/* A2.24 */
.checkfield input[type="checkbox"], .radiofield input[type="radio"] {
  margin: 0 0.3em;
}
  
/* A2.25 */
iframe {
  max-width: 100%;
  max-height: 40vw;
}

/* A2.26 */
.acchide, #pun-navlinks h2, #pun-status h2, #pun-pagelinks h2, #pun-announcement h2, #pun-ulinks h2, #pun-index thead, .punbb .forum h2,  .punbb dl.post-sig dt span, .punbb p.crumbs strong, .punbb #pun-break3, .punbb .required label em, .punbb .formsubmit label, .punbb .submitfield label, .crumbs em:nth-child(2), .punbb .modmenu label, #pun-userlist .main h2, #post fieldset:not(#post-preview) legend, #profilenav h2, #pun-index.punbb #pun-crumbs1, .stickytext, .closedatafield, .redirecttext, .polltext {
  font-size: 0;
  height: 0;
  width: 0;
  line-height: 0.0;
  position:absolute;
  left: -9999px;
  overflow: hidden;
  }
 
/* A2.27 */
.divider hr, td.tcr br, .tclcon br, .bracket-right, .inew .bracket-left, .pa-last-visit br, .pa-respect img {
  display: none;
}

/* A3  Теги заголовков и абзаца
-------------------------------------------------------------*/

/* A3.1 */
h1, h2, h3, h4, strong, b, .button, input[type="submit"], .crumbs, .required label, .datafield span.input, #onlinelist:before, thead tr, #pun-navlinks a, #profilenav li, .punbb #pun-adnav a, #pun-admain label, div#pun-admain .adlabel, #viewprofile-next #profilenav:before, #profile:before, #viewprofile-next:after, #profile:after, .quote-box cite, .code-box strong.legend, .spoiler-box > div, *[style*='bold'], .hasicon .isticky:nth-child(1):before, #pun-viewforum .hasicon:after, #pun-viewforum .tclcon a, #pun-searchtopics .tclcon a, #pun-modviewforum .tclcon a, .warntext, .info, .post-rating a, .files-pagelink a, .pagelink a, #pun-index .modlist, #pun-viewforum .modlist, .subforums, #setmods dt {
  font-family: "Lucida Grande Bold", "Lucida Grande", "Trebuchet MS", Verdana, sans-serif;
  font-weight: normal;
}

/* A3.2 */
h1 {
  font-size: 1.8em;
  text-decoration: none;
}

/* A3.3 */
h2 {
  font-size: 18px;
  text-decoration: none;
  line-height: 120%;
}

/* A3.4 */
h3 {
  font-size: 1em;
  line-height: 120%;
}

/* A3.5 */
h4 {
  margin: 0;
  font-size: 1em;
}

/* A3.6 */
p {
  margin: 0;
  line-height: 150%;
  padding: 0 0 1em 0;
}

/**************************************************************
B - Border                                                    *
***************************************************************/

/* B1 border-style и border-width
-------------------------------------------------------------*/

/* B1.1 */
#pun-announcement .container, 
#pun-status .container, #pun-index #pun-main:before, 
.main:before, .main:after, #profilenav, #viewprofile-next, #profile form, #profile10,
#pun-main h2, #pun-stats h2, .crumbs,
.hasicon .isticky:nth-child(1):before, #pun-viewforum .hasicon:after,
#pun-main tr > td, #pun-online th, #pun-statistic th, #pun-userlist th,
#onlinelist:before, #onlinelist div,
.button, input[type="submit"],
input[type="text"], input[type="password"],
#viewprofile ul,
.punbb #pun-adnav h2,
.punbb #pun-admain h2,
#viewprofile-next:before, #profile:before,
#viewprofile-next:after, #profile:after,
.post h3,
.sharelink:before, select,
textarea, .quote-box, .code-box, .quote-box,
fieldset, #profile .select-file, #profile .adfs-box, #profile .formsubmit,
#pun-adnav a:hover, .post h3, .post-author, .post-body, .pa-online, .pa-last-visit,
.post-links ul, .punbb #pun-adnav, #form-buttons tr,
#pun-viewforum .category:before,
#topic-users-in .container, #topic-users-in span,
#pun-statistic .main .container:before, #pun-statistic .main .container:after,
#pun-userlist .formal:before, #pun-userlist .formal:after,
#pun #profile10 th, #pun-messages th,
.punbb #pun-admain .adcontainer th, .punbb #pun-admain .adcontainer td {
  border-style: solid;
}

/* B1.2 */
.button, input[type="submit"],
input[type="text"], input[type="password"],
#viewprofile ul,
.post h3,
.topic, .modmenu,
#pun-announcement .container, 
#pun-status .container, #pun-index #pun-main:before, 
.main:before, .main:after,
#pun-main h2, #pun-stats h2, .crumbs,
.hasicon .isticky:nth-child(1):before, #pun-viewforum .hasicon:after,
#pun-main tr > td, #pun-online th, #pun-statistic th, #pun-userlist th,
#onlinelist:before, #onlinelist div,
select, textarea, .quote-box, .code-box,
#pun-statistic th, #pun-userlist th, #filetable th, 
fieldset, #profile .select-file, #profile .adfs-box, #profile .formsubmit,
.adcontainer div > ul > li,
#pun-adnav a:hover, .post h3,
.punbb #pun-adnav, .punbb .adformal, #form-buttons tr,
#pun-viewforum .category:before,
#topic-users-in .container, #topic-users-in span,
#pun-statistic .main .container:before, #pun-statistic .main .container:after,
#pun-userlist .formal:before, #pun-userlist .formal:after,
#pun-messages th, .punbb #pun-admain .adcontainer th, .punbb #pun-admain .adcontainer td {
  border-width: 1px;
}

/* B2 Индивидуальные Border
-------------------------------------------------------------*/

/* B2.1 */
#viewprofile-next, #profile form, #profile10 {border-width: 0 1px 0 1px;}

/* B2.2 */
#profilenav {border-width: 0 1px 0 0;}

/* B2.3 */
.post-author {border-width: 0 0 0 1px;}

/* B2.4 */
.post-body {border-width: 0 1px 1px 0;}

/* B2.5 */
.sharelink:before {
  border-width: 5px;
  border-radius: 2em 0 0 0;
}

/* B2.6 */
fieldset fieldset {border-style: none;}

/* B2.7 */
.punbb #setmods dl {border: none !important;}

/* B2.8 */
.punbb #viewprofile td {border: 0;}

/* B2.9 */
#pun-main #post td, #pun-profile #profile5 .fs-box.hashelp td {border: none;}

/* B2.10 */
#similar-topics td {border-width: 0 1px 1px 1px;}

/* B2.11 */
#pun #profile10 th, #pun-messages th, .punbb #pun-admain .adcontainer th {border-width: 0 1px 0 1px;}

/* B2.12 */
#pun #profile10 th:first-child, #pun-messages th:first-child, .punbb #pun-admain .adcontainer th:first-child {border-width: 0 1px 0 0;}

/* B2.13 */
#pun #profile10 th:last-child, #pun-messages th:last-child, .punbb #pun-admain .adcontainer th:last-child {border-width: 0 0 0 1px;}

/* B2.14 */
#pun #profile10 td:first-child, .punbb #pun-admain .adcontainer td:first-child {border-left-width: 2px;}

/* B2.15 */
#pun #profile10 td:last-child, .punbb #pun-admain .adcontainer td:last-child {border-right-width: 2px;}

/* B3 Border для Админки
-------------------------------------------------------------*/

/* B3.1 */
#pun-adnav .adcontainer, .punbb .adformal .adcontainer {border: none;}

/* B3.2 */
.punbb #pun-admain h2 {
  padding: 0 1em;
  height: 28px;
  font-size: 1.1em;
  line-height: 28px;
}

/* B3.3 */
.punbb .adformal {
  border-style: solid solid solid none;
}

/* B3.4 */
.punbb #pun-adnav h2,
#viewprofile-next:before, #profile:before {
  border-width: 0 1px 0 0;
}

/* B3.5 */
.punbb .adformal h2,
#viewprofile-next:after, #profile:after {
  border-width: 0 0 0 1px;
}

/* B3.6 */
.punbb #pun-admain .adcontainer th {
  height: 30px;
  font-size: 1.1em;
  line-height: 28px;
  padding: 0;
  text-align: center;
}

/**************************************************************
C - Общее расположение.                                       *
***************************************************************/

/* C1 Display Grid
-------------------------------------------------------------*/
html .punbb, #pun-stats .container, .intd, .tclcon, .post>.container, .main, .main .linkst, .main .linksb, .postlink, #pun-viewforum .modmenu .container, #pun-searchtopics .modmenu .container, #topic-modmenu .container, #profilenav ul, .post-box, .post h3 span, #setmods dl, #pun-admain, #pun-adnav .adcontainer div > ul > li:last-child, .punbb-admin .linksb, #pun-index .main h1, #pun-index tr, #pun-viewforum tr, #pun-searchtopics tr, #pun-modviewforum tr, #pun-index td, #pun-viewforum td, #pun-searchtopics td, #pun-modviewforum td, #profile .container, .item-forms, .pa-online, .pa-last-visit, #post .fs-box, #post .checkfield, #form-buttons tr, #tags, #topic-feed .container, #pun-navlinks ul, #pun-ulinks ul, #pun-navlinks li[id*='navextra'] a, .crumbs, .subforums, #pun-viewforum .forum th.tcl, #pun-modviewforum th.tcl, #pun-searchtopics th.tcl, #pun-index .main h1 span, #pun-viewforum .category thead .tc3, #pun-searchtopics .inew .tclcon strong, #pun-viewforum .inew .tclcon strong, #pun-modviewforum .inew .tclcon strong, #pun-userlist .username, .pagestext, .pagelink, .files-pagelink, .newtext, #pun-main .topic h2, .post-author ul, .post-links ul, .pa-respect,.pa-avatar, #pun-viewtopic .post-author ul:before, .quote-box, #font-area div, #viewprofile-next, #pun-profile #profile form, #profile10, #profile, #profile-right li, .poll1 tr, .poll1 td, #onlinelist {
  display: grid;
}

/* C2 Общий Grid
-------------------------------------------------------------*/
html .punbb {
  grid-template:
      ". header ."
	  ". title ."	  
      ". navlinks ."
	  ". ulinks ."
	  ". status ."
	  ". crumbs1 ."
	  ". announcement ."	  
	  ". banner3 ."	  
	  ". admain ."
	  ". main ."
	  ". banner2 ."
	  ". stats ."
	  ". crumbs2 ."
	  ". banner1 ."
	  ". pun-break4 ."
	  ". about ."
	  ". footer ."
	  / 1fr 900px 1fr;
}

/* C3 Общий Grid. grid-area
-------------------------------------------------------------*/

/* C3.1 */
#pun-break1, #pun-break2 {
  width: 24px;
  height:100%;
  grid-row: 3 / -3;
  grid-column: 2 / 3;
}

/* C3.2 */
#html-header {grid-area: header;}

/* C3.3 */
#pun-ulinks {grid-area: ulinks;}

/* C3.4 */
#pun-navlinks {grid-area: navlinks;}

/* C3.5 */
#pun-title {grid-area: title;}

/* C3.6 */
#pun-status {grid-area: status;}

/* C3.7 */
#pun-announcement {grid-area: announcement;}

/* C3.8 */
#pun-crumbs1 {grid-area: crumbs1;}

/* C3.9 */
#pun-admain {grid-area: admain;}

/* C3.10 */
#pun-break2 + .section {grid-area: banner3;}

/* C3.11 */
#pun-break2 + .section iframe img {
  display: block !important;
  max-width: 100% !important;
}

/* C3.12 */
#pun-break2 + .section iframe {
  display: block;
  margin: 0 auto !important;
}

/* C3.13 */
#pun-main {grid-area: main;}

/* C3.14 */
#pun-main + script + .section:not(#pun-stats) {max-width: 100px;}

/* C3.15 */
#pun-stats {grid-area: stats;}

/* C3.16 */
#pun-main ~ .section[style*="overflow:hidden;display:flex;justify-content: center;"] {grid-area: banner1;}

/* C3.17 */
#pun-crumbs2 {grid-area: crumbs2;}

/* C3.18 */
#pun-break4 {grid-area: pun-break4;}

/* C3.19 */
#pun-about {grid-area: about;}

/* C3.20 */
#html-footer {grid-area: footer;}

/* C4 Grid Justify-self
-------------------------------------------------------------*/
#pun-viewforum .modmenu span, #pun-searchtopics .modmenu span, #topic-modmenu span, .subscribelink, .post h3 strong, .sharelink, .pagelink, .files-page-select, #pun-break2, .newtext, #pun-admain #pun-adnav sup.new {
  justify-self: end;
}

/**************************************************************
D - Базовое оформление.                                       *
***************************************************************/

/* D1 Настройка дочерних блоков .punbb
-------------------------------------------------------------*/
html .punbb>div:not(#pun-title):not(#pun-break1):not(#pun-break2):not(#pun-about) {margin: 0 13px;z-index: 1;}

/* D2 Лого и меню
-------------------------------------------------------------*/

/* D2.1 */ 
#pun-title {height: 122px;}
  
/* D2.2 */ 
#pun-title table tr {
  grid-template-rows: 122px;
  grid-template-columns: auto 1fr;
  }
  
/* D2.3 */
.title-logo {
  position: relative;
  z-index: 1;
  width: 300px;
  height: 122px;
}

/* D2.4 */
#pun-title span {font-size: 0;}
  
/* D2.5 */
#pun-navlinks ul, #pun-ulinks ul {
  height: 31px;
  margin: 0 4px;
  align-items: center;
  justify-items: center;
  padding: 0;
}

/* D2.6 */
#pun-navlinks ul {
  grid-template: 'navlogout navadminlogin navadmin navrules navextra1 navextra2 navextra3 navextra4 navextra5 navindex . navsearch navuserlist navpm navprofile' / auto auto auto auto auto auto auto auto auto auto 1fr auto auto auto auto;
  clear: both;
}

/* D2.7 */
#pun-navlinks a {
  float: left;
  text-decoration: none;
}

/* D2.8 */
#pun-ulinks ul {
  grid-template: 'ul_item2 ul_itemA ul_item3 ul_item1 ul_itemB . ul_item4 ul_item5 ul_item6' / auto auto auto auto auto 1fr auto auto auto;
}

/* D2.9 */
#navindex {grid-area: navindex;}

/* D2.10 */
#navuserlist {grid-area: navuserlist;}

/* D2.11 */
#navsearch {grid-area: navsearch;}

/* D2.12 */
#navprofile {grid-area: navprofile;margin-right: 2px;}

/* D2.13 */
#navpm {grid-area: navpm;}

/* D2.14 */
#navadmin {grid-area: navadmin;}

/* D2.15 */
#navadminlogin {grid-area: navadminlogin;}

/* D2.16 */
#navlogout, #navregister {grid-area: navlogout;margin-left: 4px;}

/* D2.17 */
#navrules {grid-area: navrules;}

/* D2.18 */
#pun-ulinks ul .item2, .isguest #pun-ulinks ul .item1 {grid-area: ul_item2;margin-left: 12px;}

/* D2.19 */
#pun-ulinks ul .item7:nth-child(2), #pun-ulinks ul .item7:nth-child(3) {grid-area: ul_itemA;}

/* D2.20 */
#pun-ulinks ul .item3 {grid-area: ul_item3;}

/* D2.21 */
#pun-ulinks ul .item4 {grid-area: ul_item4;}

/* D2.22 */
#pun-ulinks ul .item5 {grid-area: ul_item5;}

/* D2.23 */
#pun-ulinks ul .item6 {grid-area: ul_item6;margin-right: 8px;}

/* D2.24 */
#pun-ulinks ul .item7:nth-child(7), #pun-ulinks ul .item7:nth-child(8) {grid-area: ul_itemB;}

/* D2.25 */
.isuser #pun-ulinks ul .item1 {grid-area: ul_item1;}

/* D2.26 */
#pun-navlinks a span, #pun-navlinks li[id*='navextra'] a {
  display: block;
  padding: 7px 6px 6px 6px;   
  white-space: nowrap;
}

/* D2.27 */
#pun-navlinks a span:before {
  content: '';
  float: left;
}

/* D2.28 */
#pun-navlinks a span:before,
#pun-navlinks li[id*='navextra'] a:before {
  height: 13px;
  width: 12px;
  padding-right: 2px;
}

/* D2.29 */
#pun-navlinks li[id*='navextra'] a {
  grid-template-rows: auto;
  grid-template-columns: 14px auto;
  align-items: center;
  justify-items: center;
}

/* D2.30 */
#pun-navlinks li[id*='navextra'] a:before,
#pun-navlinks li[id*='navextra'] a:after {
  content: '';
  grid-row: 1;
  grid-column:1;
}

/* D2.31 Добавляем дополнительные кнопки */
#navextra1 {grid-area: navextra1;}
#navextra2 {grid-area: navextra2;}
#navextra3 {grid-area: navextra3;}
#navextra4 {grid-area: navextra4;}
#navextra5 {grid-area: navextra5;}

/* D2.32 */
#pun-ulinks ul .item2:after,
#pun-ulinks ul .item7:nth-child(2):after,
#pun-ulinks ul .item7:nth-child(3):after,
#pun-ulinks ul .item3:after,
#pun-ulinks ul .item4:after,
#pun-ulinks ul .item5:after,
.isuser #pun-ulinks ul .item1:after {
content: '|';
padding: 7px 6px 6px 6px;
}

/* D3 Объявление, Статус
-------------------------------------------------------------*/

/* D3.1 */
.container, #pun-main h2, #pun-stats h2, .topic {
  margin: 0 5px;
}

/* D3.2 */
#pun-status .container {padding: 4px 10px;}

/* D3.3 */
#pun-status .item4 {margin-right: 0.5em;}

/* D3.4 */
.punbb:not(#pun-index) #pun-main h1, #pun-status .container {margin-top: 14px;}

/* D3.5 */
#pun-announcement .container {margin-bottom: 14px;}

/* D3.6 */
#pun-announcement .html-box {padding: 10px;}

/* D3.7 */
#pun-index #pun-crumbs1 {z-index: 1;}

/* D3.9 */
#pun-break4 {
  height: 60px;
  margin-top: 14px;
}

/* D3.10 */
#pun-index #pun-break4 {
  height: 73px;
}

/* D3.11 */
#pun-viewforum #pun-break4, #pun-searchtopics #pun-break4 {
  height: 207px;
}

/* D4 Хлебные крошки
-------------------------------------------------------------*/

/* D4.1 */
.crumbs, .subforums {
  grid: auto / repeat(10, auto);
  align-items: center;
  justify-content: start;
  padding: 0;
}

/* D4.2 */
.crumbs {margin: 14px 5px;}

/* D4.3 */
.crumbs em, .subforums em, #pun-searchposts em {
  display: block;
  font-size: 0;
  height: 7px;
  width: 8px;
  margin: 0 5px;
}

/* D5 Основное тело форума с псевдоэлементами и правки
-------------------------------------------------------------*/

/* D5.1 */
#pun .punbb:not(#pun-statistic) .main:before, #pun .punbb:not(#pun-index):not(#pun-statistic) .main:after, #pun-viewforum .category:before, #pun-statistic .main .container:before, #pun-statistic .main .container:after, #pun-userlist .formal:before, #pun-userlist .formal:after {
  content: '';
  display: block;
  height: 28px;
}

/* D5.2 */
.main:before, #pun-viewforum .category:before, #pun-userlist .formal:before, #pun-userlist .formal:after {margin: 14px 5px 0;}

/* D5.3 */
#pun-viewforum .main:before, #pun-viewtopic .main:before {margin: 4px 5px 0;}

/* D5.4 */
.punbb:not(#pun-index) .main:after {margin: 0 5px;}

/* D5.5 */
#pun-index .main h1, #pun-viewforum thead tr, #pun-searchtopics thead tr, #pun-modviewforum thead tr, #pun-online th, #pun-statistic th, #pun-userlist th {
  font-size: 11px;
  line-height: 12px;
  white-space: nowrap;
  text-align: center;
  align-items: center;
}

/* D5.6 */
#pun-index .main h1 {
  padding: 9px 5px;
  margin: 0 5px;
  grid-template-columns: 54% calc(20% + 4px) 26%;
}

/* D5.7 */
.punbb:not(#pun-index) .main h1 {text-align: center;}

/* D5.8 */
#pun-viewforum thead tr, #pun-searchtopics thead tr, #pun-modviewforum thead tr {
  padding: 9px 0px;
  justify-items: center;
}

/* D5.9 */
#pun-online th, #pun-statistic th, #pun-userlist th {padding: 8px 0px;}

/* D5.10 */
#pun-viewforum .forum th.tcl, #pun-modviewforum th.tcl, #pun-searchtopics th.tcl {
  grid-template-columns: calc(71% + 3px)  26%;
  width: 100%;
}

/* D5.11 */
#pun-searchtopics th.tcl, #pun-modviewforum th.tcl {
  grid-template-columns: calc(68% + 3px)  29%;
}

/* D5.12 */
#pun-viewforum th.tcl, #pun-searchtopics th.tcl, #pun-modviewforum th.tcl, #pun-online th.tcl, #pun-statistic th.tcl, #pun-statistic th.tc-username, #pun-statistic th.tc-title, #pun-statistic, #pun-userlist th.tcl {
  padding-left: 10px;
  justify-self: start;
  text-align: left;
}

/* D5.13 */
#pun-online .tc3 {width: 10%;}

/* D5.14 */
#pun-viewforum .forum thead .tcl:after, #pun-searchtopics thead .tcl:after, #pun-modviewforum thead .tcl:after {
  content: 'Автор';
  justify-self: center;
}

/* D5.15 */
#pun-index .main h1:before {
  content: 'Форум';
  padding-left: 5px;
  justify-self: start;
}

/* D5.16 */
#pun-index .main h1:after {
  content: 'Последнее сообщение';
}

/* D5.17 */
#pun-index .main h1 span {
  font-size: 0px;
  grid-template-columns: 50% auto 50%;
  align-items: center;
}

/* D5.18 */
#pun-viewforum .category thead .tc3 {
  font-size: 0;
  grid-template-rows: auto 0;
}

/* D5.19 */
#pun-index .main h1 span:before, #pun-index .main h1 span:after, #pun-viewforum .category thead .tc3:before {font-size: 11px;}

/* D5.20 */
#pun-index .main h1 span:before {content: 'Тем';}

/* D5.21 */
#pun-index .main h1 span:after, #pun-viewforum .category thead .tc3:before {content: 'Постов';}

/* D5.22 */
#pun-stats {padding-top: 14px;}

/* D5.23 */
#pun-main h2, #pun-stats h2, .crumbs, .hasicon .isticky:nth-child(1):before, #pun-viewforum .hasicon:after {
  height: 28px;
  font-size: 1.1em;
  line-height: 28px;
  padding-left: 5px;
}

/* D5.24 */
.punbb p.container.crumbs a {
  padding: 2px 3px;
  margin: -2px -3px;
}

/* D5.25 */
#pun-index th.tcl {
  font-size: 0px;
}

/* D5.26 */
.main td {padding: 8px 4px;}

/* D5.27 */
.main .tc2, .main .tc3, .main .tcmod {
  text-align: center;
  align-items: center;
  width: auto;
}

/* D5.28 */
.main .tcr {width: auto;}

/* D5.29 */
#pun-viewtopic .main h1, #pun-userlist .main h1 {margin-bottom: 14px;}

/* D5.30 */
.tcl .byuser:first-letter {margin-left: -4px;}

/* D5.31 */
#pun-index .tcr a {padding-bottom: 0;}

/* D5.32 */
#pun-statistic .main h1 {margin-bottom: 3px;}

/* D5.33 */
#pun-index .tclcon, #pun-viewforum .hasicon, #pun-viewforum .isub .tclcon {
  display: flex;
  flex-direction: column;
}

/* D5.34 */
#pun-index .tclcon, #pun-viewforum .isub .tclcon {align-items: flex-start;}

/* D5.35 */
#pun-index .tclcon h3, #pun-viewforum .isub .tclcon h3 {margin-bottom: 2px;}

/* D5.36 */
#pun-index .modlist, #pun-viewforum  .modlist {
  order: 3;
  margin-top: 2px;
  margin-bottom: 4px;
}

/* D5.37 */
#pun-index .tclcon .subforums {order: 4;margin-top: 4px;}


/**************************************************************
E - Статистика.                                               *
***************************************************************/

/* E1 Grid. Статистика
-------------------------------------------------------------*/

/* E1.1 */
#pun-stats .container {
  grid: "statscon-before . . ." 6px
        "statscon-before stats-item1 stats-item3 ." 1fr
        "statscon-before stats-item2 stats-item4 ." 1fr
        "statscon-before stats-legend stats-legend ." auto
        "statscon-before . . ." 6px
        "onlinelist onlinelist onlinelist onlinelist"
        "users_24h users_24h users_24h users_24h"
        "birthday birthday birthday birthday"
        "statistics statistics statistics statistics"
         / 56px 1fr 1fr 0.8em;
  align-items: center;
}

/* E1.2 */
#onlinelist {
  grid: "onlinelist_before onlinelist_before"
        "onlinelist_after onlinelist_div"
        / 48px auto;
}

/* E2 Статистика. grid-area
-------------------------------------------------------------*/

/* E2.1 */
#pun-stats .item1, #pun-stats .item2, #pun-stats .item3, #pun-stats .item4 {align-self: center;}

/* E2.2 */
#pun-stats .item1 {grid-area: stats-item1;}

/* E2.3 */
#pun-stats .item2 {grid-area: stats-item2;}

/* E2.4 */
#pun-stats .item3 {grid-area: stats-item3;}

/* E2.5 */
#pun-stats .item4 {grid-area: stats-item4;}

/* E2.6 */
#pun-stats .onlinelist {grid-area: onlinelist;}

/* E2.7 */
#pun-stats .users_24h {grid-area: users_24h;}

/* E2.8 */
#pun-stats .birthday {grid-area: birthday;}

/* E2.9 */
#pun-stats .statistics {grid-area: statistics;}

/* E2.10 */
.statscon .container:before {grid-area: statscon-before;}

/* E2.11 */
.statscon .stats-legend {grid-area: stats-legend;}

/* E3 Статистика и низ. Общее
-------------------------------------------------------------*/

/* E3.1 */
#pun-stats li {line-height: 150%;}

/* E3.2 */
#pun-stats li.item3, #pun-stats li.item4 {text-align: right;}

/* E3.3 */
#onlinelist:before {
  display: block;
  height: 28px;
  font-size: 1.1em;
  line-height: 28px;
  padding-left: 5px;
  margin-top: 14px;
  grid-area: onlinelist_before;
}

/* E3.4 */
.onlinelist:before {content: 'Кто сейчас на форуме';}

/* E3.5 */
.users_24h:before {content: 'Кто сегодня был на форуме';}

/* E3.6 */
.birthday:before {content: 'Дни Рождения';}

/* E3.7 */
.statistics:before {content: 'Подробная статистика';}

/* E3.8 */
#onlinelist div {
  grid-area: onlinelist_div;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 6px;
}

/* E3.9 */
#onlinelist span, #onlinelist a {margin-left: 3px}

/* E3.10 */
#onlinelist div > a:first-child {margin-right: 3px}

/* E3.11 */
.statscon .container:before {
  content: '';
  display: block;
  height: 60px;
  width: 46px;
  margin-left: 2px;
  margin-right: 6px;
  float: left;
}

/* E3.12 */
#onlinelist:after {
  content: '';
  display: block;
  min-height: 42px;
  width: 48px;
  grid-area: onlinelist_after;
  border: 1px solid #E0E7EF;
}

/* E3.13 */
#pun-about .container {
  height: 90px;
  padding: 0;
  text-align: center;
}

/* E3.14 */
#pun-about .container span {
  display: block;
  position: relative;
  margin-top: -20px;
  z-index: 1;
}

/**************************************************************
F - Icon + tcl + tcr                                          *
***************************************************************/

/* F1 Grid. Icon + tcl + tcr
-------------------------------------------------------------*/

/* F1.1 */
.intd {
  grid: minmax(2em, auto) / 4em 1em 1fr;
  grid-template-areas: "icon . tclcon";
}

/* F1.2 */
.intd, .tclcon {align-items: center;}

/* F1.3 */
#pun-viewforum .tclcon, #pun-searchtopics .tclcon, #pun-modviewforum .tclcon {
  grid: auto 0 / 1fr auto 29%;
}

/* F1.4 */
#pun-searchtopics .tclcon, #pun-modviewforum .tclcon {
  grid-template-columns: 1fr 6px 32.2%;
}

/* F1.5 */
#pun-searchtopics .inew .tclcon, #pun-viewforum .inew .tclcon, #pun-modviewforum .inew .tclcon {
   grid: auto 0   / 68% auto 1fr;
   position: relative;
}

/* F1.6 */
#pun-viewforum .inew .tclcon {grid-template-columns: 72% auto 1fr;}

/* F1.7 */
#pun-searchtopics .inew .tclcon strong, #pun-viewforum .inew .tclcon strong, #pun-modviewforum .inew .tclcon strong {
  grid-area: strongnewtext;
  width: 100%;
  grid-column: 1 / -1;
  grid-row: 1;
}

/* F1.8 */
#pun-searchtopics .inew .tclcon strong, #pun-modviewforum .inew .tclcon strong {
  grid: "atopic . byuser" / auto 1fr 33%;
}

/* F1.9 */
#pun-viewforum .inew .tclcon strong {grid: "atopic . byuser" / auto 1fr 30%;}

/* F1.10 */
.tclcon h3 a, #pun-viewforum .tclcon > a, #pun-searchtopics .tclcon a, #pun-modviewforum .tclcon a {
  font-size: 1.3em;
}

/* F1.11 */
#pun-index tr, #pun-viewforum tr, #pun-searchtopics tr, #pun-modviewforum tr {
  grid-template-rows: auto;
  grid-template-columns: 54% 10% 10% 26%;
  justify-content: center;
  align-content: start;
}

/* F1.12 */
#pun-searchtopics tr {
  grid-template-columns: 50% 16% 8% 26%;
}

/* F1.13 */
#pun-modviewforum tr {
  grid-template-columns: 50% 10% 10% 26% 4%;
}

/* F1.14 */
#pun-index td.tcr {
  align-items: center;
  justify-content: start;
}

/* F1.15 */
#pun-viewforum td.tcl, #pun-searchtopics td.tcl, #pun-modviewforum td.tcl {
  grid-template-areas: "forintd";
  padding-right: 0;
}

/* F1.16 */
#pun-viewforum td.tcr, #pun-searchtopics td.tcr, #pun-modviewforum td.tcr {
  grid-template: "tcr-em tcr-a tcr-span"
	             / auto auto auto;
  align-items: center;
  justify-content: start;
}

/* F1.17 */
#pun-index td.tcr, #pun-viewforum .category td.tcr {
  grid-template:
      "tcr-em tcr-a"
      "tcr-em tcr-span"/ auto auto;
  align-content: center;
}

/* F1.18 */
#pun .punbb em.user-avatar {
  float: none;
  height: 26px;
  width: 26px;
  margin: 0 4px 0 0;
}

/* F1.19 */
#pun .punbb .user-avatar .avatar-image {
  height: 26px;
  width: 26px;
}

/* F1.20 */
#pun .punbb .user-avatar .isonline {
  top: 2px;
  right: -1px;
}

/* F1.21 */
#pun-userlist .username  {
  grid: auto / auto auto;
  align-items: center;
  justify-content:start
}

/* F1.22 */
#pun-modviewforum .tcmod {
  justify-content: center;
  font-size: 0;
}

/* F1.23 */
#pun-modviewforum .modmenu {
  position: relative;
  font-size: 0;
}

/* F1.24 */
#pun-modviewforum .modmenu input {margin-bottom: -30px;}

/* F1.25 */
input[type="checkbox"] {cursor: pointer;}

/* F2 Grid Icon + tcl. grid-area
-------------------------------------------------------------*/

/* F2.1 */
.icon {
  grid-area: icon;
  width: 100%;
}

/* F2.2 */
.tcl .icon, #pun-viewforum tr[class*='parent'] .icon {height: 28px;}

/* F2.3 */
#pun-viewforum .icon, #pun-searchtopics .icon, #pun-messages .tcl .icon, #pun-modviewforum .tcl .icon {height: 20px;}

/* F2.4 */
.tclcon {grid-area: tclcon;}

/* F2.5 */
#pun-viewforum .intd {
  grid-area: forintd;
  grid-row: 1 / -1;
  width: 100%;
}

/* F2.6 */
.acchide + a, .acchide + span + a, .acchide + span + span + a,
#pun-searchtopics .inew .tclcon strong a, #pun-viewforum .inew .tclcon strong a {
  grid-area: atopic;
  grid-row: 1;
  grid-column: 1;
}

/* F2.7 */
.byuser {
  text-align: center;
  align-self: center;
  grid-row: 1;
  grid-column: -2 / -1;
}

/* F2.8 */
#pun-viewforum .inew .tcl .byuser, #pun-searchtopics .inew .tcl .byuser {align-self: center;}

/* F2.9 */
td.tcr em {grid-area: tcr-em;}

/* F2.10 */
td.tcr a {grid-area: tcr-a;}

/* F2.11 */
td.tcr span {grid-area: tcr-span;}

/* F2.12 */
.main .tcr>a {padding-left: 20px;}

/**************************************************************
G - Страницы                                                  *
***************************************************************/

/* G1 Grid. Страницы
-------------------------------------------------------------*/

/* G1.1 */
.main {
  grid-template: "category"
                 "formal"
 "mainh1"
                 "linkst" 
                 "viewforum-before"
                 "usertable"	     
 "forum" 
 "post-form2"
 "topic"                 	 
 "profile"
 "main-title"
 "info"
 "viewforum-after"	     
	     "modmenu"         
	     "linksb"
	     "banner4"
	     "post-form" 
	     "similar-topics"
 "topic-users-in"
	     / 1fr;   
}

/* G1.2 */
#pun-index .main {
  grid-template: "index-before"
                 "mainh1"	     
	     / 1fr;   
}

/* G1.3 */
.main .linkst, .main .linksb {
  grid-template: "noindex pagelink"
	     / auto auto;
  align-items: center;
}

/* G1.4 */
#pun-viewtopic .main .linksb {
  grid-template: "noindex pagelink"
	     "s-block subscribelink" 26px
	     ". ." 14px
	     / auto auto;
}

/* G1.5 */
.post>.container {
  grid: "topicauthor topicbody"
        "topicauthor topiclinks" 30px
	    "post-container-after post-container-after" 10px
	    / 150px 1fr;
  width: 100%;
  background: linear-gradient(to right, #E6EAF0 1px, transparent 1px) transparent no-repeat 150px 100%;
}

/* G1.6 */
#pun-viewforum .modmenu .container, #pun-searchtopics .modmenu .container, #topic-modmenu .container {
  grid-template: "topic-modmenu-strong topic-modmenu-span"
  	     / 1fr 1fr;   
}

/* G1.7 */
#topic-feed .container {
  grid-template: "topic-modmenu-span" / 1fr;
  justify-items: end;
}

/* G1.8 */
.post h3 span {
  grid-template: "permalink h3strong sharelink"
	     / auto 1fr auto;
  align-items: center;	   
}

/* G1.9 */
.post-box {
  grid-template-areas: "content content" "vote rating";
  grid-template-rows: 1fr auto;
  grid-template-columns: 1fr auto;
  height: calc(100% - 1.4em);
}

/* G2 Страницы. grid-area
-------------------------------------------------------------*/

/* G2.1 */
.post-author {grid-area: topicauthor;}

/* G2.2 */
.post-body {grid-area: topicbody;padding: 7px 0 1px 0;}

/* G2.3 */
.post-links {grid-area: topiclinks;}

/* G2.4 */
.post>.container:after {grid-area: post-container-after;}

/* G2.5 */
.main:before {grid-area: viewforum-before;}

/* G2.6 */
.main:after, .modmenu {grid-area: viewforum-after;}

/* G2.7 */
#pun-index .main:before {grid-area: index-before;}

/* G2.8 */
.main h1 {grid-area: mainh1;}

/* G2.9 */
.linkst {grid-area: linkst;}

/* G2.10 */
#pun-viewforum .category {grid-area: category;}

/* G2.11 */
.forum, #pun-search .formal, #pun-online 
.main .section, #pun-poll .formal, #pun-edit #post-form,
#pun-modviewforum .main > form {
  grid-area: forum;
}

/* G2.12 */
.topic {grid-area: topic;}

/* G2.13 */
#topic-users-in {
  grid-area: topic-users-in;
  margin: 14px 0 0;
}

/* G2.14 */
#pun-viewforum .modmenu strong, #topic-modmenu strong {grid-area: topic-modmenu-strong;}

/* G2.15 */
#pun-viewforum .modmenu span, #pun-searchtopics .modmenu span, #topic-modmenu span {grid-area: topic-modmenu-span;}

/* G2.16 */
.linksb {grid-area: linksb;}

/* G2.17 */
.linksb + .section {grid-area: banner4;}

/* G2.18 */
.pagelink {grid-area: pagelink;}

/* G2.19 */
.main noindex, .postlink {
  grid-area: noindex;
  width: auto !important;
}

/* G2.20 */
.subscribelink {grid-area: subscribelink;}

/* G2.21 */
#s-block {
  grid-area: s-block;
  justify-content: flex-start !important;
  grid-row: 1 / 3;
}

/* G2.22 */
.post h3 strong {
  grid-area: h3strong;
  font-weight: normal;
  margin-right: .5em;
}

/* G2.23 */
.punbb .topic a.sharelink {
  grid-area: sharelink;
  float: none;
}

/* G2.24 */
.permalink {
  grid-area: permalink;
  padding-left: 14px;
}

/* G2.25 */
#post-form {
  grid-area: post-form;
  margin-top: 14px;
}

/* G2.26 */
#pun-post #post-form, #pun-edit #post-form {
  grid-area: post-form2;
  margin: 0 0 14px;
}

/* G2.27 */
#similar-topics {grid-area: similar-topics;}

/* G2.28 */
.post-content {
  grid-area: content;
  font-size: 1.3em;
  }

/* G2.29 */
.post-rating {grid-area: rating;}

/* G2.30 */
.post-vote {grid-area: vote;float: right;}

/* G2.31 */
#pun-userlist .formal {grid-area: formal;}

/* G2.32 */
#pun-userlist .usertable {grid-area: usertable;}

/* G3 Кнопки Новая тема, Новый опрос, Удалить переместить
-------------------------------------------------------------*/

/* G3.1 */
.postlink {
  grid-template-areas: "new-topic new-poll";
  justify-content: start;
}

/* G3.2 */
.postlink span:nth-child(1) {grid-area: new-topic;}

/* G3.3 */
.postlink span:nth-child(2) {grid-area: new-poll;}

/* G3.4 */
.postlink span, .punbb:not(.punbb-admin) .postlink a {
  display: block;
  height: 26px;
  font-size: 0;
}

/* G3.5 */
#pun-main .postlink span {padding-right: 4px;}

/* G3.6 */
.postlink span, .punbb:not(.punbb-admin) .postlink a {width: 108px;}

/* G4 Разделитель между важными и простыми темами
-------------------------------------------------------------*/

/* G4.1 */
#pun-viewforum .hasicon tr {order: 3;}

/* G4.2 */
#pun-viewforum .hasicon .isticky {order: 1;}

/* G4.3 */
#pun-viewforum .hasicon .isticky:first-child:before {
  content: 'Прикрепленные темы';
  grid-row: 1;
  grid-column: 1 / -1;
}

/* G4.5 */
#pun-viewforum .hasicon:after {
  content: 'Темы';
  order: 2;
}

/* G4.6 */
#pun-viewforum .category .hasicon:after {
  content: 'Подфорумы';
}

/* G5 Пагинатор
-------------------------------------------------------------*/

/* G5.1 */
.pagestext, .pagelink, .files-pagelink {
  grid: auto / repeat(20, auto);
  align-items: center;
}

/* G5.2 */
.adformal .pagelink {
  grid: auto / auto auto;
  justify-content: start;
}

/* G5.3 */
.adfs-box .pagelink {
  grid: auto / auto 1fr auto;
  width: 100%;
  justify-content: normal;
}

/* G5.4 */
.files-pagelink {justify-self: start;}

/* G5.5 */
.files-page-select {grid-row: 1;grid-column: -1;}

/* G5.6 */
.pagestext, .newtext {opacity: 0;}

/* G5.7 */
tr:hover .pagestext, tr:hover .newtext {opacity: 1;}

/* G5.8 */
.pagestext  {
  justify-self: start;
  margin: 0;
  grid-column: 3;
  grid-row: 1;
  height: 100%;
}

/* G5.9 */
.newtext {
  grid: auto / 0 auto 0;
  align-items: center;
  grid-column: 2;
  grid-row: 1;
  height: 100%;
}

/* G5.10 */
.bracket-left, #pun .newtext a {
  font-size: 0;
  width: 18px;
  height: 9px;
  display: block;
  z-index: 2000;
  position: relative;
}

/* G5.11 */
#pun .pagestext a, #pun .files-pagelink a:not(.next):not(.prev), .pagelink a:not(.next):not(.prev) {
  padding: 1px 2px;
  margin-left: -1px;
  font-size: 10px;
  line-height: 10px;
}

/* G5.12 */
#pun .files-pagelink a:not(.next):not(.prev) {margin-left: 1px;}

/* G5.13 */
#pun .next, #pun .prev {
  display: block;
  height: 9px;
  width: 6px;
  font-size: 0;
}

/* G5.14 */
#pun .pagelink > *:first-child {margin-left: 4px;}

/*************************************************************
H - Страница постов                                          *
**************************************************************/

/* H1 Общее
-------------------------------------------------------------*/

/* H1.1 */
.topic, #poll-special {
  display: flex;
  flex-direction: column;
}

/* H1.2 */
.topic > h2, #poll-special h2 {order: 2;}

/* H1.3 */
#poll-special  {order: 1;}

/* H1.4 */
.topic .post {order: 3;}

/* H1.5 */
.poll1 tr {
  grid: auto / auto auto auto;
  align-items: center;
  justify-content: start;
}

/* H1.6 */
.type-3 .poll1 tr {grid: auto / 1fr auto auto;}

/* H1.7 */
.poll1 td {
  grid: auto / auto 1fr;
  justify-items: start;
  align-items: center;
}

/* H1.8 */
.poll1 input {margin-right: 4px}

/* H1.9 */
.poll2 {width: 80%;}

/* H1.10 */
#poll-special td:nth-child(3) {text-align: right !important;}

/* H1.11 */
#poll-special .poll2 td h1 {
  height: 12px !important;
  padding: 0 5px;
}

/* H1.12 */
#pun-main .topic h2 {
  grid-template-columns: 150px 1fr;
  margin: 0;
  padding: 0;
}

/* H1.13 */
#pun-post #pun-main .topic h2 {
  grid-template-columns: auto;
}

/* H1.14 */
.topic h2 span {
  font-size: 0;
  display: block;
  height: 0;
  width: 0;
  padding-left: 5px;
}

/* H1.15 */
#pun-post .topic h2 span {
  font-size: 11px;
  height: inherit;
  width: inherit;
}

/* H1.16 */
.topic h2 span:before {font-size: 11px;}

/* H1.17 */
.topic h2 .item1:before {content: 'Автор';}

/* H1.18 */
.topic h2 .item2:before {content: 'Сообщение';}

/* H1.19 */
.post .container {margin: 0;}

/* H1.20 */
.post > .container:after {content: '';}

/* H1.21 */
.post h3 span {
  height: 25px;
  padding: 0 1em;
  font-size: 10px;
  margin-left: 149px;
}

/* H1.22 */
.post-author, .post-body {word-wrap: break-word;}

/* H1.23 */
.post-author ul {
  height: 100%;
  grid: repeat(100, auto) / auto;
  grid-auto-rows: minmax(max-content, 1fr);
  align-content: start;
}

/* H1.24 */
.post-author li:not(.pa-author):not(.pa-online):not(.pa-last-visit),
#pun-adnav li, #profilenav li {
  border: 1px solid #E6EAF0;
  padding: 4px 0 3px 4px;
  margin: 0 3px 2px 3px;
}

/* H1.25 */
.pa-author {margin: -1.8em 0 6px;}

/* H1.26 */
.pa-online, .pa-last-visit {
  align-items: center;
  grid-row: -1;
  align-self: end;
  height: 30px;
  border-width: 1px 0 0 1px;
}

/* H1.27 */
.post .post-author p {
  padding: 0 1em 1em 1em;
  line-height: 140%;
}

/* H1.28 */
.post-links ul {
  grid: 30px / repeat(100, auto);
  align-items: center;
  padding: 0 2px;
  border-width: 0 1px;
}

/* H1.29 */
.post-links li {grid-row: 1;}

/* H1.30 */
.pl-quote, #pun-searchposts .post-links li {grid-column: -1;}

/* H1.31 */
.pl-edit {grid-column: -2;}

/* H1.32 */
.pl-edit +.pl-edit {grid-column: -3;}

/* H1.33 */
.pl-delete {grid-column: -4;}

/* H1.34 */
.post-links li {padding-left: 2px;}

/* H1.35 */
.post-links li a, .pa-online strong, .pa-last-visit {font-size: 0;}

/* H1.36 */
.post-links a {
  display: block;
  width: 74px;
  height: 22px;
  font-size: 0;
}

/* H1.37 */
.post-links .pm a, 
.post-links .email a, 
.post-links li[class*='social']:not(.social-telegram) a, 
#pun-messages .pl-email a {
  width: 60px;
}

/* H1.38 */
.pa-online strong, .pa-last-visit span {
  display: block;
  width: 60px;
  height: 22px;
  margin: 0 auto;
}

/* H1.39 */
.post-box {padding: 0.4em 1em 1em 1em;}

/* H1.40 */
.modmenu:not(#topic-users-in) {
  z-index: 1;
  padding: 0 1em;
}

/* H1.41 */
.modmenu .container {
  height: 100%;
  align-items: center;
  padding: 0;
}

/* H1.42 */
#topic-users-in .container {
  display: flex;
  align-items: flex-start;
  flex-flow: row wrap;
  padding-left: 5px;
}

/* H1.43 */
#topic-users-in span {
  display: block;
  order: 0;
  height: 28px;
  line-height: 28px;
  width: 100%;
  padding-left: 5px;
  margin-left: -5px;
  margin-bottom: 5px;
  font-size: 1.1em;
  border-width: 0 0 1px;
}

/* H1.44 */
#topic-users-in .container a {
  margin-left: 5px;
}

/* H1.45 */
.linkst {margin: 14px 1em 0;}

/* H1.46 */
.linksb {margin: 4px 1em 0;}

/* H1.47 */
.post-sig {padding-top: 24px;}

/* H1.48 */
.post-sig dt:before {
  content: '';
  display: block;
  font-size: 0px;
  width: 120px;
  height: 6px;
  background-image: linear-gradient(to right, #000000 85%, transparent 85%);
  background-repeat: repeat-x;
  background-size: 6px 1px;
}

/* H2 Дата, номер поста, Поделиться
-------------------------------------------------------------*/

/* H2.1 */
.sharelink {
  display: inline-block;
  margin: 0 !important;
  z-index: 1;
  height: 1em;
  width: 1em;
  background-size: contain;
  padding: 2px;
  opacity: .75;
  position: relative;
  text-indent: -9999px;
}

/* H2.2 */
.sharelink:hover {opacity: 1;}

/* H2.3 */
.sharelink:before, .sharelink:after {
  position: absolute;
  visibility: hidden;
  opacity: 0;
  cursor: text;
  text-indent: 0;
}

/* H2.4 */
.sharelink:before {
  content: " ";
  display: inline-block;
  width: 0;
  height: 0;    
  bottom: -5px;
  right: 4px;
}

/* H2.5 */
.sharelink:after {
  content: "Поделиться";
  font-size: 11px;
  padding: 0 8px;
  line-height: 18px;
  border-radius: 4px;
  bottom: -23px;
  right: -5px;
  z-index: 1;
}

/* H2.6 */
.sharelink:hover:before, .sharelink:hover:after {
  visibility: visible;
  opacity: 1.0;
}

/* H3 Минипрофиль
-------------------------------------------------------------*/

/* H3.1 */
.pa-author {font-weight: bold;}

/* H3.2 */
.pa-author, .pa-title, .pa-avatar {text-align: center;}

/* H3.3 */
.pa-author {font-size: 1.1em;}

/* H3.4 */
.pa-author img {width: 1.2em;}

/* H3.5 */
.pa-title {
  padding-bottom: 0.4em;
  margin-top: 10px;
}

/* H3.6 */
.pa-respect {
  grid: auto / repeat(4, auto);
  align-items:center
}

/* H3.7 */
.pa-respect > a, .pa-respect > a:before {
 display: block;
 height: 20px;
 width: 20px;
}

/* H3.8 */
.pa-respect > a:before {
 content: '';
}

/* H4 Аватар по умолчанию
-------------------------------------------------------------*/

/* H4.1 */
.pa-avatar, #pun-viewtopic .post-author ul:before {
  grid-row: 3;
  grid-column: 1;
  min-height: 100px;
  align-items: center;
  justify-content: center;
}

/* H4.2 */
#pun-viewtopic .post-author ul:before {
  content: '';
  display: block;
  height: 100px;
  padding: 4px 0 4px 4px;
  margin: 0 3px 2px 3px;
}

/* H5 Спойлер, Код, Цитата
-------------------------------------------------------------*/

/* H5.1 */
.blockcode, blockquote {
  overflow: hidden;
}

/* H5.2 */
blockquote {padding: 5px;}

/* H5.3 */
.scrollbox {
  overflow: auto;
  padding-top: 5px;
  padding-left: 1em;
  height: auto !important;
  max-height: 35em;
}

/* H5.4 */
.quote-box, .code-box {
  margin: 0 2px 14px 6px;
}

/* H5.5 */
.quote-box cite, .code-box strong.legend {
  display: block;
  padding: 4px 8px;
  font-size: 1em;
  font-style: normal;
  z-index: 1;
}

/* H5.6 */
#pun .post-content .spoiler-box > div {padding: 4px 26px;}

/* H5.7 */
.quote-box {
  grid-template-rows: auto auto;
  grid-template-columns: auto; 
}

/* H5.8 */
.quote-box cite, .quote-box:not(.spoiler-box):before {
  grid-column: 1;
  grid-row: 1;
}

/* H5.9 */
.quote-box:not(.spoiler-box):before {
  content: '';
  display: block;
  height: 26px;
}

/* H6 Похожие темы
-------------------------------------------------------------*/

/* H6.1 */
#pun #similar-topics div.container {padding-top: 0;}

/* H6.2 */
#pun #similar-topics td {padding: 5px}

/**************************************************************
I - Форма ответа                                              *
***************************************************************/

/* I1 Общее
-------------------------------------------------------------*/

/* I1.1 */
#post {margin: 0;}

/* I1.2 */
#post fieldset {padding: 0 8px;}

/* I1.3 */
#pun #form-buttons table {
  width: 100%;
}

/* I1.4 */
#post .fs-box, #pun-profile #profile5 .fs-box.hashelp {
  grid-template: "post-longinput"                 
 "poll-inputfield1"
 "poll-inputfield2"
 "poll-inputfield3"
                 "variants"
 "form-buttons"
 "tags"
 "post-areafield"
 "post-checkfield-child2"
 "post-checkfield-child1"
 / auto;
  position: relative;
}

/* I1.5 */
#post .fs-box p {padding: 0;}

/* I1.6 */
#form-buttons {grid-area: form-buttons;}

/* I1.7 */
#post .longinput {grid-area: post-longinput;}

/* I1.8 */
#post .areafield {grid-area: post-areafield;}

/* I1.9 */
#post .checkfield:nth-last-child(2) {grid-area: post-checkfield-child2;}

/* I1.10 */
#post .checkfield:nth-last-child(1) {grid-area: post-checkfield-child1;}

/* I1.11 */
#post .checkfield {
 grid: auto / auto 1fr;
 align-content: center;
}

/* I1.12 */
#variants {grid-area: variants;}

/* I1.13 */
#pun-poll .inputfield:nth-child(7):not(.longinput) {
  grid-area: poll-inputfield1;
  margin-bottom: 14px;
}

/* I1.14 */
#pun-poll .inputfield:nth-child(8):not(.longinput) {
  grid-area: poll-inputfield2;
  margin-bottom: 14px;
}

/* I1.15 */
#pun-poll .inputfield:nth-child(9):not(.longinput) {
  grid-area: poll-inputfield3;
  margin-bottom: 14px;
}

/* I1.16 */
#variants [id*='poll-option'] {margin-bottom: 14px;}

/* I1.17 */
#pun-poll .formsubmit {margin-bottom: 10px;}

/* I1.18 */
#pun #poll-special td {border: none;}

/* I1.19 */
.tac {font-size: 1.8em;}

/* I2 ВВ-Панель
-------------------------------------------------------------*/

/* I2.1 */
#pun-main {z-index: 2 !important;}

/* I2.2 */
#tags {
  grid-area: tags;
  position: absolute;
}

/* I2.3 */
#tags > div {
  width: inherit;
  margin: 0;
}

/* I2.4 */
#tags .container {
  padding: 5px !important;
}

/* I2.5 */
#color-area td, #table-area td {
  width: 20px;
  height: 20px;
}

/* I2.6 */
#pun #tags .container {position: initial;}

/* I2.7 */
#form-buttons tr {
  grid: auto / repeat(21, 1fr);
  width: 100%;
}

/* I2.8 */
#tags {
  grid: repeat(22, fit-content(16px)) / repeat(21, 1fr);
  width: 100%;
}

/* I2.9 */
#font-area {grid-column: 1 / 4;grid-row: 1 / -1;}

/* I2.10 */
#size-area {grid-column: 2 / 4;grid-row: 1 / 12;}

/* I2.11 */
#spoiler-area {grid-column: 11 / 17;grid-row: 1 / 4;}

/* I2.12 */
#image-area {grid-column: 10 / 19;grid-row: 1 / 4;}

/* I2.13 */
#video-area {grid-column: 13 / 21;grid-row: 1 / 7;}

/* I2.14 */
#color-area {grid-column: -5 / -14;grid-row: 1 / 3;}

/* I2.15 */
#table-area {grid-column: -4 / -10;grid-row: 1 / 16;}

/* I2.16 */
#smilies-area {grid-column: -3 / -15;grid-row: 1 / 11;}

/* I2.17 */
#keyboard-area {grid-column: -2 / -14;grid-row: 1 / 12;}

/* I2.18 */
#addition-area {grid-column: -1 / -4;grid-row: 1 / -4;padding: 0 !important;}

/* I2.19 */
#pun #color-area table, #pun #table-area table {margin: 0 auto;}

/* I2.20 */
#addition-area div {padding-left: 5px;}

/* I2.21 */
#addition-area div:first-child {padding-top: 5px;}

/* I2.22 */
#font-area div {grid: 18px / auto;}

/* I2.23 */
#font-area span, #font-area img {grid-column: 1;grid-row: 1;}

/* I2.24 */
#pun #font-area span, #pun #font-area img {
  height: 18px;
  line-height: 18px;
  margin: 0;
  padding: 0
}

/* I3 Правки для ЛС и Профиля ВВ-Панели
-------------------------------------------------------------*/

/* I3.1 */
#pun-messages #font-area, #pun-profile #font-area {grid-column: 1 / 5;}

/* I3.2 */
#pun-messages #spoiler-area, #pun-profile #spoiler-area {grid-column: 11 / 19;}

/* I3.3 */
#pun-messages #color-area, #pun-profile #color-area {grid-column: -5 / -16;}

/* I3.4 */
#pun-messages #table-area, #pun-profile #table-area {grid-column: -4 / -11;}

/* I3.5 */
#pun-messages #keyboard-area, #pun-profile #keyboard-area {grid-column: -2 / -17;}

/* I3.6 */
#pun-messages #addition-area, #pun-profile #addition-area {grid-column: -1 / -5;}

/**************************************************************
J - Профиль и ЛС                                              *
***************************************************************/

/* J1 Профиль. Grid
-------------------------------------------------------------*/

/* J1.1 */
#viewprofile-next, #pun-profile #profile form, #profile10 {
  grid-template-rows: repeat(10, auto);
  margin: 0 5px;
}

/* J1.2 */
#viewprofile-next {grid-template-columns: auto auto;}

/* J1.3 */
#pun-profile #profile form, #profile10, #profile > .container {grid: repeat(10, auto) / 150px auto;}

/* J1.4 */
#profile {grid-template-columns: 155px auto;}

/* J1.5 */
#profilenav {
  grid-row: 1 / -1;
  grid-column: 1;
}

/* J1.6 */
#viewprofile-next #profilenav {width: 149px;}

/* J1.7 */
#viewprofile-next #profilenav {grid-row: 1 / -1;}

/* J1.8 */
#profile form fieldset, #profile .formsubmit, #viewprofile {grid-column: 2;}

/* J1.9 */
#profilenav ul {align-items: center;}

/* J1.10 */
#viewprofile-next #profilenav:before, #profile:before,
#viewprofile-next:after, #profile:after {
  display: block;
  font-size: 11px;
  line-height: 12px;
  grid-row: 1;
  align-self: center;
  padding: 9px 1em;
}

/* J1.11 */
#viewprofile-next #profilenav:before, #profile:before {
  content: "Профиль-меню";
  grid-column: 1;
}

/* J1.12 */
#pun-messages #profile:before {content: "ЛС-меню";}

/* J1.13 */
#viewprofile-next:after, #profile:after {
  content: "Данные";
  grid-column: 2;
}

/* J1.14 */
#profile:before {margin-left: 5px;}

/* J1.15 */
#profile:after {margin-right: 5px;}

/* J1.16 */
#profile > .container {
  grid-row: 2;
  grid-column: 1 / -1;
}

/* J1.17 */
#pun #profile10 th, #pun-messages th {padding: 7px 5px;}

/* J1.18 */
#profile-right li{
  grid: minmax(20px, auto) / minmax(120px, auto) 1fr;
  justify-items: start;
}

/* J2 Профиль. grid-area
-------------------------------------------------------------*/
#viewprofile-next, #profile {grid-area: profile;}

/* J3 Профиль. Общие настройки
-------------------------------------------------------------*/

/* J3.1 */
#pun-profile h1 {margin-bottom: auto;}

/* J3.2 */
#profilenav ul a {text-decoration: none;}

/* J3.3 */
#viewprofile .container {margin: 0;}

/* J3.4 */
#viewprofile ul {margin: 5px;}

/* J3.5 */
.punbb #viewprofile td {padding: 14px !important;}

/* J3.6 */
#profile .formsubmit {padding-bottom: 14px;}

/* J3.7 */
fieldset, #profile .select-file, #profile .adfs-box {
  padding: 0 18px 0 18px;
  margin: 0 5px 1em 5px;
}

/* J3.8 */
#profile .formsubmit {
  padding: 18px;
  margin: 0 5px 10px;
}

/* J3.9 */
#profile5 .formsubmit {margin: 0 0 10px;}

/* J3.10 */
fieldset:nth-child(2), #userlist {margin-top: 10px;}

/* J3.11 */
fieldset legend {
  margin: 0 0 0 11px;
}

/* J3.12 */
legend span, #viewprofile h2 span {
  font-variant: normal;
}

/* J3.13 */
fieldset legend span {
  padding: 0 5px;
}

/* J3.14 */
.fs-box {
  padding: 1em 0 0.8em 0;
}
 
/* J3.15 */
.fs-box p, .punbb .fs-box fieldset {
  padding: 0 0 0.8em 0
}

/* J3.16 */
.submitend {margin-top: 20px;}

/* J3.17 */
#pun-profile .pagelink {clear: both;}

/* J4 Профиль. Управление (#setmods)
-------------------------------------------------------------*/

/* J4.1 */
#setmods dl dl {
  grid-template:  "dt dd"
	      / 30% 1fr;   
}

/* J4.2 */
#setmods dt {grid-area: dt;}

/* J4.3 */
#setmods dd {grid-area: dd;}

/* J4.4 */
#setmods {margin-bottom: 0.8em;}

/* J4.5 */
#setmods dl {
  margin-bottom: 0.2em;
  height: 100%;
}

/* J4.6 */
#setmods dt, #setmods dd {padding: 1em;}

/* J4.7 */
#setmods .sub {margin: 0;}

/* J4.8 */
#setmods .sub:before {
  content: '\241A';
  font-size: 13px;
  padding-right: 4px;
}

/* J5 ЛС. Сообщения
-------------------------------------------------------------*/

/* J5.1 */
#messages {
  grid-column: 2;
  padding-top: 10px;
}

/* J5.2 */
#pun-messages .linksb {padding-bottom: 10px;}

/* J5.3 */
#notify-settings {margin: 14px 14px 0 !important;}

/* J5.4 */
#post-new {margin-top: 10px;}

/* J5.5 */
#post-new #post-form {margin-top: 0;}

/* J6 Поиск правка
-------------------------------------------------------------*/

/* J6.1 */
#pun-search .formal {padding: 10px 0;}

/* J6.2 */
#pun-searchposts .post h3 span {
  grid: auto / repeat(100, auto);
  align-items: center;
}

/* J6.3 */
#pun-searchposts .post h3 strong {grid-row: 1;}

/**************************************************************
K - Админка и Переадресация                                   *
***************************************************************/

/* K1 Grid. Админка. Grid
-------------------------------------------------------------*/

/* K1.1 */
#pun-admain {
  grid: ". adnav admain1 ." 
	    ". adnav addsubf ."
	    ". adnav linksb ." 
	    ". adnav admain2 ."
	    ". adnav pun-admain-new ."
	    ". adnav admain3 ."
	    / 5px 150px 1fr 5px;
  grid-template-rows: minmax(1px, 1fr);
}

/* K1.2 */
#pun-adnav .adcontainer div > ul > li:last-child {
  grid-template: "last-child-sup" auto
	     "last-child-a" 1fr
	     / 1fr;
}

/* K1.3 */
.punbb-admin .linksb {
  grid: "pagelink noindex" 30px
        / 1fr 1fr;
  align-items: center;
  justify-items: center;
}

/* K1.4 */
.punbb-admin .subforums {
  grid: repeat(300, auto) / auto;
}

/* K2 Админка. grid-area
-------------------------------------------------------------*/

/* K2.1 */
#pun-adnav {grid-area: adnav;}

/* K2.2 */
#pun-admain1 {grid-area: admain1;}

/* K2.3 */
#pun-admain1.addsubf {grid-area: addsubf;}

/* K2.4 */
#pun-admain2 {grid-area: admain2;}

/* K2.5 */
#pun-admain3 {grid-area: admain3;}

/* K2.6 */
#pun-admain-new {grid-area: pun-admain-new;}

/* K2.7 */
#pun-adnav .adcontainer div > ul > li:last-child a {grid-area: last-child-a;}

/* K2.8 */
#pun-adnav .adcontainer div > ul > li:last-child sup {grid-area: last-child-sup;}

/* K3 Админка. Общее
-------------------------------------------------------------*/

/* K3.1 */
.punbb .adminmain {padding-left: 0;}

/* K3.2 */
.punbb #pun-adnav {
  float: none;
  width: initial;
  margin-left: initial;
  display: initial;
  margin-right: 0;
}

/* K3.3 */
.punbb #pun-admain1 form.adcontainer, 
.punbb #pun-admain2 form.adcontainer, 
.punbb #pun-admain-new form.adcontainer, 
.punbb #pun-admain1 div.adcontainer, 
.punbb #pun-admain2 div.adcontainer {
  padding: 6px 14px 4px;
}

/* K3.4 */
#pun-adnav a {font-size: 11px;}

/* K3.5 */
.punbb #pun-adnav ul {padding: 0;}

/* K3.6 */
#pun-adnav .adcontainer li a, #profilenav a {
  display: block;
  padding: 0.3em 1em;
}

/* K3.7 */
#pun-adnav .adcontainer li.item-forms a { z-index: 1;}

/* K3.8 */
.punbb #pun-adnav li, #pun-adnav .isactive ul.adsubnav a {padding: 0;}

/* J3.9 */
#pun-adnav a:hover {margin: -1px;}

/* K3.10 */
#pun-adnav .adcontainer li.item-forms a,
#pun-admain #pun-adnav sup.new {
  grid-column: 1;
  grid-row: 1;
}

/* K3.11 */
#pun-admain #pun-adnav sup.new {padding: 6px 4px 0;}

/* K3.12 */
.punbb #pun-adnav .adsubnav {
  padding-top: 0;
  grid-row: 2
}

/* K3.13 */
#pun-adnav ul.adsubnav a:hover {margin: 0;}

/* K3.14 */
#pun-adnav .isactive ul.adsubnav li {padding-left: 10px;}

/* K3.15 */
.punbb #pun-adnav .isactive ul.adsubnav a {
  display: inline-block;
  text-decoration: none;
  border: none;
  font-size: 9px;
}

/* K3.16 */
#pun-adnav ul.adsubnav li {border: none;}

/* K3.17 */
.punbb-admin #pun-admain .pagelink, .punbb-admin #pun-admain .postlink {font-size: 10px !important;}

/* K3.18 */
.punbb #pun-admain label, .punbb div#pun-admain .adlabel {font-size: 11px;}

/* K3.19 */
.punbb #pun-admain .adlabel {
  margin-left: -16em;
  padding: 0 0 0 0.2em;
}

/* K3.20 */
#pun #pun-admain .adcontainer td {padding: 8px 4px;}

/* K3.21 */
#pun-admain .checker input {margin: 0;}

/* K3.22 */
#pun #pun-admain .tc3 {width: 8% !important;}

/* K4 Переадресация и информация
-------------------------------------------------------------*/

/* K4.1 */
.redirect-page .main:before, .redirect-page .main:after {margin: 0 !important;}

/* K4.2 */
.main .main-title {grid-area: main-title;}

/* K4.3 */
.info {grid-area: info;padding: 10px;}

/* K4.4 */
.tipsy {opacity: 1 !important;}

/* K4.5 */
.tipsy-w .tipsy-inner {max-width: 100%;}

/*************************************************************
L - Правка для рекламных баннеров                            *
**************************************************************/

#pun-main + script + .section:not(#pun-stats),
#pun-break2 + .section,
#pun-stats + .section,
.linksb + .section {
  display: flex;
  align-items: center;
  justify-content: center;	
}

/*************************************************************
M - Мобильные правки                                         *
**************************************************************/
@media screen and (max-width: 540px) {
#pun-announcement {display: none;}
}

Отредактировано kolobdur74 (Вс, 17 Окт 2021 17:25:10)

+1

3

Цвета style_cs.css

Цвета style_cs.css
Код:
@charset "Windows-1251";

/**************************************************************
***************************************************************
****************-----------------------------******************
****************-------Стиль bo2soft---------******************
****************-----------------------------******************
***************************************************************
***************************************************************
****************-----------------------------******************
****************--------Версия 1.10----------******************
****************-----------------------------******************
***************************************************************
***************************************************************
************--------------------------------------*************
************---Свёрстан и адаптирован Kolobdur----*************
************--------------------------------------*************
***************************************************************
***************************************************************
**************----------------------------------***************
**************-------Для сервиса mybb.ru--------***************
**************----------------------------------***************
***************************************************************
***************************************************************
*********************----------------**************************
*********************--STYLE_CS.CSS--**************************
*********************----------------**************************
***************************************************************
***************************************************************/

/**************************************************************
Фон и цвет текста                                             *
***************************************************************/
  
/**************************************************************
1 - Основное оформление                                       *
***************************************************************/

/* 1.1 */
body {background-color: #7EA4D4;}

/* 1.2 */
#pun-index h2, #pun-index .crumbs, .hasicon .isticky:nth-child(1):before, #pun-viewforum .hasicon:after {
  color: #006597;
}

/* 1.3 */
body, h1, h2, #pun-stats h2, #onlinelist:before, .crumbs, .crumbs em, #topic-users-in span, .tclcon h3 a, #pun-viewforum .tclcon > a, #pun-searchtopics .tclcon a, #pun-modviewforum .tclcon a {
  color: #000000;
}

/* 1.4 */
#pun-break1 {background: url(https://i.ibb.co/dck5dcy/yanlar.gif) repeat-y top left;}

/* 1.5 */
#pun-break2 {background: url(https://i.ibb.co/dck5dcy/yanlar.gif) repeat-y top right;}

/* 1.6 */
select:focus, select:hover {box-shadow: 3px 3px 10px #eee;}
 
/* 1.7 */
.button, input[type="submit"] {
  background: #F0F0F0 url(https://forumstatic.ru/files/0013/49/9f/22436.gif) repeat-x top left;
  color: #006597;
}

/* 1.8 */
.button:hover, input[type="submit"]:hover {
  background-position: bottom left;
  color: #D46400;
}
  
/* 1.9 */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
input:-webkit-autofill, 
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: #ссс;
  -webkit-box-shadow: 0 0 0px 1000px rgba(176, 224, 230, 0.1) inset;
  transition: background-color 5000s ease-in-out 0s;
  background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(0,174,255,0.04) 50%,rgba(255,255,255,0) 51%,rgba(0,174,255,0.03) 100%);  
}

/* 1.10 */
a, a:link, a:active, a:visited, .punbb #pun-admain a, .punbb #pun-adnav .isactive ul.adsubnav a, #tags span {color: #006597;}

/* 1.11 */
.isactive a, .punbb #pun-admain .isactive a {color: #FFA34F;}

/* 1.12 */
a:hover, .punbb #pun-admain a:hover, .punbb #pun-adnav .isactive ul.adsubnav a:hover, .isactive a:hover, #tags div:hover > span {color: #D46400;}

/* 1.13 */
#pun-adnav a:hover, #profilenav a:hover {
  background-color: rgba(240, 249, 255, 0.77);
  border-color: #CEE3F9;
}

/**************************************************************
2 - Меню и шапка                                              *
***************************************************************/

/* 2.1 - Шапка
-------------------------------------------------------------*/

/* 2.1.1 */
#pun-title, #pun-navlinks, #pun-ulinks {
  box-shadow: none;
}

/* 2.1.2 */
#pun-title {
  background: url(https://i.ibb.co/d2QRksq/logo-left.png) no-repeat left top,
              url(https://i.ibb.co/gM0jhS1/logo-right.png) no-repeat right top,
    	  url(https://i.ibb.co/f0ntYdp/logorta.gif) repeat-x left top;
}

/* 2.1.3 - Логотип */
.title-logo {
  background: url(https://i.ibb.co/DCnTRqG/logo.png) no-repeat 15px 21px;
}

/* 2.1.4 */
.punbb>div:not(#pun-title):not(#pun-navlinks):not(#pun-break1):not(#pun-break2):not(#pun-about):not(#pun-break4) {
  background: url(https://i.ibb.co/G77tKxt/yalark-left.png) repeat-y left,
              url(https://i.ibb.co/NKmq1YQ/yalark-right.png) repeat-y right #FBFBFB;	
}

/* 2.2 - Меню
-------------------------------------------------------------*/

/* 2.2.1 */
#pun-navlinks {
  background: url(https://i.ibb.co/k5ThhJz/musoll.gif) no-repeat top left,
              url(https://i.ibb.co/1QzgNKN/musagg.gif) no-repeat top right,
    	  url(https://i.ibb.co/JCK93RH/muort.gif) repeat-x top left #EEE;
}

/* 2.2.2 */
#pun-navlinks a {
  background: url(https://i.ibb.co/LRhgjtK/mnard.gif) no-repeat 0% -32px;
  color: #005680;
}

/* 2.2.3 */
#pun-navlinks a span, #pun-navlinks li[id*='navextra'] a:after {
  background: url(https://i.ibb.co/hKC6XvH/mnardd.gif) no-repeat 100% -32px;
}

/* 2.2.4 */
#pun-navlinks a:hover {
  background-position: 0 -5px;
}	

/* 2.2.5 */
#pun-navlinks a:hover span, #pun-navlinks li[id*='navextra'] a:after {
  background-position: 100% -5px;
}

/* 2.2.6 */
#pun-navlinks a:hover span, #pun-navlinks li[id*='navextra'] a:hover {
  color: #DD6900;
}

/* 2.3 - Иконки в меню
-------------------------------------------------------------*/

/* 2.3.1 - Главная */
#pun-navlinks a span:before,
#pun-navlinks li[id*='navextra'] a:before {
  background: url(https://forumstatic.ru/files/0013/49/9f/89140.png) no-repeat;
  background-position-x: 0;
  background-position-y: 0;
}

/* 2.3.2 - Правила */
#navrules a span:before {background-position-y: -13px;}

/* 2.3.3 - Администрирование */
#navadmin a span:before {background-position-y: -26px;}

/* 2.3.4 - Выход - Вход, Войти как Админ */
#navlogout a span:before, #navlogin a span:before, #navadminlogin a span:before {background-position-y: -39px;}

/* 2.3.5 - Регистрация */
#navregister a span:before {background-position-y: -52px;}

/* 2.3.6 - Поиск */
#navsearch a span:before {background-position-y: -65px;}

/* 2.3.7 - Пользователи */
#navuserlist a span:before {background-position-y: -78px;}

/* 2.3.8 - ЛС */
#navpm a span:before {background-position-y: -91px;}

/* 2.3.9 - Профиль */
#navprofile a span:before {background-position-y: -104px;}

/* 2.3.10 - Дополнительные пункты меню */
#pun-navlinks li[id*='navextra'] a:before {background-position-y: -117px;}

/************************************************************************
3 - Общее оформление: Строка приветствия, тело форума, статистика, низ  *
*************************************************************************/

/* 3.1 */
#pun-status .container {color: green;}

/* 3.2 */
#pun-status .container, #pun-announcement .container, tr[id*='forum'] td, .forum td, #pun #similar-topics td, #onlinelist div, .post h3, .post-author li:not(.pa-author), .post-links, #pun-adnav li, #profilenav li, #pun-online .main td, #pun-statistic .main td, #pun-userlist .main td, #pun-searchtopics .main td, .newtext, .pagestext, #poll-special {
  background: url(https://i.ibb.co/G2g52Cb/cat-big.png) repeat-x #EDF0F5;
}

/* 3.4 */
#pun-adnav ul.adsubnav li, #pun-adnav ul.adsubnav li a:hover {background: none;}

/* 3.5 */
#pun-break4 {
  background: url(https://i.ibb.co/6nhCFFn/masoll.gif) no-repeat left bottom,              
              url(https://i.ibb.co/ns9vJwP/masagg.gif) no-repeat right bottom,
    	  url(https://i.ibb.co/LCmGdS4/maort.gif) repeat-x left bottom,
              url(https://i.ibb.co/G77tKxt/yalark-left.png) repeat-y left,
              url(https://i.ibb.co/NKmq1YQ/yalark-right.png) repeat-y right #FBFBFB;;
}

/* 3.6 */
#pun-index #pun-break4 {
  background: url(https://forumstatic.ru/files/0013/49/9f/18512.png) no-repeat center top,
              url(https://i.ibb.co/6nhCFFn/masoll.gif) no-repeat left bottom,              
              url(https://i.ibb.co/ns9vJwP/masagg.gif) no-repeat right bottom,
    	  url(https://i.ibb.co/LCmGdS4/maort.gif) repeat-x left bottom,
              url(https://i.ibb.co/G77tKxt/yalark-left.png) repeat-y left,
              url(https://i.ibb.co/NKmq1YQ/yalark-right.png) repeat-y right #FBFBFB;;
}

/* 3.7 */
#pun-viewforum #pun-break4, #pun-searchtopics #pun-break4 {
  background: url(https://forumstatic.ru/files/0013/49/9f/82067.png) no-repeat center top,
              url(https://i.ibb.co/6nhCFFn/masoll.gif) no-repeat left bottom,              
              url(https://i.ibb.co/ns9vJwP/masagg.gif) no-repeat right bottom,
    	  url(https://i.ibb.co/LCmGdS4/maort.gif) repeat-x left bottom,
              url(https://i.ibb.co/G77tKxt/yalark-left.png) repeat-y left,
              url(https://i.ibb.co/NKmq1YQ/yalark-right.png) repeat-y right #FBFBFB;;
}

/* 3.8 */
#pun-stats .container {
  background: url(https://forumstatic.ru/files/0013/49/9f/53802.png) no-repeat left top,
              url(https://forumstatic.ru/files/0013/49/9f/62223.png) no-repeat right top,
              url(https://forumstatic.ru/files/0013/49/9f/34463.png) repeat-x left top;
}

/* 3.9 */
#onlinelist:after, #pun-stats .container:before {
  background: url(https://i.ibb.co/k9KfhvW/whosonline.gif) no-repeat center center;
  border-right: 2px solid #E0E7EF;
}

/* 3.10 */
#pun-about {
  background: url(https://i.ibb.co/S5btM9s/footer-left.png) no-repeat left top,
              url(https://i.ibb.co/y5cDrv4/footer-right.png) no-repeat right top,
    	  url(https://i.ibb.co/DbPkrCw/footer-center.png) repeat-x left top;
}

/**************************************************************
4 - Частное оформление                                        *
***************************************************************/

/* 4.1 - Оформляем заставку 
-------------------------------------------------------------*/

/* 4.1.1 */
#pun-index #pun-main h1, #pun-viewforum .category thead,
#pun-viewforum .forum thead, #pun-searchtopics thead,
#pun-modviewforum thead,
.topic h2, .punbb-admin #pun-admain h2,
#viewprofile-next #profilenav:before, #profile:before,
#viewprofile-next:after, #profile:after, #pun-online th, 
#pun-statistic th, #pun-userlist th, #pun #profile10 th,
#pun-messages th, .punbb #pun-admain .adcontainer th {
  color: #FFF;
}

/* 4.1.2 */
.main:before, .main:after, #form-buttons, #pun-viewforum .category:before, #mod-options,
#pun-statistic .main .container:before, #pun-statistic .main .container:after, #poll-special h2,
#pun-userlist .formal:before, #pun-userlist .formal:after {
  background: #FFF url(https://i.ibb.co/sjg3Y9j/cat-mini3.jpg) repeat;
}

/* 4.1.3 */
#pun-index #pun-main h1, #pun-viewforum .category thead {
  background: url(https://i.ibb.co/F5vcvgL/maort.gif) repeat-y 54% 0, 
              url(https://i.ibb.co/F5vcvgL/maort.gif) repeat-y 64% 0, 
              url(https://i.ibb.co/F5vcvgL/maort.gif) repeat-y calc(74% + 2px) 0, 
              url(https://i.ibb.co/HF69GH1/cellpic4.jpg) #8EA1BC;
}

/* 4.1.4 */
.punbb:not(#pun-index) #pun-main h1, .tac {color: #006597;}

/* 4.1.5 */
#pun-viewforum .forum thead {
  background: url(https://i.ibb.co/F5vcvgL/maort.gif) repeat-y calc(4em + 304px) 0,
              url(https://i.ibb.co/F5vcvgL/maort.gif) repeat-y 54% 0, 
              url(https://i.ibb.co/F5vcvgL/maort.gif) repeat-y 64% 0, 
              url(https://i.ibb.co/F5vcvgL/maort.gif) repeat-y calc(74% + 2px) 0, 
              url(https://i.ibb.co/HF69GH1/cellpic4.jpg) #8EA1BC;
}

/* 4.1.6 */
#pun-searchtopics thead {
  background: url(https://i.ibb.co/F5vcvgL/maort.gif) repeat-y calc(35% + 4px) 0,
              url(https://i.ibb.co/F5vcvgL/maort.gif) repeat-y 50% 0, 
              url(https://i.ibb.co/F5vcvgL/maort.gif) repeat-y 66% 0, 
              url(https://i.ibb.co/F5vcvgL/maort.gif) repeat-y calc(74% + 2px) 0, 
              url(https://i.ibb.co/HF69GH1/cellpic4.jpg) #8EA1BC;
}

/* 4.1.7 */
#pun-modviewforum thead {
  background: url(https://i.ibb.co/F5vcvgL/maort.gif) repeat-y calc(35% + 4px) 0,
              url(https://i.ibb.co/F5vcvgL/maort.gif) repeat-y 50% 0, 
              url(https://i.ibb.co/F5vcvgL/maort.gif) repeat-y 60% 0, 
              url(https://i.ibb.co/F5vcvgL/maort.gif) repeat-y 70% 0,
              url(https://forumstatic.ru/files/0013/49/9f/25991.png) no-repeat 99% center,
              url(https://i.ibb.co/F5vcvgL/maort.gif) repeat-y calc(96% + 1px) 0,
              url(https://i.ibb.co/HF69GH1/cellpic4.jpg) #8EA1BC;
}

/* 4.1.8 */
.topic h2 {
  background: url(https://i.ibb.co/F5vcvgL/maort.gif) repeat-y 149px 0, 
              url(https://i.ibb.co/HF69GH1/cellpic4.jpg) #8EA1BC;
}

/* 4.1.9 */
.punbb-admin #pun-admain h2, #viewprofile-next #profilenav:before, #profile:before, #viewprofile-next:after, #profile:after, #pun-post .topic h2, #pun-online thead, #pun-statistic thead, #pun-userlist thead {
  background: url(https://i.ibb.co/HF69GH1/cellpic4.jpg) #8EA1BC;
}

/* 4.2 - Оформляем заставку 
-------------------------------------------------------------*/

/* 4.2.1 */
h2, .crumbs, #onlinelist:before, .hasicon .isticky:nth-child(1):before, #pun-viewforum .hasicon:after, #topic-users-in span {
  background: white url(https://i.ibb.co/9rfv8S0/cat-mini4.jpg) repeat-x scroll top left;
}

/* 4.2.2 */
#pun-index #pun-main td.tcl, #pun-viewforum #pun-main .category td.tcl {
  background: url(https://i.ibb.co/jLvpmqr/dividing-icons.png) repeat-y calc(4em + 3px) 0,
              url(https://i.ibb.co/G2g52Cb/cat-big.png) repeat-x #EDF0F5;
}

/* 4.2.3 */
#pun-viewforum #pun-main .forum td.tcl {
  background: url(https://i.ibb.co/jLvpmqr/dividing-icons.png) repeat-y calc(4em + 304px) 0,
              url(https://i.ibb.co/jLvpmqr/dividing-icons.png) repeat-y calc(4em + 3px) 0,
              url(https://i.ibb.co/G2g52Cb/cat-big.png) repeat-x #EDF0F5;
}

/* 4.2.4 */
#pun-searchtopics #pun-main td.tcl, #pun-modviewforum #pun-main td.tcl{
  background: url(https://i.ibb.co/jLvpmqr/dividing-icons.png) repeat-y calc(70% + 4px) 0,
              url(https://i.ibb.co/jLvpmqr/dividing-icons.png) repeat-y calc(4em + 3px) 0,
              url(https://i.ibb.co/G2g52Cb/cat-big.png) repeat-x #EDF0F5;
}

/* 4.2.5 */
.main .tcr>a, .bracket-left {
  background: url(https://forumstatic.ru/files/0013/49/9f/96135.gif) no-repeat left center;
}

/* 4.2.6 */
.main .inew .tcr>a, #pun .newtext a {
  background: url(https://forumstatic.ru/files/0013/49/9f/72899.gif) no-repeat left center;
}

/* 4.2.7 */
.inew .bracket-left {background: none;}

/* 4.2.8 */
textarea,
.button, input[type="submit"], .code-box, .scrollbox, .quote-box, input[type="text"], input[type="password"], #profilenav ul, #pun-announcement .container, #pun-status .container, .main:before, .main:after, #pun-main h2, #pun-stats h2, .crumbs, .hasicon .isticky:nth-child(1):before, #pun-viewforum .hasicon:after, #onlinelist div, #onlinelist:before, .topic, .modmenu, #pun-statistic th, #pun-userlist th, #filetable th, #pun .punbb select, .adcontainer div > ul > li, .punbb-admin #pun-admain fieldset, .punbb #pun-adnav, .punbb .adformal, #form-buttons tr, #pun-viewforum .category:before, #topic-users-in .container, #topic-users-in span, #pun-statistic .main .container:before, #pun-statistic .main .container:after, #pun-userlist .formal:before, #pun-userlist .formal:after {
  border-color: #E0E7EF;
}

/* 4.2.9 */
textarea:focus {border-color: #CFCFCF;}

/* 4.2.10 */
.punbb #pun-admain h2, #viewprofile-next:before, #profile:before, #viewprofile-next:after, #profile:after, #pun #profile10 th, #pun-messages th, .punbb #pun-admain .adcontainer th {
  border-color: #fff;
}

/* 4.2.11 */
legend span, #viewprofile h2 span, #post-new legend strong, #setmods .sub:before {
  color: #005EAB;
}

/**************************************************************
5 - Иконки, кнопки и т.п.                                     *
***************************************************************/

/* 5.1 - Иконки Главная и подфорумы
-------------------------------------------------------------*/

/* 5.1.1 */
.tcl .icon, #pun-viewforum tr[class*='parent'] .icon {
  background-image: url(https://forumstatic.ru/files/0013/49/9f/18453.png);
  background-position-x: 4px;
  }
  
/* 5.1.2 */
.icon {background-position-y: 0;}
  
/* 5.1.3 */
.inew .icon {background-position-y: -28px;}

/* 5.1.4 */
tr[class*='parent'] .icon, #pun-viewforum tr[class*='parent'] .icon {
  background-position-y: -56px;
}

/* 5.1.5 */
tr[class*='parent'] .inew .icon, #pun-viewforum tr[class*='parent'] .inew .icon {
  background-position-y: -84px;
}

/* 5.2 - Иконки Тема
-------------------------------------------------------------*/

/* 5.2.1 - Старое сообщенние */
#pun-viewforum .icon, #pun-searchtopics .icon, #pun-modviewforum .icon, #pun-messages .tcl .icon {
  background-image: url(https://forumstatic.ru/files/0013/49/9f/73462.png);
  background-position-x: 4px;
  background-position-y: 0;
  }
  
/* 5.2.2 - Новое сообщение */
#pun-viewforum .inew .icon, #pun-searchtopics .inew .icon, #pun-modviewforum .inew .icon, #pun-messages .inew .tcl .icon {
  background-position-y: -20px;
  }

/* 5.2.3 - Выделеннная тема */
#pun-viewforum .isticky .icon, #pun-searchtopics .isticky .icon, #pun-modviewforum .isticky .icon {
  background-position-y: -40px;
  }
 
/* 5.2.4 - Выделенная тема Новое сообщение */
#pun-viewforum .inew.isticky .icon, #pun-searchtopics .inew.isticky .icon, #pun-modviewforum .inew.isticky .icon {
  background-position-y: -60px;
  }

/* 5.2.5 - Выделенная закрытая тема */
#pun-viewforum .iclosed.isticky .icon, #pun-searchtopics .iclosed.isticky .icon, #pun-modviewforum .iclosed.isticky .icon {
  background-position-y: -80px;
  }

/* 5.2.6 - Выделенная закрытая тема Новое сообщение */
#pun-viewforum .inew.iclosed.isticky .icon, #pun-searchtopics .inew.iclosed.isticky .icon, #pun-modviewforum .inew.iclosed.isticky .icon {
  background-position-y: -100px;
  }

/* 5.2.7 - Закрытая тема */
#pun-viewforum .iclosed .icon, #pun-searchtopics .iclosed .icon, #pun-modviewforum .iclosed .icon {
  background-position-y: -120px;
  }

/* 5.2.8 - Закрытая тема Новое сообщение */
#pun-viewforum .inew.iclosed .icon, #pun-searchtopics .inew.iclosed .icon, #pun-modviewforum .inew.iclosed .icon {
  background-position-y: -140px;
  }
  
/* 5.2.9 - Перенесенная тема */
#pun-viewforum .iredirect .icon, #pun-searchtopics .iredirect .icon, #pun-modviewforum .iredirect .icon {
  background-position-y: -160px;
  }
  
/* 5.2.10 - Опрос Старое сообщение */
#pun-viewforum .poll .icon, #pun-searchtopics .poll .icon, #pun-modviewforum .poll .icon {
  background-position-y: -180px;
  }
  
/* 5.2.11 - Опрос Новое сообщение */
#pun-viewforum .poll.inew .icon, #pun-searchtopics .poll.inew .icon, #pun-modviewforum .poll.inew .icon {
  background-position-y: -200px;
  }
  
/* 5.2.12 - Опрос Выделенная тема Старое сообщение */
#pun-viewforum .poll.isticky .icon, #pun-searchtopics .poll.isticky .icon, #pun-modviewforum .poll.isticky .icon {
  background-position-y: -220px;
  }
  
/* 5.2.13 - Опрос Выделенная тема Новое сообщение */
#pun-viewforum .poll.isticky.inew .icon, #pun-searchtopics .poll.isticky.inew .icon, #pun-modviewforum .poll.isticky.inew .icon {
  background-position-y: -240px;
  }
  
/* 5.2.14 - Опрос Выделенная закрытая тема Старое сообщение */
#pun-viewforum .poll.isticky.iclosed .icon, #pun-searchtopics .poll.isticky.iclosed .icon, #pun-modviewforum .poll.isticky.iclosed .icon {
  background-position-y: -260px;
  }
  
/* 5.2.15 - Опрос Выделенная закрытая тема Новое сообщение */
#pun-viewforum .poll.isticky.inew.iclosed .icon, #pun-searchtopics .poll.isticky.inew.iclosed .icon, #pun-modviewforum .poll.isticky.inew.iclosed .icon {
  background-position-y: -280px;
  }
  
/* 5.2.16 - Опрос Закрытая тема Старое сообщение */
#pun-viewforum .poll.iclosed .icon, #pun-searchtopics .poll.iclosed .icon, #pun-modviewforum .poll.iclosed .icon {
  background-position-y: -300px;
  }
  
/* 5.2.17 - Опрос Закрытая тема Новое сообщение */
#pun-viewforum .poll.inew.iclosed .icon, #pun-searchtopics .poll.inew.iclosed .icon, #pun-modviewforum .poll.inew.iclosed .icon {
  background-position-y: -320px;
  }

/* 5.2.18 */
td, #pun-online th, #pun-statistic th, #pun-userlist th, #pun #similar-topics td, fieldset, #viewprofile ul, #profilenav, #viewprofile-next, #profile form, #profile10, .punbb .post h3 span, .post-links ul, .post-links, .usertable table, .post h3, .post-author, .post-body, .pa-online, .pa-last-visit, .punbb #pun-admain .adcontainer td {
  border-color: #E6EAF0;
}

/* 5.3 - Пагинатор
-------------------------------------------------------------*/

/* 5.3.1 */
#pun .pagestext a, .files-pagelink a:not(.next):not(.prev), .pagelink a:not(.next):not(.prev) {
  background: #FAFAFA;
  color: #146EAE;
  border: 1px solid #C2CFDF;
}

/* 5.3.2 */
#pun .pagestext a:hover, .files-pagelink a:hover, .pagelink a:not(.next):not(.prev):hover {
  background: #FFDB91;
  color: #036;
}

/* 5.3.4 */
#pun .next, #pun .prev {background: url(https://forumstatic.ru/files/0013/49/9f/49459.png) no-repeat 0 0;}

/* 5.3.5 */
#pun .next {background-position: -6px 0;}

/* 5.3.6 */
#pun .next:hover {background-position: -6px -9px;}

/* 5.3.7 */
#pun .prev:hover {background-position: 0 -9px;}

/* 5.4 - Новая тема, Новый опрос, Удаление и перенос, Ответить, тема закрыта
-------------------------------------------------------------*/

/* 5.4.1 - Новая тема */
.postlink a, .postlink .closed {
  background: url(https://forumstatic.ru/files/0013/49/9f/60649.png) no-repeat;
  background-position: 0 0;
}

/* 5.4.2 - Новая тема при наведении*/
.new-topic a:hover {
  background-position: 0 -26px;
}

/* 5.4.3 - Новый опрос */
.new-poll a {
  background-position: -108px 0;
}

/* 5.4.4 - Новый опрос при наведении*/
.new-poll a:hover {
  background-position: -108px -26px;  
}

/* 5.4.5 - Ответить */
#pun-viewtopic .postlink a {
  background-position: -216px 0;
}

/* 5.4.6 - Ответить при наведении */
#pun-viewtopic .postlink a:hover {
  background-position: -216px -26px;
}

/* 5.4.7 - Тема закрыта */
.postlink .closed {
  background-position: -324px 0;
}

/* 5.4.8 - Тема закрыта */
.postlink .closed:hover {
  background-position: -324px -26px;
}

/* 5.5 - Пост
-------------------------------------------------------------*/

/* 5.5.1 */
.post, #pun-adnav, .adformal, #viewprofile-next, #profile form:not(#post) {background-color: #F7F9FB;}

/* 5.5.2 */
.post h3 span {border-left: 1px solid #E6EAF0;}

/* 5.5.3 */
.post h3 span, .post h3, #setmods dl, .code-box, .quote-box {color: #333;}

/* 5.5.4 */
.post>.container:after {background: url(https://i.ibb.co/QDMk1nj/set.gif) repeat-x;}

/* 5.6 - Минипрофиль респект
-------------------------------------------------------------*/

/* 5.6.1 - Плюс */
.pa-respect > a[href*='v=1']:before {
  background: url(https://forumstatic.ru/files/0013/49/9f/27102.gif) no-repeat 0 0;
}

/* 5.6.2 - Минус */
.pa-respect > a[href*='v=0']:before {
  background: url(https://forumstatic.ru/files/0013/49/9f/60905.gif) no-repeat 0 0;
}

/* 5.6.3 - Плюс-Минус при наведении */
.pa-respect > a:hover:before {
  background-position-y: -20px;
}

/* 5.7 - Иконки Пост
-------------------------------------------------------------*/

/* 5.7.1 - Профиль */
.post-links a, .pa-online strong, .pa-last-visit span {
  background-image: url(https://forumstatic.ru/files/0013/49/9f/89639.png);
  background-position: 0 0;
}

/* 5.7.2 - Профиль hover */
.profile a:hover {
  background-position: 0 -22px;
}

/* 5.7.3 - Удалить */
.pl-delete a {
  background-position: -74px 0;
}

/* 5.7.4 - Удалить hover */
.pl-delete a:hover {
  background-position: -74px -22px;
}

/* 5.7.5 - Правка */
.pl-edit a {
  background-position: -148px 0;
}

/* 5.7.6 - Правка hover */
.pl-edit a:hover {
  background-position: -148px -22px;
}

/* 5.7.7 - Цитата */
.pl-quote a {
  background-position: -222px 0;
}

/* 5.7.8 - Цитата hover */
.pl-quote a:hover {
  background-position: -222px -22px;
}

/* 5.7.9 - Telegram */
.social-telegram a {
  background-position: -296px 0;
}

/* 5.7.10 - Telegram hover */
.social-telegram a:hover {
  background-position: -296px -22px;
}

/* 5.7.11 - ЛС */
.pm a {
  background-position: -370px 0;
}

/* 5.7.12 - ЛС hover */
.pm a:hover {
  background-position: -370px -22px;  
}

/* 5.7.13 - e-mail */
.email a, #pun-messages .pl-email a {
  background-position: -430px 0;
}

/* 5.7.14 - e-mail hover */
.email a:hover, #pun-messages .pl-email a:hover {
  background-position: -430px -22px;
}

/* 5.7.15 - ВК */
.social-vk a {
  background-position: -490px 0;
}

/* 5.7.16 - ВК hover */
.social-vk a:hover {
  background-position: -490px -22px;
}

/* 5.7.17 - Skype */
.social-skype a {
  background-position: -550px 0;
}

/* 5.7.18 - Skype hover */
.social-skype a:hover {
  background-position: -550px -22px;
}

/* 5.7.19 - Онлайн */
.pa-online strong {
  background-position: -610px 0;
}

/* 5.7.20 - Офлайн */
.pa-last-visit span {
  background-position: -610px -22px;   
}

/* 5.7.21 - Поиск Перейти к теме */
#pun-searchposts .post-links a {
  background-position: -670px 0;
}

/* 5.7.22 - Поиск Перейти к теме hover */
#pun-searchposts .post-links a:hover {
  background-position: -670px -22px;
}

/* 5.7.23 - Вебсайт */
.pl-website a {
  background-position: -744px 0;
}

/* 5.7.24 - Вебсайт hover */
.pl-website a:hover {
  background-position: -744px -22px;
}

/* 5.7.25 - Правка опроса */
.pl-edit + .pl-edit a {
  background-position: -818px 0;
}

/* 5.7.26 - Правка опроса hover */
.pl-edit + .pl-edit a:hover {
  background-position: -818px -22px;
}

/* 5.7.27 - Ответить */
.pl-reply a {
  background-position: -892px 0;
}

/* 5.7.28 - Ответить hover */
.pl-reply a:hover {
  background-position: -892px -22px;
}

/* 5.7.29 - Отменить сообщение */
.pl a {
  background-position: -966px 0;
}

/* 5.7.30 - Отменить сообщение hover */
.pl a:hover {
  background-position: -966px -22px;
}

/* 5.8 - Поделиться и правки на подсказки
-------------------------------------------------------------*/

/* 5.8.1 */
.permalink {background: url(https://forumstatic.ru/files/0013/49/9f/97102.gif) left center;}

/* 5.8.2 */
.sharelink {background: url(https://forumstatic.ru/files/0013/49/9f/22934.png) center center;}

/* 5.8.3 */
.sharelink:before, .tipsy .tipsy-arrow {border-color: transparent transparent #4E79A6 transparent;}

/* 5.8.4 */
.sharelink:after, .tipsy .tipsy-inner {
  background: #4E79A6;
  color: #FBFBFB;
}

/* 5.8.5 */
.tipsy.tipsy-w .tipsy-arrow {border-color: transparent #4E79A6 transparent transparent;}

/* 5.8.6 */
.tipsy.tipsy-se .tipsy-arrow {border-color: #4E79A6 transparent transparent transparent;}

/* 5.8.7 */
.tipsy.tipsy-e .tipsy-arrow {border-color: transparent transparent transparent #4E79A6;}

/* 5.9 - Аватар по умолчанию
-------------------------------------------------------------*/

/* 5.9.1 */
#pun-viewtopic .post-author ul:before {
  background: url(https://forumstatic.ru/files/0013/49/9f/65269.gif) center center no-repeat,
              url(https://i.ibb.co/G2g52Cb/cat-big.png) repeat-x #EDF0F5;
  border: 1px solid #E6EAF0;
}

/* 5.10 - Спойлер, Код, Цитата
-------------------------------------------------------------*/

/* 5.10.1 */
.quote-box cite, .code-box strong.legend, .spoiler-box > div, .legend a {
  color: #FBFBFB;
}

/* 5.10.2 */
.quote-box cite, .quote-box:not(.spoiler-box):before {
  background: #4E79A6 url(https://i.ibb.co/nwN2WJ7/bbcode-quote.gif) no-repeat 100% 50%;
}

/* 5.10.3 */
.code-box strong.legend {
  background: #008080 url(https://i.ibb.co/mc1WH01/bbcode-code.gif) no-repeat 100% 50%;
}

/* 5.10.4 */
#pun .post-content .spoiler-box > div {
  background: url(/img/plus.png) no-repeat 10px center, 
              url(https://i.ibb.co/nwN2WJ7/bbcode-quote.gif) no-repeat 100% 50% #4E79A6;
}

/* 5.10.5 */
#pun .post-content .spoiler-box > div.visible {
  background: url(/img/minus.png) no-repeat 10px center, 
              url(https://i.ibb.co/nwN2WJ7/bbcode-quote.gif) no-repeat 100% 50% #4E79A6;;
}

/* 5.10.6 */
.code-box, .scrollbox, .quote-box {background-color: #FAFAFA;}

/* 5.10.7 */
.scrollbox {color: #006600;}

/* 5.10.8 */
.quote-box {color: #4B5C77;}

/* 5.10.9 */
.code-box {color: #006600;}

/* 5.11 - ВВ-панель
-------------------------------------------------------------*/

/* 5.11.1 */
#tags .container {
  background-color: #F7F9FB;
  border: 1px solid #E6EAF0;
}

/* 5.11.2 */
#pun #table-area td.selected, #keyboard-area input:hover {
  background: #c8c8ff url(https://i.ibb.co/9rfv8S0/cat-mini4.jpg) repeat-x scroll top left;
}

/* 5.12 - Опрос
-------------------------------------------------------------*/
#poll-special .poll2 td h1 {
  background: url(https://forumstatic.ru/files/0013/49/9f/86709.gif) no-repeat left center,
              url(https://forumstatic.ru/files/0013/49/9f/20470.gif) no-repeat right center,
              url(https://forumstatic.ru/files/0013/49/9f/20126.gif) repeat-x !important;
}

/* 5.13 - Профиль загрузки и ЛС
-------------------------------------------------------------*/

/* 5.13.1 */
#pun #profile10 th, .punbb #pun-admain .adcontainer th {
  background: url(https://i.ibb.co/HF69GH1/cellpic4.jpg) #8EA1BC;
}

/* 5.13.2 */
#pun-messages th {background: url(https://i.ibb.co/HF69GH1/cellpic4.jpg) #8EA1BC;}

/* 5.14 - Background no-repeat
-------------------------------------------------------------*/
.post-links a, .icon,
.statscon .container:before, 
.sharelink, .scrollbox, .permalink {
  background-repeat: no-repeat;
}

/* 5.15 - Хлебные крошки
-------------------------------------------------------------*/
.crumbs em, .subforums em, #pun-searchposts em {background: url(https://forumstatic.ru/files/0013/49/9f/17021.gif) no-repeat;}

/* 5.16 - Непрочитанные сообщения
-------------------------------------------------------------*/

/* 5.16.1 */
#pun .icon[data-new-topics]:before, 
#pun .subforums span[data-new-topics]:before, 
#pun span.num_msg, #pun span.num_msg:before {
  background: #fa532e;
}

/* 5.16.2 */
.styl1 {background: url(hhttps://i.ibb.co/HF69GH1/cellpic4.jpg);}

/* 5.16.3 */
.jGrowl .messag_theme {background: #4E79A6 !important;}

/* 5.16.4 */
.jGrowl-notification .jGrowl-close, .styl1 {color: #fff !important;}

/* 5.17 - Админка
-------------------------------------------------------------*/
.punbb #pun-admain fieldset .handle, .punbb #pun-admain fieldset p, 
#profile fieldset, #profile .select-file, #profile .adfs-box, #profile .formsubmit, #viewprofile ul  {
  border-color: #EDF0F5;
  background: url(https://i.ibb.co/G2g52Cb/cat-big.png) repeat-x #EDF0F5;
}

/* 5.18 - Цветовыделение ников по группам с помощью CSS
-------------------------------------------------------------*/
 
/* 5.18.1 - Группа 1 */
div[data-group-id="1"] li.pa-author>a, .group1 .username a, a.group1, .group1 #profile-name {color: #AA0000;}

/* 5.18.2 - Группа 2 */
div[data-group-id="2"] li.pa-author>a, .group2 .username a, a.group2, .group2 #profile-name {color: #0033FF;}

/* 5.18.3 - Группа 3 */
div[data-group-id="3"] li.pa-author>a, .group3 .username a, a.group3, .group .username, .group3 #profile-name {color: #006600;}

/**************************************************************
6 - Шрифт                                       *
***************************************************************/

/* 6.1 - Lucida Grande */
@font-face{
font-family: 'Lucida Grande';
  src: url('/files/0013/49/9f/99861.ttf') format('truetype'),
  font-weight: normal;  
  font-style: normal;
  font-display: swap;
}

/* 6.2 - Lucida Grande Bold */
@font-face {
  font-family: 'Lucida Grande Bold';
  font-style: normal;
  font-weight: 400;
  src: url('https://forumstatic.ru/files/0013/49/9f/98964.ttf') format('truetype');
  font-display: swap;
}

/* 6.3 - Trebuchet MS */
@font-face {
  font-family: 'Trebuchet MS';
  src: url('https://forumstatic.ru/files/0013/49/9f/69979.eot');
  src: url('https://forumstatic.ru/files/0013/49/9f/69979.eot?#iefix') format('embedded-opentype'),
  url('https://forumstatic.ru/files/0013/49/9f/41751.woff') format('woff'),
  url('https://forumstatic.ru/files/0013/49/9f/80472.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

Отредактировано kolobdur74 (Вс, 17 Окт 2021 17:26:06)

+1

4

Правка для закладок

Правка для закладок

Ставить НТМЛ верх

Код:
<!--- Правка для закладок --->
<style>
/* 1 */
.editBookmark .container {margin-top: -5px !important;}

/* 2 */
#pun-main .editBookmark h1 {padding: .3em 1em .5em .4em !important;}

/* 3 */
.punbb .main .editBookmark h1 span:first-child {
  position: relative;
  top: 2px;
  left: 6px;
}

/* 4 */
#MyBookmarks {z-index: 9999 !important;}

/* 5 */
#BookmCntToggle {
  background: url(../../img/Community_Blue/bookmark.png) center center no-repeat !important;
  width: 27px !important; 
  height: 26px !important;
  opacity: 1 !important;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 0 6px rgba(0,0,0,.2);
}

/* 6 */
#BookmCntToggle:hover {opacity: .78 !important;}

/* 7 */
.punbb .main #MyBookmarks h2,
.punbb .main #MyBookmarks h1,
.editBookmark h1 {
  padding: 6px 10px 8px 6px !important;
  background: #4A7EB3 !important;
  color: #fff !important;
  margin: 0 !important;
  border-bottom: none 0 transparent !important;
}
  
/* 8 */
.punbb .main #MyBookmarks h2 {border: 0 !important}

/* 9 */
#MyBookmarks h2 span,
#MyBookmarks h1 span,
.editBookmark h1 span {
  margin-top: 3px;
}

/* 10 */
#MyBookmarks h1 span {
  font-size: 1.3em !important;
}

/* 11 */
#MyBookmarks h2 span {
  font-size: 18px !important;
  line-height: 18px;
}

/* 12 */
.editBookmark h1 span {font-size: 0.8em !important;}

/* 13 */
#MyBookmarks h2 strong,
#MyBookmarks h1 strong {
  font: normal normal 700 18px/normal "Lucida Grande Bold", "Lucida Grande", "Trebuchet MS", Verdana, sans-serif;
  letter-spacing: -1px;
  position: absolute;
  margin: 0 0 0 2px !important;
}

/* 14 */
#MyBookmarks li span strong {font-size: 14px !important;}

/* 15 */
#MyBookmarks center {
  font-family: Verdana;
  padding-top: 5px !important;
}

/* 16 */
#MyBookmarks em a, #MyBookmarks em a:hover {
  color: #fafafa !important;
  opacity: 1.0 !important;
}

/* 17 */
li.BookmarkL {border-bottom-color: #e0e0e0 !important;}

/* 18 */
#MyBookmarks .container {
  background-color: #fafafa!important;
  margin: 0;
}

/* 19 */
#MyBookmarks li.BookmarkL>span em {background: #4E79A6 !important;}

/* 20 */
#MyBookmarks li.BookmarkL em.e1:before {border-color: transparent #4E79A6 transparent transparent !important;}

/* 21 */
@media screen and (max-width:540px){
  #MyBookmarks h2, #MyBookmarks h2>span,#MyBookmarks h1,#MyBookmarks h1 >span{
    font-size: 17px !important;
    }

  #MyBookmarks #bm2 {
    font-size: 12px !important;
    margin-top: 5px !important;
    }
}
</style>

Или короткий вариант:

Код:
<!--- Правка для закладок --->
<link rel="stylesheet" type="text/css" href="https://forumstatic.ru/files/0013/49/9f/20553.css">

+1

5

Давно хотел поставить этот стиль. сейчас тестирую на тестовом
https://qwertyuio.mybb.ru/

+1

6

BatyrJ написал(а):

Давно хотел поставить этот стиль. сейчас тестирую на тестовом

Пишите об обнаруженных багах и пожелания.. В ближайшем будущем еще немного поправлю - обнаружил косяк в полях профиля при создании полей.. Так же в планах скрипт: кнопка для увеличения ширины форума и размера шрифта...

0

7

например, подфорумы
https://forumupload.ru/uploads/0000/14/1c/37670/t739190.png

+1

8

еще легенда групп

https://forumupload.ru/uploads/0000/14/1c/37670/t804310.png
http://qwertyuio.mybb.ru

Отредактировано BatyrJ (Пт, 15 Окт 2021 15:36:13)

+1

9

еще не видно поле для ввода
https://forumupload.ru/uploads/0000/14/1c/37670/t622349.png
https://forumupload.ru/uploads/0000/14/1c/37670/t613244.png
может это только у меня... может экран яркий...

Отредактировано BatyrJ (Пт, 15 Окт 2021 15:48:26)

+1

10

BatyrJ написал(а):

например, подфорумы

Обновил скрипт подфорумов - вроде не косячит..

+1

11

BatyrJ написал(а):

еще легенда групп

Добавил скрипт легенды и цветовыделения групп: https://kolobdur.mybb.ru/viewtopic.php?id=37#p73 .. Сделал в виде ссылок, при нажатии которых переход на результаты поиска пользователей группы..

Стороннее убрать.. Стиль bo2Soft обновить обязательно на текущий - я там правки добавил, в том числе и для легенды..

Отредактировано kolobdur74 (Вс, 17 Окт 2021 17:33:26)

0

12

kolobdur74 написал(а):

Добавил скрипт легенды и цветовыделения групп:

wonderfull!
а как насчет мобильного стилья?

0

13

BatyrJ написал(а):

а как насчет мобильного стилья?

Пока только в планах.. На ближайшее будущее - это кнопка расширения форума и увеличения шрифта, она в принципе уже есть, надо кое что поправить в стиле.. Адаптированный вариант топ 10.. И может слайдер.. Слайдер Ромыча не подходит - слишком большой и навороченный..

Отредактировано kolobdur74 (Пн, 18 Окт 2021 17:09:18)

+1

14

kolobdur74 написал(а):
BatyrJ написал(а):

а как насчет мобильного стилья?

Пока только в планах.. На ближайшее будущее - это кнопка расширения форума и увеличения шрифта, она в принципе уже есть, надо кое что поправить в стиле.. Адаптированный вариант топ 10.. И может слайдер.. Слайдер Ромыча не подходит - слишком большой и навороченный..

Приветствую...
Насчет слайда от Ромыча.
В моем случае я вырезал лишнее и установил в шапку (можно посмотреть)
Можно задать параметры под мобилки в стиле (спасибу Дефу за правку ширины)
Может подойдет как вариант:

Код:
<!--уменьшаем блок вывод постов с топа на главной-->
<style>
  figcaption p{
  max-width:560px;
}
</style>
<style>#news{ margin-top:156px; left: 346px; position: absolute;}</style>
<!-- Category slider © ForumD.ru, satsana -->
<script language="javascript">
var leftMargin = 40;
var blockWidth = 600;

function moveCateg (e) {
$('.category').each(function() {
  let num = $(this).find('tbody tr').length;
});

$('.catleft').on('click', {'step': -1, 'leftMargin': leftMargin, 'blockWidth': blockWidth}, moveCateg);
$('.catright').on('click', {'step': 1, 'leftMargin': leftMargin, 'blockWidth': blockWidth}, moveCateg);
</script>
<!-- Вывод новостей из темы Обновления слайдер....cтиль-->
<style>
    .slider_wrap {margin:4px auto 0;width:590px;height:120px;position:relative;overflow:hidden;-webkit-box-shadow: 0px;-moz-box-shadow: 0px; box-shadow: 0px;}
    .slider_wrap figure {width:700px;height:auto;display:none;position:absolute;top:200;left:1px;   }
    .slider_wrap figure:first-child {display:block;}
    .slider_wrap figcaption {bottom: 10;box-sizing: border-box;font-size: 18px;position: absolute;width: 100%;padding: 1rem;-webkit-transition: max-height 0.3s ease-out;overflow: hidden;}
    .slider_wrap img {width: 0%;height: 1px;object-fit: contain;}
    .publication{width: 0%;text-align: center;position: absolute;font-size: 0px;margin: 0;color: #4682b4;text-shadow: 4px  4px 6px rgba(210, 180, 140, 1), -4px -4px 6px rgba(210, 180, 140, 1), -4px  4px 6px rgba(210, 180, 140, 1), 4px -4px 6px rgba(210, 180, 140, 1);}
    @keyframes anim {0%   { opacity: 0; filter: blur(4px)}
      10%  { opacity: 0; }
      90%  { opacity: 1; }
      100% { opacity: 1; filter: blur(0.5px)}}
    .publication{animation: anim 6s infinite alternate;}
</style>
    <script language="javascript">
    var lm = 15,//количество отображаемых сообщений из тем
    sort = 'desc',//по убыванию 
    si = [2],//id темы из которой выводим новости
    npk ='http://vernisazh.my1.ru/_ph/92/2/396290186.gif?1598527457'; //новостная картинка по-умолчанию
    $(function(){var nf='<div id="slider" class="slider_wrap">',text=[],EndSlider=()=>{nf+='<span class="next"></span><span class="prev"></span></div>';$('#news').append(nf);}
    $.getJSON('/api.php?method=post.get&topic_id='+si+'&sort_dir='+sort+'&limit='+lm+'&fields=id,message,posted',function(d){var x=d.response;for(var i in x){var mg=x[i].message.match(/(?:src=\")(https?:\/\/.*?\.(png|jpg|gif|jpeg|webp))(?:\")/gi);mg=(!mg)?npk:mg;var sod=x[i].message.replace(/\<img class\=\"postimg\" loading\=\"lazy\" src\=\"https?\:\/\/(.*?)\.(png|jpg|gif|jpeg|webp)\" alt\=\"https?\:\/\/(.*?)\.(png|jpg|gif|jpeg|webp)\" \/\>/g,''),pd=x[i].id,t=x[i].posted,z=(2<=mg.length<47)?mg.toString().replace(/(src\=|\")/g,'').split(/,/)[0]:mg.toString().replace(/(src\=|\")/g,''),v=sod.slice(0,300);if(v.length<sod.length){v+='<a rel="nofollow" href="/viewtopic.php?pid='+pd+'#p'+pd+'"><strong> ... читать подробнее</strong></a>'};t=new Date(t*1e3).toLocaleString('ru');([i]==0)?nf+='<figure class="active"><a rel="nofollow" href="/viewtopic.php?pid='+pd+'#p'+pd+'"><p><p class="datep"><strong class="publication"></p>'+t+'</strong><img src="'+z+'" alt="" /></p></a><figcaption>'+v+'</figcaption></figure>':nf+='<figure><a rel="nofollow" href="/viewtopic.php?pid='+pd+'#p'+pd+'"><p><p class="datep"><strong class="publication"></p>'+t+'</strong><img src="'+z+'" alt="" /></p></a><figcaption>'+v+'</figcaption></figure>';}EndSlider();});$(window).load(function(){var elWrap=$('#slider'),el=elWrap.find('figure'),indexImg=1,indexMax=el.length,changeF=()=>{el.fadeOut(500).filter(':nth-child('+indexImg+')').fadeIn(500);},autoCange=()=>{indexImg++;if(indexImg>indexMax){indexImg=1;};changeF();},interF=setInterval(autoCange,3000);elWrap.on('mouseenter',function(){clearInterval(interF);}).on('mouseleave',function(){interF=setInterval(autoCange,3000);});$('span.next').click(function(){indexImg++;if(indexImg>indexMax){indexImg=1;};changeF();});$('span.prev').click(function(){indexImg--;if(indexImg<1){indexImg=indexMax;};changeF();});});});
    </script>
<a href="https://vip.maminforum.com/viewtopic.php?id=2&action=last" title="Давай побеседуем вместе" id="k_teme"><img src="https://forumstatic.ru/files/001a/c0/03/84706.png"></a>
<article id="news"></article>

+1

15

Сделал на основе скрипта Ромыча вывод новостей из темы в шапку: https://kolobdur.mybb.ru/viewtopic.php?id=37#p74

Вот так выглядит:
https://forumupload.ru/uploads/0000/14/1c/23723/297773.png

Реализовано бегущей строкой вверх..

Есть минусы: лимит действует на все темы, отсчет идет по всем постам от последнего с указанной темы, а не по темам.. То есть лимит идет от того как записано в базе, а не по номерам в теме.. Пример:
https://forum.mybb.ru/viewtopic.php?id=40046#p977771
https://forum.mybb.ru/viewtopic.php?id=40046#p977774

Из за этого, если указано много тем, а в одной теме будет в подряд идти много постов, написанных в одно время - будет показана фактически одна тема.. Это касается и скрипта Ромыча.

Отредактировано kolobdur74 (Вт, 26 Окт 2021 00:01:33)

+4

16

Сделал: Последние 10 сообщений форума с наведением. Для bo2soft.

Скриншоты

https://i.imgur.com/AgvM3JF.png
https://i.imgur.com/EkDUFel.png
https://i.imgur.com/JaAsf5s.png

+4