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

Материал из ВикиФизтех
Перейти к навигации Перейти к поиску
imported>Admin2
imported>Admin2
Строка 1: Строка 1:
 
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
 
/* Размещённый здесь CSS будет применяться ко всем темам оформления */
 +
 +
 +
 +
 +
# Cards
 +
 +
 
.card {
 
.card {
 
display: block;
 
display: block;
Строка 8: Строка 15:
 
margin-top: 3px !important;
 
margin-top: 3px !important;
 
}
 
}
 
  
 
div#mw-content-text {
 
div#mw-content-text {
 
clear:both;
 
clear:both;
 
}
 
}
 +
 
table.card img {
 
table.card img {
 
padding: 5px;
 
padding: 5px;
 
}
 
}
  
 +
# AddThis
 +
div.addthis_toolbox {
 +
    float: right;
 +
    width: 320px;
 +
}
 +
 +
# Gallery Settings
 
div.gallerytext {
 
div.gallerytext {
 
text-align: center;
 
text-align: center;
 
}
 
}
  
 +
div.srf-gallery {
 +
text-align: left !important;
 +
}
 +
 +
 +
# Main Page Only
 
div.gallery-latest div {
 
div.gallery-latest div {
 
margin: 0px !important;
 
margin: 0px !important;
Строка 31: Строка 51:
 
div.gallery-latest div.gallerytext {
 
div.gallery-latest div.gallerytext {
 
display: none;
 
display: none;
}
 
 
div.srf-gallery {
 
text-align: left !important;
 
 
}
 
}

Версия от 17:05, 27 декабря 2012

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




# 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 {
    float: right;
    width: 320px;
}

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