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

Материал из Каталог переславских телепередач
Перейти к навигации Перейти к поиску
 
Строка 6: Строка 6:
  
 
.mw-content-ltr h2 {
 
.mw-content-ltr h2 {
     background: aliceblue;
+
     background: #f8f9fa;
 
}
 
}
  

Текущая версия на 03:18, 17 февраля 2024

/* Размещённый здесь 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-ltr h2 {
    background: #f8f9fa;
}

.mw-content-ltr ul {
    margin-left: 4.5em;
    text-indent: -3.8em;
    list-style-position: inside;
}

#mw-subcategories ul {
    text-indent: 0em !important;
}
.mw-category ul {
    margin-left: 1.6em !important;
    list-style-position: outside;
}

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

abbr:before {
background-repeat: no-repeat;
padding-left: 1.5em;
content: "";
opacity: 0.3;
}

.abbr1:before { background-image: url('https://upload.wikimedia.org/wikipedia/commons/7/7c/User_%2817240%29_-_The_Noun_Project.svg'); }
.abbr2:before { background-image: url('https://upload.wikimedia.org/wikipedia/commons/f/f3/User_%2817238%29_-_The_Noun_Project.svg'); }

hr.newtheme {width: 5em;}
div.newtheme {border:solid 1px transparent;}
div.newtheme:hover {border:solid 1px black;background: #f2f2f2;}

.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; }