blanche design studio

Объявление

а

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

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


Вы здесь » blanche design studio » complete » подфор в подфоре » код


код

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

1

структура
Код:
/*************************************************************
CODE STRUCTURE BY BLANCHE
отдано в использование твойник
**************************************************************

FONTS / ROOT / LINKS
-------------------------------------------------------------*/
@import url(style_cs.css);
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,1,0");
@import url("https://kit-pro.fontawesome.com/releases/v6.6.0/css/pro.min.css");
@import url("https://fonts.googleapis.com/css2?family=PT+Mono&display=swap");

/*-------------------------------------------------------------------------------------- fonts used in design */
@font-face {
  font-family: НАЗВАНИЕ;
  src: url("ССЫЛКА") format("woff");
}

/***************************************/

:root {
  --bg: url(ССЫЛКА НА ФОН) center fixed
    var(--bg-color);
  --main-w: ШИРИНА ТЕЛА ФОРУМА;
  --main-p: ПАДДИНГ ВНУТРИ ТЕЛА;

  --title-bg: url(ССЫЛКА НА ШАПКУ) center /
    cover;
  --title-h: ВЫСОТА ШАПКИ;

  --font: ОСНОВНЫЙ ШРИФТ;
  --font-fav: ДОПОЛНИТЕЛЬНЫЙ ШРИФТ;
  --post-text: 400 11px/15px Verdana;

  --pun: ЦВЕТ ТЕЛА;
  --bg-color: ЦВЕТ ФОНА;

  --color-accent1: #;
  --color-accent2: #;

  --color-gray1: #;
  --color-gray2: #;

  --color-dark1: #;
  --color-dark2: #;

  --color-light1: #;
  --color-light2: #;

  --notify: ЦВЕТ УВЕДОВ;
  --link: ССЫЛКИ ДО НАВЕДЕНИЯ;

  --prof-w: 220px; /* ширина профиля */
  --profnav-w: 180px; /* ширина навигации внутри профиля */
  --post-p: 40px; /* ширина отступа от профиля до соо */
  --usav: 28px; /* размер авов на главной */
  --av-gst: url("ССЫЛКА НА АВ ГОСТЯ ПО УМОЛЧАНИЮ")
    top/cover;
  --av-def: var(--av-gst); /* ав у юзеров */

  --main-intd-gap: 15px; /* отступ на главной от иконки до текста */
  --intd-gap: 25px; /* то же самое в подфорах */
  --main-icon-w: 74px; /* размеры иконки на главной */
  --main-icon-h: 42px;
  --icon-w: 18px; /* размеры иконки в подфоре */
  --icon-h: 18px;

  --mat: "Material Symbols Outlined";
  --mat1: "Material Symbols Rounded";
  --faw: "Font Awesome 6 Pro";
}

/***************************************/

a {
  text-decoration: none;
  transition:
    color 0.3s,
    background 0.3s,
    border 0.3s,
    padding 0.2s;
  color: var(--link);
}

#pun-admain a,
#MyBookmarks span.scrl {
  color: var(--link) !important;
}

/* ссылки после наведения */
a:hover,
a:focus,
a:active {
  color: var(--color-accent2);
}

:focus {
  outline: none !important;
}

.adlabel,
.adlabel a {
  color: var(--color-dark1) !important;
}

/* ETO BAZA: BODYb, PUNb, TITLEb
--------------------------------------------------------------------------------------------------------------------------*/
html,
body {
  margin: 0;
  padding: 0;
}

html * {
  box-sizing: border-box;
  -webkit-text-size-adjust: none;
  text-transform: lowercase; /* по умолчанию везде будет лапс, если не надо убираем */
}

body,
body.redirect-page {
  background: var(--bg);
}

/***************************************/

#pun {
  position: relative;
  width: var(--main-w);
  font: 400 11px/1 var(--font);
  color: #151515;
  margin: 0 auto;
  background: var(--pun);
  padding: var(--main-p);
}

/***************************************/
#pun-title,
#pun-announcement {
  width: var(--main-w);
  height: var(--title-h);
}

#pun-title {
  background: var(--title-bg);
  margin: calc(0px - var(--main-p)) 0 var(--main-p) calc(0px - var(--main-p));
}

#pun-announcement {
  position: absolute;
  top: 0;
  left: 0;
}

/* NAVLINKS / ULINKS
--------------------------------------------------------------------------------------------------------------------------*/
#pun-navlinks .container,
#pun-ulinks .container {
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: center;
  width: fit-content;
  margin: 0 auto;
  width: 100%;
}

/*-------------------------------------------------------------------------------------- navlinks */
#pun-navlinks .container {
  gap: 10px;
  padding: 0 10px;
  font-weight: 500;
  font-size: 11px;
}

#navlogout,
#navlogin {
  display: flex;
  gap: inherit;
}

/*-------------------------------------------------------------------------------------- ulinks */
#pun-ulinks .container {
  gap: 10px;
  font-size: 9px;
}

/*-------------------------------------------------------------------------------------- links color and animation */
#pun-ulinks a {
  color: #;
}

#pun-navlinks li > a {
  color: var(--color-light1);
}

#pun-ulinks a:hover {
  color: var(--color-accent1);
}

#pun-navlinks li > a:hover {
  color: #;
}

/* STATUS
--------------------------------------------------------------------------------------------------------------------------*/
#pun-status .container {
  margin: 0;
  width: 100%;
  text-align: center;
}

#pun-status .container,
#pun-status .container * {
  font-weight: 400;
  color: var(--color-dark2);
}

#pun-status a:hover {
  color: var(--color-accent1);
}

#pun-status .status-right {
  float: none !important;
  display: inline-block !important;
}

/* CATEGORY
--------------------------------------------------------------------------------------------------------------------------*/
.category .container,
.statscon {
  position: relative;
}

.category h2,
#pun-stats h2 {
  margin: 0 auto;
  background: ССЫЛКА НА КАРТИНКУ КАТЕГОРИИ;
  width: 0px;
  height: 0px;
  display: flex;
  align-items: center;
}

.category + .category,
#pun-stats h2 {
  margin-top: 20px; /* отступ между категориями */
}

/***************************************/

.category h2 span,
#pun-stats h2 span {
  font: 500 24px/1 var(--font-fav);
}

/* HASICONb / STRUCTURE EVERYWHERE
--------------------------------------------------------------------------------------------------------------------------*/
table {
  width: 100%;
}

.hasicon,
.usertable tbody,
#messages tbody,
#pun-respect .container tbody,
#pun-positive .container tbody,
#pun-online .container tbody,
.statscon,
#filetable tbody,
#pun-profile .container > fieldset,
#pun-profile .container > form {
  display: flex;
  flex-direction: column;
  gap: 0px;
  margin: 0 auto;
  font-size: 11px;
  width: auto;
}

.messages-container {
  min-height: 267px;
}

.punbb #filetable td {
  width: auto !important;
  text-align: center;
}

.hasicon td {
  padding: 0;
}

.hasicon tr,
thead tr,
.usertable tr,
#messages tr,
#pun-searchtopics .forum tr,
#pun-respect #pun-main > .section tr,
#pun-positive #pun-main > .section tr,
#pun-online .online-list tr,
.profile-awards-container tr,
#filetable tr {
  display: grid;
  gap: 20px;
  grid-template-columns: 45% 9% 9% 30%;
  justify-content: space-between;
  position: relative;
  align-items: center;
  font-size: 11px;
  align-content: center;
  padding: 0;
  color: var(--color-gray2);
}

#pun-index .hasicon tr {
  grid-template-columns: auto 1fr;
}

#filetable tr {
  grid-template-columns: 10% 17% 17% 10% 11% 1fr 5% !important;
  white-space: nowrap;
  gap: 20px;
  padding-right: 5px;
}

#pun-profile #filetable tr th {
  width: inherit !important;
}

#pun-profile #filetable tr td {
  padding: 0;
}

#pun-modviewforum tr {
  grid-template-columns: 43% 9% 9% 26% 2%;
}

.page-list tr,
#pun-admin_logs .adformal tr {
  font-size: 11px !important;
  align-content: center;
  padding: 20px;
  color: var(--color-dark2);
  display: flex !important;
}

#pun .page-list tr .tc2,
#pun-admin_logs .adformal .tc2 {
  text-align: center;
}

.view_ip_history .container tr {
  padding: 10px 20px;
  display: grid;
  grid-template-columns: repeat(2, 100px) 1fr;
}

/*-------------------------------------------------------------------------------------- thead */

thead tr {
  padding:5px !important;
}

th {
  text-align: center;
}

tr#title-logo-tr {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

thead th:first-child {
  text-align: left;
}

thead th:last-child,
thead .tcr,
.usertable tbody td:last-child {
  text-align: left;
}

/***************************************/

#pun-searchtopics .forum tr {
  grid-template-columns: 40% 20% 6% 26%;
}

.usertable tr {
  grid-template-columns: 20% 28% 9% 9% 12% 10%;
}

#pun-messages .hasicon tr,
#messages thead tr {
  grid-template-columns: 1fr 18% 10% 4%;
  align-items: center;
}

#pun-respect #pun-main > .section tr,
#pun-positive #pun-main > .section tr {
  grid-template-columns: 13% 4% 15% 29% 30%;
}

#pun-online .online-list tr {
  grid-template-columns: 40% 40% 15%;
}

#pun-mod .container tr,
.profile-awards-container tr {
  grid-template-columns: 20% 10% 40% 30%;
}

.profile-awards-container tr .tcl {
  width: inherit !important;
}

#messages td,
#pun-online .online-list td,
#pun-online .online-list th {
  width: auto !important;
  display: flex;
  justify-content: center;
}

#pun-online .online-list td:first-of-type,
#pun-online .online-list td:last-of-type,
#pun-online .online-list th:first-of-type,
#pun-online .online-list th:last-of-type {
  justify-content: flex-start;
}

#pun #pun-online .online-list tbody {
  padding: 0 !important;
}

