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

Материал из Каталог переславских телепередач
Перейти к навигации Перейти к поиску
Строка 17: Строка 17:
  
 
.newtheme {width: 5em;}
 
.newtheme {width: 5em;}
div.theme {border:solid 1px transparent;}
+
div.themea, div.themeb, div.themec, div.themed {border:solid 1px transparent;}
div.theme:hover {border:solid 1px black;}
+
.themea:hover, .themea:hover ~ div.themea {border:solid 1px black;}
div.theme:hover ~ div.themea {border:solid 1px black;}
+
.themeb:hover, .themeb:hover ~ div.themeb {border:solid 1px black;}
 +
.themec:hover, .themec:hover ~ div.themec {border:solid 1px black;}
 +
.themed:hover, .themed:hover ~ div.themed {border:solid 1px black;}
  
 
.mw-category {margin-bottom:1em;}
 
.mw-category {margin-bottom:1em;}

Версия 02:32, 9 марта 2018

/* Размещённый здесь CSS будет применяться ко всем темам оформления */
.mw-search-results {float: none;}
#mw-page-base { height: 2em!important; }
#mw-head-base { margin-top: -5em!important; }
#p-search { margin-top:-2em; }

#mw-content-text ul li {
text-indent: -2.8em;
padding-left: 2.8em;
}

abbr {
background: #f2f2f2;
border-bottom-style: dashed;
padding-bottom: 2pt;
}

.newtheme {width: 5em;}
div.themea, div.themeb, div.themec, div.themed {border:solid 1px transparent;}
.themea:hover, .themea:hover ~ div.themea {border:solid 1px black;}
.themeb:hover, .themeb:hover ~ div.themeb {border:solid 1px black;}
.themec:hover, .themec:hover ~ div.themec {border:solid 1px black;}
.themed:hover, .themed:hover ~ div.themed {border:solid 1px black;}

.mw-category {margin-bottom:1em;}
.mw-category ul li {
text-indent: 0em!important;
padding-left: 0em!important;
}
#mw-category-media ul li {
text-indent: 0em!important;
padding-left: 0em!important;
}

#mw-subcategories ul {
	list-style-type: square;
	list-style-image: url("data:image/gif;base64,R0lGODlhBQANAIAAAGOMnP///yH5BAEAAAEALAAAAAAFAA0AAAIJjI+pu+APo4SpADs=");
	margin-left:1.6em;
}
div.catlinks {margin-top: 3em;}

div.catlinks a.new { display: none; }