Дополнительные действия
MrCat (обсуждение | вклад) Нет описания правки |
MrCat (обсуждение | вклад) Нет описания правки |
||
(не показана 1 промежуточная версия этого же участника) | |||
Строка 14: | Строка 14: | ||
text-align: left; | text-align: left; | ||
transition: all 0.2s; | transition: all 0.2s; | ||
} | } | ||
.tooltiptext { | .tooltiptext { | ||
Строка 27: | Строка 26: | ||
padding: 0.2em; | padding: 0.2em; | ||
background-color: #FEF6E7; | background-color: #FEF6E7; | ||
top:1.5em; | top:1.5em; | ||
left:1em; | left:1em; | ||
Строка 47: | Строка 45: | ||
text-align: left; | text-align: left; | ||
transition: all 0.2s; | transition: all 0.2s; | ||
background-color: #ff6666; | background-color: #ff6666; | ||
} | } | ||
Строка 183: | Строка 180: | ||
/* Стиль таблиц с предметами и т.п.*/ | /* Стиль таблиц с предметами и т.п.*/ | ||
.standard, | |||
.wide { | |||
/* For align=center tables dont use shorthand margin */ | |||
margin-top:1em; | |||
margin-bottom:1em; | |||
border: 1px solid var(--border-color-base, #a2a9b1); | |||
border-collapse: collapse; | |||
} | |||
.items-table { | .items-table { | ||
width:100%; | width:100%; | ||
background-color:#CCCCCC; | background-color:#CCCCCC; | ||
} | } | ||
.items-table th { | .items-table th { | ||
background-color:#c0c0c0; | background-color:#c0c0c0; | ||
color:#000000; | color:#000000; | ||
Строка 207: | Строка 210: | ||
font-weight: bold; | font-weight: bold; | ||
color: #000; | color: #000; | ||
text-align: center; | text-align: center; | ||
} | } | ||
Строка 644: | Строка 646: | ||
/* [[Шаблон:Кнопка]] */ | /* [[Шаблон:Кнопка]] */ | ||
.keyboard-key { | .keyboard-key { | ||
/*box-shadow: 0.1em 0.2em 0.2em(#DDD);*/ | /*box-shadow: 0.1em 0.2em 0.2em(#DDD);*/ | ||
background-color: #F9F9F9; | background-color: #F9F9F9; |
Текущая версия от 16:51, 13 августа 2024
/* Размещённый здесь CSS будет применяться ко всем темам оформления */ /* Всплывающие окна с информацией */ .tooltip{ position: relative; } .tooltiptext, .tooltiptext2 { position: absolute; width: 18em; visibility: hidden; opacity: 0; white-space: normal; text-align: left; transition: all 0.2s; } .tooltiptext { display: block; z-index: 2; padding: 20px; background-color: #ffdd66; } .tooltiptext2 { display:inline; z-index: 100; padding: 0.2em; background-color: #FEF6E7; top:1.5em; left:1em; box-shadow: 0 0 .3em #999; } .tooltiptable { position: absolute; display: block; z-index: 2; max-width:600px; width:max-content; padding: 10px; top:11pt; right:-55px; visibility: hidden; opacity: 0; white-space: normal; text-align: left; transition: all 0.2s; background-color: #ff6666; } .tooltip:hover>.tooltiptext, .tooltip:hover>.tooltiptext2, .tooltip:hover>.tooltiptable { visibility: visible; opacity: 1; } /* hide the "Retrieved from" message */ .printfooter { display: none; } /*div.tabcontent{ display:none }*/ /*div.tabcontent.current{ display:block }*/ /*div.switchtab.label.current{ color:#000; background-color:#00FF00 }*/ div.divbutton:target{ cursor: pointer; display: none; width: auto; height: auto; } div.divbutton:target::before{ cursor: pointer; width: 80%; height: auto; } /* Убираем размытие со всех изображений */ img { image-rendering: optimizeSpeed; -ms-interpolation-mode: nearest-neighbor; } /* Горизонтальный список */ #mw-content-text .hlist ul { display: inline; padding: 0; } #mw-content-text .hlist li { display: inline; } #mw-content-text .hlist li:not(:last-child) { padding-right: 0.286em; } #mw-content-text .hlist li:not(:last-child)::after { content: ""; display: inline-block; position: relative; left: 0.286em; bottom: 0.214em; background-color: #000; height: 3px; width: 3px; } #mw-content-text .hlist li li:first-child::before { content: "("; font-weight: normal; } #mw-content-text .hlist li li:last-child::after { content: ")"; font-weight: normal; } #mw-content-text .hlist li li li { font-size: x-small; } /* Simulate link styling for JS only links */ .jslink { color: #0645AD; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; outline: none; } .jslink:hover { text-decoration: underline; cursor: pointer; } .jslink:active { color: #FAA700; } /* Hide noscript only elements */ .client-js .noscript { display: none; } /* Mark internal links as plain #content a.external[href^="http://eris.celadon.pro/index.php"], #content a.external[href^="https://eris.celadon.pro/index.php"], #content a.external[href^="//eris.celadon.pro/index.php"] { background: none; padding-right: 0; }*/ /* Кнопка "Вверх": [[Файл:Scroll_top.png]] ВОЙКО ПОЧИНИ*/ #scroll-top { display: none; background: url(https://wiki.celadon.pro/images/f/f4/Scroll_top.gif) 0% 0%/38px 38px no-repeat; opacity: 0.3; width: 38px; height: 38px; cursor: pointer; position: fixed; left: calc(11em - 19px); bottom: 30px; z-index: 10000; image-rendering: optimizeSpeed; /*image-rendering: -webkit-optimize-contrast; image-rendering: optimize-contrast; image-rendering: -moz-crisp-edges; image-rendering: -o-crisp-edges; image-rendering: crisp-edges; image-rendering: pixelated; */ -ms-interpolation-mode: nearest-neighbor; } #scroll-top:hover { opacity: 0.8; } /* Стиль таблиц с предметами и т.п.*/ .standard, .wide { /* For align=center tables dont use shorthand margin */ margin-top:1em; margin-bottom:1em; border: 1px solid var(--border-color-base, #a2a9b1); border-collapse: collapse; } .items-table { width:100%; background-color:#CCCCCC; } .items-table th { background-color:#c0c0c0; color:#000000; padding: .2em; } .items-table td { background-color:#c0c0c0; color:#000000; padding: .2em; } .items-table:not(.regular) td:not(.regular):first-of-type, td.capital { background-color: #E5E5E5; font-weight: bold; color: #000; text-align: center; } /* Цвета Железного молота */ .colors-ironhammer, .colors-Ironhammer, tr.colors-ironhammer, tr.colors-Ironhammer { background-color:#aac9db; /* Light */ border-color: #697B85; /* Secondary */ } .colors-ironhammer th, .colors-Ironhammer th, tr.colors-ironhammer th, tr.colors-Ironhammer th { background-color:#97B0BE; /* Primary */ border-color: #697B85; /* Primary Bold */ } .colors-ironhammer td, .colors-Ironhammer td, tr.colors-ironhammer td, tr.colors-Ironhammer td { background-color:#CAD0D4; /* Very Light */ } :not(.regular).colors-ironhammer td:not(.regular):first-of-type, :not(.regular).colors-Ironhammer td:not(.regular):first-of-type, .colors-ironhammer td.capital, .colors-Ironhammer td.capital, :not(.regular) tr.colors-ironhammer td:not(.regular):first-of-type, :not(.regular) tr.colors-Ironhammer td:not(.regular):first-of-type { background-color: #97B0BE; /* Secondary */ color: #000000; /* Secondary Text */ border-color: #697B85; /* Primary Bold */ } /* Цвета научного отдела Мёбиуса*/ .colors-research, .colors-Research, tr.colors-research, tr.colors-Research { background-color:#dfc0df; /* Light */ border-color: #DDA0DD; /* Secondary */ } .colors-research th, .colors-Research th, tr.colors-research th, tr.colors-Research th { background-color:#DDA0DD; /* Primary */ border-color: #846084; /* Primary Bold */ } .colors-research td, .colors-Research td, tr.colors-research td, tr.colors-Research td { background-color:#E6DFE6; /* Very Light */ } :not(.regular).colors-research td:not(.regular):first-of-type, :not(.regular).colors-Research td:not(.regular):first-of-type, .colors-research td.capital, .colors-Research td.capital, :not(.regular) tr.colors-research td:not(.regular):first-of-type, :not(.regular) tr.colors-Research td:not(.regular):first-of-type { background-color: #DDA0DD; /* Secondary */ color: #061306; /* Secondary Text */ border-color: #846084; /* Primary Bold */ } /* Цвета сервисного отдела */ .colors-service, .colors-Service, tr.colors-service, tr.colors-Service { background-color:#C6CCC7; /* Light */ border-color: #858080; /* Secondary */ } .colors-service th, .colors-Service th, tr.colors-service th, tr.colors-Service th { background-color:#DDDDDD; /* Primary */ border-color: #9A9A9A; /* Primary Bold */ } .colors-service td, .colors-Service td, tr.colors-service td, tr.colors-Service td { background-color:#CCCCCC; /* Very Light */ } :not(.regular).colors-service td:not(.regular):first-of-type, :not(.regular).colors-Service td:not(.regular):first-of-type, .colors-service td.capital, .colors-Service td.capital, :not(.regular) tr.colors-service td:not(.regular):first-of-type, :not(.regular) tr.colors-Service td:not(.regular):first-of-type { background-color: #858080; /* Secondary */ color: #000000; /* Secondary Text */ border-color: #9A9A9A; /* Primary Bold */ } /* Цвета техномантов */ .colors-tehnomant, .colors-Tehnomant, tr.colors-tehnomant, tr.colors-Tehnomant { background-color:#CCC0B1; /* Light */ border-color: #FFBA4C; /* Secondary */ } .colors-tehnomant th, .colors-Tehnomant th, tr.colors-tehnomant th, tr.colors-Tehnomant th { background-color:#ffa000; /* Primary */ border-color: #B27000; /* Primary Bold */ } .colors-tehnomant td, .colors-Tehnomant td, tr.colors-tehnomant td, tr.colors-Tehnomant td { background-color:#F2E9DE; /* Very Light */ } :not(.regular).colors-tehnomant td:not(.regular):first-of-type, :not(.regular).colors-Tehnomant td:not(.regular):first-of-type, .colors-tehnomant td.capital, .colors-Tehnomant td.capital, :not(.regular) tr.colors-tehnomant td:not(.regular):first-of-type, :not(.regular) tr.colors-Tehnomant td:not(.regular):first-of-type { background-color: #FFBA4C; /* Secondary */ color: #000000; /* Secondary Text */ border-color: #B27000; /* Primary Bold */ } /* Цвета глав */ .colors-glav, .colors-Glav, tr.colors-glav, tr.colors-Glav { background-color:#9DAACC; /* Light */ border-color: #1f5b83; /* Secondary */ } .colors-glav th, .colors-Glav th, tr.colors-glav th, tr.colors-Glav th { background-color:#42AAFF; /* Primary */ border-color: #003457; /* Primary Bold */ } .colors-glav td, .colors-Glav td, tr.colors-glav td, tr.colors-Glav td { background-color:#DEE4F6; /* Very Light */ } :not(.regular).colors-glav td:not(.regular):first-of-type, :not(.regular).colors-Glav td:not(.regular):first-of-type, .colors-glav td.capital, .colors-Glav td.capital, :not(.regular) tr.colors-glav td:not(.regular):first-of-type, :not(.regular) tr.colors-Glav td:not(.regular):first-of-type { background-color: #1f5b83; /* Secondary */ color: #000000; /* Secondary Text */ border-color: #003457; /* Primary Bold */ } /* Цвета медицинского отдела Мёбиуса*/ .colors-medicine, .colors-Medicine, tr.colors-medicine, tr.colors-Medicine { background-color:#9dccb2; /* Light */ border-color: #caddb6; /* Secondary */ } .colors-medicine th, .colors-Medicine th, tr.colors-medicine th, tr.colors-Medicine th { background-color:#A8B69A; /* Primary */ border-color: #646D5C; /* Primary Bold */ } .colors-medicine td, .colors-Medicine td, tr.colors-medicine td, tr.colors-Medicine td { background-color:#D0D3CE; /* Very Light */ } :not(.regular).colors-medicine td:not(.regular):first-of-type, :not(.regular).colors-Medicine td:not(.regular):first-of-type, .colors-medicine td.capital, .colors-Medicine td.capital, :not(.regular) tr.colors-medicine td:not(.regular):first-of-type, :not(.regular) tr.colors-Medicine td:not(.regular):first-of-type { background-color: #caddb6; /* Secondary */ color: #000000; /* Secondary Text */ border-color: #646D5C; /* Primary Bold */ } /* Цвета Мёбиуса */ .colors-mebius, .colors-Mebius, tr.colors-mebius, tr.colors-Mebius { background-color:#9a9e98; /* Light */ border-color: #c3daac; /* Secondary */ } .colors-mebius th, .colors-Mebius th, tr.colors-mebius th, tr.colors-Mebius th { background-color:#A8B69A; /* Primary */ border-color: #646D5C; /* Primary Bold */ } .colors-mebius td, .colors-Mebius td, tr.colors-mebius td, tr.colors-Mebius td { background-color:#D0D3CE; /* Very Light */ } :not(.regular).colors-mebius td:not(.regular):first-of-type, :not(.regular).colors-Mebius td:not(.regular):first-of-type, .colors-mebius td.capital, .colors-Mebius td.capital, :not(.regular) tr.colors-mebius td:not(.regular):first-of-type, :not(.regular) tr.colors-Mebius td:not(.regular):first-of-type { background-color: #c3daac; /* Secondary */ color: #000000; /* Secondary Text */ border-color: #646D5C; /* Primary Bold */ } /* Цвета астеров */ .colors-aster, .colors-Aster, tr.colors-aster, tr.colors-Aster { background-color:#CCB49D; /* Light */ border-color: #77552F; /* Secondary */ } .colors-aster th, .colors-Aster th, tr.colors-aster th, tr.colors-Aster th { background-color:#E09F5C; /* Primary */ border-color: #9C6F40; /* Primary Bold */ } .colors-aster td, .colors-Aster td, tr.colors-aster td, tr.colors-Aster td { background-color:#E1D3C5; /* Very Light */ } :not(.regular).colors-aster td:not(.regular):first-of-type, :not(.regular).colors-Aster td:not(.regular):first-of-type, .colors-aster td.capital, .colors-Aster td.capital, :not(.regular) tr.colors-aster td:not(.regular):first-of-type, :not(.regular) tr.colors-Aster td:not(.regular):first-of-type { background-color: #77552F; /* Secondary */ color: #0D150D; /* Secondary Text */ border-color: #9C6F40; /* Primary Bold */ } /* Цвета синтетического отдела */ .colors-synthetic, .colors-Synthetic, tr.colors-synthetic, tr.colors-Synthetic { background-color:#9DB3CC; /* Light */ border-color: #4C82BF; /* Secondary */ } .colors-synthetic th, .colors-Synthetic th, tr.colors-synthetic th, tr.colors-Synthetic th { background-color:#2770C4; /* Primary */ border-color: #1364C1; /* Primary Bold */ } .colors-synthetic td, .colors-Synthetic td, tr.colors-synthetic td, tr.colors-Synthetic td { background-color:#DEEBF9; /* Very Light */ } :not(.regular).colors-synthetic td:not(.regular):first-of-type, :not(.regular).colors-Synthetic td:not(.regular):first-of-type, .colors-synthetic td.capital, .colors-Synthetic td.capital, :not(.regular) tr.colors-synthetic td:not(.regular):first-of-type, :not(.regular) tr.colors-Synthetic td:not(.regular):first-of-type { background-color: #4C82BF; /* Secondary */ color: #FFFFFF; /* Secondary Text */ border-color: #1364C1; /* Primary Bold */ } /* Цвета антагонистов */ .colors-antagonist, .colors-Antagonist, tr.colors-antagonist, tr.colors-Antagonist { background-color:#CC9D9D; /* Light */ border-color: #4C1E1E; /* Secondary */ } .colors-antagonist th, .colors-Antagonist th, tr.colors-antagonist th, tr.colors-Antagonist th { background-color:#D80A0A; /* Primary */ border-color: #810606; /* Primary Bold */ } .colors-antagonist td, .colors-Antagonist td, tr.colors-antagonist td, tr.colors-Antagonist td { background-color:#FAEAEA; /* Very Light */ } :not(.regular).colors-antagonist td:not(.regular):first-of-type, :not(.regular).colors-Antagonist td:not(.regular):first-of-type, .colors-antagonist td.capital, .colors-Antagonist td.capital, :not(.regular) tr.colors-antagonist td:not(.regular):first-of-type, :not(.regular) tr.colors-Antagonist td:not(.regular):first-of-type { background-color: #4C1E1E; /* Secondary */ color: #000000; /* Secondary Text */ border-color: #810606; /* Primary Bold */ } /* Цвета НеоТеологистов */ .colors-nt, .colors-NT, tr.colors-nt, tr.colors-NT { background-color:#837d6c; /* Light */ border-color: #a7924f; /* Secondary */ } .colors-nt th, .colors-NT th, tr.colors-nt th, tr.colors-NT th { background-color:#ECD37D; /* Primary */ border-color: #A59357; /* Primary Bold */ } .colors-nt td, .colors-NT td, tr.colors-nt td, tr.colors-NT td { background-color:#DBD3BB; /* Very Light */ } :not(.regular).colors-nt td:not(.regular):first-of-type, :not(.regular).colors-NT td:not(.regular):first-of-type, .colors-nt td.capital, .colors-NT td.capital, :not(.regular) tr.colors-nt td:not(.regular):first-of-type, :not(.regular) tr.colors-NT td:not(.regular):first-of-type { background-color: #a7924f; /* Secondary */ color: #D80A0A; /* Secondary Text */ border-color: #A59357; /* Primary Bold */ } /* Цвета спец ролей */ .colors-special, .colors-Special, tr.colors-special, tr.colors-Special { background-color:#CCCCCC; /* Light */ border-color: #E5E5E5; /* Secondary */ } .colors-special th, .colors-Special th, tr.colors-special th, tr.colors-Special th { background-color:#BCBCBC; /* Primary */ border-color: #707070; /* Primary Bold */ } .colors-special td, .colors-Special td, tr.colors-special td, tr.colors-Special td { background-color:#B7B7B7; /* Very Light */ } :not(.regular).colors-special td:not(.regular):first-of-type, :not(.regular).colors-Special td:not(.regular):first-of-type, .colors-special td.capital, .colors-Special td.capital, :not(.regular) tr.colors-special td:not(.regular):first-of-type, :not(.regular) tr.colors-Special td:not(.regular):first-of-type { background-color: #E5E5E5; /* Secondary */ color: #000000; /* Secondary Text */ border-color: #707070; /* Primary Bold */ } /* Отступы сворачиваемого меню */ .vector-menu-portal { margin-left: 0.1em; } #mw-panel.collapsible-nav .portal .vector-menu-content { margin-left: 0.5em; } /* Цвет заголовков сворачиваемых разделов в sidebar обратно в серый */ #mw-panel.collapsible-nav .portal.collapsed .vector-menu-heading, #mw-panel.collapsible-nav .portal.collapsed .vector-menu-heading:hover, #mw-panel.collapsible-nav .portal .vector-menu-heading { color: #54595d; text-decoration: none; } /* Прилипающий заголовок */ /*.sticky-head th { background-image: none !important; min-width: 1.67em; padding-right: 0.2em !important; }*/ .sticky-head abbr { writing-mode:vertical-rl; transform: rotate(0.5turn); display: inline-block; } .sortable.sticky-head thead, :not(.sortable).sticky-head tr:first-of-type { position: sticky; top: 0.1em; } /* Какую ширину указываем, та и будет применятся без растягивания */ .hard-table { table-layout: fixed; } /* [[Шаблон:Main]] */ .dablink { margin-left: 2em; margin-bottom: 0.5em; font-style: italic; } .dablink a { font-weight: bold; } /* [[Шаблон:Кнопка]] */ .keyboard-key { /*box-shadow: 0.1em 0.2em 0.2em(#DDD);*/ background-color: #F9F9F9; background-image: -moz-linear-gradient(#EEE, #F9F9F9, #EEE); background-image: -ms-linear-gradient(#EEE, #F9F9F9, #EEE); background-image: -o-linear-gradient(#EEE, #F9F9F9, #EEE); background-image: -webkit-linear-gradient(#EEE, #F9F9F9, #EEE); background-image: linear-gradient(#EEE, #F9F9F9, #EEE); padding: 0.1em 0.3em; font-family: inheri; font-size: 0.85em; } /* Generic styling for animation class */ .animated > :not(.active):not(.skip), .paused > :not(.active):not(.skip) { display: none; } /*.proto-table, /* Таблица для факбрикатора, принтера плат и т.п. */ /*.weapon-table td, /* Таблица брони */ /*.armor-table td /* Таблица оружия *//* { text-align: center; table-layout: fixed; } .weapon-table td, .armor-table td { font-weight: bold; }*/ /* Таблица охранного снаряжения (просто центриурет ячейки кроме последней *//* .sec-table td:not(:last-of-type) { text-align: center; }*/ /* Последний столбец *//* .proto-table td:last-of-type, .weapon-table td:last-of-type, .armor-table td:last-of-type { text-align: left; font-weight: unset; } .proto-table td:nth-of-type(3n) { background-color: #e6d1ee; }*/ /* Таблица контрабанды *//* .ContrabandItemCore { display:flex; flex-flow: row wrap } .ContrabandItem { hyphens: auto; text-align:center; border: 1px solid #8d8d8d; padding: .25em; margin: 1px; flex: 1 0 12em; }*/ /* Таблицы емага *//* .emag-table td:nth-of-type(2) { text-align: center; }*/ /* Таблицы имплантов и таблицы ящиков из карго *//* .implants td:nth-of-type(2), .kargotable td:nth-of-type(2), .kargotable td:nth-of-type(5) { text-align: center; font-weight: bold; } */