MediaWiki:Tweeki.css: различия между версиями
Страница интерфейса MediaWiki
Дополнительные действия
| Askell (обсуждение | вклад) Нет описания правки Метка: отменено | Askell (обсуждение | вклад) Нет описания правки | ||
| (не показано 176 промежуточных версий этого же участника) | |||
| Строка 2: | Строка 2: | ||
| @import url('https://fonts.googleapis.com/css?family=Merriweather|Cormorant Infant|PT Mono|Neucha|MedievalSharp|Spectral SC|Kurale|El Messiri|Ledger'); | @import url('https://fonts.googleapis.com/css?family=Merriweather|Cormorant Infant|PT Mono|Neucha|MedievalSharp|Spectral SC|Kurale|El Messiri|Ledger'); | ||
| . | #content { | ||
|     padding: 2em !important; | |||
|     background: rgb(255 255 255 / 90%); | |||
|     padding: 15px; | |||
| } | |||
| pp { | |||
|     display: block !important; | |||
| 	margin-bottom: -5px; | |||
| } | |||
| .bg-light { | |||
|     background-color: #000000 !important; | |||
| } | |||
| /* Исправление отображения текста */ | |||
| p { | |||
| 	white-space: break-spaces !important; | |||
|     display: block !important;      /* Элементы отображаются как блоки */ | |||
| } | |||
| ul { | |||
| 	list-style-position: inside; /* Убедись, что маркеры списка отображаются правильно */ | |||
| } | |||
| ul li { | |||
|     display: list-item !important; /* Убедись, что элементы списка отображаются как блоки */ | |||
| } | |||
| /* Стили для кнопки выпадающего списка */ | |||
| .tweeki-dropbtn { | |||
|   background-color: #4CAF50; | |||
|   color: white; | |||
|   padding: 10px; | |||
|   font-size: 16px; | |||
|   border: none; | |||
|   cursor: pointer; | |||
| } | |||
| /* Контейнер для выпадающего списка */ | |||
| .tweeki-dropdown { | |||
|   position: relative; | |||
|   display: inline-block; | |||
| } | |||
| /* Содержимое выпадающего списка (скрыто по умолчанию) */ | |||
| .tweeki-dropdown-content { | |||
|   display: none; | |||
|   position: absolute; | |||
|   background-color: #f9f9f9; | |||
|   min-width: 160px; | |||
|   box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2); | |||
|   z-index: 1; | |||
| } | |||
| /* Стили для ссылок в выпадающем списке */ | |||
| .tweeki-dropdown-content a { | |||
|   color: black; | |||
|   padding: 12px 16px; | |||
|   text-decoration: none; | |||
|   display: block; | |||
| } | |||
| /* Изменение цвета ссылок при наведении */ | |||
| .tweeki-dropdown-content a:hover { | |||
|   background-color: #f1f1f1; | |||
| } | |||
| /* Показывать выпадающий список при наведении */ | |||
| .tweeki-dropdown:hover .tweeki-dropdown-content { | |||
|   display: block; | |||
| } | |||
| /* Изменение цвета кнопки при наведении */ | |||
| .tweeki-dropdown:hover .tweeki-dropbtn { | |||
|   background-color: #3e8e41; | |||
| } | |||
| .page-header-actions .action-edit { | |||
|     display: none; | |||
| } | |||
| .Backtop { | |||
| max-width: 100%; | |||
| height: auto; | |||
| background-image: url('https://asciawiki.ru/images/0/00/%D0%A4%D0%BE%D0%BD%D1%87%D0%B8%D0%BA.jpg'); /* Замените на путь к вашему изображению */ | |||
| background-size: cover; /* Фон будет масштабироваться под размеры экрана */ | |||
| background-position: center center; /* Центрирование изображения */ | |||
| background-repeat: no-repeat; /* Изображение не будет повторяться */ | |||
| background-attachment: fixed; /* Фон будет фиксированным при прокрутке страницы */ | |||
| } | |||
| .TextHeading3 { | |||
|     font-family: 'Merriweather', auto; | |||
|     font-size: 21px; | |||
|     line-height: 21px; | |||
|     flex-basis: 260px; | |||
|     height: 60px; | |||
|     text-align: center; | |||
|     padding:20px; | |||
|     flex-grow: 2; | |||
| } | |||
| .TextHeading2 { | |||
|     font-family: 'Merriweather', auto; | |||
|     font-size: 21px; | |||
|     line-height: 21px; | |||
|     flex-basis: 260px; | |||
|     height: 3rem; | |||
|     text-align: center; | |||
|     padding-left: 25px; | |||
|     padding-right: 25px; | |||
|     padding-top: 15px; | |||
|     flex-grow: 2; | |||
| } | |||
| .TextHeading { | |||
|     font-family: 'Spectral SC', auto; | |||
|     font-size: 21px; | |||
|     line-height: 21px; | |||
|     flex-basis: 260px; | |||
|     height: 50px; | |||
|     text-align: center; | |||
|     padding-top: 15px; | |||
|     flex-grow: 2; | |||
| } | |||
| .ard { | |||
| 	border: 1px solid black; | |||
| 	background-image:url('https://asciawiki.ru/images/0/00/%D0%A4%D0%BE%D0%BD%D1%87%D0%B8%D0%BA.jpg'); | |||
| 	background-size: cover; /* Фон будет масштабироваться под размеры экрана */ | |||
| background-position: center center; /* Центрирование изображения */ | |||
| background-repeat: no-repeat; /* Изображение не будет повторяться */ | |||
| background-attachment: fixed; /* Фон будет фиксированным при прокрутке страницы */ | |||
| } | |||
| .ardHeading { | |||
|      padding-top: 10px; | |||
|     padding-bottom: 10px; | |||
|     padding-right: 20px; | |||
|     text-align: center; | |||
|     font-family: 'Spectral SC'; | |||
|      text-shadow: 0 0 black; | |||
| } | } | ||
| .firstHeading { | .firstHeading { | ||
|     border-top: 2px solid #0000; | |||
|     border-bottom: 2px solid #0000; | |||
|     border-image: linear-gradient(90deg, #0000 0%, rgba(82, 81, 79, 1) 50%, rgba(82, 81, 79, 1) 50%, #0000 100%); | |||
|     border-image-slice: 30; | |||
| } | |||
| .secondHeadings { | |||
|     display: flex; | |||
|     align-items: flex-start; | |||
|     justify-content: space-between; | |||
| } | |||
| .secondHeading hr { | |||
|     border-bottom: 1px solid #0000; | |||
|      border-image: linear-gradient(90deg, #0000 0%, rgba(82, 81, 79, 1) 50%, rgba(82, 81, 79, 1) 50%, #0000 100%); | |||
|     border-image-slice: 5; | |||
| } | |||
| hr { | |||
|     display: block; | |||
|     margin-block-start: 0.5em; | |||
|     margin-block-end: 0.5em; | |||
|     margin-inline-start: auto; | |||
|     margin-inline-end: auto; | |||
|     unicode-bidi: isolate; | |||
|     overflow: hidden; | |||
|     border-style: inset; | |||
|     border-width: 1px; | |||
|     background-color: transparent; | |||
| } | } | ||
| a.new { | a.new { | ||
|      color: # |      color: #795548; | ||
|     text-shadow: 0 0 35px #1a1a1a; | |||
| } | } | ||
| a { | |||
|  color: #607d8b; | |||
|  text-shadow: 0 0 35px #1a1a1a; | |||
|  } | |||
| #maincontentwrapper .mw-ui-button.mw-ui-progressive, .btn-primary, body #contentwrapper #maincontentwrapper button.oo-ui-buttonElement-button, body #contentwrapper #maincontentwrapper input.oo-ui-buttonElement-button, input[type=button][name=wpUpload], input[type=submit][name=wpUpload] { | #maincontentwrapper .mw-ui-button.mw-ui-progressive, .btn-primary, body #contentwrapper #maincontentwrapper button.oo-ui-buttonElement-button, body #contentwrapper #maincontentwrapper input.oo-ui-buttonElement-button, input[type=button][name=wpUpload], input[type=submit][name=wpUpload] { | ||
| Строка 28: | Строка 196: | ||
|      color: #fff; |      color: #fff; | ||
| } | } | ||
| #back-to-top { | #back-to-top { | ||
| Строка 72: | Строка 238: | ||
|      padding: 0px !important;   |      padding: 0px !important;   | ||
|      border-spacing: 0px !important;   |      border-spacing: 0px !important;   | ||
|      border-image: url('https:// |      border-image: url('https://asciawiki.ru/images/3/31/Border1.png') 24 round !important; | ||
|      border-radius: 35px; |      border-radius: 35px; | ||
|      background: transparent !important; |      background: transparent !important; | ||
| Строка 186: | Строка 352: | ||
|    padding: 0px !important; |    padding: 0px !important; | ||
|    border-radius: 35px; |    border-radius: 35px; | ||
|    border-image: url('https:// |    border-image: url('https://asciawiki.ru/images/9/91/Border5.png') 30 round !important; | ||
|    Background: #dee3e7; |    Background: #dee3e7; | ||
| } | } | ||
| Строка 194: | Строка 360: | ||
|    padding: 0px !important; |    padding: 0px !important; | ||
|    border-width: 35px;   |    border-width: 35px;   | ||
|    border-image: url('https:// |    border-image: url('https://asciawiki.ru/images/b/b1/Border8.png') 30 round !important; | ||
|    Background: #dee3e7; |    Background: #dee3e7; | ||
| } | } | ||
| Строка 209: | Строка 375: | ||
| h1, h2, h3, h4, h5, h6 { | h1, h2, h3, h4, h5, h6 { | ||
| font-family: Merriweather !important; | font-family: Merriweather !important; | ||
|      color: black; /* Цвет основного текста */ |      color: black; /* Цвет основного текста */ | ||
| } | } | ||
| Строка 342: | Строка 503: | ||
| 	background-color: #ffffff; | 	background-color: #ffffff; | ||
|      background-size: cover; /* Фон будет масштабироваться под размеры экрана */ |      background-size: cover; /* Фон будет масштабироваться под размеры экрана */ | ||
|      background: rgb(0 0 0 / 80%); |      /*background: rgb(0 0 0 / 80%); | ||
|      padding: 15px;*/ |      padding: 15px;*/ | ||
| .mw-body-content li { | |||
| /*.mw-body-content li { | |||
|      background-color: #555555c4; |      background-color: #555555c4; | ||
|      padding: 15px; |      padding: 15px; | ||
|      /* color: white; */ |      /* color: white; */ | ||
| #tweekiTOC #toc a.active, #tweekiTOC #toc a:focus, #tweekiTOC #toc a:hover { | #tweekiTOC #toc a.active, #tweekiTOC #toc a:focus, #tweekiTOC #toc a:hover { | ||
|      /* color: #ffffff; */ |      /* color: #ffffff; */ | ||
|      text-shadow:  |      text-shadow: 0 0 15px #ffffff; | ||
|      color: #ffffff; |      color: #ffffff; | ||
| } | } | ||
| #tweekiTOC #toc a { | #tweekiTOC #toc a { | ||
|      color: #ffffff; |      color: #ffffff; | ||
|      padding:  |      padding: 0; | ||
|          line-height: 2; |          line-height: 2; | ||
| } | } | ||
| Строка 379: | Строка 539: | ||
|      color: white; |      color: white; | ||
|      margin-bottom: 20px; |      margin-bottom: 20px; | ||
| } | } | ||
| .tocnumber { | .tocnumber { | ||
| Строка 415: | Строка 573: | ||
| .navbar-light .navbar-nav .nav-link, .p-navbar .navbar-nav .nav-link, .p-navbar .navbar-nav .p-navbar .navbar-tool > a, .p-navbar .p-navbar .navbar-nav .navbar-tool > a, .navbar-light .navbar-nav .p-navbar .navbar-tool > a, .p-navbar .navbar-light .navbar-nav .navbar-tool > a { | .navbar-light .navbar-nav .nav-link, .p-navbar .navbar-nav .nav-link, .p-navbar .navbar-nav .p-navbar .navbar-tool > a, .p-navbar .p-navbar .navbar-nav .navbar-tool > a, .navbar-light .navbar-nav .p-navbar .navbar-tool > a, .p-navbar .navbar-light .navbar-nav .navbar-tool > a { | ||
|      color: # |      color: #ffffff; | ||
|      border-color: #000000; |      border-color: #000000; | ||
| } | } | ||
| Строка 482: | Строка 640: | ||
| list-style: none; | list-style: none; | ||
| padding-left: 0; | padding-left: 0; | ||
| width:70%; | |||
| } | } | ||
| .panel-container { | |||
|   display: flex; | |||
|   flex-wrap: wrap; | |||
| } | |||
| .panel-body>ul a{ | .panel-body>ul a{ | ||
|      display: block; |      display: block; | ||
| Строка 498: | Строка 663: | ||
| } | } | ||
| .mainpage-header . | .mainpage-header .h2-3 { | ||
|      padding:  |      padding: 1px ; | ||
|      font-size:  |      font-size: 6vh !important; | ||
|      font-weight: bold; |      font-weight: bold; | ||
|      letter-spacing: 0.01em; |      letter-spacing: 0.01em; | ||
|      font-family: 'Spectral SC' !important; |      font-family: 'Spectral SC' !important; | ||
|     border-bottom: 2px solid #0000; | |||
|     border-image: linear-gradient(90deg, #0000 0%, rgba(82, 81, 79, 1) 50%, rgba(82, 81, 79, 1) 50%, #0000 100%); | |||
|     border-image-slice: 30; | |||
| } | } | ||
| Строка 615: | Строка 783: | ||
| background: linear-gradient(to bottom, #000000, #FFFFFF); /* Устанавливаем градиент */ | background: linear-gradient(to bottom, #000000, #FFFFFF); /* Устанавливаем градиент */ | ||
| padding: 10px; | padding: 10px; | ||
| border: url('https:// | border: url('https://asciawiki.ru/images/3/31/Border1.png') 40 round !important; | ||
| } | } | ||
| Строка 630: | Строка 798: | ||
| .mw-body-content p , .mw-body-content li { | .mw-body-content p , .mw-body-content li { | ||
|      color: black; /* Цвет основного текста */ |      color: black; /* Цвет основного текста */ | ||
|     display: contents; | |||
| } | } | ||
Текущая версия от 15:50, 11 февраля 2025
/* CSS placed here will affect users of the Tweeki skin */
@import url('https://fonts.googleapis.com/css?family=Merriweather|Cormorant Infant|PT Mono|Neucha|MedievalSharp|Spectral SC|Kurale|El Messiri|Ledger');
#content {
    padding: 2em !important;
    background: rgb(255 255 255 / 90%);
    padding: 15px;
}
pp {
    display: block !important;
	margin-bottom: -5px;
}
.bg-light {
    background-color: #000000 !important;
}
/* Исправление отображения текста */
p {
	white-space: break-spaces !important;
    display: block !important;      /* Элементы отображаются как блоки */
}
ul {
	list-style-position: inside; /* Убедись, что маркеры списка отображаются правильно */
}
ul li {
    display: list-item !important; /* Убедись, что элементы списка отображаются как блоки */
}
/* Стили для кнопки выпадающего списка */
.tweeki-dropbtn {
  background-color: #4CAF50;
  color: white;
  padding: 10px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}
