MediaWiki: Common.css: различия между версиями 🔗
Материал из VEDA Wiki
Sphynkx (обсуждение | вклад) Нет описания правки |
Sphynkx (обсуждение | вклад) Нет описания правки |
||
Строка 26: | Строка 26: | ||
.sketchfab-embed-wrapper { | .sketchfab-embed-wrapper { | ||
display: inline-block !important; | display: inline-block !important; | ||
border: | border: 0px dotted; | ||
white-space: break-spaces; | white-space: break-spaces; | ||
vertical-align: top; | vertical-align: top; |
Версия от 16:55, 8 сентября 2023
/* CSS placed here will be applied to all skins */
.tocnumber { display: none; } /* swithoff enumarating of heading in TOC: https://www.mediawiki.org/wiki/Manual:Table_of_contents#Auto-numbering */
/* http://mariusmateoc.com/blog/automatic-serial-number-row-in-html-table/ */
.css-serial {
counter-reset: serial-number; /* Set the serial number counter to 0 */
}
.css-serial td:first-child:before {
counter-increment: serial-number; /* Increment the serial number counter */
content: counter(serial-number); /* Display the counter */
}
.css-serial-sep {
counter-reset: serial-number; /* Set the serial number counter to 0 */
}
.css-serial-sep td:first-child:before {
counter-increment: serial-number; /* Increment the serial number counter */
content: counter(serial-number)'. '; /* Display the counter with finishing dot and space*/
}
/* Change color of links to redirect pages*/
.mw-body-content a.mw-redirect {color:#00CC00 !important;}
.mw-body-content a.mw-redirect:visited {color:#007700 !important;}
.sketchfab-embed-wrapper {
display: inline-block !important;
border: 0px dotted;
white-space: break-spaces;
vertical-align: top;
width: 350px;
}
/*
.mw-body-content a.external {color: #008000 !important;}
.mw-body-content a.external:visited {color: #008000 !important;}
a.external { color: green !important; }
div#content a.external {
color: pink;
}
*/