MediaWiki:Common.css: различия между версиями

мНет описания правки
мНет описания правки
Строка 666: Строка 666:
border: 1px solid var(--ooui--border-color);
border: 1px solid var(--ooui--border-color);
}
}
/* #endregion */


/* ============ */
.mw-body dt {
/* #region Классы */
font-weight: bold;
/* ============ */
font-family: sans-serif;
 
margin-top: 0.8em;
/* Кнопка вверх [[Файл:AnomalyElectricityPulse.png]] */
margin-bottom: 0.4em;
#scroll-top {
border-left: 2px solid var(--theme-border-color-100);
display: none;
padding-left: 5px;
background: url(https://station14.ru/images/0/00/AnomalyElectricityPulse.png) 0% 0%/57px 57px no-repeat;
opacity: 0.5;
width: 57px;
height: 57px;
cursor: pointer;
position: fixed;
right: calc(0.95em + 6px);
bottom: 30px;
z-index: 10000;
image-rendering: pixelated;
}
}


#scroll-top:hover {
.mw-body h1 {
opacity: 0.8;
font-family: 'oswald';
}
font-size: 2em;
 
}
@media screen and (max-width: 850px) {
 
#scroll-top {
.mw-body h2 {
transform: translate(-50%, -50%);
font-size: 1.5em;
left: 50%;
border-bottom: none;
right: 50%;
font-family: 'Linux Libertine', 'Georgia', 'Times', serif;
bottom: 15px;
margin-bottom: 0.4em;
opacity: 0.3;
margin-top: 1em;
}
line-height: 1.375;
}
border-bottom: 2px solid var(--color-contrast);
 
}
/* Необходим для использования fonts.google.com/icons */
 
.material-symbols-outlined {
.mw-body h3 {
font-family: 'Material Symbols Outlined';
font-size: 1.17em;
font-weight: normal;
font-weight: bold;
font-style: normal;
font-family: sans-serif;
font-size: 24px;
margin-top: 0.5em;
line-height: 1;
margin-bottom: 0.3em;
letter-spacing: normal;
padding-bottom: 0;
text-transform: none;
line-height: 1.6;
display: inline-block;
padding-top: 0.3em;
white-space: nowrap;
word-wrap: normal;
}
direction: ltr;
 
-webkit-font-feature-settings: 'liga';
.mw-body h4,
-webkit-font-smoothing: antialiased
.mw-body h5 {
}
font-size: 1em;
 
font-weight: bold;
.tools-inline li:hover {
font-family: sans-serif;
border-bottom-width: 2px;
margin-top: 0.5em;
margin-bottom: 0.3em;
}
/* #endregion */
 
/* ============ */
/* #region Классы */
/* ============ */
 
/* Кнопка вверх [[Файл:AnomalyElectricityPulse.png]] */
#scroll-top {
display: none;
background: url(https://station14.ru/images/0/00/AnomalyElectricityPulse.png) 0% 0%/57px 57px no-repeat;
opacity: 0.5;
width: 57px;
height: 57px;
cursor: pointer;
position: fixed;
right: calc(0.95em + 6px);
bottom: 30px;
z-index: 10000;
image-rendering: pixelated;
}
 
#scroll-top:hover {
opacity: 0.8;
}
 
@media screen and (max-width: 850px) {
#scroll-top {
transform: translate(-50%, -50%);
left: 50%;
right: 50%;
bottom: 15px;
opacity: 0.3;
}
}
 
/* Необходим для использования fonts.google.com/icons */
.material-symbols-outlined {
font-family: 'Material Symbols Outlined';
font-weight: normal;
font-style: normal;
font-size: 24px;
line-height: 1;
letter-spacing: normal;
text-transform: none;
display: inline-block;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
-webkit-font-feature-settings: 'liga';
-webkit-font-smoothing: antialiased
}
 
.tools-inline li:hover {
border-bottom-width: 2px;
}
}


Строка 1495: Строка 1540:
color: var(--text-color-link);
color: var(--text-color-link);
}
}
/*=== Картинки с обёрткой ===*/
/*=== Gallery ===*/
/* #endregion */
/* #endregion */


Строка 2001: Строка 2051:
     color: var(--ooui--text-color);
     color: var(--ooui--text-color);
     outline: none;
     outline: none;
}
#mw-subcategories, #mw-pages, #mw-category-media, #filehistory, #wikiPreview, #wikiDiff {
clear: both;
}
.mw-tag-markers {
font-style: italic;
font-size: 90%
}
}
/* #endregion */
/* #endregion */
Строка 2027: Строка 2086:
.thumbinner {
.thumbinner {
min-width: 100px;
min-width: 100px;
background: #303037;
background: var(--ooui--bg-color-light);
border: solid var(--ooui--border-color)
border-color: solid var(--ooui--border-color)
}
}