/* Контейнер для выпадающего списка */
.tweeki-dropdown {
  position: relative;
  display: inline-block;
}
/* Содержимое выпадающего списка (скрыто по умолчанию) */
.tweeki-dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
}
/* Стили для ссылок в выпадающем списке */
.tweeki-dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}
/* Изменение цвета ссылок при наведении */
.tweeki-dropdown-content a:hover {
  background-color: #f1f1f1;
}
/* Показывать выпадающий список при наведении */
.tweeki-dropdown:hover .tweeki-dropdown-content {
  display: block;
}
/* Изменение цвета кнопки при наведении */
.tweeki-dropdown:hover .tweeki-dropbtn {
  background-color: #3e8e41;
}
.page-header-actions .action-edit {
    display: none;
}
.Backtop {
max-width: 100%;
height: auto;
background-image: url('https://asciawiki.ru/images/0/00/%D0%A4%D0%BE%D0%BD%D1%87%D0%B8%D0%BA.jpg'); /* Замените на путь к вашему изображению */
background-size: cover; /* Фон будет масштабироваться под размеры экрана */
background-position: center center; /* Центрирование изображения */
background-repeat: no-repeat; /* Изображение не будет повторяться */
background-attachment: fixed; /* Фон будет фиксированным при прокрутке страницы */
}
.TextHeading3 {
    font-family: 'Merriweather', auto;
    font-size: 21px;
    line-height: 21px;
    flex-basis: 260px;
    height: 60px;
    text-align: center;
    padding:20px;
    flex-grow: 2;
}
.TextHeading2 {
    font-family: 'Merriweather', auto;
    font-size: 21px;
    line-height: 21px;
    flex-basis: 260px;
    height: 3rem;
    text-align: center;
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 15px;
    flex-grow: 2;
}
.TextHeading {
    font-family: 'Spectral SC', auto;
    font-size: 21px;
    line-height: 21px;
    flex-basis: 260px;
    height: 50px;
    text-align: center;
    padding-top: 15px;
    flex-grow: 2;
}
.ard {
	border: 1px solid black;
	background-image:url('https://asciawiki.ru/images/0/00/%D0%A4%D0%BE%D0%BD%D1%87%D0%B8%D0%BA.jpg');
	background-size: cover; /* Фон будет масштабироваться под размеры экрана */
background-position: center center; /* Центрирование изображения */
background-repeat: no-repeat; /* Изображение не будет повторяться */
background-attachment: fixed; /* Фон будет фиксированным при прокрутке страницы */
}
.ardHeading {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 20px;
    text-align: center;
    font-family: 'Spectral SC';
    text-shadow: 0 0 black;
}
.firstHeading {
    border-top: 2px solid #0000;
    border-bottom: 2px solid #0000;
    border-image: linear-gradient(90deg, #0000 0%, rgba(82, 81, 79, 1) 50%, rgba(82, 81, 79, 1) 50%, #0000 100%);
    border-image-slice: 30;
}
.secondHeadings {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.secondHeading hr {
    border-bottom: 1px solid #0000;
    border-image: linear-gradient(90deg, #0000 0%, rgba(82, 81, 79, 1) 50%, rgba(82, 81, 79, 1) 50%, #0000 100%);
    border-image-slice: 5;
}
hr {
    display: block;
    margin-block-start: 0.5em;
    margin-block-end: 0.5em;
    margin-inline-start: auto;
    margin-inline-end: auto;
    unicode-bidi: isolate;
    overflow: hidden;
    border-style: inset;
    border-width: 1px;
    background-color: transparent;
}
a.new {
    color: #795548;
    text-shadow: 0 0 35px #1a1a1a;
}
a {
 color: #607d8b;
 text-shadow: 0 0 35px #1a1a1a;
 }
#maincontentwrapper .mw-ui-button.mw-ui-progressive, .btn-primary, body #contentwrapper #maincontentwrapper button.oo-ui-buttonElement-button, body #contentwrapper #maincontentwrapper input.oo-ui-buttonElement-button, input[type=button][name=wpUpload], input[type=submit][name=wpUpload] {
    background-color: #000000;
    border-color: #ffffff;
    color: #fff;
}
#back-to-top {
position: fixed;
bottom: 20px;
right: 50px;
background-color: #333;
color: #fff;
padding: 10px;
border-radius: 5px;
cursor: pointer;
text-align: center;
}
#back-to-top a {
color: #fff;
text-decoration: none;
}
.tabbertab {
    border: 20px solid transparent !important; 	
    padding: 0px !important; 
	float: right !important; 	
}
ul.tabbernav li a:link {
    color: #971622;
}
ul.tabbernav li a {
    padding: 3px .5em;
    margin-left: 3px;
    border: 1px solid #CCC;
    border-bottom: none;
    background: #ffc107;
    white-space: pre;
}
.infobox {
	
    border: 20px solid transparent !important; 
    padding: 0px !important; 
    border-spacing: 0px !important; 
    border-image: url('https://asciawiki.ru/images/3/31/Border1.png') 24 round !important;
    border-radius: 35px;
    background: transparent !important;
    background-color: #dee3e7 !important;
    border-collapse: separate !important;
	color: black;
	margin: 0.5em 0 0.5em 1em;
	/* @noflip */
	float: right;
	clear: right;
	/* @noflip */
	font-size: 88%;
	line-height: 1.5em;
}	
.infobox caption {
    font-size: 125%;
    font-weight: bold;
    padding: 0.2em;
    color: black;
    text-align: -webkit-center;
    caption-side: top;
}
.infobox td,
.infobox th {
    vertical-align: top;
    /* @noflip */
    text-align: left;
    padding: 4px;
 
}
.infobox.bordered td,
.infobox.bordered th {
 border: 1px solid #a2a9b1;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
    border: 0;
}
.infobox.sisterproject {
    width: 20em;
    font-size: 90%;
}
.infobox.standard-talk {
    border: 1px solid #c0c090;
    background-color: #f8eaba;
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
    border: 1px solid #c0c090;
}
/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
    border: 0;
    border-top: 1px solid #a2a9b1;
    /* @noflip */
    border-right: 1px solid #a2a9b1;
}
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
    border: 0;
    /* @noflip */
    border-right: 1px solid #a2a9b1;
}
/* Styles for geography infoboxes, eg countries,
   country subdivisions, cities, etc.            */