td.tc2.pmtc24 {
  justify-content: flex-end !important;
  padding-right: 3px !important;
}

#pun-online .tcl.action {
  gap: 3px;
}

#pun-viewforum td.tcr,
#pun-searchtopics td.tcr,
#pun-modviewforum td.tcr {
  display: flex;
  align-items: center;
  justify-items: start;
  justify-content: start;
  gap: 5px;
}

#pun-viewforum td.tcr a,
#pun-searchtopics td.tcr a {
  white-space: nowrap;
  grid-column: 1;
  text-align: right;
  order: 2;
}

/*-------------------------------------------------------------------------------------- fieldset */
fieldset {
  margin: 0 !important;
  padding: 0;
  border: none !important;
}

fieldset + fieldset,
fieldset + form,
fieldset + .select-file {
  margin-top: 20px !important;
}

#post fieldset + fieldset {
  margin-top: 0 !important;
}

#messages fieldset {
  padding: 0 !important;
}

/*-------------------------------------------------------------------------------------- fs-box */
.fs-box.inline {
  display: flex;
  gap: 10px;
  align-items: center;
  border: none;
}

#pun-login .fs-box.inline {
  margin-top: 10px;
  position: relative;
}

.inline .infofield {
  font-size: 9px;
  text-align: justify;
}

.hasicon td.tc2,
.hasicon td.tc3 {
  display: flex;
  align-items: center;
  justify-content: center;
}

/*-------------------------------------------------------------------------------------- subforums */
#pun-index .hasicon .isub .tcl {
  padding-left: 0px !important;
}

#pun-viewforum .isub .tcl h3 {
  margin: 0 0;
}

#pun-viewforum #subforums {
  margin: 0;
  font-size: 0;
  padding: 20px !important;
  display: flex;
  gap: 10px;
  position: relative;
  width: 100%;
}

/*-------------------------------------------------------------------------------------- left part */

#pun-index .tclcon {
  grid-area: for;
  text-align: justify;
  -webkit-text-size-adjust: none;
  display: flex;
  gap: 6px;
  flex-direction: column;
  height: 100%;
  justify-content: center;
}

#pun-index .tcl h3 {
  margin: 0;
  text-align: left;
  order: 1;
}

#pun-index .tcl h3 a {
  position: relative;
  z-index: 0;
  font: 500 36px/18px var(--font-fav);
}

#pun-index .tcl h3 a:hover,
.lastpost-link:hover {
  color: var(--color-accent2);
}

#pun-index .tclcon span,
#pun-index .subforums {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

#pun-index .subforums {
  order: 4;
  font-size: 0;
}

#pun-index .subforums a,
#pun-index .tclcon span a {
  color: var(--color-dark2);
  font-weight: 500;
}

/*-------------------------------------------------------------------------------------- right part */
#pun-index .tcr,
#pun-viewforum .isub .tcr {
  display: grid;
  grid-template-columns: var(--usav) 1fr;
  grid-template-rows: repeat(2, auto);
  gap: 2px 10px;
  justify-items: start;
  align-items: center;
  justify-content: start;
  text-align: left;
}

.lastpost-link {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  width: 100%;
  min-width: 0;
  display: block;
  align-self: end;
  text-align: left;
  color: var(--color-gray1);
/* настройки где текст заканчивается многоточием */
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.lastpost {
  grid-row: 2;
  grid-column: 2;
  align-self: start;
  text-align: left;
  align-items: flex-start;
}

#pun-viewforum .isub .tcr {
  grid-template-columns: 1fr var(--usav);
  justify-items: end;
  text-align: right;
}

#pun-viewforum .isub .lastpost {
  font-size: 0;
  display: flex;
  gap: 3px;
  flex-direction: row-reverse;
  grid-column: 1;
  align-items: center;
}

/*-------------------------------------------------------------------------------------- user-avatar */
.user-avatar {
  margin: 0 !important;
  width: var(--usav) !important;
  height: var(--usav) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  grid-row: -1/1;
}

#pun .user-avatar a {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  width: 100% !important;
  height: 100% !important;
}

.user-avatar,
.avatar-image,
.user-avatar a {
  border-radius: 50% !important;
}

.avatar-image {
  opacity: 1 !important;
  filter: grayscale(1);
  width: var(--usav) !important;
  height: var(--usav) !important;
  flex: 0 0 auto;
}

.isonline {
  background: var(--color-accent2) !important;
  top: auto !important;
  right: auto !important;
  width: 6px !important;
  height: 6px !important;
  animation: none !important;
  z-index: 1 !important;
  border-radius: 50% !important;
}

.usertable .user-avatar a {
  overflow: hidden;
}

/* ICONb
--------------------------------------------------------------------------------------------------------------------------*/
.intd {
  width: 100%;
  display: grid;
  gap: var(--intd-gap);
  align-items: center;
}

#pun-index .category .intd {
  gap: var(--main-intd-gap);
  grid-template-columns: var(--main-icon-w) 1fr;
  grid-template-areas: "icon for";
  height: 100%;
}

#pun-index tr .tcl {
  height: 100%;
}

#pun-viewforum .category .intd,
.forum .intd,
#profile .intd {
  grid-template-columns: var(--icon-w) 1fr;
}

.intd .icon {
  margin: 0;
  position: relative;
}

#pun-viewforum .category .icon,
.forum .icon,
#profile .intd .icon {
  width: var(--icon-w);
  height: var(--icon-h);
}

#pun-index .icon {
  grid-area: icon;
  width: var(--main-icon-w);
  height: var(--main-icon-h);
  background: ССЫЛКА НА СТАРУЮ ИКОНКУ НА ГЛАВНОЙ;
}

#pun-index .intd .icon.inew {
  background-image: ССЫЛКА НА НОВУЮ ИКОНКУ;
}

#pun-viewforum .category .icon:before,
.forum .icon:before,
#profile .intd .icon:before {
  font: 500 12px var(--mat);
}

.forum .isticky .icon {
/* важная в подфоре */
}

.forum .iclosed .icon {
/* закрытая в подфоре */
}

.forum .icon-new,
#profile .icon-new,
#profile .intd .icon.inew {
/* новая в подфоре */
}

/* CRUMBS
--------------------------------------------------------------------------------------------------------------------------*/
.crumbs {
  margin: 20px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  gap: 7px;
  width: fit-content;
}

.crumbs,
.crumbs a {
  color: var(--color-gray1);
}

.crumbs a:hover {
  color: var(--color-accent2);
}

.crumbs a:after {
  content: "\e87d";
  font: 500 9px/1 var(--mat);
  margin: 0 0 0 7px;
  vertical-align: middle;
}

/* STATSCON
--------------------------------------------------------------------------------------------------------------------------*/
#pun-stats .container {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0 5px;
  padding: 15px;
}

#pun-stats .container li {
/* стиль статистики с числами */
}

#pun-stats .container li,
#pun-stats .container li * {
  font-weight: 500;
  color: var(--color-dark1);
}

#pun-stats .container #onlinelist {
  width: 100%;
/* стиль статистики с посетившими */
}

#onlinelist > div,
#onlinelist > div strong {
/* стиль где рекорды */
}

#onlinelist > div > a {
/* стиль слов активны и посетили за стуки */
}

#onlinelist > div > span {
  line-height: 150%;
  text-align: justify;
  display: block;
  margin-top: 15px;
/* стиль посетивших ников */
}

#onlinelist > div > span,
#onlinelist > div > span a {
  color: var(--color-gray2) !important;
  font-weight: 400 !important;
}

#onlinelist > div > span a:hover {
  color: var(--color-accent2) !important;
}

/* FOOTER
--------------------------------------------------------------------------------------------------------------------------*/
#pun-about {
  display: flex;
  justify-content: center;
  width: var(--main-w);
  height: 202px;
  margin: 0 0 calc(0px - var(--main-p)) calc(0px - var(--main-p));
  background-image: ССЫЛКА НА КАРТИНКУ ФУТЕРА;
}

#pun-about .container {
  font-size: 8px;
  position: absolute;
  margin-top: 210px; /* отступ создать фор бесплатно, скрывать его низя */
  width: 100%;
  text-align: center;
}

#pun-about * {
  color: #fff;
}

/* PROFILEb
--------------------------------------------------------------------------------------------------------------------------*/
.post-author {
  width: var(--prof-w);
  /*  min-height: 65px;*/
  position: relative;
  height: fit-content;
}

.post-author ul,
#viewprofile #profile-left,
#pun-post .post-author {
  z-index: 1;
/* общий стиль страницы просмотра профиля и в теме */
}

.post-author ul {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  position: relative;
}

.post-author li {
  width: inherit;
  position: relative;
}

/*-------------------------------------------------------------------------------------- author & title */
.pa-author,
li#profile-name > strong {
  margin: 0 !important;
  text-align: center;
}
.pa-author,
.pa-author *,
li#profile-name > strong {
  color: var(--color-dark2);
}

.pa-author,
.pa-author *,
li#profile-name > strong {
  font: 600 13px/1 var(--font) !important;
  transition: color 0.3s;
}

.pa-author:hover,
.pa-author a:hover {
  color: var(--color-accent1);
}

.pa-title,
#profile-left #profile-title strong {
/* общий стиль статуса */
}

/*-------------------------------------------------------------------------------------- avatar */
.pa-avatar,
#pa-avatar {
  margin: 0;
}

.pa-avatar img,
#pa-avatar img {
  max-width: 180px;
  max-height: 180px;
  position: relative;
  z-index: 2;
}

.pa-avatar.item2 img.allow_change:hover {
  outline-color: var(--color-accent1) !important;
}

/*-------------------------------------------------------------------------------------- posts/respect */
.pa-respect,
.pa-posts,
/* тут меняем на нужные поля деняк и постов и ниже тоже много где */
.pa-fld3,
.pa-fld4 {
  width: calc(var(--prof-w) / 4 - 10px) !important;/* тут вместо 4 количество полей, вместо 10 двигаем пока не будут в линию */
  margin: 10px 0;
  display: flex;
  gap: 3px;
  font-size: 9px;/* размер чисел */
  justify-content: center;
  align-items: center;
  height: 21px;
  flex-direction: column;
}