.thumbinner .thumbimage,.thumbborder {
.thumbinner .thumbimage,.thumbborder {
border: solid 1px var(--ooui--border-color)
border: solid 1px var(--ooui--border-color)
}
#mw-subcategories, #mw-pages, #mw-category-media, #filehistory, #wikiPreview, #wikiDiff {
clear: both;
}
.wpb .wpb-header {
display: none
}
.wpbs-inner .wpb .wpb-header {
display: table-row
}
.wpbs-inner .wpb-outside {
display: none
}
.mw-tag-markers {
font-style: italic;
font-size: 90%
}
.checkuser-show,.sysop-show,.abusefilter-show,.abusefilter-helper-show,.patroller-show,.templateeditor-show,.extendedmover-show,.extendedconfirmed-show,.autoconfirmed-show,.user-show {
display: none
}
.ve-ui-mwNoticesPopupTool-item .editnotice-redlink,.ve-ui-mwNoticesPopupTool-item .mbox-image,.ve-ui-mwNoticesPopupTool-item .mbox-imageright {
display: none !important
}
}


Строка 2112: Строка 2142:
bottom: 0;
bottom: 0;
left: 0
left: 0
}
@media screen {
#content .gallerybox div.thumb {
background: #f8f9fa
}
.gallerybox .thumb img {
background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat
}
.ns-0 .gallerybox .thumb img,.ns-2 .gallerybox .thumb img,.ns-100 .gallerybox .thumb img,.nochecker .gallerybox .thumb img {
background-image: none
}
}
}


Строка 3579: Строка 3595:
position: relative;
position: relative;
margin: 0px 25%
margin: 0px 25%
}
.mw-gallery-slideshow .gallerybox.slideshow-current {
background: #28282e
}
}


Строка 3591: Строка 3603:
word-wrap: break-word;
word-wrap: break-word;
text-align: center
text-align: center
}
#content .gallerybox div.thumb {
background: #f8f9fa00
}
.mw-body li.gallerybox div.thumb {
background: #f8f9fa00;
border: solid #28282e;
border-width: 1px 1px 0.2em;
padding: 1.25em 1.75em;
box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.02);
padding: 0
}
}


Строка 3646: Строка 3645:
#footer {
#footer {
padding-right: 1em
padding-right: 1em
}
.mw-body dt {
font-weight: bold;
font-family: sans-serif;
margin-top: 0.8em;
margin-bottom: 0.4em;
border-left: 2px solid var(--theme-border-color-100);
padding-left: 5px;
}
.mw-body h1 {
font-family: 'oswald';
font-size: 2em;
}
.mw-body h2 {
font-size: 1.5em;
border-bottom: none;
font-family: 'Linux Libertine', 'Georgia', 'Times', serif;
margin-bottom: 0.4em;
margin-top: 1em;
line-height: 1.375;
border-bottom: 2px solid var(--color-contrast);
}
.mw-body h3 {
font-size: 1.17em;
font-weight: bold;
font-family: sans-serif;
margin-top: 0.5em;
margin-bottom: 0.3em;
padding-bottom: 0;
line-height: 1.6;
padding-top: 0.3em;
}
.mw-body h4,
.mw-body h5 {
font-size: 1em;
font-weight: bold;
font-family: sans-serif;
margin-top: 0.5em;
margin-bottom: 0.3em;
}
}


Строка 3719: Строка 3673:
background: #000000;
background: #000000;
opacity: var(--alpha-s);
opacity: var(--alpha-s);
}
/*Красивые картинки*/
.mw-content-ltr figure[typeof~='mw:File/Thumb'], .mw-content-ltr figure[typeof~='mw:File/Frame'] {
margin: 0 0 0.5em 0.5em;
border:1px solid black;
border-bottom:0;
border-radius:0.9em 0.9em 0 0;
background:var(--theme-bg-color-base);
}
figure[typeof~='mw:File/Thumb'] > figcaption, figure[typeof~='mw:File/Frame'] > figcaption {
border-radius: 0 0 0.9em 0.9em;
border:1px solid black;
border-top:0;
background:var(--theme-bg-color-base);
padding-bottom:5px;
font-family:oswald;
font-size:1em;
}
figure[typeof~='mw:File/Thumb'] > a:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Frame'] > a:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Thumb'] > span:first-child > *:first-child:not(.mw-broken-media), figure[typeof~='mw:File/Frame'] > span:first-child > *:first-child:not(.mw-broken-media) {
margin: 5px;
border-radius: 0.4em;
}
figure[typeof~='mw:File/Thumb'], figure[typeof~='mw:File/Frame']{
border-collapse:separate;
}
.mw-content-ltr figure[typeof~='mw:File/Thumb']:not([typeof~='mw:Error']) > a.mw-file-description:after{
border-bottom: 1px solid var(--color-contrast);
}
}