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

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

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

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

#toc { float: right };

.template-infobox div {
    background-color: #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;
}