.pa-respect,
.pa-respect a,
.pa-posts,
.pa-fld3,
.pa-fld3 a,
.pa-fld4 {
  color: var(--color-dark2);
}

.pa-respect .fld-name,
.pa-posts .fld-name,
.pa-fld3 .fld-name,
.pa-fld4 .fld-name {
  position: relative;
  z-index: 9;
  flex: 0 0 auto;
  font-size: 0; /* это если иконками, если иконок нет то тут размер названия поля */
}

.pa-posts .fld-name:before,
.pa-respect .fld-name:before,
.pa-fld3 .fld-name:before,
.pa-fld4 .fld-name:before {
  font: 500 10px/8px var(--mat);
  color: var(--color-gray2);
}

.pa-posts .fld-name:before {
  content: "\e0bf";
}
.pa-respect .fld-name:before {
  content: "\e87d";
}
.pa-fld3 .fld-name:before {
  content: "\f20e";
}
.pa-fld4 .fld-name:before {
  content: "\e3c9";
}

.pa-respect a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
/* это чтобы лайк был по всему полю */
}

.pa-respect img {
  opacity: 0;
}

/*-------------------------------------------------------------------------------------- FLDb */
/* тут настройки доп полей */

/*-------------------------------------------------------------------------------------- online */
.pa-active {
/* настройки онлайна */
}

.pa-active.online {
}

.pa-active.offline {
}

/*-------------------------------------------------------------------------------------- ip */
.pa-ip {
}

.pa-ip a {
  color: var(--color-dark2);
}

/* QUOTEb / SPOILERb / TEXTAREA
--------------------------------------------------------------------------------------------------------------------------*/
.quote-box,
.code-box,
/*blockquote,
.blockcode,*/
/* quote-box или blockquote - скрывается что-то одно из этого в зависимости от того, cite внутри блока цитаты должен быть или вне ее */
.inner,
.modal-inner > .container,
.editBookmark,
#MyBookmarks,
.hvStickerPackModal,
#post-mentions #mentions-area {
  border: none !important;
  border-radius: 0px !important;
  box-shadow: none !important;
  background: var(--color-light2) !important;
}

#mask_dialog .inner {
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden !important;
  position: relative;
  padding: 0 !important;
}

.pun-modal .modal-inner {
  background: transparent !important;
  overflow: visible !important;
}

.quote-box,
.code-box {
  display: flex;
  flex-direction: column;
  margin: 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.quote-box {
  align-items: flex-start;/* это если надо чтобы cite был по ширине текста в левой части или в правой или по центру */
}

blockquote,
.blockcode {
  position: relative;
  margin: 0px;
  width: 100%;
  overflow: visible !important;
  line-height: 150%;
  z-index: 2;
  padding: 20px;
  font: var(--post-text);
}

/*-------------------------------------------------------------------------------------- starts from post-content top, margin width elements inside */
p + .quote-box,
p + .code-box,
.quote-box + .quote-box,
.quote-box + .code-box,
.code-box + .code-box,
.code-box + .quote-box,
.code-box + p,
.quote-box + p {
  margin-top: 20px !important;
/* это тонкая настройка отступов */
}

td .spoiler-box {
  margin: 20px 0px;
}

/*-------------------------------------------------------------------------------------- cite */
cite,
.code-box .legend,
.spoiler-box > div {
  display: block;
  position: relative;
  margin: 0;
  z-index: 9;
  font: 500 10px/1 var(--font1);
  padding: 0 !important;
}

cite {
}

.code-box .legend {
}

.hide-box cite {
}

cite,
cite *,
.code-box .legend,
.code-box .legend *,
.spoiler-box > div {
  color: var(--color-light1);
}

.spoiler-box > div {
}

.spoiler-box > div.visible {
}

/*-------------------------------------------------------------------------------------- spoiler animation © BLANCHE. free for use only with copy */
.spoiler-box > blockquote {
  transform: translateY(20px) rotateX(90deg);
  transition:
    transform 0.3s,
    height 0.3s,
    opacity 0.3s,
    padding 0.3s;
  display: block !important;
  transform-origin: top;
  height: 0;
  opacity: 0;
  padding-top: 0 !important;
}

.spoiler-box > blockquote.visible {
  transform: none;
  height: auto;
  opacity: 1;
  padding-top: 20px !important;
}

.spoiler-box > div {
  padding-left: 30px !important;
  transition:
    border-radius 0.5s,
    margin-bottom 0.5s,
    background-image 0.5s;
  margin-bottom: -20px;
}

.spoiler-box > div.visible {
  margin-bottom: -1px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/*-------------------------------------------------------------------------------------- other */

.scrollbox {
  overflow: auto;
  max-height: 60px;
  padding-right: 7px;
  height: auto !important;
}

.scrollbox pre {
  margin: 0;
  font: 500 11px/1 Pt Mono;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.code-box .legend button {
  border: none !important;
  padding: 0 !important;
  font: inherit !important;
  color: inherit !important;
}

/*-------------------------------------------------------------------------------------- textareab */
.punbb textarea {
  overflow: auto;
  font: var(--post-text) !important;
  width: 100% !important;
  position: relative;
  z-index: 9;
  text-transform: none;
}

#main-reply {
  height: 200px;
}

/* FORMA OTVETA
--------------------------------------------------------------------------------------------------------------------------*/
#pun-viewtopic #post,
#pun-messages #post {
  padding: 0 !important;
  background: transparent;
}

#pun-viewtopic .post-box #post,
#pun-viewtopic .post-box fieldset {
  margin: 0 !important;
  padding: 0;
}

.post-box {
  height: 100%;
}

#post .areafield {
  margin: 0;
}

#pun-edit #post .areafield > span.input > a {
  display: block;
  margin-bottom: 10px;
}

.fs-box + .hashelp {
  margin-top: 20px;
}

.grippie {
  margin-top: 5px;
}

/* FONT CATEGORY © BLANCHE. free for use only with copy */
#font-area div.latynfont,
#font-area div.cyrfont {
  width: inherit !important;
  box-shadow: none !important;
  text-align: center;
  font-size: 0;
  grid-column: 1 / -1;
  justify-content: center;
}
#font-area div.latynfont:before,
#font-area div.cyrfont:before {
}
#font-area div.latynfont:before {
  content: "латинские шрифты";
}
#font-area div.cyrfont:before {
  content: "кириллические шрифты";
}

/* CUSTOM FORM-BUTTONS WITH WRITTEN SYMBOLS © BLANCHE. free for use only with copy */
#form-buttons {
  gap: 15px;
  display: grid;
  grid-template-columns: 1fr 100px;
  align-items: center;
  /* grid-row-start: 1; */
  justify-items: start;
  height: 20px;
}

#form-buttons table {
  width: 100% !important;
  grid-column: 1;
  grid-row: 1;
}

#form-buttons tr {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  gap: 8px;
}

#plng,
#form-buttons table td {
  display: flex;
  justify-content: center;
  gap: 5px;
  align-items: center;
}

#form-buttons td {
  font: 500 17px var(--mat) !important;
  background-image: none !important;
  width: 20px !important;
  cursor: pointer;
  height: 20px !important;
  transition: opacity 0.3s;
}

#form-buttons table td:hover {
  opacity: 0.5;
}

#plng {
  width: 100%;
  grid-column: 2;
}

#plng b {
  font-weight: 500;
}

#form-buttons td img {
  z-index: 9;
}

#form-buttons td:before {
  position: absolute;
}

#button-font:before {
  content: "\f4f1";
}

#button-size:before {
  content: "\f488";
  font-size: 21px;
}

#button-bold:before {
  content: "\e238";
}

#button-italic:before {
  content: "\e23f";
}

#button-underline:before {
  content: "\e249";
}

#button-strike:before {
  content: "\e246";
}

#button-transL:before {
  content: "\e8e2";
}

#button-indent:before {
  content: "\e23e";
}

#button-left:before {
  content: "\e236";
}

#button-center:before {
  content: "\e234";
}

#button-right:before {
  content: "\e237";
}

#button-justify:before {
  content: "\e235";
}

#button-link:before {
  content: "\e157";
}

#button-spoiler:before {
  content: "\e8f5";
}

#button-image:before {
  content: "\e43e";
}

#button-imagetwo:before {
  content: "\f317";
}

#button-video:before {
  content: "\e1c4";
}

#button-hide:before {
  content: "\e898";
}

#button-quote:before {
  content: "\e244";
}

#button-code:before {
  content: "\fff8b";
}

#button-html:before {
  content: "\ef54";
}

#button-color:before {
  content: "\e40a";
}

#button-table:before {
  content: "\f191";
}

#button-smile:before {
  content: "\e813";
}

#button-sticker:before {
  content: "\e7f2";
}

#button-keyboard:before {
  content: "\f028";
}

#button-addition:before {
  content: "\e5d3";
}

#button-mask:before {
  content: "\e853";
}

#floatbut:before,
#button-float:before {
  content: "\f864";
}

#button-ChangeСase:before {
  content: "\e262";
}

#keyboard-span input {
  border-radius: 7px !important;
}

/*-------------------------------------------------------------------------------------- tags */
#tags .container,
#float {
  overflow-y: auto;
  padding: 10px !important;
  height: 179px;
  z-index: 99999 !important;
  top: 10px !important;
  margin: 0px 185px 0 10px;
}

#pun-edit #tags .container,
#pun-edit #float {
  top: 32px !important;
}

#font-area {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  align-content: flex-start;
  font-size: 13px !important;
}

#font-area div,
#size-area div,
#addition-area div {
  position: relative;
  padding: 5px;
  border-radius: 5px;
  transition: background 0.3s;
}

#font-area div:hover,
#size-area div:hover,
#addition-area div:hover {
  background: var(--color-light1);
}

#font-area div img,
#size-area div img {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
}

#font-area span,
#size-area span,
#addition-area div {
  height: auto !important;
}

