Код:
@import url(style_cs.css);
@import url(https://forumstatic.ru/files/001c/37/c9/87592.css);
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
:root {
--body: #f4e3cc;
--C1: #c1c5b3;
--C2: #86a59a;
--C3: #cf9987;
--C4: #e4d3bb;
--jr: Journalism;
--mn: Montserrat;
}
/********** Чистый стандартный стиль для MyBB ***********/
/******** Cпециально для ForumD.ru © Gerda, 2023 ********/
/**************************************************
!!! Условия использования !!!
1. Данный копирайт не удалять
2. При публикации производных работ указывать ссылку на автора и ForumD.ru
3. При публикации в общий доступ указывать ссылку на автора и ForumD.ru
4. Публичный производный контент должен распостраняться на тех же условиях
Подробно: forumd.ru/viewtopic.php?id=5751#rule
**************************************************/
/* ================== */
/* Скрываем элементы форума */
.acchide,
#pun-index #pun-main h1,
#pun-navlinks 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,
#pun-title h1,
#pun-announcement h2 {
font-size: 0;
height: 0;
width: 0;
line-height: 0.0;
position:absolute;
left: -9999px;
overflow: hidden
}
#pun:after,
.punbb .post-links ul:after,
.punbb .main div.inline:after,
.punbb .post-box:after,
.punbb .linksb:after,
.punbb .container:after {clear: both; content: "."; display: block; height: 0; visibility: hidden; overflow:hidden; line-height: 0.0; font-size: 0;}
/* ================== */
/* Общие стили */
* {margin: 0; padding: 0;}
body {margin: 0;}
ul, dl, li, dd, dt {list-style: none;}
body {font: 15px var(--mn);}
h1, h2 {
font-size: 14px;
font-weight: normal;
padding: 5px 10px;
margin: 0;
text-align: center;
}
address, em {font-style: normal}
a {
text-decoration: none;
color: var(--C2);
transition: all .2s linear 0s;
}
a:hover {
color: var(--C3);
}
/* ОФОРМЛЕНИЕ КНОПОК
------------------------------------------*/
input.button, #pun-admain input.button, #sub4, input[type="button"] {
cursor: pointer;
transition: all .2s linear 0s;
background: var(--C3);
border: none;
padding: 8px 12px;
}
input.button:hover, #pun-admain input.button:hover, #sub4:hover, input[type="button"]:hover {
background: var(--C2);
}
/* Скроллбары */
* {
scrollbar-width: thin;
scrollbar-color: var(--C1) var(--C2);
}
*::-webkit-scrollbar {width: 9px; height: 9px;}
*::-webkit-scrollbar-track {background-color: #523329;}
*::-webkit-scrollbar-thumb {background-color: #cfba6a;}
/* ================== */
body::before {
content: "";
display: block;
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
min-width: 100vw;
min-height: 100vh;
z-index: -10;
background: url(https://forumstatic.ru/files/001c/37/b1/94893.jpg) no-repeat fixed top center/cover;
}
/* Тело форума */
#pun {
border: 2px solid var(--body);
width: 1040px;
margin: 130px auto 15px;
border-radius: 90px 0 90px 90px;
}
.punbb {
background: var(--body);
border-radius: 70px 0 70px 70px;
margin: 153px 8px 64px 18px;
border-right: 10px solid var(--C3);
}
.main {
padding-top: 20px;
}
/* ================== */
/*Шапка*/
#html-header {
top: 0;
width: 1000px;
height: 250px;
position: absolute;
}
.tablica {
position: absolute;
right: 76px;
font-family: var(--jr);
font-size: 24px;
color: var(--body);
text-align: center;
display: flex;
flex-direction: column;
gap: 45px;
top: 85px;
}
.cross {
text-decoration: underline;
}
.test {
text-decoration: overline;
}
#pun-title {
position: absolute;
width: 1000px;
top: 0;
}
#pun-title:after {
content: "sonder.";
font-size: 240px;
font-family: var(--jr);
color: var(--body);
line-height: 249px;
display: block;
width: fit-content;
margin-left: auto;
margin-right: -37px;
}
/* Меню навигации */
#pun-navlinks {
position: absolute;
top: 95px;}
#pun-navlinks .container {
margin: 0 0 0 -17px;
padding: 8px 10px;
font-family: journalism;
font-size: 19px;
}
#pun-navlinks li {
display: inline;
padding-right: 10px;
}
/* Юзер меню */
#pun-ulinks {
position: absolute;
top: 135px;
}
#pun-ulinks .container {
padding: 8px 10px;
margin: 0 0 0 30px;
font-family: var(--jr);
font-size: 16px;
width: 450px;
text-align: center;
line-height: 24px;
}
#pun-ulinks li {
display: inline;
padding-right: 10px;
}
#pun-ulinks li#h-unanswered {
display: none;
}
#pun-navlinks a, #pun-ulinks a {
color: var(--body);
}
#pun-navlinks a:hover, #pun-ulinks a:hover {
color: var(--C3);
}
/* ================== */
/* Объявление */
#pun-announcement .container {padding: 10px;}
/* Статус (Добро пожаловать) */
#pun-status {
position: absolute;
top: 190px;
}
#pun-status .container {
margin-bottom: 0;
padding: 8px 10px 10px;
display: flex;
flex-direction: column;
font-family: var(--mn);
font-size: 14px;
color: var(--body);
font-style: italic;
margin-left: 30px;
}
#pun-status span {
white-space: nowrap;
margin-right: 5px;
}
#pun-status .item3, #pun-status .item4, #pun-status .item5 {
display: none;
}
#pun-crumbs1 {font-weight: bold;}
#pun-crumbs1 p.container {
margin-top: 0;
}
/*хлебные крошки */
.container.crumbs {
font-weight: bold;
padding: 10px 10px 8px 10px;
}
#pun-crumbs1 .container.crumbs {margin-top: 0;}
#pun-crumbs2 .container.crumbs {margin-bottom: 0;}
#pun-crumbs1 {
position: absolute;
top: 240px;
}
#pun-crumbs1 .container {
background: var(--body);
width: 988px;
padding: 5px 10px;
border-radius: 10px;
border-bottom: 2px solid var(--C2);
text-align: center;
font-family: var(--jr);
font-size: 16px;
color: var(--C3);
}
#pun-crumbs2 .container {
text-align: center;
font-family: var(--jr);
font-size: 14px;
color: var(--C3);
}
/* Копирайт майбб */
#pun-about .container {text-align: right;}
/*Футер*/
#html-footer .container {
position: relative;
}
.dots {
width: fit-content;
display: flex;
flex-direction: column;
gap: 50px;
position: absolute;
bottom: 60px;
margin-left: -26px;
}
.dot {
display: block;
background: var(--body);
width: 16px;
height: 16px;
border-radius: 50%;
}
/* ================== */
/* Форумные таблицы */
table {table-layout: fixed; width: 100%;}
#respect {width: auto;}
.tcl {width: 50%;}
.tc2, .tc3, .tcmod {
text-align: center;
width: 10%;
}
.tcr {width: 30%;}
#pun-index .tcr {
font-family: var(--mn);
font-size: 11px;
font-weight: bold;
text-align: right;
}
#pun-index .lastpost {
color: var(--C2);
font-style: italic;
font-weight: normal;
}
#pun-index .user-avatar {
float: right;
margin: 1px 0 2px 9px;
}
#pun-searchtopics .tcl,
#pun-modviewforum .tcl {
width: 40%
}
#pun-searchtopics .tc2 {
text-align: left;
width: 20%;
}
#pun-debug table .tcl {width: 15%;white-space:normal;}
#pun-debug .tcr {width: 90%; white-space: normal;}
td {padding: 8px 10px;}
th {padding: 4px 10px;}
tbody.hasicon td.tcl {padding-left: 40px}
div.icon {
position: absolute;
margin-left: -30px;
width: 20px;
height: 20px;
background: red;
}
#pun-index .icon {
position: absolute;
margin-left: -30px;
width: 7px;
height: 100%;
background: transparent;
border-radius: 5px 0;
border: 2px solid var(--C2);
}
#pun-index .inew .icon {
position: absolute;
width: 5px;
background: var(--C2);
}
#pun-index .intd {
position: relative;
}
#pun-index thead, #pun-index .tc2, #pun-index .tc3 {
display: none;
}
#pun-index .category h3 {
font-family: var(--jr);
font-size: 25px;
font-weight: normal;
font-style: normal;
}
#pun-index .tclcon {
font-family: var(--mn);
font-size: 11px;
color: var(--C2);
font-style: italic;
}
/* ================== */
/* Категории */
.category {
margin: 30px auto 0;
border: 2px solid var(--C2);
border-radius: 60px 0;
width: 860px;
box-sizing: border-box;
padding: 20px 30px;
}
#pun-category1 {margin-top: 0;}
.category td .modlist {
display: block;
padding-top: 5px;
}
.category h2, #pun-stats h2 {
font-family: var(--jr);
font-size: 15px;
color: var(--C2);
}
/* Статистика */
#pun-stats {
margin: 30px auto 0px;
width: 860px;
}
#pun-stats .container {padding: 8px 10px}
#pun-stats li.item1, #pun-stats li.item2 {
float: left;
clear: both;
line-height: 150%;
}
#pun-stats li.item3, #pun-stats li.item4 {
text-align: right;
line-height: 150%;
}
li#onlinelist {
margin-top: 10px;
float: left;
line-height: 130%;
}
li#onlinelist div {padding: 8px 0 0 0;}
/* ================== */
/* Пагинация (Переключаемые страницы, Новая тема + Опрос, Подписка) */
.multipage {margin-top: 30px;}
#pun-live-rusff {
display: none;
}
.linkst {
position: relative;
padding: 4px 10px;
display: flex;
justify-content: space-between;
}
.linkst .postlink {text-align: right;}
.linksb {
text-align: right;
padding: 4px 10px;
}
.linksb .pagelink {float: left; text-align: left;}
.linksb .postlink {float: right;}
.subscribelink {
clear:both;
padding: 5px 0;
}
/* Модераторское меню, RSS, Atom */
.modmenu .container {padding: 5px 10px;text-align: right;}
.modmenu .container strong {float: left;}
.modmenu input {margin-left: 10px;}
/* ================== */
/* Страница топика */
.post {margin-top: 10px;}
.toppost, .topicpost {margin-top: 0;}
.post .container {
padding: 0 45px;}
.post h3 {
border-top: 1px dashed var(--C2);
border-bottom: 1px dashed var(--C2);
}
.post h3 span {
padding: 5px 45px;
display: block;
margin-left: 260px;
}
.post h3 strong {
float: right;
text-align: right;
font-weight: normal;
}
.punbb .topic a.sharelink, .post-links li.pl-share, .reactions-root, .post-links li.email {
display: none;
}
.post .post-author {
float: left;
width: 214px;
text-align: center;
background: url(https://forumstatic.ru/files/001c/37/b1/12440.jpg?v=1) no-repeat top center, url(https://forumstatic.ru/files/001c/37/b1/62462.jpg?v=1) no-repeat bottom center, url(https://forumstatic.ru/files/001c/37/b1/19978.jpg?v=1) repeat-y top center;
min-height: 200px;
box-sizing: border-box;
padding: 40px 0 20px;
margin-top: 10px;
}
.pa-author {
background: var(--body);
border-top: 1px dotted var(--C2);
border-bottom: 1px dotted var(--C2);
font-family: var(--jr);
font-size: 22px;
letter-spacing: 1px;
}
.pa-avatar img {
border: 2px solid var(--body);
}
.addflds {
display: flex;
width: 100%;
background: var(--body);
font-size: 16px;
font-family: var(--jr);
color: var(--C2);
justify-content: space-between;
padding: 0 5px;
box-sizing: border-box;
border-top: 1px dotted var(--C2);
border-bottom: 1px dotted var(--C2);
margin-top: -5px;
}
.pa-posts, .pa-respect {
display: inline-block;
}
.pa-title {
font-family: var(--jr);
font-size: 14px;
color: var(--C2);
background: var(--body);
margin-top: 15px;
letter-spacing: 1px;
}
.post-body {margin-left: 260px;}
.post-box {padding: 10px;}
.post-links {margin-left: 300px;}
.post-links ul {
padding: 0 10px 0 0;
margin-left: -300px;
text-align: right;
}
.post-links li {
display: inline;
padding-left: 10px;
}
.pl-email, .pl-website {float: left;}
.clearer {clear: both; height: 0; font-size: 0;}
/* ================== */
/* Подпись в топике */
.post-sig dt, .post-sig dd, .post-sig dl {margin: 0}
.post-sig dt {
display: block;
margin: 5px 0;
}
/* Контент поста */
pre {font: 15px var(--mn);}
.post-content em {font-style: italic}
.post .post-content td {border-width: 0px !important;}
.post-content em.bbuline {font-style: normal; text-decoration: underline;}
.post-content p {
margin: 0;
line-height: 150%;
padding: 0 0 12px 0;
}
.post-content img {vertical-align: middle;}
.scrollbox {
width: 100%;
overflow: auto;
max-height: 200px;
}
.quote-box, .code-box {
margin: 4px 10px 10px;
background: var(--C3);
border: 8px dotted var(--body);
color: var(--body);
padding: 10px 20px;
}
.quote-box cite {
display: block;
padding-bottom: 5px;
}
.code-box strong.legend {
display: block;
padding-bottom: 5px;
font-weight: bold;
font-style: normal;
}
/* ================== */
/* Формы */
.checkfield input[type="checkbox"], .radiofield input[type="radio"] {margin: 0 3px;}
p[class="checkfield"] *, div[class="checkfield"] *, fieldset[class="radiofield"] * {height: 20px; vertical-align: middle;}
textarea, input, select, optgroup {font-size: 14px;}
optgroup {font-weight: bold;}
.formal .container {padding: 10px 20px;}
.formsubmit {
padding: 0 0 0 15px;
margin: 10px 0 0 0;
}
.formsubmit input, .formsubmit a, .formsubmit span {margin: 0 6px 0 0;}
fieldset {border: none;}
fieldset legend {
font-style: italic;
font-weight: bold
}
fieldset fieldset {
border: none;
margin: 0;
padding: 0 0 8px 0
}
.fs-box {padding: 5px 0;}
.fs-box p, .fs-box fieldset {padding: 0 0 8px 0;}
.inline .inputfield, .inline .selectfield, .inline .passfield {float: left;margin-right: 1em;}
.inline .infofield {clear:both}
.datafield br {display: none}
.required label, .datafield span.input {font-size: 10px;}
textarea, .longinput input {width: 64%; margin: 0;}
.hashelp {position: relative;}
/* ================== */
/* Предпросмотр сообщения */
#pun-post .topic {margin-top: 10px;}
/* ================== */
/* Профиль + ЛС */
#profile .container {padding-left: 300px;}
#profilenav {
float: left;
width: 300px;
margin-left: -300px;
}
#profilenav li {padding-bottom: 10px;}
#viewprofile ul, #profilenav ul {
padding: 10px;
margin: 0 0 10px 0;
}
#viewprofile h2, #profilenav h2 {
padding: 0;
margin: 0;
}
#viewprofile li {margin-bottom:2px;}
#viewprofile li span {
float: left;
width: 180px;
padding: 5px 10px;
font-weight: bold;
}
#viewprofile li strong, #viewprofile li div {
display: block;
padding: 5px 10px;
font-weight: normal;
}
img.avatardemo {float: right;margin: 0 0 8px 18px;}
/* ================== */
/* Список пользователей */
#pun-userlist .formal, #pun-userlist .formal .container {margin-bottom: 0;}
#pun-userlist .tc2 {
text-align: left;
width: 20%;
}
#pun-userlist .tcl {width: 40%}
/* ================== */
/* Собщения об ошибках */
.info .container {padding: 5px 10px;}
.info .container .backlink {padding-top: 8px;}
/* ================== */
/* Регистрация */
.info-box {
padding: 10px 15px;
margin: 0 0 10px 0;
}
.info-box * {padding: 0 0 5px 0;}
.info-box .legend {font-weight: bold;}
/* Стрелки "Вверх-Вниз"*/
#Go_Top, #Go_Bottom {
position: fixed;
margin-left: 1050px;
font-family: var(--jr);
font-size: 40px;
writing-mode: vertical-lr;
}
#Go_Top {
bottom: 390px;
}
#Go_Bottom {
bottom: 250px;
}