.infobox.geography {
	border-collapse: collapse;
    line-height: 1.2em;
    font-size: 90%;
}
.infobox.geography  td,
.infobox.geography  th {
    border-top: 1px solid #a2a9b1;
    padding: 0.4em 0.6em 0.4em 0.6em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
    border-top: 1px solid #a2a9b1;
    padding: 0.4em 0.6em 0.2em 0.6em;
}
.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
    border: 0;
    padding: 0 0.6em 0.2em 0.6em;
}
.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
    border-top: 0;
    border-bottom: 1px solid #a2a9b1;
    padding: 0 0.6em 0.4em 0.6em;
}
.infobox.geography .maptable td,
.infobox.geography .maptable th {
    border: 0;
    padding: 0;
}
#borderimg { 
  border: 20px solid transparent !important;
  padding: 0px !important;
  border-radius: 35px;
  border-image: url('https://asciawiki.ru/images/9/91/Border5.png') 30 round !important;
  Background: #dee3e7;
}
#borderimg1 { 
  border: 15px solid transparent !important;
  padding: 0px !important;
  border-width: 35px; 
  border-image: url('https://asciawiki.ru/images/b/b1/Border8.png') 30 round !important;
  Background: #dee3e7;
}
#borderimg2 { 
  border: 15px solid transparent !important;
  padding: 0px !important;
  border-image: url('https://ascia.ru/images/2/29/%D0%9B%D0%B8%D0%BD%D0%B8%D1%8F.png') 30 round !important;
  border-inline: solid; 
  writing-mode: horizontal-tb;
  Background: #dee3e7;
}
h1, h2, h3, h4, h5, h6 {
font-family: Merriweather !important;
    color: black; /* Цвет основного текста */
}
.dropdown-menu{
font-family: Merriweather;
}
.dropdown{
font-family: Merriweather;
font-size:18px
}
.dropdown-menu > li > a{
font-size:16px
}
.dropdown-item.active, .p-navbar .navbar-nav .dropdown-menu > div > a:first-child:last-child.active, .dropdown-item:active, .p-navbar .navbar-nav .dropdown-menu > div > a:first-child:last-child:active {
    color: #fff;
    text-decoration: none;
    background: #000000 linear-gradient(180deg,#000000,#000000) repeat-x;
}
.navbox {                     /* Navbox container style */
    box-sizing: border-box;
    border: 20px solid transparent !important; 
    padding: 0px !important; 
    border-spacing: 0px !important; 
    border-image: url('https://ascia.ru/images/3/31/Border1.png') 24 round !important;
    border-radius: 35px;
    background: transparent !important;
    background-color: #dee3e7 !important;
    border-collapse: separate !important;
    width: 100%;
    clear: both;
    font-size: 88%;
    text-align: center;
    padding: 1px;
    margin: 1em auto 0;       /* Prevent preceding content from clinging to navboxes */
}
.navbox .navbox {
    margin-top: 0;            /* No top margin for nested navboxes */
}
.navbox + .navbox {
    margin-top: -1px;         /* Single pixel border between adjacent navboxes */
}
.navbox-inner,
.navbox-subgroup {
    width: 100%;
}
.navbox-group,
.navbox-title,
.navbox-abovebelow {
    padding: 0.25em 1em;      /* Title, group and above/below styles */
    line-height: 1.5em;
    text-align: center;
}
.navbox-group{
	border-top: 1px solid #545454;
}
th.navbox-group {             /* Group style */
    white-space: nowrap;
    /* @noflip */
    text-align: right;
}
.navbox,
.navbox-subgroup {
    background: #000000;      /* Background color */
}
.navbox-list {
    line-height: 1.5em;
    border-color: #545454;    /* Must match background color */
}
.navbox th,
.navbox-title {
    background: #dee3e7;      /* Level 1 color */
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
    background: #dee3e7;      /* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
    background: #ffffff;      /* Level 3 color */
}
.navbox-even {
    background: #dee3e7;      /* Even row striping */
}
.navbox-odd {
    background: #ffffff;  /* Odd row striping */
}
.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
    padding: 0.125em 0;       /* Adjust hlist padding in navboxes */
}
.codeEditor-status {
	color: black;
}
.navbox .navbar {
	display:none;
}
body {
max-width: 100%;
height: auto;
background-image: url('https://asciawiki.ru/images/6/61/%D0%A4%D0%9E%D0%9DGPT.jpg'); /* Замените на путь к вашему изображению */
background-size: cover; /* Фон будет масштабироваться под размеры экрана */
background-position: center center; /* Центрирование изображения */
background-repeat: no-repeat; /* Изображение не будет повторяться */
background-attachment: fixed; /* Фон будет фиксированным при прокрутке страницы */
}
.navbox .navbar {
	position: fixed;
	display:none;
}
/*.mw-content-ltr {
    padding: 2em !important;
	background-color: #ffffff;
    background-size: cover; /* Фон будет масштабироваться под размеры экрана */
    /*background: rgb(0 0 0 / 80%);
    padding: 15px;*/