#uploaded-images img {
  object-fit: cover;
}

#image-area,
#color-area,
#video-area,
#spoiler-area {
  height: auto !important;
}

#spoiler-area a,
#image-area a {
  color: inherit;
}

#float {
  left: 43%;
  z-index: 2;
  height: auto;
  position: absolute;
  display: none;
}

/* INPUT / BUTTONb
--------------------------------------------------------------------------------------------------------------------------*/
input[type="text"],
input[type="password"],
input[type="number"],
.punbb #sTheme,
.punbb #isk,
select,
option {
  background-color: var(--color-light3) !important;
  font: 500 11px var(--font) !important;
  color: var(--color-dark2) !important;
  transition: background 0.2s;
  border: 1px solid var(--color-gray3) !important;
  padding: 8px 10px !important;
}

input[type="text"]:hover,
input[type="password"]:hover,
input[type="number"]:hover,
select:hover,
option:hover,
.punbb #sTheme:hover {
  background-color: var(--color-light2) !important;
}

#s-block {
  gap: 5px;
  order: 2;
}

/*-------------------------------------------------------------------------------------- buttonb */
.button,
.hvStickerPackModalTab,
input[type="file"] {
  cursor: pointer;
  font: 500 11px/1 var(--font) !important;
  border: none !important;
  transition:
    color 0.5s,
    background 0.5s;
  position: relative;
  z-index: 1;
  border-radius: 6px !important;
  padding: 4px 8px !important;
}

.hvStickerPackModalTab,
.button,
input[type="file"]:hover {
  color: #4b4b4b;
  background-color: var(--color-light2) !important;
}

input[type="file"] {
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.hvStickerPackModalTab.active,
.submit{
  background: var(--color-dark2) !important;
  color: #ececea !important;
}

.button:hover,
.hvStickerPackModalTab:hover {
  background: var(--color-light3) !important;
}

.submit:hover,
.hvStickerPackModalTab.active:hover {
  background-color: var(--color-accent2) !important;
}

#imageupload-left input[type="button"] {
  width: auto !important;
}

/*-------------------------------------------------------------------------------------- checkbox */
span.checkfield,
p.checkfield {
  margin: 0;
  padding: 5px 0px;
  gap: 5px;
  display: flex;
  align-items: center;
}

span.checkfield,
p.checkfield,
span.checkfield *,
p.checkfield * {
  text-transform: none;
}

input[type="checkbox"] {
  border-radius: 4px;
  appearance: none;
  padding: 0 !important;
  width: 13px;
  height: 13px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid var(--color-gray3);
  background: var(--color-light3);
  margin: 0;
}

input[type="checkbox"]:checked:before {
  content: "\f88b";
  width: 13px;
  height: 13px;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  font: 500 16px var(--mat);
  color: var(--color-dark1);
  position: absolute;
}

/* POST-LINKS / LINKST / LINSKB
--------------------------------------------------------------------------------------------------------------------------*/
.post-links {
  width: 100%;
}

.post-links ul {
  text-align: right;
  margin: 0;
  width: 100%;
}

#pun-searchposts .post-links ul {
  text-align: left;
}

#pun-searchposts .post:last-child .post-links {
  margin-bottom: 10px;
}

.post-links li {
  display: inline-block;
}

.pl-email {
  float: left;
}

.pl-reply {
  margin-left: 8px;
}

.post-links li + li {
  margin-left: 6px;
}

.pl-email + .pl-email {
  margin-left: 10px;
}

.post-links .pl-email a {
  display: flex;
  align-items: center;
  gap: 5px;
}

#pun-viewtopic h3,
#pun-searchposts h3,
#pun-multimove h3,
#pun-post h3 {
  margin: 0;
}

.post h3 span,
.linkst,
.linksb,
.post-links {
  justify-content: space-between;
  display: flex;
  align-items: center;
}

.linkst,
.linksb {
  padding: 15px 20px 20px 0 !important;
}

.post h3 span {
  margin: 0 !important;
}

.post h3 span,
.pagelink,
.postlink,
.subscribelink,
.post-links,
#pun-viewforum .modmenu a,
#pun-modviewforum .modmenu {
  height: 20px;
  display: flex;
  align-items: center;
}

.pagelink,
#pun-viewforum .modmenu a {
  padding: 0 10px 0 20px;
}
.postlink {
  border-radius: 100px 0 0 100px;
}

.post h3 span {
  flex-direction: row-reverse;
  position: relative;
}

#pun-searchposts h3 span {
  display: flex;
  justify-content: flex-start;
  flex-direction: row;
  gap: 10px;
}

#pun-searchposts h3 strong {
  position: absolute;
  right: 10px;
}

#pun-searchposts h3 span a {
  display: inline-flex;
  align-items: center;
}

.postlink {
  display: flex;
  gap: 10px;
}

#pun-messages .postlink {
  height: auto;
  background: transparent;
}

.pagelink,
.page-container {
  order: 1;
  display: flex;
  align-items: center;
  gap: 3px;
}

.pagelink a,
.pagelink strong {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.pagelink strong,
.pagelink a.next,
.pagelink a.prev {
  color: var(--color-dark2) !important;
  font-weight: 400;
}

.postlink {
  order: 3;
  width: auto !important;
}
.subscribelink {
  order: 3;
  font-size: 0;
}

#pun-viewforum noindex {
  order: 4;
}

.post-links,
.postlink,
.subscribelink a,
#pun-viewforum .modmenu a,
.postlink .button,
.pagelink,
#togglePreview .button,
.post h3 span,
.post h3 span * {
  font-size: 10px !important;
  font-weight: 400 !important;
  text-transform: lowercase !important;
}

.post h3 span,
.post h3 span * {
  font-size: 9px !important;
}

.post h3 a {
  color: var(--color-accent5);
}

.post h3 span,
.post h3 span a,
#pun-viewforum .modmenu a,
#pun-modviewforum .modmenu .button,
#pun-multimove .modmenu p.container {
  color: var(--color-light1) !important;
}

.post h3 span strong:before {
  content: "#";
  margin-right: 5px;
}

.post-links a,
.page-container a,
#togglePreview .button {
  color: var(--color-dark2) !important;
}

.post-links a:hover,
#togglePreview .button:hover,
#pun-viewforum .modmenu a:hover,
#pun-modviewforum .modmenu .button:hover {
  color: var(--color-accent1) !important;
}

.pagelink a {
  color: var(--color-accent2);
}
.pagelink a:hover,
a.next:hover:before,
a.prev:hover:before {
  color: var(--color-gray1);
}

.post-links a,
.pagelink,
.postlink,
.post h3 span a,
.post h3 span strong {
  position: relative;
  z-index: 1;
}

.postlink.long .new-topic {
  padding: 0 !important;
}

#pun-viewtopic .linkst {
  margin-bottom: 20px;
}

#pun-viewtopic .linksb .postlink {
  padding-right: 8px;
}
#pun-viewtopic .linksb .subscribelink {
  padding-left: 0;
}

#pun-viewtopic .linksb {
  align-items: center;
  display: grid;
  grid-template-columns: auto 1fr auto;
  justify-items: end;
  padding-top: 12px !important;
}

.pagelink a.prev,
.pagelink a.next {
  background: transparent !important;
  width: fit-content;
  font-size: 0 !important;
  display: flex;
}

a.next:before,
a.prev:before {
  content: "\e5e1";
  font: 500 7px/11px var(--mat1);
  height: 100%;
  transition: color 0.3s;
}
.linksb a.next:before,
.linksb a.prev:before {
  margin-top: 2px;
}

a.prev:before {
  transform: scale(-1, 1);
}

/* PAGES: VIEWTOPIC / POST / PUN-POST
--------------------------------------------------------------------------------------------------------------------------*/
.post + .post,
.post + div + .post,
#pun-admain form + form,
.adcontainer + h2 + .adcontainer,
.linksb + h2 + .adcontainer {
  margin-top: 20px;
}

.hashelp {
    position: relative;
}

#post {
  position: relative;
}

#post-form {
  margin: 0;
}

#pun-main .post {
  display: grid;
  grid-template-rows: auto 1fr;
}

.post > .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--post-p);
  position: relative;
  justify-content: center;
  align-items: flex-start;
}

.post-body {
  display: block;
  width: calc(100% - var(--prof-w) - var(--post-p));
  position: relative;
}

/*-------------------------------------------------------------------------------------- rating */

.post-vote .container,
.post-rating .container {
  margin: 20px 0 0 0 !important;
  padding: 0 !important;
}

.post-vote .container {
  margin-right: 3px !important;
}

.post .post-rating a,
.post .post-vote a {
  font: 400 10px var(--font) !important;
  color: var(--color-dark2);
  display: flex;
  gap: 5px;
  align-items: center;
  height: 25px;
  transition: opacity 0.3s;
}

.post .post-vote a {
  font-size: 0 !important;
  justify-content: center;
}

.post-rating a:before,
.post-vote a:before {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.post-rating a:before {
/* настройки плюса без коммента */
}
.post-vote a:before {
/* настройки плюса с комментом */
}

.post-rating a:hover:before,
.post-vote a:hover:before {
}

.mylike .post-rating a:before {
/* настройки лайкнутого поста */
}

/*-------------------------------------------------------------------------------------- post */

.post-content {
  width: 100%;
  text-align: justify;
  font: var(--post-text);
  padding-right: 28px;
}

.post-content img.postimg {
  vertical-align: middle;
}

.post-content table {
  table-layout: fixed;
}

.post-content table td {
  border: none !important;
  vertical-align: top;
}

.post-content p {
  margin: 0;
  text-align: justify;
  text-transform: none;
  word-break: break-word;
  line-height: 150%;
}

.post-content p * {
  text-transform: none;
}

.post-content p + p {
  padding-top: 10px;
}

::marker {
  color: var(--color-accent1);
}

.post-content ul li {
  list-style: square !important;
}

/*-------------------------------------------------------------------------------------- other */
.modmenu p {
  margin: 0;
}

#pun-viewforum .modmenu a {
  width: fit-content;
}

