MediaWiki:Common.css: Difference between revisions

Undo revision 22722 by Mount2010 (talk)
Removed unused sitenotice hider (my opinions on this differs from original admins - sitenotice should be visible everywhere if specified)
 
(2 intermediate revisions by 2 users not shown)
Line 14: Line 14:
/** Template stylings **/
/** Template stylings **/
/* [[Template:Grid]] */
/* [[Template:Grid]] */
.grid {
.grid-template {
display: inline-block;
display: inline-block;
position: relative;
position: relative;
Line 24: Line 24:
vertical-align: bottom;
vertical-align: bottom;
}
}
.grid.output {
.grid-template.output {
height: 48px;
height: 48px;
width: 48px;
width: 48px;
}
}


.grid img,
.grid-template img,
.pixel-image img {
.pixel-image img {
image-rendering: -moz-crisp-edges;
image-rendering: -moz-crisp-edges;
Line 37: Line 37:
}
}
   
   
.grid .border {
.grid-template .border {
display: block;
display: block;
margin: -2px 0 0 -2px;
margin: -2px 0 0 -2px;
Line 45: Line 45:
height: 100%;
height: 100%;
}
}
.grid .border > span {
.grid-template .border > span {
display: block;
display: block;
margin-right: -2px;
margin-right: -2px;
Line 54: Line 54:
}
}
   
   
.grid .image,
.grid-template .image,
.grid .default-image {
.grid-template .default-image {
position: absolute;
position: absolute;
line-height: 16px;
line-height: 16px;
Line 62: Line 62:
height: 32px;
height: 32px;
}
}
.grid.output .image {
.grid-template.output .image {
top: 10px;
top: 10px;
left: 10px;
left: 10px;
}
}
.grid .image > a.new {
.grid-template .image > a.new {
background-image: url("http://media-mcw.cursecdn.com/3/35/Grid_Unknown.png");
background-image: url("/images/3/35/Grid_Unknown.png");
display: block;
display: block;
width: 32px;
width: 32px;
Line 75: Line 75:
}
}
   
   
.grid .number {
.grid-template .number {
position: absolute;
position: absolute;
right: -2px;
right: -2px;
Line 88: Line 88:
filter: dropshadow(color=#3F3F3F, offx=2, offy=2);
filter: dropshadow(color=#3F3F3F, offx=2, offy=2);
}
}
.grid .number a {
.grid-template .number a {
color: #FFF;
color: #FFF;
text-decoration: none;
text-decoration: none;
}
}
.grid .number .selflink {
.grid-template .number .selflink {
font-weight: normal;
font-weight: normal;
}
}
.grid .image a.new + .number {
.grid-template .image a.new + .number {
display: none;
display: none;
}
}


.grid .animated .image,
.grid-template .animated .image,
.grid .paused .image {
.grid-template .paused .image {
display: none;
display: none;
}
}
.grid .animated .image.active,
.grid-template .animated .image.active,
.grid .paused .image.active {
.grid-template .paused .image.active {
display: block;
display: block;
}
}
.grid.blank{
.grid-template.blank{
     background-color: transparent;
     background-color: transparent;
     border: none;
     border: none;
Line 353: Line 353:
     font-weight: bold
     font-weight: bold
}
}
#siteNotice { display:none; } /* Hide sitenotice everywhere */
body.ns-0 #siteNotice { display:block; } /* Unhide in main namespace */