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

Материал из CADR
Перейти к: навигация, поиск
Строка 3: Строка 3:
 
#toc { float: right };
 
#toc { float: right };
  
.template-infobox {
+
.template-infobox div {
 
     background: #eee;
 
     background: #eee;
 
     border: 1px solid #aaa;
 
     border: 1px solid #aaa;

Версия 19:12, 23 августа 2020

/* Размещённый здесь CSS будет применяться ко всем темам оформления */

#toc { float: right };

.template-infobox div {
    background: #eee;
    border: 1px solid #aaa;
    float: right;
    margin: 0 0 1em 1em;
    padding: 1em;
    width: 400px;
}

.template-infobox-title {
    font-size: 2em;
    text-align: center;
}

.template-infobox-subtitle {
    font-size: 1em;
    font-style: italic;
    text-align: center;
}

.template-infobox-image {
    text-align: center;
}

.template-infobox th {
    text-align: right;
    vertical-align: top;
    width: 120px;
}

.template-infobox td {
    vertical-align: top;
}