#topic-users-in,
#topic-users-in * {
  font-weight: 400 !important;
}

#topic-users-in a:after {
  content: ",";
  margin-right: 2px;
}

#pun-modviewforum .modmenu {
  justify-content: flex-end;
}

#pun-modviewforum .modmenu p.container {
  display: flex;
  gap: 10px;
  width: 100%;
  justify-content: flex-start;
  font-size: 0;
}

#pun-modviewforum .modmenu .button,
#pun-multimove .modmenu .button {
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  font-weight: 400 !important;
  text-transform: lowercase;
  border-radius: 0 !important;
  color: var(--color-light1) !important;
}

.formsubmit {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 20px 0;
}

#post-form ~ .post {
  margin-top: 40px;
}

#pun-post #post-preview legend span,
#pun-userlist legend span,
#pun-search legend span,
.modal-inner legend span,
#pun-delete legend span {
  display: block !important;
  margin-bottom: 10px;
}

#pun-post .post.toppost,
#pun-searchposts .post:first-of-type,
#pun-multimove .post:first-of-type {
  margin-top: 20px;
}

#pun-login label {
  white-space: nowrap;
}

#pun-messages h3 {
  margin: 0;
}

/*-------------------------------------------------------------------------------------- fntslider */
#notify-settings {
  font-size: 11px;
}

#volume-set {
  display: flex;
  align-items: center;
}

#notify-settings,
#notify-settings * {
  text-transform: none;
}

.FNTslider,
#volSlider {
  width: 160px;
  z-index: 1;
  position: relative;
  display: block;
  height: 6px !important;
  border-radius: 0 !important;
  background: var(--color-gray3) !important;
  box-shadow: none !important;
  border: none !important;
}
.FNTslider .before,
#volSlider .before {
  height: 6px !important;
  margin: 0px !important;
  background: var(--color-gray3) !important;
  position: relative;
  border-radius: 0px !important;
}
.FNTslider .thumb,
#volSlider .thumb {
  width: 6px !important;
  height: 6px !important;
  position: relative;
  top: -9px !important;
  cursor: pointer;
  background: var(--color-accent1) !important;
  border-radius: 0px !important;
  margin-left: 0;
  box-shadow: none !important;
}

/*-------------------------------------------------------------------------------------- new theme */
.required label,
.datafield .input,
.selectfield label,
.inputfield label,
.inputfield.required.longinput,
#setmods dt {
  background-color: transparent !important;
  display: inline-block;
  margin-bottom: 7px;
  font-size: 10px;
  color: var(--color-gray1);
}

.inputfield.required.longinput:last-child {
  display: flex;
  align-items: center;
}

/*-------------------------------------------------------------------------------------- checkboxes */
p[class="checkfield"] *,
div[class="checkfield"] *,
fieldset[class="radiofield"] * {
  vertical-align: middle;
  font-size: 10px;
  padding: 2px 0;
  display: inline-block;
}

/* PAGES: VIEWFORUM, SEARCHPOSTS, ETC
--------------------------------------------------------------------------------------------------------------------------*/
.forum .tclcon {
  line-height: 14px;
}

.newtext {
  font-size: 0px;
}

.newtext a {
  background: var(--color-accent1);
  border-radius: 3px;
  padding: 1px 5px;
  font-weight: 500;
  font-size: 10px;
  color: var(--color-light2);
}

.pagestext a {
  color: var(--link) !important;
}

#pun-viewforum .category {
  margin-bottom: 10px;
}

#pun-reputation .inner {
  font-size: 10px;
  color: var(--color-dark1);
}

#pun-reputation .inner tr:nth-child(2) > td {
  padding: 15px 0;
}

#pun-reputation .container strong {
  font-weight: 500;
  font-size: 11px;
  color: var(--color-dark2);
}

#pun-reputation .container span {
  color: var(--color-gray2);
  font-size: 9px;
}

#pun-reputation .container .tc2 span {
  font-size: 11px;
  font-weight: 400;
  text-transform: none;
  color: var(--color-dark2);
}

#pun-reputation .inner tr:nth-child(3) > .tc2 {
  font-size: 0;
}

.forum .tclcon > a,
.forum .tclcon > strong a {
  position: relative;
  font-weight: 600;
  font-size: 12px;
  color: var(--color-dark2);
}

.forum .tclcon .byuser {
  color: var(--color-gray2);
}

#pun-multimove li.pl-select.checkfield,
#pun-multimove .pl-nodelete {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 10px;
}

#pun-multimove .modmenu p.container {
  align-items: center;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 20px 70px 80px;
}

#pun-main #move_posts_form thead tr,
#pun-main #move_posts_form tbody tr {
  grid-template-columns: 1fr 10px;
  display: grid !important;
  width: calc(100% - 25px) !important;
}

#move_posts_form thead,
#move_posts_form tbody {
  display: flex !important;
  flex-direction: column;
  gap: 7px;
}

/* PAGES: VIEWPROFILEb
--------------------------------------------------------------------------------------------------------------------------*/
#viewprofile > .container > ul > table > tbody > tr {
  display: grid;
  grid-template-columns: var(--prof-w) 1fr;
  align-items: start;
  position: relative;
  gap: 30px;
  margin: 0 40px;
}

#profile-signature tr {
  display: block;
  margin: 0px 0 0 0;
  border: none !important;
  background: none !important;
}

#profile-signature ul {
  border: none !important;
  padding: 0px !important;
  width: 100%;
}

/*-------------------------------------------------------------------------------------- left part */
#viewprofile #profile-left {
  width: inherit !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: visible;
  position: relative;
  margin-bottom: 35px;
}

#profile-left li {
  color: var(--color-dark1);
  width: 100%;
}

#profile-left li > strong {
  display: block;
}

#profile-name > strong {
  width: 100%;
}

/*-------------------------------------------------------------------------------------- right part */
#profile-right {
  width: 100% !important;
  overflow: visible !important;
  height: 100%;
  gap: 10px 30px;
  display: grid;
  grid-template-columns: 1fr 260px;
  align-items: start;
  grid-template-rows: repeat(1, 26px);
  align-content: start;
}

#profile-right li {
  gap: 10px;
  display: flex;
  height: 100%;
  align-items: center;
/* тут стиль окошек правой части */
}

#profile-right li > span,
#profile-right li > span * {
  font-weight: 500;
  font-size: 12px;
}

#profile-right li > span,
#profile-right li > span a {
  color: var(--color-dark2) !important;
}

#profile-right li > strong,
#profile-signature p {
  padding: 0 !important;
/* тут стиль подписи окошек */
}

#profile-right strong,
#profile-right strong a {
  color: var(--color-dark2) !important;
}

/*-------------------------------------------------------------------------------------- navigation */
#profilenav,
#pun-adnav {
  display: flex !important;
  justify-content: space-between;
  float: left;
  margin-left: 0 !important;
  position: sticky;
  top: 20px;
  flex-direction: column;
  gap: 10px;
}

#profilenav > ul,
#adnav-standard > ul {
  margin: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-direction: column;
  padding: 10px !important;
  gap: 10px;
}

.messages-container #profilenav ul:first-of-type a:hover {
  background: #cecece;
}

#profilenav .isactive a,
#pun-adnav .isactive a,
.messages-container #profilenav ul:first-of-type .isactive a {
  color: var(--color-accent6) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

#pun-adnav ul ul {
/* стиль окошка внутри форм в админке мелкого */
  margin: 10px 0;
  padding: 10px !important;
}

#pun-messages #profilenav > ul:first-of-type {
  gap: 10px;
}

#pun-messages #profilenav > ul:first-of-type .isactive a {
  background: var(--color-dark2);
  color: var(--color-light1) !important;
  font-weight: 500 !important;
}

/*-------------------------------------------------------------------------------------- inside */
#profile fieldset,
.adformal,
#profile .container > .formsubmit {
  padding: 20px;
}

.adfs-box .pagelink {
  gap: 5px;
}

#pun-profile .container > fieldset,
#pun-profile .container > form,
/*#pun-profile .adfs-box,
#pun-profile .select-file,*/
#profile .container > .formsubmit,
.adformal,
#messages,
.messages-container > .container > fieldset,
#profileContainer {
  margin-left: calc(var(--profnav-w) + 20px) !important;
}

#pun-profile .modal-inner .container > form {
  margin-left: 0 !important;
}

#profile fieldset fieldset,
#pun-admin_paid_services #pun-admain2 {
  margin-left: 0px !important;
  padding: 0px;
}

#pun-profile #profile {
  min-height: 300px;
}

span.files-page-select select {
  padding: 0px 7px;
}

/* PAGES: USERLIST, RESPECT, ONLINE
--------------------------------------------------------------------------------------------------------------------------*/
.usertable td,
.usertable th {
  text-align: center;
}

.usertable tbody .tcl,
#pun-respect tbody .tcl,
#pun-positive tbody .tcl {
  text-align: left;
}

#pun-respect #pun-main > .section td,
#pun-respect #pun-main > .section th,
#pun-positive #pun-main > .section td,
#pun-positive #pun-main > .section th {
  width: auto !important;
  text-align: center;
  overflow: hidden;
}

/*-------------------------------------------------------------------------------------- userlist */
.usertable tbody .username,
td.pmtc22 {
  display: grid;
  grid-template-columns: 36px auto;
  grid-template-areas: "ava user";
  gap: 10px;
  align-items: center;
}

#pun-online th.tcl.action {
  white-space: nowrap;
}

/*td.pmtc22 {
justify-content: end;
}*/

.usersname,
td.pmtc22 a,
#pun-viewforum td.tcr .byuser,
#pun-searchtopics td.tcr .byuser {
  grid-area: user;
  order: 2;
}

#pun-viewforum td.tcr .user-avatar,
#pun-searchtopics td.tcr .user-avatar {
  order: 1;
}

.usersname a {
  color: var(--color-dark1);
}

