MediaWiki:Common.css

Материал из Неолурк, народный Lurkmore
Перейти к навигации Перейти к поиску

Замечание: Возможно, после публикации вам придётся очистить кэш своего браузера, чтобы увидеть изменения.

  • Firefox / Safari: Удерживая клавишу Shift, нажмите на панели инструментов Обновить либо нажмите Ctrl+F5 или Ctrl+R (⌘+R на Mac)
  • Google Chrome: Нажмите Ctrl+Shift+R (⌘+Shift+R на Mac)
  • Internet Explorer / Edge: Удерживая Ctrl, нажмите Обновить либо нажмите Ctrl+F5
  • Opera: Нажмите Ctrl+F5.
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
#mw-data-after-content { padding-top: 2em; padding-left: 1.5em; padding-bottom: 0; }

.spoiler {
    background-color: #ccc;
}
 
.spoiler:hover {
    background: transparent;
}
 
.spoiler span, .spoiler span a, .spoiler span a:visited {
    -khtml-opacity: 0.0;
    -moz-opacity: 0.0;
    filter: alpha(opacity=0);
    opacity: 0.0;
}
 
.spoiler span:hover, .spoiler span:hover a, .spoiler span:hover a:visited {
    -khtml-opacity: 1.0;
    -moz-opacity: 1.0;
    filter: alpha(opacity=100);
    opacity: 1.0;
}

div.full {  width: 95% !important; }
.f-message, .r-message {  width: 92% !important; }
div.reply {  margin-left: 3% !important;  width: 92% !important; }


div.thumbcaption, div.videocaption { text-align: center !important; font-size: 1.08em }
div.thumbcaption { padding-top: 0.45em }
div.magnify { display: none }
div.thumbinner { background: none; border: 1px solid #c8ccd1; border-radius: 8px; padding: 0.75em 0.75em 0.3em 0.75em }
.thumbimage { border: none }
div.videolink { margin-left: 3px; margin-right: 0; float: right; }
div.tright { margin: 0.5em 0 0.4em 1.4em; }

ul.gallery { padding-top: 0.6em; border: 1px solid #c8ccd1; text-align: center; border-radius: 8px; margin: 1.6em; display: flow-root }
li.gallerybox div.thumb { border: 1px solid #ccd; background-color: #fcfcfc; border-radius: 6px; }

h1, h2 { border-bottom: 1px solid #c8ccd1; }

table.videogallery { padding-top: 0.6em; padding-bottom:0.6em; border: 1px solid #c8ccd1; border-radius: 8px; margin: 1.6em; width: 97.5% }
div.videogallery-wrap { text-align: center; display: flow-root }

div.nsfw-hider { border:1px solid #c8ccd1; padding: 0.85em 1em 0.75em 1.25em; margin: 0.9em 1em 0.9em 1em; border-radius: 8px; display: flow-root }
div.nsfw-hider-headtext { font-weight: 700; padding-bottom: 0.25em; }
div.mw-collapsible-content { padding-top:1.25em; border-top: 2px dotted #ccd }

div.plashka-flauros { padding:0.65em 0.7em 0.65em 0.8em; border:1px solid #999999; font-size: 102.5%; border-radius: 8px; margin: 0.7em 1.8em 0.85em 1.8em; background-color: #fcfcfc }
span.plashka-forneus { left:0.65em; top: 0.05em; position: relative }

.table-andras { width:100%; border-spacing: 0; font-size:92.5%; border-radius: 8px; margin: 0.6em 0 0.6em 0 }
.table-andras-head { font-size:120%; padding-bottom: 0.35em; padding-top: 0.35em; height: 33px !important; }
td.table-andras-row-name { width:16.5%; padding:0.55em; padding-left:0.85em; vertical-align:top }
td.table-andras-row-text { padding:0.35em; padding-left:0.65em }

th.table-andras-head > span.mw-collapsible-toggle { font-size: 0.85em; margin-right: 0.8em; padding-top: 0.15em }

div.decarabia > table { background: none; border: 1px solid #c8ccd1; border-radius: 8px }
td.decarabia-param { padding:0.3em; font-weight:bold; border-top: 1px dotted black }
td.decarabia-text { padding:0.3em; border-top: 1px dotted black }

div#catlinks { border: 1px solid #c8ccd1; padding: 0.4em 0.8em; margin-top: 1.4em; border-radius: 6px; background: transparent }
div#editpage-specialchars { border-radius: 6px; padding: 0.4em 1.4em 0 1.4em !important }

table.infobox { width: 400px; float: right; border: 1px solid #c8ccd1; border-spacing: 2px; text-align: left; font-size: 95%; border-radius: 8px; padding: 0.3em; background: transparent }
.infobox-purson-head, .infobox-purson-header { text-align: center }
.infobox-purson-head { padding-bottom: 0.4em; padding-top: 0.4em; font-size: 110% }
.infobox-purson-header { padding-top: 0.4em }
.infobox-purson-field { border-top: 1px dotted black }
.infobox-purson-fields > tbody > tr:first-child > td { border-top: none; padding-top:0.4em }

div.ImageStack { border: 1px solid #c8ccd1; border-radius: 8px; padding: 0.4em 0.5em 0em 0.5em }
div.ImageStackCounter > a { display: inline !important; text-decoration: none !important }
div.ImageStackCounter { padding-bottom: 0.25em }
div.ImageStackVideo > div.ImageStackUnits { padding-bottom: 0.5em; }

div#toc { background-color: transparent; border-radius: 8px; border: 1px solid #c8ccd1; margin-top: 1.05em; padding: 1em 1.25em 0.8em 1.25em; }
h2#mw-toc-heading { font-size: 115%; }

.quote-goetia {	display: flex; justify-content: center;	margin: 1.5em 0; padding-top: 0.2em }
.quote-goetia blockquote {position: relative;margin: 0;padding: 0 42px; border: none; background: transparent; line-height: 1.6em; font-style: italic;}
.quote-goetia blockquote::before, .quote-goetia blockquote::after {position: absolute; font-size: 3em; color: silver; font-family: Constantina,Georgia,'Nimbus Roman No9 L',serif; }
.quote-goetia blockquote::before { content: "«"; top: -0.25em; left: 0; }
.quote-goetia blockquote::after { content: "»"; bottom: -0.1em; right: 0;}
.quote-goetia blockquote i {font-style: normal;}
.quote-goetia cite {display: block;	text-align: right;	font-style: normal;}
.quote-goetia p:first-child {	margin-top: 0; }
.quote-goetia p:last-child { margin-bottom: 0; }
.quote-goetia p + .ts-oq { 	margin-top: -0.25em; }
.quote-goetia .ts-oq .ts-oq-header.ts-oq-header { padding-left: 0; background: transparent; }
.quote-goetia .ts-oq .ts-oq-content { padding: 0; }
.internal-goetia { font-size:80%; line-height:100%; text-align:right; padding-top: 1.6em; font-weight:bold }