/*.mw-body-content li {
    background-color: #555555c4;
    padding: 15px;
    /* color: white; */
#tweekiTOC #toc a.active, #tweekiTOC #toc a:focus, #tweekiTOC #toc a:hover {
    /* color: #ffffff; */
    text-shadow: 0 0 15px #ffffff;
    color: #ffffff;
}
#tweekiTOC #toc a {
    color: #ffffff;
    padding: 0;
        line-height: 2;
}
#tweekiTOC .tocnumber, #tweekiTOC .toctoggle, #tweekiTOC .toctogglespan {
    display: ruby;
    color: #b1b1b1;
}
.toc {
	border: 2px solid #FFFFFF !important;
    padding: 5px !important;
    border-image: url('') 30 round !important;
    border-radius: 10px;
    background: rgb(0 0 0 / 80%);
    width: auto;
    color: white;
    margin-bottom: 20px;
}
.tocnumber {
	color: white !important;
}
#toc {
	display: inline-block;
}
.tocnumber:after { content: '.' 
}
.toc ul ul{ 	margin-top: 5px !important;
}
.nav-link {
  color: #000000;
}
.nav {
  display: flex;
  font-size: 16px;
  font-weight: 700;
}
.nav__link {
  margin-left: 50px;
  color: #fff;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2 linear;
}
.navbar-light .navbar-nav .nav-link, .p-navbar .navbar-nav .nav-link, .p-navbar .navbar-nav .p-navbar .navbar-tool > a, .p-navbar .p-navbar .navbar-nav .navbar-tool > a, .navbar-light .navbar-nav .p-navbar .navbar-tool > a, .p-navbar .navbar-light .navbar-nav .navbar-tool > a {
    color: #ffffff;
    border-color: #000000;
}
.navbar, .p-navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid black; 
}
.p-navbar .navbar-form button {
    color: #000000;
}
.navbar-light .navbar-toggler, .p-navbar .navbar-toggler {
    color: #000000;
    border-color: rgb(0, 0, 0);
}
.p-navbar .navbar-tool > a {
    position: relative;
    padding-left: 0;
    padding-right: 0;
    color: black !important;
}
.p-navbar {
    background-color: #fff;
}
.mw-body div.thumbinner {
    box-sizing: content-box;
    max-width: calc(100% - 8px);
    height: auto;
}
div.thumbinner {
    border: 1px solid #545454;
    padding: 3px;
    background-color: #dee3e7;
    font-size: 94%;
    text-align: center;
    overflow: hidden;
}
html .thumbimage {
    background-color: none !important;
    border: 0px solid #fefefe !important;
}
.mw-content-ltr .magnify {
    display: none;
    
}
.thumbcaption {
	padding: 5px !important;
	
}
.panel-body ul {
margin: 0;
list-style: none;
padding-left: 0;
width:70%;
}
.panel-container {
  display: flex;
  flex-wrap: wrap;
}
.panel-body>ul a{
    display: block;
    padding: 5px 10px;
    
}
.panel-body>ul li:last-child a{
	padding-bottom: 10px;
	
}
.panel-body>ul a:hover{
   background-color: cover #dee3e7;
   
}
.mainpage-header .h2-3 {
    padding: 1px ;
    font-size: 6vh !important;
    font-weight: bold;
    letter-spacing: 0.01em;
    font-family: 'Spectral SC' !important;
    border-bottom: 2px solid #0000;
    border-image: linear-gradient(90deg, #0000 0%, rgba(82, 81, 79, 1) 50%, rgba(82, 81, 79, 1) 50%, #0000 100%);
    border-image-slice: 30;
}
.mw-lingo-tooltip {
    display: none;
    color: white;
    background-color: #454545;
    border: 1px solid #e2e2e2;
    -webkit-box-shadow: 1px 1px 3px 1px rgba(0,0,0,0.15);
    -moz-box-shadow: 1px 1px 3px 1px rgba(0,0,0,0.15);
    box-shadow: 1px 1px 3px 1px rgba(0,0,0,0.15);
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}
.mw-lingo-term {
    border-bottom: 1px dotted #454545;
    cursor: default;
}
.simpletooltip { /* стиль текста, наведя или нажав на который появится пояснение */
display: inline-block;
position: relative;
text-indent: 0px;
cursor: help; /* вид курсора */
}
.simpletooltip > span { /* стиль появляющейся подсказки */
position: absolute;
bottom: 100%;
left: -21em; /* = max-width */
right: -21em; /* = max-width */
width: -moz-max-content;
width: -webkit-max-content;
width: max-content; /* ширина подсказки может быть не более содержимого */
max-width: 21em; /* ширина подсказки может быть не более 20em */
max-height: 80vh; /* необязательное ограничение по высоте подсказки, 1vh — это 1% от ширины окна */
overflow: auto;
visibility: hidden;
margin: 0 auto .4em; /* поднята на .4em над текстом, наведя или нажав на который появится пояснение */
padding: .3em;
border: solid rgb(000,000,000);
font-size: 90%;
background: #fff;
line-height: normal;
cursor: auto;
}
.simpletooltip .left > span { /* начинается от левого края */
left: 0;
right: -21em;
margin: 0 0 .4em;
}
.simpletooltip .right > span { /* начинается от правого края */
left: -21em;
right: 0;
margin: 0 0 .4em auto;
}
.simpletooltip:after { /* треугольничек под подсказкой; тут тоже везде .4em */
content: "";
position: absolute;
top: -.4em;
left: 50%;
visibility: hidden;
margin: 0 0 0 -.4em;
border: .4em solid;
border-color: rgb(000,000,000) transparent transparent transparent;
cursor: auto;
}
.simpletooltip .left:after {
left: 1em;
}
.simpletooltip.right:after {
left: auto;
right: .6em; /* 1em - .4em */
}
.simpletooltip:before { /* поле между текстом, наведя или нажав на который появится пояснение, и подсказкой нужно чтобы, если перевести курсор мышки на подсказку, та не исчезла; тут тоже везде .4em */
content: "";
position: absolute;
top: -.4em;
left: 0;
right: 0;
height: .4em;
visibility: hidden;
}
.simpletooltip:hover > span,
.simpletooltip:hover:before,
.simpletooltip:hover:after,
.simpletooltip:focus > span,
.simpletooltip:focus:before,
.simpletooltip:focus:after {
visibility: visible;
transition: 0s .4s;
}
.simpletooltip:focus { /* убрать рамку в Хроме */
outline: none;
}
@media (max-width: 21em) { /* ширина подсказки может быть не более ширины окна браузера */
  .simpletooltip > span {
    max-width: 100vw; /* в 100vw входит полоса прокрутки, но на мобильных она часто отсутствует */
    box-sizing: border-box;
  }
}
.a[title*="Участник:"] {
 background:url("https://ascia.ru/wiki/%D0%9F%D0%B5%D1%81%D0%BE%D1%87%D0%BD%D0%B8%D1%86%D0%B0#/media/%D0%A4%D0%B0%D0%B9%D0%BB:%D0%9D%D1%83%D0%BA%D0%B0.gif");
 background-repeat:no-repeat;
 padding-left:1.5em;
}
.gradient-column {
background: linear-gradient(to bottom, #000000, #FFFFFF); /* Устанавливаем градиент */
padding: 10px;
border: url('https://asciawiki.ru/images/3/31/Border1.png') 40 round !important;
}
.gradient-column a {
color: white; /* Цвет ссылок внутри */
text-decoration: none; /* Убираем подчеркивание ссылок */
}
.gradient-column a:hover {
text-decoration: underline; /* Подчеркивание при наведении */
}
/* Применяем обводку только к тексту внутри статей */
.mw-body-content p , .mw-body-content li {
    color: black; /* Цвет основного текста */
    display: contents;
}
