MediaWiki: Common.css: различия между версиями 🔗
Материал из VEDA Wiki
Sphynkx (обсуждение | вклад) Нет описания правки Метка: отменено |
Sphynkx (обсуждение | вклад) Нет описания правки Метка: ручная отмена |
||
Строка 21: | Строка 21: | ||
/* Change color of links to redirect pages*/ | /* Change color of links to redirect pages*/ | ||
.mw-body-content a.mw-redirect {color:# | .mw-body-content a.mw-redirect {color:#00CC00 !important;} | ||
.mw-body-content a.mw-redirect:visited {color:#007700 !important;} | .mw-body-content a.mw-redirect:visited {color:#007700 !important;} | ||
Версия от 08:12, 28 июля 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;}
/*
.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;
}
*/