.......
Чёрный камень, погребённый под белым
Страница: 1
Сообщений 1 страница 6 из 6
Поделиться22025-03-24 01:29:53
Структура style.css
Код:
@import url(style_cs.css); /* Font Awesome */ @import url('https://kit-pro.fontawesome.com/releases/v6.6.0/css/pro.min.css'); /* Иконический шрифт */ @import url('https://fonts.googleapis.com/css2?family=Material+Icons+Outlined'); @import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap'); @font-face { font-family: 'Berlin Script'; src: url('https://forumstatic.ru/files/001c/68/62/87166.woff2') format('woff2'), url('https://forumstatic.ru/files/001c/68/62/82258.woff') format('woff'); font-weight: normal; font-style: normal; font-display: swap; } @font-face { font-family: 'Unageo'; src: url('https://forumstatic.ru/files/001c/68/62/57045.woff2') format('woff2'), url('https://forumstatic.ru/files/001c/68/62/33513.woff') format('woff'); font-weight: normal; font-style: normal; font-display: swap; } /**************************************** Чистый стиль by Alex Kolmar (бродяга) ****************************************/ /* Полезные сервисные настройки -------------------------------------------------------------*/ .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; } #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; } /* Основные переменные ------------------------------------------*/ :root { --body-bg: #9188c5; --pun-bg: #ece9ec; --sec-bg: cornsilk; --profilebg: #ecdde2; --link1: #9066a5; --link2: #efe4e7; --link3: #c7aed3; --link-hover: #c7aed3; --pwidth: 230px; --pad1: 10px 20px; --pad2: 5px 20px; --pad3: 5px 10px; --fa: 'Font Awesome 6 Pro', 'Font Awesome 6 Brands'; } /* Global ------------------------------------------*/ /* Применяется ко всем элементам */ * { margin: 0; padding: 0; border: none; text-size-adjust: 100%; -moz-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; scrollbar-width: thin; scrollbar-color: var(--body-bg) var(--pun-bg); } /* прокрутка хром etc */ *::-webkit-scrollbar { width: 7px; height: 7px; } *::-webkit-scrollbar-track { background-color: var(--sec-bg); } *::-webkit-scrollbar-thumb { background-color: var(--link); } *::-webkit-scrollbar-thumb:active { background: var(--link-hover); } /* выделение текста */ ::selection { background: #d8c7d8 !important; color: #351c60; } :focus { outline: none; } /* все ссылки */ a, .punbb #pun-admain a { text-decoration: none; color: var(--link1); transition: all .2s linear 0s; } a:hover, .punbb #pun-admain a:hover { color: var(--link-hover); } /* все заголовки */ h1, h2, h3, h4, h5, h6, p, blockquote, pre { margin: 0; } h1 { border-radius: 8px; margin: 10px 20px 10px 20px; font-size: 11px; font-family: Unageo; color: var(--link1); letter-spacing: 1px; padding: 6px; background: #dcdaea; font-weight: normal; text-align: center; } h2 { font-weight: normal; text-align: center; border-radius: 8px; margin: 10px 20px 10px 20px; font-size: 11px; font-family: Unageo; color: var(--link1); letter-spacing: 1px; padding: 6px; background: #dcdaea; } ul, dl, li, dd, dt { list-style: none; } address, em { font-style: normal; } /* выключить список модераторов, отредактировано etc */ .modlist, .lastedit, .punbb div#pun-live-rusff, .punbb .topic a.sharelink { display: none; } /* модальные окна, репутация, закладки etc */ #tags .container, .post_report, .post_reputation, #MyBookmarks, .inner.popup_graffiti, .pun-modal .modal-inner, .punbb-admin #pun-admin-award-form .inner { background: var(--sec-bg); } /* Формы ------------------------------------------- */ /* ОФОРМЛЕНИЕ КНОПОК */ input.button, #pun-admain input.button, #sub4, input[type="button"], input[type="submit"] { padding: 2px 10px; cursor: pointer; transition: all .2s linear 0s; background: var(--body-bg) !important; color: var(--link2) !important; border-radius: 8px; padding: 4px 8px 4px 8px; font-family: unageo; text-transform: lowercase; } input.button:hover, #pun-admain input.button:hover, #sub4:hover, input[type="button"]:hover, input[type="submit"]:hover { background: var(--link1) !important; color: #dcdaea !important; } /* ОФОРМЛЕНИЕ ПОЛЕЙ ВВОДА */ input[type="text"], input[type="password"], textarea, select { padding: 2px 5px; border: 1px solid var(--body-bg); border-radius: 8px; background: var(--body-bg); color: var(--link2); font-family: Unageo; font-size: 12px !important; text-transform: lowercase; } textarea, input, select, optgroup { font-size: 14px; } optgroup { font-weight: bold; } /* флажки и чекбоксы */ .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; } .formal .container { padding: var(--pad1); } .formsubmit { padding: 0; margin: 10px 0 0 0; } .formsubmit input, .formsubmit a, .formsubmit span { margin: 0 6px 0 0; } fieldset { border: none; } fieldset legend { 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: 10px; } .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; } /* Админка ------------------------------------------*/ .punbb-admin .adcontainer, .punbb-admin .adformal { border: none; } /* Тело форума ------------------------------------------*/ /* фон */ html { background: var(--body-bg) url() no-repeat top center; } /* заплатка для фиксированного фона */ 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/68/62/85364.webp) no-repeat top center, url(https://forumstatic.ru/files/001c/68/62/74851.jpg) no-repeat top center/cover var(--body-bg); } /* тело */ #pun { margin: 280px auto 180px; width: 1000px; background: var(--pun-bg); border-radius: 20px; color: #351c60; } /* внутреннее тело */ .punbb { font: 12px verdana; } /* настройки внутренних блоков */ .punbb > div .container { padding: var(--pad1); } /* Навигационные ссылки */ #pun-navlinks { position: absolute; line-height: 20px; width: 1006px; top: 205px; z-index: 2; margin-left: -10px; } #pun-navlinks .container { text-align: center; width: fit-content; margin-left: auto; background: #9c93d1; border-radius: 20px 0; padding: 5px 20px; display: flex; align-items: center; justify-content: center; } #pun-navlinks li { padding: 0 5px; display: inline; } #pun-navlinks li a { font-size: 13px; font-family: "Unageo"; color: var(--pun-bg); text-transform: lowercase; } #pun-navlinks li a:hover { color: white; } /* Пользовательские ссылки */ #pun-ulinks { width: 1000px; position: absolute; top: 235px; line-height: 25px; } #pun-ulinks .container { text-align: center; width: fit-content; margin-left: auto; } #pun-ulinks li { padding: 0 5px; display: inline; } #pun-ulinks li a { font-size: 11px; font-family: "Unageo"; color: var(--link2); text-transform: lowercase; font-weight: 100; letter-spacing: 1px; } #pun-ulinks li a:hover { color: white; } /* Статус */ #pun-status { position: absolute; width: 1000px; height: 50px; top: 0px; } #pun-status .container { width: 450px; margin-left: auto; text-align: right; color: var(--link2); font-family: "Unageo"; font-weight: 100; letter-spacing: 1px; font-size: 9px; } #pun-status .container a { color: #d5bde1; } #pun-status strong { font-weight: normal; } #pun-status span { white-space: nowrap; margin-right: 5px; } /* Копирайт */ #pun-about {} #pun-about .container { text-align: center; } /* Главная форумная таблица ------------------------------------------*/ .main table { table-layout: fixed; width: 100%; } .main th { padding: 5px 10px; } .main td { padding: 10px; font-size: 11px; } .tcl { width: 45%; } .tcr { width: 25%; } .tc2, .tc3, .tcmod { text-align: center; width: 10%; } #pun-index .category .tc2, #pun-index td.tc3 { width: 5%; display: none; } #pun-index .tcl h3 a { font-size: 13px; text-shadow: 1px 1px 2px #ffffffa8, -1px -1px 2px #ffffffa3; } #pun-index td.tcr a { font-size: 12px; } .tcmod { text-align: center; width: 10%; } #pun-searchtopics .tcl, #pun-modviewforum .tcl { width: 40% } #pun-searchtopics .tc2 { text-align: left; width: 20%; } #pun-debug table .tcl { width: 15%; } #pun-debug .tcr { width: 90%; } tbody.hasicon td.tcl { padding-left: 40px; text-align: justify; } /* аватар */ .punbb td .user-avatar, #pun-index td .user-avatar { } .punbb td .user-avatar .avatar-image { border-radius: 20%; box-shadow: 0 0 6px rgb(190 178 228 / 60%); } /* ссылки в описаниях форумов */ .smoon-links { margin-top: 10px; display: flex; gap: 8px; flex-direction: row; } .smoon-links a { padding: 2px 10px 4px 10px; font-family: verdana; font-size: 11px; font-weight: 600; text-transform: lowercase; background: #dcdaea; border-radius: 4px; color: var(--link1); text-shadow: 1px 1px 2px #ffffffa8, -1px -1px 2px #ffffffa3; } .smoon-links a:hover { background: var(--link1); color: #dcdaea; text-shadow: none; } /* Иконки */ div.icon { position: absolute; margin-left: -30px; width: 20px; height: 20px; background: var(--link) url() no-repeat top center; } tr.inew div.icon { background: var() url() no-repeat top center; } tr.isticky div.icon { background: var() url() no-repeat top center; } tr.iclosed div.icon { background: var() url() no-repeat top center; } /* Пагинация (Переключаемые страницы, Новая тема + Опрос, Подписка) --------------------------------------------------------------------------------------------------- */ .multipage { margin-top: 10px; } .linkst { position: relative; padding: var(--pad2); display: flex; justify-content: space-between; } .linkst .pagelink { color: var(--link3); text-transform: lowercase; font-family: verdana; } .linkst .postlink { text-align: right; } .linksb { position: relative; padding: var(--pad2); display: flex; flex-wrap: wrap; justify-content: space-between; } .linksb .pagelink { color: var(--link3); text-transform: lowercase; font-family: verdana; order: -1; } .subscribelink { width: 100%; text-align: right; } .linksb noindex { order: 1; } .linksb .postlink { margin-left: auto; text-align: right; color: var(--link3); text-transform: lowercase; font-family: verdana; } /* Модераторское меню, RSS, Atom */ .modmenu .container { padding: var(--pad3); text-align: right; color: var(--link3); text-transform: lowercase; font-family: verdana; font-size: 10px; } .modmenu .container strong { float: left; } .modmenu input { margin-left: 10px; } /* Главная ------------------------------------------*/ /* скрыть "форум, тем, сообщений" */ #pun-index thead { display: none; } /* категория */ #pun-index .category {} /* заголовок категории */ #pun-index .category h2 { border-radius: 8px; margin: 30px 60px 10px 60px; font-size: 11px; font-family: Unageo; color: var(--link1); letter-spacing: 1px; padding: 6px; background: #dcdaea; } #pun-index .category .container { padding: 10px 40px; } #pun-index .category tr { border-radius: 16px; display: flex; width: 920px; margin: 0 auto; justify-content: space-between; } #pun-index .category tr.inew { background: #eae1e9; } #pun-index .category .tcl { padding: 0; width: 60%; } #pun-index .category .intd { position: relative; } #pun-index .category .icon { position: absolute; margin-left: 0; flex-shrink: 0; width: 12px; height: 100%; display: block; border-radius: 12px 0 0 12px; } #pun-index .category .icon.inew { background: var(--body-bg); } #pun-index .category .tclcon { padding: 10px 10px 10px 30px; } #pun-index .category .tcr { width: 35%; align-self: center; } .punbb td .user-avatar .isonline { z-index: 1; } /* Статистика */ #pun-stats {} #pun-stats .container { padding: 20px 60px 20px 60px; } /* заголовок статистики */ #pun-stats h2 { border-radius: 8px; margin: 10px 60px 10px 60px; font-size: 11px; font-family: Unageo; color: var(--link1); letter-spacing: 1px; padding: 6px; background: #dcdaea; } /* всего тем, всего сообщений */ #pun-stats li.item1, #pun-stats li.item2 { float: left; clear: both; } /* зарегистрированных, последний зарегистрировавшийся */ #pun-stats li.item3, #pun-stats li.item4 { text-align: right; } /* активны, посетили за сутки */ li#onlinelist { margin-top: 20px; text-align: justify; } /* Шапка ------------------------------------------*/ #pun-title { position: absolute; width: 1111px; height: 280px; margin-left: -60px; top: 0px; background: url(https://forumupload.ru/uploads/001c/68/62/2/146110.webp); } /* скрыть заголовок в шаке */ #pun-title .title-logo { display: none; } /* содержимое шапки в html-верх */ #html-header { width: 990px; height: 180px; top: 14px; margin-left: 10px; position: absolute; border-radius: 20px; z-index: 1; } .tablica { width: 100%; height: 100%; position: relative; } .tab_links { display: flex; gap: 13px; width: fit-content; padding: 5px 20px; background: #9c93d1; border-radius: 20px 0; font-size: 11px; font-family: "Unageo"; color: var(--link1); letter-spacing: 1px; line-height: 20px; margin-left: -10px; } .tab_links a { color: var(--pun-bg); } .tab_links a:hover { color: white; } .post_wrapper { position: absolute; width: 412px; top: 60px; left: 10px; z-index: 1; } .post_wrapper span { font-family: Berlin Script; color: var(--pun-bg); font-size: 27px; letter-spacing: 1px; line-height: 20px; display: block; width: 100%; text-align: center; box-sizing: border-box; padding-left: 60px; } .forum_post { background: rgb(156 147 209 / 60%); padding: 10px 15px; text-align: justify; border-radius: 6px; font: italic 10px verdana; color: var(--link2); } .forum_post a { color: var(--link-hover); } .forum_post a:hover { color: var(--link2); } .forum_name { font-family: Berlin Script; color: var(--pun-bg); position: absolute; top: 60px; left: 600px; letter-spacing: 4px; } .forum_name_top { font-size: 60px; line-height: 60px; padding-right: 30px; } .forum_name_bottom { font-size: 36px; line-height: 20px; text-align: right; } /* Объявление ------------------------------------------*/ #pun-announcement {} /* скрываем слово "объявление" */ #pun-announcement h2 { display: none; } /* Футер ------------------------------------------*/ #html-footer {} #html-footer .container {padding: 0;} /* баннеры */ .banners { position: absolute; width: 1000px; height: 120px; margin: 26px 0px; background: rgb(190 178 228 / 50%); box-sizing: border-box; border-radius: 20px 20px 20px 20px; padding: 20px 50px; } .banners .container{ height: 80px; overflow: auto; scrollbar-color: var(--body-bg) transparent; display: flex; flex-wrap: wrap; gap: 10px; } .banners a { opacity: .3; } .banners a:hover { opacity: 1; } .banners a:hover { opacity: 1; } /* Топик ------------------------------------------*/ .post { margin-top: 10px; scroll-margin-top: 60px; } .toppost, .topicpost { margin-top: 0; } /* контейнер поста */ .post .container { display: flex; flex-wrap: wrap; align-items: start; } /* дата и номер поста */ .post h3 { border: 1px solid #eed7ee; border-radius: 8px; margin: 10px 20px 10px 20px; box-shadow: inset 0px 0px 6px 0px rgba(255, 255, 255, 0.8); font-size: 11px; font-family: Unageo; color: var(--link3); letter-spacing: 1px; padding: 1px; } .post h3 a { font-size: 10px; font-family: Unageo; letter-spacing: 1px; color: var(--link3); font-weight: normal; } .post h3 span { padding: var(--pad2); display: block; } /* номер поста */ .post h3 strong { float: right; text-align: right; font-weight: normal; } /* Автор */ .post-author { width: var(--pwidth); text-align: center; box-sizing: border-box; border-radius: 20px; position: relative; background: linear-gradient(to bottom, #9da1d3 0%, #fbb8e1 100%); padding: 10px 10px 40px; margin: 12px 0 10px; font-family: 'Unageo'; color: rgb(144, 102, 165); letter-spacing: 1px; font-size: 11px; } .post-author ul { padding: 10px 10px 20px; background: var(--pun-bg); border-radius: 14px; box-shadow: inset 0 0 22px #ffffff; } .pa-author { margin-bottom: 14px; } .pa-author a { font-size: 14px; font-family: "Unageo"; color: var(--link1); text-shadow: 0px 1px 3px rgba(255, 255, 255, 0.7); letter-spacing: 1px; } .pa-title { position: absolute; top: 0; width: 206px; left: 50%; transform: translate(-50%, -100%); background: var(--pun-bg); border-radius: 14px 14px 0px 0px; font-size: 11px; font-family: "Unageo"; color: #c7aed3; line-height: 1.2; padding: 6px; box-sizing: border-box; text-shadow: 0px 1px 3px rgba(255, 255, 255, 0.7); box-shadow: 0px 0px 18px 0px rgba(190, 178, 228, 0.5), inset 0px 0px 16px 0px rgba(255, 255, 255, 0.004); text-overflow: ellipsis; white-space: nowrap; overflow: hidden; } .pa-avatar img { border-radius: 10px; } .lz { width: 160px; margin: 20px auto 10px; } .lz .name { display: block; text-align: center; margin-bottom: 10px; font-weight: bold; font-family: 'Unageo'; font-size: 11px; } .lz p { text-align: justify; text-align-last: center; font-size: 11px; font-family: "Unageo"; color: rgb(144, 102, 165); line-height: 1.2; letter-spacing: 1px; } .lz p a { font-weight: bold; color: #d777db; } .lz p a:hover { color: var(--link1); } #profile-right .lz { width: 360px; } .pa-posts, .pa-respect, .pa-fld2 { display: inline-block; width: 40px; margin: 10px 5px 10px; } .pa-posts .fld-name, .pa-respect .fld-name, .pa-fld2 .fld-name { display: block; font-size: 0; color: #bda9c7; letter-spacing: 0; margin-bottom: 8px; } .pa-posts .fld-name:before { content: '\f27a'; font-size: 16px; font-family: var(--fa); } .pa-respect .fld-name a:before, .gid3 .pa-respect .fld-name:before { content: '\f004'; font-size: 16px; font-family: var(--fa); color: #bda9c7; } .pa-fld2 .fld-name:before { content: '\f005'; font-size: 16px; font-family: var(--fa); } .pa-fld3 { display: flex; align-items: center; position: absolute; justify-content: center; left: 50%; transform: translate(-50%, 0%); border-radius: 4px; background-color: var(--pun-bg); box-shadow: 0px 0px 18px 0px rgba(190, 178, 228, 0.6), inset 0px 0px 8px 0px rgba(255, 255, 255, 0.004); width: 30px; height: 30px; bottom: 25px; } .pa-online, .pa-last-visit {} /* Тело поста */ .post-body { width: calc(100% - var(--pwidth)); } .hideprofile .post-body { width: 100%; } .post-box { padding: 10px 0px 0px 20px; font-size: 13px; font-family: verdana; } .hideprofile .post-box { padding: 10px 0px 0px; } .post-links { width: 100%; } .post-links ul { text-align: right; font-family: Unageo; font-size: 12px; display: flex; justify-content: space-between; } .punbb .post-links ul:after { display: none!important; } .pl-wrap { width: var(--pwidth); display: flex; justify-content: center; } .post-links li { display: inline; } .post-links li:not(:first-of-type) { padding-left: 10px; } .pl-email, .pl-website { float: left; } .clearer { clear: both; height: 0; font-size: 0; } /* Контент поста - цитата, спойлер, таблицы и т.п. */ .punbb .post td { border: 0px transparent !important; } pre { font: 12px/140% monaco, "bitstream vera sans mono", "courier new", courier, monospace; } .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; padding: 0 0 12px 0; line-height: 150%; text-align: justify; } .post-content img { vertical-align: middle; } .scrollbox { width: 100%; overflow: auto; max-height: 200px; } /* цитата и код */ .quote-box, .code-box { margin: 4px 10px 10px; padding: 20px 20px 10px 20px; background: var(--pun-bg); border-style: solid; border-width: 1px; border-color: #eed7ee; border-radius: 12px; box-shadow: inset 0px 0px 40px 0px rgba(255, 255, 255, 0.4); } .quote-box cite { display: block; padding-bottom: 5px; font-weight: bold; font-style: normal; } .code-box strong.legend { display: block; padding-bottom: 5px; font-weight: bold; font-style: normal; } .post-sig dt { border-bottom: 1px solid var(--link-hover); width: 300px; margin: 10px auto; } /* Форма ответа */ #main-reply { box-sizing: border-box; background: #f3eff0; border-radius: 20px; text-transform: none; font-family: verdana; font-size: 13px; color: #351c60; } #tags { position: relative; } #tags .container { padding: var(--pad3) !important; top: 0 !important; } /* Профиль + ЛС ------------------------------------------*/ #profile .container { padding-left: 200px; min-height: 100px; } #profilenav { float: left; width: 180px; margin-left: -180px; } #viewprofile td { padding: 16px 0px 0px 60px !important; } #viewprofile h2, #profilenav h2 { padding: 0; margin: 0; } #profile-name { background: #dcdaea; width: 180px; border-radius: 8px; text-align: center; margin-bottom: 4px; font-size: 10px; } #profile-title, #pa-online, #pa-edit { text-align: center; width: 180px; font-size: 10px; } #profilenav li { padding: 0 0 5px; } #viewprofile li { padding: 5px 0; } #profile-right li { display: flex; } #profile-right li span { width: 150px; flex-shrink: 0; border-radius: 8px; margin: 2px 0px 2px 0px; font-size: 11px; font-family: Unageo; color: var(--link1); letter-spacing: 1px; padding: 4px 0px 4px 8px; text-transform: lowercase; background: #dcdaea; } #profile-left li strong, #profile-right li strong { font-weight: normal !important; margin: 5px 0px 2px 0px; } img.avatardemo { float: right; margin: 0 0 8px 18px; } #pun-messages .post-author { margin: 20px 0 10px; } #pun-messages .pa-reg, #pun-messages .pa-posts, #pun-messages .pa-online { display: none; } #pun-messages .clearer { display: none; } #messages tr, #messages td, #messages th { display: flex; } #messages td, #messages th { align-items: center; } #messages .icon { display: none; } #messages .tcl { padding-left: 0px; } #messages .pmtc24 { justify-content: flex-end; } #messages .linksb { padding: 5px 0px; } #messages legend span { display: none; } #profile.messages-container .container { padding-left: 20px; } .messages-container #profilenav { float: none; margin: 10px 0px; width: 100%; justify-content: space-between; display: flex; } .messages-container #profilenav h2 { display: none; } .messages-container #profilenav ul { display: flex; gap: 20px; background: var(--body-bg); padding: 4px 8px 0px 8px; border-radius: 6px; } .messages-container #profilenav ul a { color: var(--link2); } .messages-container #profilenav ul a:hover { color: white; } .messages-container .post h3 { margin: 12px 0; } /* Прочие страницы ------------------------------------------*/ /* Список пользователей */ #pun-userlist .formal, #pun-userlist .formal .container { margin-bottom: 0; } #pun-userlist .tc2 { text-align: left; width: 20%; } #pun-userlist .tcl { width: 40%; } .usertable .container {} /* Собщения об ошибках */ .info .container { padding: var(--pad3); } .info .container .backlink { padding-top: 8px; } /* Регистрация */ .info-box { margin: 0 0 10px 0; } .info-box * { padding: 0 0 5px 0; } .info-box .legend { font-weight: bold; } .jGrowl-notification .jGrowl-close { position: relative; right: 6px; } /* список тем */ .forum tbody { display: flex; flex-direction: column; gap: 10px; } .forum tr { width: 960px; display: flex; border-radius: 12px; } .forum tr.isticky { background: #e9e5d8; } .forum tr.inew { background: #e5e1ea; } .forum tr.iclosed { background: #e3e1e3; } .forum tr .icon { position: absolute; margin-left: 0; flex-shrink: 0; width: 12px; height: 100%; display: block; border-radius: 12px 0 0 12px; } .forum tr.isticky .icon { background: #edbb5a; } .forum tr.iclosed .icon { background: #a9a9a9; } .forum tr.inew .icon { background: var(--body-bg); } .forum .tcl { padding: 0!important; position: relative; } .forum .tclcon { padding: 10px 10px 10px 30px; } .forum .tcr .byuser-username { display: block; } /* Кнопка модерации в топиках -------------------------------------------------------*/ #pun-main .container #mod-options { border-radius: 8px; background: var(--body-bg); color: var(--link2); font-family: Unageo; font-size: 12px; text-transform: lowercase; } /* админка -------------------------------------------------------*/ #pun-admain fieldset .handle, #pun-admain fieldset p { border-color: #dcdaea !important; background-color: #ece9ec !important; } .adformal h2, #pun-adnav h2 { background-color: #9188c5 !important; color: var(--link2) !important; border-color: #9188c5 !important; font-family: Unageo; text-transform: lowercase; letter-spacing: 1px; border-radius: 0px; } /* шаблон бб-эпизода -------------------------------------------------------*/ .start { /**** ПЕРЕМЕННЫЕ ****/ --primary: #362823; /* цвет фона */ --title: #f6effa; /* цвет названия эпизода */ --titleSize: 14px; /* размер шрифта названия эпизода */ --imageHeight: 120px; /* высота картинки */ --imagePos: 20px; /* сдвиг картинки по вертикали */ --bgSrc: url(https://i.pinimg.com/736x/5b/31/6c/5b316c49c3fad32fb130229388681f64.jpg);/* ссылка на фон внизу */ --text: #d0c0e7; /* цвет текста */ --link: #997fc5; /* цвет ссылок */ --linkHover: #f2f1eb; /* цвет ссылок при наведении */ /**** /ПЕРЕМЕННЫЕ ****/ width: 630px; padding: 10px; border: solid 1px var(--primary); color: var(--text); margin-left: 26px; } .start, .start * { box-sizing: border-box; } .startWrapper{ padding: 40px 60px 20px; background: var(--primary); } .start a { color: var(--link) !important; font-size: 1em !important; } .start a:hover { color: var(--linkHover) !important; } .startImage { position: relative; width: 100%; height: var(--imageHeight); overflow: hidden; display: flex; align-items: center; justify-content: center; } .startImage:before { content: ''; display: block; position: absolute; border: solid 1px #ffffff85; top: 8px; bottom: 6px; left: 10px; right: 10px; z-index: 1; } .startImage img { width: 100%; margin-top: var(--imagePos); } .startH1 { color: var(--title); font-family: Comfortaa, Arial, sans-serif; text-shadow: 1px 1px 2px rgba(0,0,0,.6); font-size: var(--titleSize); text-align: center; padding: 4px; margin-top: -25px; } .startH2 { font-size: 14px; line-height: 1.2em; text-align: center; padding: 25px 0 12px; font-family: Comfortaa, Arial, sans-serif; letter-spacing: 2px; } .startH3 { font-size: 11px; text-align: center; font-style: italic; padding: 2px 0; line-height: 12px; } .startDescription { padding: 10px 60px 90px; background-image: linear-gradient(var(--primary) 20%, transparent), var(--bgSrc); background-size: cover; background-position: 100% -30%; text-align: justify; font-size: 12px; line-height: 1.2em; } /* липкая навигация -------------------------------------------------------*/ #pun-navlinks.fixed { position: sticky; top: 0; margin-left: unset; width: 100%; z-index: 2; background: var(--link1); } #pun-navlinks.fixed .container { width: 100%; box-sizing: border-box; border-radius: 0 0 20px 20px; margin: 0 auto; } #pun-ulinks.fixed { position: sticky; top: 30px; z-index: 3; background: var(--link1); border-radius: 0 0 20px 20px; } #pun-ulinks.fixed .container { padding: 0px; box-sizing: border-box; width: 100%; } /* кнопки вверх-вниз -------------------------------------------------------*/
Поделиться32025-03-24 01:30:11
Цвета style_cs.css
Код:
/* 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; color: var(--link1); } #form-buttons td:hover::before { color: var(--link3); /* цвет при наведении */ } /* 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-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'; } #form-buttons td#button-files_rusff, #form-buttons td#button-graffiti_rusff { display: none!important; } #stylelist { display: flex; z-index: 10000; margin: 0; padding: 0; list-style-type: none; } .night { --pun-bg: #e1dbe6; } .night #pun-index .category h2, .night h1, .night h2, .night #pun-stats h2 { background: var(--body-bg); color: var(--link2); } .night .smoon-links a { background: var(--body-bg); color: var(--link2); text-shadow: none; } .night .smoon-links a:hover { background: #dcdaea; color: var(--link1); } .night #pun-index .tcl h3 a { text-shadow: none; } #stylelist a { display: block; width: 14px; height: 14px; font-size: 0!important; } #stylelist [data="day"] a { background: var(--link2); } #stylelist [data="night"] a { background: #8880b8; } .post[data-user-id="3"] .post-author { background: url(https://forumupload.ru/uploads/001c/68/62/2/132291.jpg); } .gsbook { width: 660px; height: 300px; margin: 0 auto; position: relative; background: url(https://forumupload.ru/uploads/001c/68/62/2/204470.webp) no-repeat top center; font-size: 12px; color: var(--link2); box-sizing: border-box; padding: 30px 36px; font-family: Verdana; } .privet { font-weight: bold; text-align: center; margin-bottom: 10px; } .privet i { font-style: normal; color: #d5bde1; } .opisanie { border-radius: 12px; background-color: rgb(156, 147, 209); box-shadow: inset 0px 0px 28px 0px rgba(136, 127, 191, 0.6); padding: 10px 26px 10px 26px; text-align: justify; margin-bottom: 10px; line-height: 150%; } .roli { display: flex; justify-content: space-between; margin-top: 30px; } .roli span { display: block; text-align: center; color: #d5bde1; font-weight: bold; margin-bottom: 10px; } .roli_block { width: 280px; } .roli_wrap { border-radius: 12px; background-color: rgb(156, 147, 209); box-shadow: inset 0px 0px 28px 0px rgba(136, 127, 191, 0.6); padding: 10px 20px; } .post-content .roli_inner p { padding: 0; text-align: center; } .roli_inner { height: 60px; overflow: auto; text-align: center; } .zvezda1, .zvezda2 { position: absolute; pointer-events: none; } .zvezda1 { top: 172px; left: 55px; } .zvezda2 { top: 172px; right: 40px; }
Поделиться42025-03-24 01:30:37
HTML верх
Код:
<!-- Смена стиля, (с) ForumD.ru, satsana --> <script type="text/javascript"> var styleList = [{ class: 'day', name: 'День' }, { class: 'night', name: 'Ночь' }]; function getCookie(a){return(a=document.cookie.match(new RegExp("(?:^|; )"+a.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)")))?decodeURIComponent(a[1]):void 0}function setStyle(a){$("body").attr("class",a);$("#stylelist li").removeClass("active");$('#stylelist li[data="'+a+'"]').addClass("active");selStyle=a;document.cookie="selStyle="+a+"; max-age=2592000"}var selStyle=getCookie("selStyle");selStyle&&setStyle(selStyle); $(document).pun_mainReady(function(){$("#stylelist").length||$("body").prepend('<ul id="stylelist"></ul>');for(i=0;i<styleList.length;i++)$("#stylelist").append('<li data="'+styleList[i]["class"]+'"'+(selStyle==styleList[i]["class"]?' class="active"':"")+'><a href="/" onclick="setStyle($(this.parentNode).attr(\'data\'));return false">'+styleList[i].name+"</a></li>")}); </script> <!-- Смена стиля - END --> <div class="forum_name"> <div class="forum_name_top">Sailor Moon </div> <div class="forum_name_bottom">c'est la vie </div> </div> <div class="post_wrapper"> <span>post</span> <div class="forum_post"> ...Однако судя по всему Марс уже осталась в гордом одиночестве: все подходящие новые члены разбойничьей шайки хоронили и без того около нулевые шансы отбиться с помощью метлы. Только а что ей оставалось? Показывать силу. Или сдаваться чтобы что случилось? Она вообще тут на тайной операции... [<a href="https://sm2025.rusff.me/">читать дальше</a>] </div> </div> <div class="tablica"> <div class="tab_links"> <a href="https://sm2025.rusff.me/">сюжет</a> <a href="https://sm2025.rusff.me/">роли</a> <a href="https://sm2025.rusff.me/">правила</a> <a href="https://sm2025.rusff.me/">анкета</a> <a href="https://sm2025.rusff.me/">розыск</a> </div> </div> <script> rusffLive.enable = false; </script> <script> ReactionsPlugin.setConfig({ disable: true }); </script> <!--Скрытие профиля в теме тегом--> <style type="text/css"> .hideprofile .post-author, .hideprofile .pl-email, .hideprofile .pl-website { display: none !important } </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>
Поделиться52025-03-24 01:30:48
HTML низ
Код:
<script> $(".post-links").each(function(){ $(this).find('.pl-email, .pl-website').wrapAll("<div class='pl-wrap'>"); $(this).find('.pl-delete, .pl-edit, .pl-quote, .pl-reports').wrapAll("<div class='pl-post'>"); }); </script> <div class="banners"> <div class="container"> <a href="https://inspiration.f-rpg.me/" title="вдохновение кросс" target="_blank"><img src="https://forumupload.ru/uploads/001c/38/b6/4/420928.gif" width="88" height="31" border="0"></a> <a href="https://why.rusff.me/" target="_blank"><img src="https://forumupload.ru/uploads/001c/61/20/17/606277.png" title="why? cross" border="0" width="88" height="31"></a> <a href="https://crossfeeling.rusff.me/" target="_blank"><img src="https://forumupload.ru/uploads/0015/e5/b7/3090/763030.png" title="crossfeeling" border="1" width="88" height="31"></a> <a href="https://paradisecross.rusff.me" target="_blank"> <img src="https://forumupload.ru/uploads/001c/60/bf/2/244634.png" title="paradise cross"></a> <a href="https://sunnycross.ru/"><img src="https://i.ibb.co/Zz1H0CH/bb.png"></a> <a href="https://cwvoice.ru/"><img src="https://forumupload.ru/uploads/001c/55/b9/11/964489.png" title="cw. the voice of memories"></a> <a href="https://repokemon.mybb.ru/"><img src="https://forumupload.ru/uploads/001c/25/14/2/88315.gif" title="покемоны, свободная игра"></a> <a href="https://gemcross.rusff.me/"><img src="https://i.imgur.com/BGonlbE.png" width="88" height="31" border="0" alt="GEMcross"></a> <a href='https://onlinecross.ru/' target='_blank' title='ONLINECROSS'><img src='https://forumupload.ru/uploads/001b/1a/5a/29/959285.gif' border='0' width='88' height='31'></a> <a href="https://genshintales.ru/"><img src="https://forumstatic.ru/files/001b/5c/7f/13066.jpg" title="Genshin Impact: Tales of Teyvat"></a> <a href="https://thenextdoor.rusff.me//" target="_blank"><img src="https://i.imgur.com/fwCXRSb.png" title="next door = south korea"></a> <a href="https://vhscross.rusff.me/" target="_blank"><img src="https://forumupload.ru/uploads/001c/57/23/2/489156.png" title="VHS_Cross" border="0" width="88" height="31"></a> <a href="https://taleisalie.f-rpg.me/"><img src="https://i.ibb.co/47KtngM/1.jpg" title="персонажи сказок в реальном мире, арты" alt="персонажи сказок в реальном мире, рисованные внешности"></a> <a target="_blank" href="http://curama.mybb.ru"><img src="https://forumupload.ru/uploads/0007/e3/f7/6822/627857.gif" /></a> <a href="https://execute.rusff.me/" target="_blank"><img src="https://forumstatic.ru/files/001b/f1/8a/90261.gif" alt="Execute" title="Execute [кроссовер]" width="88" height="31"></a> <a href="https://skreverse.rusff.me/"><img src="https://forumupload.ru/uploads/001c/05/11/2/204926.png" title="Shaman King: reverse"></a> </div> </div> <script type="text/javascript"> function myFunction() { if (window.pageYOffset >= 280) { $("#pun-navlinks, #pun-ulinks, .punbb").addClass("fixed"); } else { $("#pun-navlinks, #pun-ulinks, .punbb").removeClass("fixed"); } }; window.onscroll = function() {myFunction()}; if(navigator.userAgent.toLowerCase().indexOf('firefox') > -1) { myFunction() } </script> <!--Отключить кнопку "Вложения"--> <script type="text/javascript"> RusffCore.sets.files.button = false; </script> <!-- Отключение сокращения ссылки--> <script type="text/javascript"> FORUM.set("editor.link.short_url", function() { return false; }); </script> <script> RusffCore.sets.graffiti = false; /*Граффити*/ </script> <!--Отключить функцию "Поделиться"--> <script type="text/javascript"> RusffCore.sets.share = false; </script>
Поделиться62025-03-24 01:31:03
Дополнительные пункты меню
Код:
0 = <ul id="stylelist"></ul>
Страница: 1