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
No edit summary
(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)
 
(58 intermediate revisions by 2 users not shown)
Line 25: Line 25:
background:none !important;
background:none !important;
padding:0 !important;
padding:0 !important;
}
/*Indent Wii sub-links further in sidebar*/
#p-Compatibility_List li:nth-child(n+4){
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 211: 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,051: Line 1,066:
ul#nav.dhtml li.isActive ul a:hover {
ul#nav.dhtml li.isActive ul a:hover {
background:#333;
background:#333;
}
/*Prevent wrapping under right floated elements*/
pre{
overflow:auto;
}
/*Avoid overlong Action Replay codes, while preserving some full length pre's*/
h3 ~ pre{
max-height:100px;
}
}


/*Reduce size of category links, since some pages have three or more rows of them otherwise.*/
/*Reduce size of category links, since some pages have three or more rows of them otherwise.*/
.catlinks{
.catlinks{
font-size:75%;
font-size:80%;
}
 
/*Show the last three test results rather than fully collapsed table*/
.testresults thead tr, .testresults tbody tr:nth-last-of-type(-n+3){
display:table-row !important;
}
 
/* Styles used in Template:Revision and Template:Issue */
.revlink,.issuelink {
font-weight:bold;
font-family:monospace;
}
.revlink{
color:purple;
}
.issuelink {
color:darkGreen;
}
}
/* Styles used in Template:VersionCompatibilityVersion and Template:VersionCompatibility */
.versioncompatibility{
overflow:auto;
}
.versioncompatibility .heading{
background:#FFF;
position: relative;
font-size:10px;
font-weight:bold;
}
.versioncompatibility .heading div:first-child{
float:left;
}
.versioncompatibility .heading div:last-child{
float:right;
}
.versioncompatibility .ratings{
line-height:12px;
border:1px solid #000;
height:13px;
background:#000;
overflow:hidden;
position:relative;
clear:left;
}
.versioncompatibilityversion{
position:absolute;
text-align:right;
height:13px;
border-right:1px solid #000;
margin-right:-1px;
overflow:hidden;
}
.versioncompatibilityversion a{
padding-right:0 !important;
background:transparent !important;
}
.versioncompatibilityversion a .revlink{
color: black;
font-family:sans-serif;
}
.versioncompatibilityversion span:first-child{
font-size:9px;
font-weight:bold;
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>
*/
*/