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

Материал из ВикиФизтех
Перейти к навигации Перейти к поиску
imported>Admin2
imported>Admin2
Строка 93: Строка 93:
 
}
 
}
 
span.starrating-avg {
 
span.starrating-avg {
padding-left: 2em;
+
padding-left: 1em;
 
}
 
}

Версия от 03:04, 13 января 2013

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

/* Texts */
div.text {
width: 42em;
margin: 0px auto;
font-family: Cambria,Times New Roman,Times,serif;
font-size: 120%;
}

div.text p {

text-align: justify;
text-indent: 2em;
}

/* Cards */
.card {
display: block;
width: 350px;
float: right;
margin-left: 10px !important;
margin-bottom: 10px !important;
margin-top: 3px !important;
}
div#mw-content-text {
clear:both;
}
table.card img {
padding: 5px;
}

/* AddThis */
div.addthis_toolbox_mipt {
    float: right;
    width: 286px;
}
a.mipt_addthis_button_class {
    opacity: .25;
}
a.mipt_addthis_button_class:hover {
    opacity: 1;
}
a.addthis_counter {
    opacity: .25;
}
a.addthis_counter:hover {
    opacity: 1;
}

/* Hidden comments */

div.c-comment-hidden {

    opacity: .25;

}
div.c-comment-hidden:hover {

    opacity: 1;

}

/* Gallery Settings */
div.gallerytext {
text-align: center;
}

div.srf-gallery {
text-align: left !important;
}


/* Main Page Only */
div.gallery-latest div {
margin: 0px !important;
width: auto !important;
vertical-align: middle;
}
div.gallery-latest li {
width: auto !important;
}
div.gallery-latest div.gallerytext {
display: none;
}

/* Голосование */
span.star-rating-control div.rating-cancel {
display: none;
}
span.star-rating-control div.rating-cancel {
display: none !important;
}
span.starrating-avg {
padding-left: 1em;
}