/* PAGES: MESSAGESb
--------------------------------------------------------------------------------------------------------------------------*/
#pun-messages li.pa-author {
  order: 2;
/* это расположения по порядку как в профиле */
}

#pun-messages li.pa-avatar.item2 {
  order: 3;
}

#pun-messages li.pa-posts {
  display: none;
}

#pun-messages li.pa-title {
  order: 1;
}

#pun-messages .pa-active,
#pun-messages .pa-online {
  order: 4;
}

#messages .linksb {
  margin-left: 0;
  margin-top: 20px;
}

.postlink.long .new-topic {
  padding: 0 !important;
}

input#OnOff_Notify {
  margin-top: -2px;
}

#volSlider.vol_slider {
  margin-top: 1px;
}

#messages td.tc3.pmtc33 {
  color: var(--color-dark4);
  font-size: 10px !important;
}

#messages td.tc2.pmtc22 a {
  font-weight: 500;
}

/* SCROLLBAR / SELECTION
--------------------------------------------------------------------------------------------------------------------------*/
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

#pun *::-webkit-scrollbar {
  width: 3px;
  height: 3px;
}

::-webkit-scrollbar-track {
  background: #c8c8c8;
  border-radius: 9px;
}

::-webkit-scrollbar-thumb {
  background: var(--color-accent1);
  border-radius: 9px;
}

.scrollbox::-webkit-scrollbar-track {
  background: #c8c8c8;
}

/*-------------------------------------------------------------------------------------- selection */
::selection,
.highlight-text {
  color: var(--color-light2) !important;
  background: var(--color-dark2) !important;
}

/* HIDDEN ELEMENTS
--------------------------------------------------------------------------------------------------------------------------*/
.acchide,
h1,
#pun-navlinks h2,
#pun-status h2,
#pun-ulinks h2,
.multipage .topic h2,
form#post.container legend span,
.post-sig dt span,
.crumbs strong,
.divider hr,
#pun-userlist .main h2,
#pun .modlist,
.stickytext,
.closedatafield,
#pun-viewforum #pun-main h2,
#pun-announcement h2,
#pun-modviewforum h2,
#pun-break4,
#pun-messages .post-sig,
.tipsy-arrow,
.clearer,
#pun-searchtopics #pun-main h2,
.num_msg:before,
#topic-users-in a:last-child:after,
#topic-modmenu span,
#pun-viewforum .modmenu span,
#post-form h2,
#pun-index thead,
/*#profile thead,*/
#pun-index .tcr br,
#pun-index .tc2,
#pun-index .tc3,
.lastedit,
.pa-reg,
.pa-gifts,
.pa-replies,
.sharelink,
.pl-share,
.pl-reports,
#viewprofile-next #profilenav,
#pa-invites,
#profile-gifts,
#pun-live-rusff,
.crumbs em,
#pun-searchposts em,
#pun-searchtopics .modmenu,
.bubble:after,
#pun-post .topic h2,
.hide-box .qcn,
#topic-feed,
/*.modal-inner h2 span,*/
.catleft,
.catright,
#button-files_rusff,
#button-graffiti_rusff,
#pun-index .subforums em,
.reactions-root,
.pa-ip .fld-name,
.mylike .post-vote,
#button-smile,
#pa-name,
#pa-birthdate,
#pa-location,
.postlink .closed,
.pa-respect img,
.pa-online,
.pa-last-visit,
#messages legend,
sup.new,
label[for="tags"],
span.cooltext,
.cool2,
#post #post-preview legend,
.postlink .closed,
#h-unanswered,
#h-replies,
#pa-sex {
  display: none !important;
}

.pun-modal.unread-notifications .modal-inner h2 span,
.pun-modal.rating_theme h2 span {
  display: inline-block !important;
}

/* MOBILE / MOZILLA
--------------------------------------------------------------------------------------------------------------------------*/
@-moz-document url-prefix() {
  * {
    scrollbar-width: thin;
  }
}

/*html{min-width: 1200px!important;}для мобил*/
@media screen and (max-device-width: 480px) {
  /*  a,
  a:hover,
  a:focus,
  a:active,*/
  #pun-status,
  .crumbs,
  #pun-stats ul.container,
  .modmenu .container,
  #pun-index .tcr .lastpost,
  #pun-respect td,
  #pun-respect th,
  #pun-positive td,
  #pun-positive th,
  #pun-viewforum td,
  #pun-searchtopics td,
  .quote-box a,
  .quote-box,
  .code-box a,
  .code-box {
    -webkit-text-size-adjust: none;
  }
  .hashelp center div a button,
  .button,
/*  input,*/
  select {
    appearance: none !important;
    -webkit-appearance: none !important;
  }
}

0

2

стиль
Код:
/* TABLA
--------------------------------------------------------------------------------------------------------------------------*/
/* тут коды таблы */

/*-------------------------------------------------------------------------------------- banners */
.banners {
  position: absolute;
  left: 69px;
  display: flex;
  overflow: auto;
  flex-wrap: wrap;
  padding-right: 5px;
  gap: 3px;
}

.banners a {
  opacity: 0.3;
  mix-blend-mode: luminosity;
  filter: grayscale(1);
  width: 88px;
  height: 31px;
  transition:
    opacity 0.3s,
    mix-blend-mode 0.3s,
    filter 0.3s;
}

.banners a:hover {
  opacity: 1;
  mix-blend-mode: normal;
  filter: none;
}

/* FUNCTIONAL
--------------------------------------------------------------------------------------------------------------------------*/
ul,
dl,
li,
dd,
dt {
  padding: 0px;
  list-style: none;
}

.modal-inner {
  padding: 10px;
}

.hscroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

/*-------------------------------------------------------------------------------------- mask */
#mask_dialog .inner,
.editBookmark,
#MyBookmarks,
.hvStickerPackModal {
  font: 500 10px var(--font);
}

/*#mask_dialog .hv-mask-dialog-title,*/
.editBookmark h1,
#MyBookmarks h2,
#MyBookmarks h1 {
  color: var(--color-accent1);
}

#mask_dialog form#mask_form {
  max-width: 480px;
}

/*-------------------------------------------------------------------------------------- bookmark */
#BookmCntToggle.default-style {
  background: var(--pun-bg) !important;
  height: 28px !important;
  width: 28px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  opacity: 1 !important;
  font-size: 0;
}

#BookmCntToggle.default-style:before,
.post .bookmark:before {
  content: "\f31d" !important;
  font: 500 16px var(--mat);
  background: transparent !important;
  color: rgba(var(--color-gray4), 0.4);
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  transition: color 0.3s;
}

#MyBookmarks .deS {
  color: var(--color-gray1);
}

.editBookmark h1,
#MyBookmarks h2,
#MyBookmarks h1 {
  margin: 10px 10px 0 10px;
  background: rgba(var(--color-accent1));
  border-radius: 100px !important;
  height: 24px;
  display: flex !important;
  align-items: center;
  font: 500 12px var(--font1);
  padding: 7px;
  color: var(--color-light1);
}

#MyBookmarks #bm2:after {
  content: "\e15e" !important;
  font: 500 12px var(--mat);
  margin: 0px !important;
  position: relative !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
}

#pun #MyBookmarks #bm2 {
  background: transparent !important;
  border: none !important;
  width: auto !important;
  height: auto !important;
  top: auto !important;
}

#MyBookmarks span.scrl {
  box-shadow: none !important;
  margin-left: 10px !important;
  width: 100px !important;
  text-shadow: none !important;
  background: var(--color-dark2) !important;
  transition:
    background 0.5s,
    border-top-width 0.5s,
    border-bottom-width 0.5s;
  line-height: 0 !important;
  padding: 0 !important;
  height: 22px;
  display: flex;
  justify-content: center;
  border-radius: 7px;
}

#MyBookmarks span.scrl span:before {
  font: 500 14px var(--mat);
  content: "\f71a" !important;
  color: var(--color-accent3);
}

#MyBookmarks span.scrl span {
  height: 100%;
  display: flex !important;
  align-items: center;
}

#MyBookmarks span.scrl.b span {
  transform-origin: 50% 50% !important;
}

#MyBookmarks span.scrl:hover {
  background: var(--color-gray2) !important;
  border-top-width: 10px;
  border-bottom-width: 10px;
}

#MyBookmarks .BookmarkL > span.last_click {
  box-shadow: none !important;
  background: rgba(var(--color-accent1), 0.5) !important;
}

#MyBookmarks inner {
  padding-top: 30px !important;
}

#MyBookmarks li num {
  font: 600 italic 10px var(--font);
  color: var(--color-gray1);
  order: 1;
}

#MyBookmarks li > span {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
}

#MyBookmarks li.BookmarkL > span > a {
  order: 2;
  width: 100%;
  padding: 0 !important;
  font: 400 10px var(--font);
  color: var(--color-light1);
}

#MyBookmarks li span strong {
  float: none !important;
  order: 3;
  padding: 0 !important;
  color: var(--color-gray1) !important;
  margin: 0 !important;
  font-size: 0 !important;
}

#MyBookmarks li.BookmarkL:last-child {
  border: none !important;
}

/* */

.post .bookmark {
  right: -15px !important;
  width: 28px !important;
  height: 28px !important;
  font-size: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pun1) !important;
  border: var(--border2);
  border-radius: 7px 0 7px 7px;
  opacity: 1 !important;
  cursor: pointer;
}

.post .bookmark:before {
  position: relative !important;
  border: none !important;
  left: auto !important;
  transition: color 0.5s;
}

.post .bookmark.hover:before {
  color: rgba(var(--color-accent1));
}

.editBookmark h1 {
  justify-content: space-between;
  flex-direction: row-reverse;
}

span.delBookmark:before,
#MyBookmarks li span strong:before {
  content: "\e872";
  font: 500 14px var(--mat);
}

#pun span.delBookmark {
  float: none !important;
  font-size: 0 !important;
}

/*-------------------------------------------------------------------------------------- smilies */
.hvStickerPackModalContent {
  border: var(--border2);
  align-items: center;
  justify-content: start !important;
}

