не самый аккуратный код по итогу но что поделать
style.css
Код:
/* A1.1 */
@import url(style_cs.css);
@import url('https://kit-pro.fontawesome.com/releases/v6.6.0/css/pro.min.css');
:root, medium {
--textarea-bg: #DBDBDB; /* мягкий серый фон */
--textarea-text: #666666; /* основной текст */
--textarea-border: #EEEEEE; /* светлая граница */
--textarea-focus-border: #809DBC; /* рамка при фокусе-цвет */
--textarea-border-width: 0px;
--bg-quote: #adadad; /* цитаты и code-блоки */
--text-quote-box: #565656;
--button-bg: #809DBC; /* базовый розовый фон */
--button-text: #2B2B2B; /* тёмный текст */
--button-hover-bg: #DBDBDB; /* мягкий серый при наведении */
--button-hover-text: #888; /* белый текст при наведении */
--scrollbar-track: #3B3C3D;
--scrollbar-thumb: #809DBC;
--selection-bg: #809DBC;
--selection-text: #2B2B2B;
/* basic things */
--padding-post-date: 20px;
/* table colors — title */
--table-font: 'Pixelify Sans', sans-serif, Verdana;
--table-font-size: 20px;
--table-font-size-fname: 80px;
--table-font-color: #809DBC;
--table-plashka-bg: #809DBC;
--table-font-text-color: #555;
--table-text-transform: initial;
--table-font-style: normal;
— /* ссылки */
--link: #809DBC;
--link-hover: #809DBC; /*#ffffff;*/
--tcl-text: #666666;
--tcr-link: #8B8B8B;
/* navlink ulink */
--nav-margint: -50px;
--bg-nav: #2A2525;
--bg-nav-deep: #809DBC; /* navlinks контейнер */
--bg-nav-hover: #809DBC; /* navlinks:hover контейнер */
--navlink-text: #CECECE;
--navlink-hover-text: #000;
--bg-ulinks: #809DBC;
--ulink-text: #000;
--ulink-hover-text: #000;
--nav-height-button: 24px;
--text-main: #434343; /* основной текст */
--tcr-text: #737576; /* вторичный текст, tcr-text */
--tcl-text: #666666; /* вторичный текст, tcl-text */
--text-h2-h1: #809DBC; /* текст заголовков */
--text-h1: #666666; /* текст заголовков */
--pun-status-text: #fff; /* hallo world текст */
--white: #fff;
--bg-author: #d9d9d9;
--bg-plashka: #999;
--text-plashka: #fff;
--text-author: #434343;
/* Фоновые цвета */
--bg-body: url('https://forumstatic.ru/files/001c/92/ae/26921.png'); /* фон страницы img */
--bg-color: rgba(120, 120, 120); /* фон страницы #66747B; */
--bg-posts: #CCCBCB; /* фон блоков: посты, контейнеры, pun */
--bg-posts-alt: #CCCBCB; /* фон блоков: посты, контейнеры, pun */
--bg-tr-forum: #E4E4E4; /* фон подложки под форумы ->tr id forum */
--font-main: Verdana, Arial, sans-serif;
--font-navlinks: Montserrat, Verdana, Arial, sans-serif;
--font-size: 10px;
--font-navlinks-style: uppercase;
--line-height: 1.5;
--bg-category-a: url('https://forumstatic.ru/files/001c/92/ae/77591.png');
--bg-category-b: url('https://forumstatic.ru/files/001c/92/ae/15837.png');
--bg-category-c: url('https://forumstatic.ru/files/001c/82/d2/89643.png?v=1');
--header: url('http://forumstatic.ru/files/001c/92/ae/87115.png');
--footer: url('https://forumstatic.ru/files/001c/92/ae/83846.png');
--hh-height: 351px;
--forum-spacing: 12px;
--border-light: #969696;
--radius-pill: 8px 8px 0px 0px;
--radius-pill2: 0px 0px 8px 8px;
--radius-block1: 20px 20px 0px 0px;
--radius-block2: 0px 0px 20px 20px;
/*иконки*/
--icon-old: url('https://forumstatic.ru/files/001c/92/ae/52642.png');
--icon-new: url('https://forumstatic.ru/files/001c/92/ae/81381.png');
--icon-width: 62px;
--icon-height:39px;
/*ввер-вниз*/
--button-updown-width:60px;
--button-updown-height:26px;
--button-margin-left:1040px;
--button-up:url(http://forumstatic.ru/files/001c/92/ae/55219.png);
--button-down:url(http://forumstatic.ru/files/001c/92/ae/54034.png);
}
/* variables */
.light {
--bg-body: url('http://forumstatic.ru/files/001c/92/ae/13689.png');
}
.dark {
--bg-posts: #454545; /* фон блоков: посты, контейнеры, pun */
--bg-posts-alt: #454545; /* фон блоков: посты, контейнеры, pun */
--text-main: #BFBCB8; /* основной текст */
--tcr-text: #9F9F9F; /* вторичный текст, tcr-text */
--tcl-text: #9F9F9F; /* вторичный текст, tcl-text */
--textarea-bg: #323232; /* мягкий серый фон */
--textarea-text: #9D9D9D; /* основной текст */
--textarea-border: #323232; /* светлая граница */
--textarea-focus-border: #323232; /* рамка при фокусе-цвет */
--textarea-border-width: 0px;
--bg-plashka: #323232;
--text-plashka: #9D9D9D;
--bg-quote: #323232; /* цитаты и code-блоки */
--text-quote-box: #9D9D9D;
--bg-author: #393939;
--text-author: #9D9D9D;
}
.punbb .quote-box{padding-right: 12%!important;
}
.punbb .quote-box, .punbb .code-box {
padding: 4px;
font-size: 8px;
border-top: 1px dashed #565656;
border-radius: var(--radius-pill2);
}
#pun-main {padding-right: 20px;}
#pun-status, #pun-stats, #pun-main {padding-left: 30px!important;}
#pun-navlinks {position:absolute;top:0;left:50%;transform:translateX(-50%);z-index:10;margin-top:var(--nav-margint)}
/*image logo
-------------------------------------------------------------*/
#pun-title table {background-image:var(--header);background-repeat:no-repeat;background-position:center top;background-size:cover;height:351px!important;width:100%}#pun-title h1 span{display:none}
/* navlinks; ulinks
-------------------------------------------------------------*/
#pun-navlinks ul, #pun-ulinks ul {display: flex; justify-content: center; padding: 0; margin: 0;}
#pun-navlinks ul {gap: 12px;} #pun-ulinks ul {gap: 8px;}
#pun-navlinks li, #pun-ulinks li {list-style: none;}
#pun-navlinks a {
display: inline-block;
background-color: var(--bg-nav);
color: black;
font-family: var(--font-navlinks);
text-transform: var(--font-navlinks-style);
font-size: var(--font-size);
font-weight: 400;
line-height: 1.45;
padding: 0 12px;
height: var(--nav-height-button);
border-radius: var(--radius-pill);
display: flex;
align-items: center;
justify-content: center;
text-decoration: none;
}
#pun-navlinks {position:absolute; top:26px;}
#pun-ulinks {position:absolute;top:0px;left:142px;align-items:center!important;width:716px;height:14px;background-color: var(--bg-ulinks); line-height: .9; padding:0px!important;}
/* базовая типографика */
body {
font-family: var(--font-main);
font-size: var(--font-size);
line-height: var(--line-height);
margin: 0;
padding: 0;
display: flex;
justify-content: center;
background: var(--bg-body) repeat center top fixed;
background-size: auto;
background-color: var(--bg-color);
}
/* стилизация текстовой области в форме ответа */
#pun-main .formal textarea {
font-family: var(--font-main);
font-size: var(--font-size);
border: 1px solid var(--border-light);
padding: 5px;
width: 100%;
box-sizing: border-box;
}
/* выравнивание содержимого внутри */
#pun > * {text-align: justify;}
/* базовая ширина и структура */
#pun {width: 1000px; margin: 0 auto;
border-radius: 60px;}
/* тексты и заголовки в lower-case */
#pun h1, h2, h3, .container a, .crumbs, .category, .section, .modmenu, .legend, .post-links a, .forum-desc, .pa-author, .pa-title, .pa-respect, .pa-positive, .pa-time-visit, div.postlink, div.subscribelink, .post-author, .pagelink, #pun-live-rusff, #post > fieldset:nth-child(2) > legend {text-transform: lowercase;}
.post-content {text-transform: none;}
/*убрать текст предпросмотр*/
#post-preview > legend > span {display:none;}
/* A3.4 */
.punbb h1, .punbb h2, .punbb h3, .punbb h4, .punbb table, .punbb th {font-size: 1em;
font-weight: normal;}
/* A3.5 */
.punbb h1 span, .punbb h2 span, .punbb legend span {font-size: 1.1em;}
/* A3.8 */
.punbb .post-content em {font-style: italic}
/* A3.9 */
.punbb .post-content em.bbuline {font-style: normal;
text-decoration: underline;}
/* A3.10 */
.punbb a {text-decoration: underline}
/* убираем лишнюю обводку*/
.punbb .post-box, .punbb fieldset .post-box, .punbb .formal fieldset {border: none; padding: 0; margin: 0;}
/* category, table -------------------------------------------------------------*/
.punbb .main table {table-layout: fixed; width: 100%; padding-bottom:6px; text-align: justify;}
.punbb .main .tcl {width: 600px; overflow: hidden; text-overflow: ellipsis; padding-bottom:25px;}
.punbb .main .tc2, .punbb .main .tc3 {width: 0%!imporant; text-align: center;}
.punbb .main .tcr {width: 200px; white-space: wrap; text-align: right; padding-right:30px;}
.punbb .main thead {display: none;}
#pun-category1 h2, #pun-category3 h2, #pun-category5 h2, #pun-category7 h2 {background-image: var(--bg-category-b);}
#pun-category2 h2, #pun-category4 h2, #pun-category6 h2, #pun-category8 h2 {background-image: var(--bg-category-a);}
#pun-main h2 {
background-repeat: no-repeat;
background-position: center;
font-family: 'Arial Black', sans-serif;
font-size: 12px;
line-height: 1.2;
color: #fff;
text-align: center;
letter-spacing: 0.5px;
padding: 10px;
margin: 0;
height: 20px;
}
/*
-------------------------------------------------------------*/
/* A2 Deal with browser defaults and wonkiness
-------------------------------------------------------------*/
/* A2.3 */
.punbb ul, .punbb dl, .punbb li, .punbb dd, .punbb dt {
list-style: none;
}
/* A2.4 */
.punbb img, li.pa-avatar {
border:none;
}
/* A4 Float clearing and hidden items
-------------------------------------------------------------*/
/* A4.1 */
#pun:after,
.punbb .container:after,
.punbb .post-links ul:after,
.punbb .main div.inline:after,
.punbb .post-box:after,
.punbb .linksb:after {clear: both;
content: ".";
display: block;
height: 0;
visibility: hidden;
overflow:hidden;
line-height: 0.0;
font-size: 0;}
/* A4.2 */
.acchide,
#pun-index #pun-main h1,
#pun-navlinks h2,
#pun-pagelinks h2,
#pun-status h2,
#pun-ulinks h2,
.punbb .forum h2,
.punbb .multipage .topic h2,
.punbb dl.post-sig dt span,
.punbb p.crumbs strong,
.punbb .divider hr,
.punbb .required label em,
.punbb .formsubmit label,
.punbb .submitfield label,
.punbb .modmenu label,
#pun-userlist .main h2 {font-size: 0;
height: 0;
width: 0;
line-height: 0.0;
position:absolute;
left: -9999px;
overflow: hidden}
/* A5 Basic page layout and borders
-------------------------------------------------------------*/
/* A5.1 */
#pun {position: relative; margin-top:80px; margin-bottom:80px;}
/* A5.3 */
#pun-redirect, #pun-maint {margin: 50px 20% 12px 20%; width:auto;float: none;}
/* A5.4 */
.punbb .section, .punbb .main {margin-bottom: 1em;}
/* A5.5 */
.punbb .category, .punbb .post {margin-top: 0.4em;}
/* A5.6 */
.punbb #pun-category1, .punbb .toppost, .punbb .topicpost {margin-top: 0;}
/* 5.7 */
#pun-post .topic {margin-top: 1em;}
/* A5.8 */
.punbb .section, .punbb .forum, .punbb .formal, .punbb .modmenu, .punbb .info,
.punbb .category, .punbb .post {}
/* A5.9 */
.punbb .container {}
/* A5.10 */
.punbb .section h2, #pun-main h1, #pun-main h2, #pun-stats h2, #pun-debug h2 {padding: 0.5em 1em;
border-style: none;}
/*************************************************************
B - MAIN CONTENT - GENERAL
**************************************************************/
/* B1 Parsed Content, Signatures and Scroll Boxes
-------------------------------------------------------------*/
/* B1.1 */
.punbb .post-content {padding: 0;
margin: 0;
width: 100%;
overflow: hidden;}
/* B1.2 */
.punbb .post-sig dt {display: block;
width: 250px;
margin: 5px 0;}
/* B1.3 */
.punbb .post-content p {margin: 0;
padding: 0 0 1em 0;
line-height: 150%;}
/* B1.4 */
.punbb .post-content img {vertical-align: text-bottom}
/* B1.5 */
.punbb .post-content img.postimg {vertical-align: middle;}
/* B1.6 */
.punbb .post-content .blockcode, .punbb .post-content blockquote {width: 100%;
overflow: hidden;}
/* B1.7 */
.punbb .post-content .scrollbox {width: 100%;
overflow: auto;}
/* B2.3 */
.punbb #pun-main .info-box .legend {font-size: 1.1em;
font-weight: bold;}
/* B3.4 */
.linkst .postlink {
text-align: right!important;
}
/* B3.7 */
.linksb .postlink {
float: right!important;
width: auto;
}
.postlink.long {
width: auto !important;
}
/*************************************************************
C - MAIN CONTENT - SPECIFIC
**************************************************************/
/* C1 Form layout
-------------------------------------------------------------*/
/* C1.1 */
.punbb .formal .container {padding: 1.7em 2.3em 1.1em 2.3em;}
/* C1.3 */
.punbb .formsubmit input, .punbb .formsubmit a, .punbb .formsubmit span {margin: 0 0.6em 0 0}
/* C1.14 */
.punbb .datafield span.input a {font-weight: normal;}
/* C1.21 */
#pun-post .formal .info-box li {padding-left: 4px;
list-style-type: square;
list-style-position: inside;
line-height: 1.5;
margin: 0;}
/* C2.4 */
#pun-userlist .main .tcl,
#pun-searchtopics .main .tcl,
#pun-modviewforum .main .tcl {width: 40%}
/* C2.5 */
#pun-userlist .main .tc2,
#pun-searchtopics .main .tc2 {text-align: left;
width: 20%;}
/* C2.6 */
#pun-debug table .tcl {width: 15%;
white-space:normal;}
/* C2.7 */
#pun-debug .tcr {width: 90%;
white-space: normal;}
/* C2.8 */
#pun-index .tcl h3 {font-size: 1.2em;
font-weight: bold;}
/* C2.9 */
.punbb td span.youposted {font-weight: bold;
margin-left: -1em;
position: absolute;}
/* C2.10 */
.punbb td .modlist {display: block;
padding-top: 0.3em}
/* C2.11 */
.punbb .main td {padding: 0.8em 1em;}
/* C2.12 */
.punbb .main th {padding: 0.4em 1em 0.4em 1em;}
/* C2.14 */
.punbb tbody.hasicon td.tcl {padding-left: 3.2em}
/* C3 Topics
-------------------------------------------------------------*/
/* C3.1 */
.punbb .post .container {margin-top: -1px;
padding-bottom: 1px;}
/* C3.2 */
.punbb .post h3 {}
/* C3.3 */
.punbb .post h3 span {padding: 0.5em 1em;
display: block;
margin-left: 19em;}
/* C3.4 */
.punbb .post h3 strong {float: right;
width: 5em;
text-align: right;
font-weight: normal;}
/* C3.5 */
.punbb .post .post-author {float: left;
width: 19em;
/* margin-top: -1.5em;*/
overflow: hidden;}
/* C3.6 */
.punbb .post .post-author ul, .punbb .post .post-author p {padding: 0 1em 1em 1em;
line-height: 140%;}
/* C3.8 */
.pa-author a {text-decoration: none}
/* C3.11 */
.punbb .post-body {margin-left: 200px;
padding: 2px 4px;
background-color: var(--bg-posts-alt);
background-repeat: repeat;
background-position: center top;
border-top: 1px dotted #595959!important;}
/* C3.12 */
.punbb .post-box {padding: 1em;}
/*C3.13 */
.punbb fieldset .post-box {margin-bottom: 0.8em}
/* C3.14 */
.punbb .post-links {margin-left: 19em;}
/* C3.15 */
.punbb .post-links ul {padding: 0 1em 0 0;
height: 2em;
line-height: 2em;
margin-left: -19em;
background: transparent;
text-align: right;}
/* C3.16 */
.punbb .post-links li {display: inline;
padding-left: 1em;}
/* C3.17 */
.pl-email, .pl-website {
float: left;
}
/* C4 Moderator menu
-------------------------------------------------------------*/
/* C4.1 */
.punbb .modmenu .container {padding: 0.5em 1em;
text-align: right;}
/* C4.2 */
.punbb .modmenu strong, .punbb .modmenu a {height: 1.8em;
line-height: 1.8em;}
/* C4.3 */
.punbb .modmenu .container strong {float: left;}
/* C5 Message boxes
-------------------------------------------------------------*/
/* C5.1 */
.punbb .info .container {padding: 0.8em 1em}
/* C5.2 */
.punbb .info .container .backlink {padding-top: 0.8em;}
/* C6 Profile
-------------------------------------------------------------*/
/* C6.1 */
#profile .container {padding-left: 18.6em;}
/* C6.5 */
#viewprofile h2, #profilenav h2 {background: transparent;
padding: 0 0 0 0;
margin: 0 14px -0.6em 14px;}
/* C6.6 */
#viewprofile h2 span, #profilenav h2 span {padding: 0 5px;
position: relative;}
/* C7 User list
-------------------------------------------------------------*/
/* C7.1 */
#pun-userlist .formal, #pun-userlist .formal .container {margin-bottom: 0;}
/* C7.2 */
#pun-userlist .usertable .container {padding: 0 2.3em 2.3em 2.3em;}
/* C7.3 */
#pun-userlist .usertable table {}
/*************************************************************
D - PUNBB SECTIONS OTHER THAN MAIN CONTENT
**************************************************************/
/* D1 Logo and description
-------------------------------------------------------------*/
/* D1.1 */
#pun-title {margin: 0;}
/* D1.2 */
#pun-title h1 {display : block;
height : 40px;
padding: 2em 1em 0 1em;}
/* D1.3 */
#pun-title .container {}
/* D1.4 */
#pun-title h1 span {font-size: 1.5em;}
#pun-title td.title-logo-tdl {width: 100%;}
#pun-title td.title-logo-tdr {width: 468px;}
/* D2 Page navigation
-------------------------------------------------------------*/
/* D2.1 */
#pun-pagelinks {position: absolute;
top: -15px;
left: 0;
margin: 0;
padding: 0;
width: 100%;}
/* D2.2 */
#pun-pagelinks .container {background: transparent;
padding: 0}
/* D2.3 */
#pun-pagelinks .container li {display: inline}
/* D2.4 */
#pun-pagelinks li a, #pun-pagelinks a:link, #pun-pagelinks a:hover {height: 2em;
line-height: 2em;
padding: 0;
font-size: 1.2em;
margin-left: -9999px;
display: block;
float:left;
width: 100%;}
/* D2.5 */
#pun-pagelinks a:active, #pun-pagelinks a:focus {position:relative;
margin: 0;}
#pun-pagelinks li a span {display:block;
margin: 0 1em}
-------------------------------------------------------------*/
/* D4.1 */
#pun-ulinks {margin-top: 0;}
/* D4.2
#pun-ulinks .container {padding: 0.7em 1em;}
*/
#pun-ulinks .container {padding: 0;
width:716px;}
/* D4.3 */
#pun-ulinks li, #pun-ulinks li a {display: inline;
white-space: nowrap;}
/* D4.4 */
#pun-ulinks li a {padding: 0 0.3em 0 0.6em}
/* D4.5 */
#pun-ulinks li.item1, #pun-ulinks li.item1 a {padding-left: 0}
/* D5 Welcome box and Top Breadcrumbs
-------------------------------------------------------------*/
/* D5.1 */
#pun-status, #pun-status .container {margin-bottom: 0;}
/* D5.2 */
#pun-status .container {padding: 0;}
/* D5.3 */
#pun-status span {white-space: nowrap;
margin-right: 1.2em;}
/* D5.4 */
#pun-crumbs1 {font-weight: bold;
overflow: hidden;
margin-top: 0;}
/* D5.5 */
#pun-crumbs1 p.container {padding: 1em 1em 0.8em 1em;
font-size: 1.1em;}
/* D5.6 */
#pun-break1 {margin: 0 1em;
height: 0;
margin: -2px 1em;
position: relative;
z-index: 1;}
/* D6 Announcement
-------------------------------------------------------------*/
/* C6 Profile
-------------------------------------------------------------*/
/* C6.1 */
#profile .container {
padding-left: 18.6em;
}
/* C6.2 */
#profilenav {
float: left;
width: 14em;
margin-left: -180px;
display: inline;
}
/* C6.3 */
#profilenav li {
padding-bottom: 0.8em;
font-weight: bold;
}
/* C6.4 */
#viewprofile ul, #profilenav ul {
}
/* C6.5 */
#viewprofile h2, #profilenav h2 {
background: transparent;
border: none;
padding: 0 0 0 0;
margin: 0 14px 0em 14px;
}
/* C6.6 */
#viewprofile h2 span, #profilenav h2 span {
padding: 0 5px;
position: relative;
}
/* C6.7 */
#viewprofile li, #setmods dl {
padding: 0 0 0 16em;
margin-bottom: 0.2em;
}
/* C6.8 */
#viewprofile li span {
float: left;
width: 14em;
margin-left: -16em;
padding: 0.5em 1em;
font-weight: bold;
}
/*C6.9 */
#setmods dt {
float: left;
width: 14em;
margin-left: -16em;
padding: 0.8em 1em;
font-weight: bold;
display: inline;
}
/* C6.10 */
#viewprofile li strong, #viewprofile li div, #setmods dd {
display: block;
padding: 0.5em 1em;
font-weight: normal;
}
/* C6.11 */
.punbb img.avatardemo {
float: right;
margin: 0 0 0.8em 1.8em
}
/* D7 Statistics
-------------------------------------------------------------*/
/* D7.1 */
#pun-stats .container {padding: 0.8em 1em}
/* D7.2 */
#pun-stats li.item1, #pun-stats li.item2 {float: left;
clear: both;
line-height: 150%;}
/* D7.3 */
#pun-stats li.item3, #pun-stats li.item4 {text-align: right;
line-height: 150%;}
/* D8 Quick Jump - About - Bottom Breadcrumbs
-------------------------------------------------------------*/
/* D8.1 */
#pun-qjump {margin: 0;
width: 50%;
position: relative;
float: left;}
/* D8.2 */
#pun-qjump .container {background: transparent;
padding: 0.8em 1em;}
/* D8.3 */
#pun-about {margin-top: 0;}
/* D8.4 */
#pun-about .container {text-align: right;
line-height: 150%;
padding: 0.8em 1em;}
/* D8.5 */
#pun-about p span {display:block;
padding-left: 50%;}
/* D8.6 */
#pun-crumbs2 {font-weight: bold;
overflow: hidden;
margin-bottom: 0;}
/* D8.7 */
#pun-crumbs2 .container {padding: 0.8em 1em;
font-size: 1.1em;}
/* D8.8 */
#pun-break4 {margin: -2px 1em;
position: relative;
height: 0;
z-index: 1;}
/* D8.9 */
div.punbb-admin #pun-about .container {}
/* D9 Help file
-------------------------------------------------------------*/
/* D9.1 */
#pun-help .formal .info-box h3.legend {padding-bottom: 0;
margin-bottom: 0.8em;}
/* D9.2 */
#pun-help .formal .info-box h3.legend span {padding-bottom: 0.6em;
display: block;
font-size: 1.1em;}
/* D9.3 */
#pun-help .formal p, #pun-help .formal dd {margin-bottom: 1em}
/* D9.4 */
#pun-help .formal ul, #pun-help .formal dl {padding: 0 0 0 1em}
/* D9.5 */
#pun-help .formal li {padding: 0;
line-height: 130%}
/* D9.6 */
#pun-help .formal li * {vertical-align: text-top}
/* D9.7 */
#pun-help .formal dt span {font: 1.4em/120% monaco, "bitstream vera sans mono", "courier new", courier, monospace}
/* D9.8 */
#pun-help .formal .parsedmsg, #pun-help .formal .parsedmsg .incode {padding-bottom: 0;}
/* кнопки вверх-вниз
-------------------------------------------------------------*/
.go-up,
.go-down {
cursor: pointer;
opacity: .8;
z-index: 9999;
display: none;
position: fixed;
box-sizing: border-box;
transition: all .3s linear 0s;
right: 20px; /* вместо margin-left */
}
.go-up {
background: var(--button-up) no-repeat center top;
top: 400px;
height: var(--button-updown-height);
width: var(--button-updown-width);
}
.go-down {
background: var(--button-down) no-repeat center top;
top: 440px;
height: var(--button-updown-height);
width: var(--button-updown-width);
}
.go-down:hover,
.go-up:hover {
opacity: 1;
}
/* mobile fix */
@media (max-width: 768px) {
.go-up, .go-down, #ToTop, #OnBottom {
display: none !important;
visibility: hidden !important;
opacity: 0 !important;
pointer-events: none !important;
right: auto !important;
margin-left: 0 !important;}
body {
display: block !important;
justify-content: initial !important;
align-items: initial !important;
}
#pun {margin-top:30px;margin-bottom:30px;}
}
style_cs.css
Код:
#theme_switcher {
position: relative;
z-index: 99999; /* выше всего в шапке */
}
#theme_switcher * { pointer-events: auto; }
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@400;700&display=swap');
.pixelify {
font-family: 'Pixelify Sans', sans-serif;
text-transform: none;
font-variant: small-caps;
font-size: 0.9em;
letter-spacing: 0.5px;
}
.inner.post_reputation {
background-color: var(--bg-posts) !important;
border-radius: 20px;
box-shadow: none !important;
text-transform: lowercase;
filter: none !important; /* disables drop-shadow filters if used */
}
[id^="forum_f"] > td.tc2, .tc3 { display: none;}
#pun-reputation > div.inner.post_reputation > h1 > span {padding-left: 30px;}
.header-block-o3-title{font-family: 'Pixelify Sans', sans-serif;font-size: 20px;color: #565656;width:59px;text-align: center;}
.header-block-o3 {position:absolute; top:62px;right:0px;}
.header-block-o3-link {padding-top:10px;}
.header-block-o3 a:hover {color: #fff!important;
background-color: var(--bg-nav);
}
.header-block-o3 a {color: #fff!important;
width: 49px!important;
display: inline-block;
background-color: var(--button-bg);
border-radius: var(--radius-pill2);
font-size: 9px;
line-height: 1.4;
overflow-y: none;
padding: 5px 5px;
text-align: center;
flex-wrap: wrap;}
/* forum name */
.block-forum-name {
position: absolute;
top: 130px;
left: 393px;;
}
.block-forum-name2 {
position: relative;
top: 260px;
left: 710px!important;}
.table-title-forum-name{
font-family: var(--table-font);
font-size: var(--table-font-size-fname);
color: var(--table-font-color);
font-style: var(--table-font-style)!important;
text-transform: var(--table-text-transform!important);
}
.table-i-am-ready {
font-family: var(--table-font);
font-size: var(--table-font-size-fname);
color: #CECECE;
}
#pun-category1 h2 span, #pun-category3 h2 span, #pun-category5 h2 span, #pun-category7 h2 span, #pun-category2 h2 span, #pun-category4 h2 span, #pun-category6 h2 span, #pun-category8 h2 span {
position: relative;
z-index: 1;
font-family: var(--table-font);
font-weight: bold;
font-size:15px;
}
#pun-category1 h2 span:after, #pun-category3 h2 span:after, #pun-category5 h2 span:after, #pun-category7 h2 span:after, #pun-category2 h2 span:after, #pun-category4 h2 span:after, #pun-category6 h2 span:after, #pun-category8 h2 span:after {
content: "";
position: absolute;
left: 0;
width: 100%;
height: 100%;
background-color: #333333;
z-index: -1;
top: 6px;
opacity: 1;
}
.header-block {position: absolute; top:20px;}
.header-block-o1 {
width: 122px;
height: 124px;
background-color: #262626;
border-radius: var(--radius-block1);
color: #BFBCB8;
font-family: 'Montserrat', sans-serif;
position: absolute;top:191px; left:60px;
font-size: 8px;
line-height: 1.4;
overflow-y: auto;
padding: 18px; z-index: 9999;
text-align: justify;
}
.footer-block-o1 {
width: 128px;
height: 100px;
margin-top:-1px;
background-color: #262626;
border-radius: var(--radius-block2);
color: #BFBCB8;
font-family: 'Montserrat', sans-serif;
position: absolute;top:1px; right:160px;
font-size: 8px;
line-height: 1.4;
overflow-y: hidden;
padding: 18px; padding-top: 10px!important;
text-align: justify;
}
.header-block-o1::-webkit-scrollbar-track,
.header-block-o2::-webkit-scrollbar-track {
background: transparent!important;
margin: 10px 0px; /* ⬅ это и создаёт отступ сверху и снизу */
}
.punbb div.icon {padding-left:50px; padding-bottom:50px; width:var(--icon-width);height:var(--icon-height); padding-top:2px; margin-top:1px; background-position:center center;float:right; display:block;}
div.icon, tr.iclosed div.icon {background-image:var(--icon-old);background-repeat: no-repeat;}
tr.inew div.icon, tr.isticky div.icon {background-image:var(--icon-new);background-repeat: no-repeat;}
.header-block-o2{
width: 227px;
height: 51px;
background-color: #CECECE;
padding: 8px;
position: absolute;top:14px; left:269px;
font-size: 8px;
border-radius: var(--radius-block2);
overflow-y:auto;}
#pun-stats {width: 93%;}
#pun-stats h2 {color: var(--text-main)!important; font-weight: bold;}
#pun-crumbs2 {
visibility: hidden;
}
#pun-status {
background-color: var(--bg-nav-deep);
border-radius: var(--radius-pill2);
padding: 5px;
display: inline-block;
color: #ffffff!important;
}
#pun-status > p {
margin: 0;
color: #ffffff!important;
}
.banners {
width: 1000px;
height: 150px;
position: absolute;
bottom: -200px;
margin-bottom: 160px;
left: 0;
background: var(--footer);
z-index: 1;
}
/* Расположение шапки */
#html-header {
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
width: 1000px;
height: 351px; /* совпадает с высотой #pun-title */
z-index: 1;
pointer-events: none;
/* outline: 1px solid red;*/
}
/* Основной flex-контейнер */
#html-header .header-block {
position: relative;
width: 100%;
height: 100%;
padding: 0;
box-sizing: border-box;
display: flex;
justify-content: space-between; /* Распределение влево-вправо */
align-items: flex-start;
pointer-events: auto;
font-family: Mulish, Verdana, Arial, sans-serif;
font-size: 9px;
text-transform: lowercase;
color: var(--table-font-text-color);
margin-top: -20px;
}
.block-active {
position: absolute;
top: 100px;
left: 381px; /* 360 */
display: flex;
flex-direction: column;
align-items: center;
}
.block-player {
position: absolute;
top: 130px;
right: 102px;
display: flex;
flex-direction: column;
align-items: center;
}
.active-grid {
width: 74px;
height: 82px;
background: rgba(224,224,224, 0.6);
border-radius: 10px;
display: grid;
grid-template-columns: repeat(2, 35px);
grid-template-rows: repeat(2, 35px);
gap: 4px;
padding: 4px 0;
box-sizing: border-box;
justify-content: center;
}
.active-grid a img {
width: 35px;
height: 35px;
object-fit: cover;
border-radius: 4px;
display: block;
}
.punbb select {
font-family: var(--main-font);
font-size: 10px;
text-transform: lowercase;
padding: 0px 15px;
margin: 0;
}
.fs-box.inline {
display: flex;
flex-wrap: wrap; /* Можно убрать, если ты не хочешь переносов */
gap: 10px; /* Отступы между полями */
align-items: flex-start; /* Выравнивание по верхнему краю */
}
.fs-box.inline > p {
margin: 0;
padding: 0;
}
#pun .pa-author {
list-style: none;
padding-left: 0;
margin-left: 0;
}
#pun .pa-online {font-size: 8px;}
a.permalink {padding-left: var(--padding-post-date)}
div.postlink,
div.subscribelink {
text-align: right;
}
.post-author {
margin-left: -10px!important;
background-color: var(--bg-author);
width: 180px;
padding: 10px;
font-family: var(--font-main, Verdana, sans-serif);
font-size: 9px;
color: var(--text-author);
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
/* Верхняя серая плашка */
.pa-author a {color: #fff!important;}
.pa-author {
background-color: #809DBC;
color: var(--text-author);
font-weight: bold;
font-size: 9px;
padding: 4px 6px;
padding-left: 6px!important;
border-radius: 2px;
display: inline-block;
margin: 0 auto;
min-width: 140px;
}
/* Аватар */
.pa-avatar {
display: flex;
justify-content: center;
max-width: 150px;
max-height: 150px;
background-size: cover;
background-position: center;
margin: 6px auto 6px auto;
}
.post-author ul {
display: block !important;
width: 100%!important;
}
/* Подпись
.pa-title {
font-size: 9px;
margin-top: 4px;
color: var(--text-muted, #434343);
}*/
/* Колонки значений */
.pa-stats {
display: flex;
justify-content: space-between;
width: 100%;
font-size: 8.5px;
margin-top: 6px;
text-align: center;
}
.pa-stats div {
width: 33.3%;
color: #666;
}
.pa-stats strong {
display: block;
font-weight: bold;
font-size: 10px;
color: #000;
}
/* Нижняя серая плашка */
/* .pa-fld2 */
.pa-title {
background-color: var(--bg-plashka);
color: var(--text-plashka);
overflow-x: auto;
max-width: 140px;
white-space: nowrap;
font-weight: bold;
font-size: 9px;
padding: 4px 6px;
border-radius: 2px;
margin: 6px auto;
}
.punbb textarea,
.punbb input {
color: var(--textarea-text);
background: var(--textarea-bg);
border: var(--textarea-border-width) solid var(--textarea-border);
padding: 6px 10px;
font-family: var(--font-main);
font-size: var(--font-size);
border-radius: 4px;
transition: border-color 0.2s ease;
}
.punbb textarea:focus,
.punbb input:focus {
border-color: var(--textarea-focus-border);
outline: none;
}
.button {
font-family: var(--main-font, Verdana);
font-size: 11px;
padding: 5px 20px;
margin-top: 5px;
text-transform: lowercase;
color: var(--button-text);
background-color: var(--button-bg);
border: none;
border-radius: 4px;
letter-spacing: 0.4px;
cursor: pointer;
transition: all 0.3s ease-in-out;
}
.button:hover {
background-color: var(--button-hover-bg);
color: var(--button-hover-text);
}
/* Прокрутка */
::-webkit-scrollbar {
width: 6px;
height: 4px;
background-color: var(--scrollbar-track);
}
::-webkit-scrollbar-thumb {
background-color: var(--scrollbar-thumb);
border-radius: 4px;
}
::selection {
background: var(--selection-bg);
color: var(--selection-text);
text-shadow: none;
}
.punbb .user-avatar .avatar-image {
opacity: .77 !important;
width: 31px !important;
height: 31px !important;
mix-blend-mode: luminosity;
border-radius: var(--radius-pill)!important;
}
/* раскладка блоков в таблице: отступы между форумами */
#pun-main table { border-spacing: 0 var(--forum-spacing); border-collapse: separate; }
#pun-main tr[id^="forum_f"], {background-color: var(--bg-tr-forum);}
/* основной цвет форума, цвет под сообщениями */
#pun {background-color: var(--bg-posts);}
/* шпаргалка
-------------------------------------------------------------*/
/* #pun-main tr[id^="forum_f"] -> вся линия
#pun-index .tclcon -> для подложки под tcl only
#pun-category1 -> все что под категорией */
/* CS1 Background and text colours
-------------------------------------------------------------*/
/* CS1.1 */
.punbb .section .container, .punbb .post-body, .punbb .post-links, .punbb td.tc2, .punbb td.tc3,
.punbb .formal fieldset .post-box, #viewprofile li strong, #viewprofile li div, #setmods dd,
.punbb .info-box, .punbb #pun-main .info-box .legend
{color: var(--text-main);}
/* looks not necc #p4 > div > div.post-body { background-color:var(--bg-posts);} */
/* CS1.2 */
.punbb .main .container, .punbb .post .container, .punbb .post h3, .punbb-admin #pun-admain .adcontainer
{ color: var(--text-main);}
/* CS1.3 */
#pun-stats h2, .punbb .main h2, #pun-debug h2, .punbb-admin #pun-admain h2
{ color: var(--text-h2-h1);}
.punbb .main h1 { color: var(--text-h1);
margin-left: -20px!important;
border-bottom: 1px dotted #595959!important;
width:350px;}
/* CS1.4 */
#pun-title, #pun-title .container, .punbb .modmenu .container {
color: var(--text-main);}
/* CS1.5 */
.punbb legend span, #viewprofile h2 span, #profilenav h2 span, .punbb-admin #pun-admain legend span {
color: var(--tcl-text);}
/* CS1.6 */
.punbb .post h3 span, .punbb th, #viewprofile li, #setmods dl {
color: }
/* CS1.7 */
.punbb .quote-box, .punbb .code-box {background-color: var(--bg-quote);
color: var(--text-quote-box);}
/* CS1.X - Custom text blocks */
#pun-status { color: var(--pun-status-text)!important; }
.tcl { color: var(--tcl-text); }
.tcr a { color: var(--tcr-link); }
.tcr, #mod-options { font-size: 10px; color: var(--tcr-text); }
#post-form > h2 > span { font-size: 8px; color: var(--tcr-text); } /*быстрый ответ*/
#pun-navlinks a { color: var(--navlink-text)!important; }
#pun-ulinks a { color: var(--ulink-text); }
/* CS2 Border colours
-------------------------------------------------------------*/
/* CS2.1 */
.punbb .container, .punbb .post-body, .post h3, #pun-title {border: none;}
/* CS2.4 */
.punbb td, .punbb fieldset, #viewprofile ul, #profilenav ul, .punbb .post .post-body,
.punbb .post h3 span, .post-links ul, .post-links, .usertable table {border: none;}
/* CS2.5 */
.punbb th {border: none;}
#pun-ulinks li, #pun-announcement h2 span, li#onlinelist, #pun-help .formal .info-box h3.legend span {border: none;}
/*-------------------------------------------------------------*/
/* CS3.1 */
.punbb a, .punbb a:link, .punbb a:visited,
.punbb-admin #pun-admain a, .punbb-admin #pun-admain a:link, .punbb-admin #punbb-admain a:visited {
color: var(--link);
transition: all .8s ease-in-out 0s;
text-decoration: none !important;
}
.punbb li.isactive a, .punbb li.isactive a:link, .punbb li.isactive a:visited {
color: var(--text-dark);
}
/* CS3.2 */
.punbb a:hover, .punbb a:focus, .punbb a:active,
.punbb-admin #pun-admain .nodefault,
.punbb-admin #punbb-admain a:hover,
.punbb-admin #punbb-admain a:focus,
.punbb-admin #punbb-admain a:active {
color: var(--link-hover);
transition: all .8s ease-in-out 0s;
text-decoration: none !important;
}
/* CS3.3 */
#pun-navlinks a {color: var(--navlink-text);
transition: all .8s ease-in-out 0s;
text-decoration: none !important;}
/* CS3.4 */
#pun-navlinks a:hover, #pun-navlinks a:focus, #pun-navlinks a:active {color: var(--navlink-hover-text)!important;
transition: all .8s ease-in-out 0s;
background: var(--bg-nav-hover);
text-decoration: none !important;}
/* CS3.5 */
#pun-ulinks a:hover, #pun-ulinks a:focus, #pun-ulinks a:active {color: var(--ulink-hover-text)!important;
transition: all .4s ease-in-out 0s;
text-decoration: none !important;
font-style: italic;}
/* _______
*/
#pun-pagelinks a:active, #pun-pagelinks a:focus {background-color: ;
color: #fff;}
#pun-main div.catleft, #pun-main div.catright {display: none}
/* form-button settings */
#font-area, #size-area, #color-area, #table-area, #smilies-area,
#image-area, #spoiler-area, #imageup-area, #imageattach-area, #keyboard-area,
#video-area, #addition-area {
position: fixed !important;
top: 55vh !important;
left: 50% !important;
right: auto !important;
transform: translateX(-500px) !important; /* половина ширины макета (1000/2) */
max-width: 1000px !important;
width: auto;
background-color: var(--bg-posts);
z-index: 10000 !important;
margin: 0 !important;
padding: 4px !important;
height: auto !important;
max-height: 260px;
overflow: auto !important;
}
/* Form Buttons © max, the murderer!
----------------------------------------------------------------------- */
/* General */
#form-buttons table {
width: 100% !important;
}
#form-buttons table tr {
display: flex;
justify-content: space-between; /* выравнивание кнопок в ряду */
gap: 4px;
margin-bottom: 4px;
}
#form-buttons td {
position: relative;
background: none !important;
display: inline-flex;
align-items: center;
justify-content: center;
width: 24px; /* ширина кнопки */
height: 24px; /* высота кнопки */
margin-bottom: 4px;
}
#form-buttons td::before {
font-family: 'Font Awesome 6 Pro';
font-size: 16px; /* размер иконки */
font-weight: 400; /* стиль иконки */
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
pointer-events: none;
z-index: 1;
}
#form-buttons td:hover::before {
color: var(--button-bg);
}
/* Icons */
#button-font::before {
content: '\f031';
}
#button-size::before {
content: '\f894';
}
#button-bold::before {
content: '\f032';
}
#button-italic::before {
content: '\f033';
}
#button-underline::before {
content: '\f0cd';
}
#button-strike::before {
content: '\f0cc';
}
#button-left::before {
content: '\f036';
}
#button-right::before {
content: '\f038';
}
#button-center::before {
content: '\f037';
}
#button-indent::before {
content: '\e23d';
}
#button-link::before {
content: '\f0c1';
}
#button-spoiler::before {
content: '\f518';
}
#button-image::before {
content: '\f302';
}
#button-video::before {
content: '\f144';
}
#button-hide::before {
content: '\f30d';
}
#button-quote::before {
content: '\f27a';
}
#button-code::before {
content: '\f121';
}
#button-color::before {
content: '\f53f';
}
#button-table::before {
content: '\f009';
}
#button-smile::before {
content: '\f118';
}
#button-keyboard::before {
content: '\f11c';
}
#button-addition::before {
content: '\f0d7';
}