MediaWiki:Common.css: Difference between revisions

Do not fix sidebar position (even if it can fit entirely on screen) as was causing scrolling issues in certain scenarios. Also remove padding below the logo so a bit more content can be displayed at once
(Indent Wii sub-links)
(Do not fix sidebar position (even if it can fit entirely on screen) as was causing scrolling issues in certain scenarios. Also remove padding below the logo so a bit more content can be displayed at once)
 
(29 intermediate revisions by 2 users not shown)
Line 29: Line 29:
/*Indent Wii sub-links further in sidebar*/
/*Indent Wii sub-links further in sidebar*/
#p-Compatibility_List li:nth-child(n+4){
#p-Compatibility_List li:nth-child(n+4){
margin-left:1em;
margin-left:1em !important;
}
#p-Compatibility_List li:nth-child(n+4){
margin-left:1em !important;
}
#p-Compatibility_List li:nth-child(n+5){
margin-left:2em !important;
}
#p-Compatibility_List li:nth-child(n+15){
margin-left:1em !important;
}
}
   
   
Line 216: Line 225:
.hlist dd:after,
.hlist dd:after,
.hlist li:after {
.hlist li:after {
     content: " ·";
     content: " ·\00a0";
     font-weight: bold;
     font-weight: bold;
    white-space: pre;
}
}
.hlist dd:last-child:after,
.hlist dd:last-child:after,
Line 1,060: Line 1,070:
/*Prevent wrapping under right floated elements*/
/*Prevent wrapping under right floated elements*/
pre{
pre{
overflow:auto
overflow:auto;
}
/*Avoid overlong Action Replay codes, while preserving some full length pre's*/
h3 ~ pre{
max-height:100px;
}
}


Line 1,131: Line 1,145:
padding-right:1px;
padding-right:1px;
}
}
/* Remove padding between logo and sidebar content */
#mw-panel {
padding-top: 0 !important;
}
.tl_image {
float: left;
}
.tl_image_caption {
text-overflow: ellipsis;
display: inline-block;
white-space: nowrap;
overflow: hidden;
vertical-align: top;
}
.magnify a.internal {
margin: 4px 0px;
}
/*
/*
</source>
</source>
*/
*/