.hvStickerPackModalContainer {
  margin-top: -37px;
}

/*-------------------------------------------------------------------------------------- legends */
legend {
  padding: 0;
}

#viewprofile h2 span,
#profilenav h2,
#pun-admain h2 span,
legend > span,
legend > strong {
  margin: 0;
  position: relative;
  display: block;
  background: var(--color-dark2) !important;
  padding: 3px 5px !important;
  font: 400 10px/1 var(--font1) !important;
  color: var(--color-light1) !important;
  width: fit-content;
  text-transform: lowercase;
}

.modal-inner legend span {
  background: transparent !important;
  color: inherit !important;
  font: inherit !important;
  padding: 0 !important;
  margin: 0 !important;
}

/*-------------------------------------------------------------------------------------- del, abbr, underline */
del {
  filter: blur(1px);
  text-decoration: none;
  transition:
    filter 0.3s,
    opacity 0.3s;
  opacity: 0.5;
  background: transparent !important;
}
del:hover {
  font: inherit;
  filter: none;
  opacity: 1;
}

abbr {
  border-bottom: 2px dotted var(--color-accent1);
  text-decoration: none;
}

.bbuline {
  border-bottom: 1px solid;
  font-style: normal;
}

/*-------------------------------------------------------------------------------------- lines */
.post-content hr {
  border-top: none;
}

.post-sig dt {
  border-top: 1px solid;
  margin-bottom: 20px;
}

dd {
  line-height: 150%;
  margin-left: 0px;
}

.fs-box.inline,
.post-sig dt,
.post-content hr {
  border-color: var(--color-gray3) !important;
  opacity: 1 !important;
}

/*-------------------------------------------------------------------------------------- infoboxes */
.info-box,
.info {
}

/* TITLE, TOOLTIP / NOTIFICATIONS
--------------------------------------------------------------------------------------------------------------------------*/
#tooltip,
.tipsy-inner {
  z-index: 999999;
  border-radius: 6px !important;
  padding: 6px 8px;
  font: 400 10px var(--font);
}

#tooltip,
.tipsy-inner,
#respect figure .prof,
.tipsy-inner a {
  color: var(--color-light1) !important;
  text-decoration: none !important;
}

#tooltip {
  position: absolute;
  max-width: 200px;
  display: none;
}

#tooltip,
.tipsy-inner,
.num_msg,
.bubble {
  background: var(--color-dark2) !important;
}

/*-------------------------------------------------------------------------------------- notifications */
.jGrowl-notification,
.jGrowl .messag_theme,
#messages-list a.Author,
.jGrowl-closer/*,
#notify-link .unreads*/ {
  background: var(--notify) !important;
}

.jGrowl,
.jGrowl-notification,
.jGrowl-closer,
.notification-spoiler {
  font: 600 11px var(--font) !important;
}

body .jGrowl,
body .jGrowl *,
.num_msg,
.bubble,
.jGrowl-notification,
.jGrowl .messag_theme,
#messages-list a.Author {
  text-shadow: none !important;
  font-weight: normal !important;
  color: #fff !important;
}

.jGrowl-notification .jGrowl-header {
  font: 500 11px var(--font1) !important;
}

.notification-right {
  overflow: hidden;
}
.notification-item {
  padding: 10px;
}

#navpm {
  position: relative;
}

.num_msg {
  margin: 0 0 0 -1px !important;
  height: 14px !important;
  font: 500 9px var(--font) !important;
  display: inline-flex !important;
  border-radius: 3px !important;
  width: 14px !important;
  align-items: center;
  justify-content: center;
  /* position: relative !important; */
  top: -2px;
}

.bubble {
  position: relative !important;
  top: -1px !important;
  right: -4px !important;
}

.notify-message .jGrowl-close {
  padding: 2px 5px !important;
}

#notify-link .unreads,
#navpm .unreads {
  top: 0px !important;
  position: relative !important;
  right: -4px !important;
  margin: 0 0 -2px 0;
  color: #fff !important;
  background: var(--color-accent1) !important;
  padding: 1px !important;
  border-radius: 3px !important;
  height: 10px !important;
  align-items: center;
  justify-content: center;
  font: 400 8px/1 var(--font) !important;
}

.notify-link {
  display: inline-block;
}

#notifications tr {
  display: block;
}

.jGrowl-notification,
.jGrowl-closer,
.notification-spoiler {
  box-shadow: none !important;
}

/* ADMINSTYLE
--------------------------------------------------------------------------------------------------------------------------*/
.adminmain {
  padding-left: 0 !important;
  margin-bottom: 0 !important;
}

#pun-admain .adlabel {
  width: 17em !important;
}

#pun-admain legend span {
  border: none;
}

#pun-admain h2 span {
  white-space: nowrap;
}

#pun-adnav li,
#pun-adnav h2,
.adformal h2 {
  padding: 0 !important;
}

.contains-textarea .adlabel {
  color: #000 !important;
}

#pun-admain p.adsubmitfield span.adsubmit {
  top: 32px !important;
}

#pun-admain fieldset p {
  font: 400 10px/1 var(--font1);
  margin: 10px 1px;
  background: transparent !important;
  border: none !important;
  outline: var(--border1);
  border-left: 200px solid var(--pun) !important;
  min-height: 40px;
}

#pun-adnav h2,
.adformal h2 {
  background-color: transparent !important;
  border: none !important;
}
.adcontainer {
  border: none !important;
}
#pun-admain .adformal p.submitend {
  margin-top: 10px;
}
#pun-admain1 form.adcontainer,
#pun-admain2 form.adcontainer,
#pun-admain-new form.adcontainer,
#pun-admain1 div.adcontainer,
#pun-admain2 div.adcontainer {
  padding: 0px !important;
}
#pun-adnav a {
  font-weight: normal !important;
}
.adformal h2 {
  margin-top: -20px !important;
}
#pun-admain fieldset {
  padding: 0 !important;
}
#pun-admain .adcontainer th {
  background-color: transparent !important;
}
#pun-admain .linksb {
  width: 733px;
  height: 40px !important;
}
#pun-admain .postlink {
  margin-top: -10px;
}

.punbb-admin thead tr {
  display: table-row;
}

#pun-admain .usermail {
  display: block;
  margin-top: 5px;
}

#pun-adnav ul.adsubnav li {
  list-style: none !important;
}

#pun-admain .adcontainer td {
  border: none !important;
  padding: 0 !important;
}

#pun-admain #filetable th {
  width: inherit !important;
}

#pun-admain fieldset .adfs-box {
  padding-top: 15px !important;
}

/* UPb / DOWNb
--------------------------------------------------------------------------------------------------------------------------*/
.arrows_wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: fixed;
  margin-left: calc(var(--main-w) + 52px);/* отступ от тела */
  bottom: 50%;
  transform: translateY(-50%);
}

.arrows {
  cursor: pointer;
  opacity: 1;
  display: none;
}

.arrows span {
  display: flex;
  transition:
    transform 0.7s,
    color 0.7s;
  align-items: center;
  justify-content: center;
}

.arrows.top span:before {
}

.arrows.bottom span:before {
}

.arrows:hover span {
}
.arrows.top:hover span {
  transform: translateY(-10px);
}

.arrows.bottom:hover span {
  transform: translateY(10px);
}

/* THEMES
--------------------------------------------------------------------------------------------------------------------------*/
/* тут коды тем */

0

3

ОБЯЗАТЕЛЬНЫЙ ПАК СКРИПТОВ


ХТМЛ-ВЕРХ
цитата потомушо скрипт сокрытия профиля все сбивает

<!----------------------------------------------------- УНИВЕРСАЛЬНЫЙ ГОРИЗОНТАЛЬНЫЙ СКРОЛЛ © blanche, chatgpt ----><script src="https://forumstatic.ru/files/001a/e6/32/84839.js" type="text/javascript"></script>

<!-------------------------------------------------------------------------------------- СТРЕЛКИ, ред. blanche --->
<div class="arrows top" id='ToTop'><span></span></div>
<div class="arrows bottom" id='OnBottom'><span></span></div>
<script type="text/javascript">
$(function(){
if ($(window).scrollTop()>="250") $("#ToTop").fadeIn("slow")
$(window).scroll(function(){
if ($(window).scrollTop()<="250") $("#ToTop").fadeOut("slow")
else $("#ToTop").fadeIn("slow")
  });
if ($(window).scrollTop()<=$(document).height()-"999") $("#OnBottom").fadeIn("slow")
  $(window).scroll(function(){
  if ($(window).scrollTop()>=$(document).height()-"999") $("#OnBottom").fadeOut("slow")
     else $("#OnBottom").fadeIn("slow")
});
$("#ToTop").click(function(){
  $("html,body").animate({scrollTop:0},"slow")
})
$("#OnBottom").click(function(){
  $("html,body").animate({scrollTop:$(document).height()},"slow")
})
});
</script>

<!---------------------------------------------------------------------------------------------- ВЫДЕЛИТЬ КОД © Alex_63 ---->
<script type="text/javascript" src="https://forumstatic.ru/files/0015/c4/3f/26102.js"></script>
<script>eval(select_text.toString().replace(/\}$/,'try{document.execCommand("copy")}catch(e){}}'))</script>
<script type="text/javascript">select_text.linkText = 'ctrl + c' //текст ссылки</script>

<!-------------------------------------------------------------------------------------------------- БЫСТРОПЛЮСЫ © Deff ---->
<script type="text/javascript" src="https://forumstatic.ru/files/0012/d8/04/58219.js" addComment="1"></script>

<!-------------------------------------------------------------------------------------------- СКРЫТЬ ПРОФИЛЬ © Deff ---->
<style type="text/css">.hideprofile .post-author,.hideprofile .pl-email,.hideprofile .pl-website{display:none!important}
.hideprofile .post-body {width: 100%}</style>
<script>
FORUM.set('editor.addition.tags.hideprofile',{name:'Скрыть минипрофиль',onclick:function(){insert('[hideprofile]');}});
$().pun_mainReady(function(){$('.post:contains("[hideprofile]")').addClass('hideprofile').html(function(){return $(this).html().replace(/\[hideprofile\]/gim,'')})});
</script>

