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

Материал из CADR
Перейти к: навигация, поиск
(Поместил содержание справа)
 
Строка 2: Строка 2:
  
 
#toc { float: right };
 
#toc { float: right };
 +
 +
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
 +
.template-infobox {
 +
    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;
 +
}

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

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

#toc { float: right };

/* Размещённый здесь CSS будет применяться ко всем темам оформления */
.template-infobox {
    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;
}