MediaWiki:Common.css — различия между версиями
Admin (обсуждение | вклад) |
Ars (обсуждение | вклад) |
||
(не показано 8 промежуточных версий 2 участников) | |||
Строка 36: | Строка 36: | ||
margin-left: 1px; | margin-left: 1px; | ||
} | } | ||
− | + | ||
− | + | /* {Summary} */ | |
− | + | ||
− | + | div#p-summary p, div#p-summary dl, | |
− | + | div.p-summary p, div.p-summary dl { | |
− | + | margin: 0; | |
− | |||
} | } | ||
+ | |||
+ | div#p-summary dl, div.p-summary dl { | ||
+ | clear: both; | ||
+ | } | ||
+ | |||
+ | div#p-summary, div#p-summary dl, div#p-summary dt, | ||
+ | div#p-summary dd, div#p-summary strong, div.p-summary, | ||
+ | div.p-summary dl, div.p-summary dt, div.p-summary dd, | ||
+ | div.p-summary strong, div.summarybox div.p-summary-title { | ||
+ | line-height: 1.1; | ||
+ | } | ||
+ | |||
+ | div#p-summary dt, div#p-summary dd, div#p-summary div.p-summary-line, | ||
+ | div.p-summary dt, div.p-summary dd, div.p-summary div.p-summary-line, | ||
+ | div.summarybox div.p-summary-line { | ||
+ | border-top: 1px solid #ddd; | ||
+ | padding: 0.35em 0em 0.3em; | ||
+ | display: block; | ||
+ | position: relative; | ||
+ | overflow: hidden; | ||
+ | } | ||
+ | |||
+ | div#p-summary, div.p-summary { | ||
+ | float: right; | ||
+ | clear: right; | ||
+ | width: 316px; | ||
+ | padding-top:0.9em !important; | ||
+ | } | ||
+ | |||
+ | div#p-summary, div.p-summary, div.summarybox { | ||
+ | padding: 0em 0.5em 0.5em 0.6em; | ||
+ | margin: 0 0 1em 1em; | ||
+ | border-left: 3px solid #ccc; | ||
+ | } | ||
+ | |||
+ | div#p-summary div.thumbinner, div.p-summary div.thumbinner, div.summarybox div.thumbinner { | ||
+ | background: white; | ||
+ | border-color: #ddd; | ||
+ | } | ||
+ | |||
+ | div#p-summary img.thumbimage, div.p-summary img.thumbimage, div.summarybox img.thumbimage { | ||
+ | border: none; | ||
+ | } | ||
+ | |||
+ | div#p-summary div.magnify, div.p-summary div.magnify, div.summarybox div.magnify { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | div#p-summary ol, div.p-summary ol, div.summarybox ol { | ||
+ | margin-left: 2em; | ||
+ | } | ||
+ | |||
+ | div#p-summary p br, div.p-summary p br { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | div#p-summary dt, div#p-summary div.p-summary-left, div.p-summary dt, | ||
+ | div.p-summary div.p-summary-left { | ||
+ | float: left; | ||
+ | clear: both; | ||
+ | width: 150px; | ||
+ | font-weight: normal; | ||
+ | } | ||
+ | |||
+ | div#p-summary dd, div#p-summary div.p-summary-right, div.p-summary dd, | ||
+ | div.p-summary div.p-summary-right { | ||
+ | float: right; | ||
+ | clear: none; | ||
+ | margin: 0; | ||
+ | width: 152px; | ||
+ | } | ||
+ | |||
+ | div#p-summary strong, div.p-summary strong { | ||
+ | display: block; | ||
+ | clear: both; | ||
+ | padding: 0.75em 0; | ||
+ | } | ||
+ | |||
+ | div#p-summary strong.p-summary-title, div.p-summary strong.p-summary-title { | ||
+ | padding: 0 0 0.25em; | ||
+ | font-size: x-large; | ||
+ | } | ||
+ | |||
+ | div#p-summary div.p-summary-line, div.p-summary div.p-summary-line { | ||
+ | clear: both; | ||
+ | } | ||
+ | |||
+ | .p-summary-tools, .p-summary-tools *, .p-summary-tools a, .p-summary-tools a:link, | ||
+ | .p-summary-tools a:active, .p-summary-tools a:hover, .p-summary-tools a:visited, | ||
+ | .p-summary-tools a:focus { | ||
+ | color: #aaa; | ||
+ | list-style-type: none; | ||
+ | list-style-image: none; | ||
+ | font-size: 9pt; | ||
+ | font-weight: normal; | ||
+ | } | ||
+ | |||
+ | div.summarybox .p-summary-title a, div.summarybox .p-summary-title a:link, | ||
+ | div.summarybox .p-summary-title a:active, div.summarybox .p-summary-title a:hover, | ||
+ | div.summarybox .p-summary-title a:visited, div.summarybox .p-summary-title a:focus { | ||
+ | color: inherit; | ||
+ | } | ||
+ | |||
+ | .p-summary-tools ul { | ||
+ | margin-left: 0.5em; | ||
+ | } | ||
+ | |||
+ | .p-summary-line .thumbcaption { display: none !important } | ||
+ | .p-summary sup.reference::before { content: " " } | ||
+ | .p-summary sup.reference { vertical-align:middle !important } | ||
+ | .p-summary sup.reference a { color: #006400 !important } |
Текущая версия на 02:39, 8 сентября 2016
/** Размещённый здесь CSS будет применяться ко всем темам оформления */ /** * Styling for links generated by [[MediaWiki:Edittools]] * @source www.mediawiki.org/wiki/Extension:CharInsert#Styling * @updated 2012-02-29 */ .mw-charinsert-buttons { margin-top: 10px; border: 1px solid #aaaaaa; padding: 1px; padding-left: 5px; text-align: left; font-size: 90%; } .mw-charinsert-buttons a { color: black; background-color: #cde !important; font-size: .9em; text-decoration: none; border: thin #069 outset; padding: 0 .1em .1em; } .mw-charinsert-buttons a:hover, .mw-charinsert-buttons a:active { background-color: #bcd; border-style: inset; } .client-js .mw-edittools-section { display: inline; } .client-js .mw-edittools-section input[type="button"] { font-size: 0.9em; padding-left: 1px; padding-right: 1px; margin-left: 1px; } /* {Summary} */ div#p-summary p, div#p-summary dl, div.p-summary p, div.p-summary dl { margin: 0; } div#p-summary dl, div.p-summary dl { clear: both; } div#p-summary, div#p-summary dl, div#p-summary dt, div#p-summary dd, div#p-summary strong, div.p-summary, div.p-summary dl, div.p-summary dt, div.p-summary dd, div.p-summary strong, div.summarybox div.p-summary-title { line-height: 1.1; } div#p-summary dt, div#p-summary dd, div#p-summary div.p-summary-line, div.p-summary dt, div.p-summary dd, div.p-summary div.p-summary-line, div.summarybox div.p-summary-line { border-top: 1px solid #ddd; padding: 0.35em 0em 0.3em; display: block; position: relative; overflow: hidden; } div#p-summary, div.p-summary { float: right; clear: right; width: 316px; padding-top:0.9em !important; } div#p-summary, div.p-summary, div.summarybox { padding: 0em 0.5em 0.5em 0.6em; margin: 0 0 1em 1em; border-left: 3px solid #ccc; } div#p-summary div.thumbinner, div.p-summary div.thumbinner, div.summarybox div.thumbinner { background: white; border-color: #ddd; } div#p-summary img.thumbimage, div.p-summary img.thumbimage, div.summarybox img.thumbimage { border: none; } div#p-summary div.magnify, div.p-summary div.magnify, div.summarybox div.magnify { display: none; } div#p-summary ol, div.p-summary ol, div.summarybox ol { margin-left: 2em; } div#p-summary p br, div.p-summary p br { display: none; } div#p-summary dt, div#p-summary div.p-summary-left, div.p-summary dt, div.p-summary div.p-summary-left { float: left; clear: both; width: 150px; font-weight: normal; } div#p-summary dd, div#p-summary div.p-summary-right, div.p-summary dd, div.p-summary div.p-summary-right { float: right; clear: none; margin: 0; width: 152px; } div#p-summary strong, div.p-summary strong { display: block; clear: both; padding: 0.75em 0; } div#p-summary strong.p-summary-title, div.p-summary strong.p-summary-title { padding: 0 0 0.25em; font-size: x-large; } div#p-summary div.p-summary-line, div.p-summary div.p-summary-line { clear: both; } .p-summary-tools, .p-summary-tools *, .p-summary-tools a, .p-summary-tools a:link, .p-summary-tools a:active, .p-summary-tools a:hover, .p-summary-tools a:visited, .p-summary-tools a:focus { color: #aaa; list-style-type: none; list-style-image: none; font-size: 9pt; font-weight: normal; } div.summarybox .p-summary-title a, div.summarybox .p-summary-title a:link, div.summarybox .p-summary-title a:active, div.summarybox .p-summary-title a:hover, div.summarybox .p-summary-title a:visited, div.summarybox .p-summary-title a:focus { color: inherit; } .p-summary-tools ul { margin-left: 0.5em; } .p-summary-line .thumbcaption { display: none !important } .p-summary sup.reference::before { content: " " } .p-summary sup.reference { vertical-align:middle !important } .p-summary sup.reference a { color: #006400 !important }