<!---------------------------------------------------------------------------------------------------------- HTML © Alex_63 ---->
<script type="text/javascript" src="https://forumstatic.ru/files/0015/c4/3f/52361.js"></script>
<script type="text/javascript">
HTMLinPost.groups = [1,2,3,4,5,6,7,8,9,10]; // Группы, допущенные к вставке HTML в посты
HTMLinPost.noAccess = []; // Пользователи с запретом вставки HTML в посты
HTMLinPost.parseHTMLinPosts()
</script>

ХТМЛ-НИЗ

Код:
<!------------------------------------------------------------ ССЫЛКА НА АВТОРСКИЙ ПОСТ В ЦИТАТЕ V.3 © Alex_63 ---->
<script type="text/javascript">
var quote_img = 'https://forumstatic.ru/files/0015/ec/20/41408.png'; //Кнопка "Перейти к сообщению" в цитате
$('.quote-box>cite:not(:contains("Скрытый текст:"))').each(function() {
  var cntq=$(this).text(),sp0='<span class="qcn">Сообщение от</span> ',
  sp1='<span class="qc-uname">###</span>';
  if(cntq.indexOf('#p')!=-1){var pid=cntq.split(',')[0],autq=cntq.split(',')[1].split(' написал')[0],
    lnkq='<a class="qc-post-link" href="',imgq='<img src="'+quote_img+'" title="Перейти к сообщению"/>',
    sp2='&nbsp;<span class="qc-post-link">'+lnkq;sp1=sp1.replace('###',autq);
    if($('.post'+pid).length){$(this).html(sp0+sp1+sp2+pid+'">'+imgq+'</a></span>');}else
    {$(this).html(sp0+sp1+sp2+'/viewtopic.php?pid='+pid.split('#p')[1]+pid+'">'+imgq+'</a></span>');}
  }else{var autq=cntq.split(' написал')[0];sp1=sp1.replace('###',autq);$(this).html(sp0+sp1);}
});$('#pun-viewtopic .pl-quote>a').each(function() {
  $(this).attr('href',$(this).attr('href').replace('(\'','(\'#'+$(this).parents('.post').attr('id')+','));
});
</script>


<!------------------------------------------------------------------------------ АВАТАРЫ © Deff, Alex_63, mod. blanche, chatgpt ---->
<style>.avatar-image[style*="default_avatar.jpg"] {
  background: var(--av-def) !important;
}
</style>
<script type="text/javascript">
$(function() {
  const cssGuest = getComputedStyle(document.documentElement)
                    .getPropertyValue('--av-gst')
                    .trim()
                    .replace(/^url\(["']?|["']?\)$/g, '');
  const cssDefault = getComputedStyle(document.documentElement)
                      .getPropertyValue('--av-def')
                      .trim()
                      .replace(/^url\(["']?|["']?\)$/g, '');

  const DefAvtr = cssDefault || cssGuest;
  const GuestAvtr = cssGuest || cssDefault;

  $('#pun-viewtopic, #pun-messages').find('.pa-title').each(function() {
    const isGuest = $(this).text().trim() === 'Гость';
    const avatarSrc = isGuest ? GuestAvtr : DefAvtr;
    const avatarHTML = `<li class="pa-avatar item2"><img class="defavtr" src="${avatarSrc}" alt="Аватар"></li>`;
    if (!$(this).parent().find('.pa-avatar').length) {
      $(this).after(avatarHTML);
    }
  });

  $('#profile-left strong:contains("Нет аватара")')
    .parent()
    .html(`<div><img class="defavtr" src="${DefAvtr}" alt="Аватар"></div>`);
});
</script>




<!-------------------------------------------------------------------------------------------- РАЗМЕР ШРИФТА © Alex_63 ---->
<script type="text/javascript" src="https://forumstatic.ru/files/0015/c4/3f/31001.js"></script>



<!-------------------------------------------------------------------------------------------- КЛИКАБЕЛЬНЫЙ НИК ГОСТЯ ---->
<script>$(".post[data-group-id=3]").find(".pa-author").html(function(){return this.innerHTML.replace(/(<.+>)(.+)$/,'$1<a href="javascript:to(\'$2\')">$2</a>')});</script>




<!-------------------------------------------------------------------------------------------------- ЗАПЯТАЯ ПОСЛЕ НИКА ---->
<script type="text/javascript">
function to(username)
{insert('[b]' + username + '[/b]' + ', ');}
</script>



<!------------------------------------------------------------------------------------- ОНЛАЙН © Alex_63, mod. blanche, chatgpt ---->
<script type="text/javascript">
$('.post').each(function() {
const $post = $(this);
const groupId = $post.data('group-id');
if (groupId === 3) return;

const $authorBlock = $post.find('.post-author');
const $ul = $authorBlock.find('ul');

const activeTime = ($post.find('.pa-online').text().split('Активен')[1] || '').trim();
const offTime = ($post.find('.pa-last-visit').text().split('Последний визит:')[1] || '').trim();

$post.find('.pa-online, .pa-last-visit').hide();
$ul.find('.pa-active').remove();

if ($authorBlock.hasClass('online')) {
$ul.append('<li class="pa-active online" title="онлайн '+activeTime+'"></li>');
} else {
$ul.append('<li class="pa-active offline" title="последний визит: '+offTime+'"></li>');
}
});
</script>



<!----------------------------------------------------------------------------------------------------------------------- ТИТЛ ---->
<script type="text/javascript" src="https://forumstatic.ru/files/001a/01/8e/61341.js"></script>
<script>  
 $(document).ready(function(){ 
 $('a [title]').quicktip({ speed:700 }); 
 $('img [title]').quicktip({ speed:700 }); 
 $('div [title]').quicktip({ speed:700 }); 
 $('span [title]').quicktip({ speed:700 }); 
 }); 
 </script>




<!---------------------------------------------------------------------------------------- УНИВЕРСАЛЬНАЯ ЗАМЕНА © Deff ---->
<script>function UniverСhange(selektor,changed,substitute){
$(selektor).each(function(){if ($(this).parent().html()!=null){if($(this).parent().html().indexOf(changed)!=-1){
$(this).parent().html($(this).parent().html().replace(changed,substitute));};};});}

UniverСhange("#pun-stats h2 span","Статистика форума","statistics"); 
UniverСhange("#pa-posts strong","-","");
UniverСhange("#pa-email strong","(Скрыт) - ","");
UniverСhange("#pa-email strong"," - ","");
UniverСhange("#pa-posts strong","|",""); 

</script>




<!---------------------------------------------------------- БАННЕРЫ (ВНИЗУ ДЛЯ ПРОГРУЗКИ) ----><div class="banners hscroll">

<a href="https://imagiart.ru/profile.php?id=529" target="_blank"> <img src="https://forumstatic.ru/files/001a/e6/32/30388.png" title="заказать реально классную верстку"></a>
<a href="https://imagiart.ru/profile.php?id=529" target="_blank"> <img src="https://forumstatic.ru/files/001a/e6/32/30388.png" title="заказать реально классную верстку"></a>
<a href="https://imagiart.ru/profile.php?id=529" target="_blank"> <img src="https://forumstatic.ru/files/001a/e6/32/30388.png" title="заказать реально классную верстку"></a>
<a href="https://imagiart.ru/profile.php?id=529" target="_blank"> <img src="https://forumstatic.ru/files/001a/e6/32/30388.png" title="заказать реально классную верстку"></a>
<a href="https://imagiart.ru/profile.php?id=529" target="_blank"> <img src="https://forumstatic.ru/files/001a/e6/32/30388.png" title="заказать реально классную верстку"></a>
<a href="https://imagiart.ru/profile.php?id=529" target="_blank"> <img src="https://forumstatic.ru/files/001a/e6/32/30388.png" title="заказать реально классную верстку"></a>
<a href="https://imagiart.ru/profile.php?id=529" target="_blank"> <img src="https://forumstatic.ru/files/001a/e6/32/30388.png" title="заказать реально классную верстку"></a>
<a href="https://imagiart.ru/profile.php?id=529" target="_blank"> <img src="https://forumstatic.ru/files/001a/e6/32/30388.png" title="заказать реально классную верстку"></a>
<a href="https://imagiart.ru/profile.php?id=529" target="_blank"> <img src="https://forumstatic.ru/files/001a/e6/32/30388.png" title="заказать реально классную верстку"></a>
<a href="https://imagiart.ru/profile.php?id=529" target="_blank"> <img src="https://forumstatic.ru/files/001a/e6/32/30388.png" title="заказать реально классную верстку"></a>

</div><!-- конец баннеров -->

ФОРМА ОТВЕТА

Код:
<!------------------------------------------------------------------ СЧЕТЧИК СИМВОЛОВ © Deff, переработка blanche ---->
<script>var a,L,epl=$("#main-reply"),str='<small id="plng">написано <b>00</b> символов</small>';epl.parents("fieldset").find("#form-buttons").prepend(str);function epl3(){a=epl.val().length;if(a>9){L=''}else{L='0'};$("#plng b").text(L+a)};epl3();$(".pl-quote").click(function (){setTimeout('epl3()',100)});epl.bind('mouseout mousemove keydown keypress keyup',function(e){epl3()});</script>




<!----------------------------------------------------------------------------------------------------- ВСТАВКА КАРТИНКИ ---->
<script>
var oldIMG="<td id=\"button-imagetwo\" title=\"вставить картинку\"><img onclick=\"bbcode('[img]','[/img]')\" src=\"/i/blank.gif\"/></td>"
$("#button-image").after(oldIMG);
</script>

0

4

все коды таблицы размещаю в объявлении, но это по желанию)

0

Быстрый ответ

Напишите ваше сообщение и нажмите «Отправить»



Вы здесь » blanche design studio » complete » подфор в подфоре » код


Рейтинг форумов | Создать форум бесплатно