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
(Hrm, testing)
(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)
 
(15 intermediate revisions by 2 users not shown)
Line 225: 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,071: Line 1,072:
overflow:auto;
overflow:auto;
}
}
/*Avoid overlong Action Replay codes, while preserving some full length pre's
/*Avoid overlong Action Replay codes, while preserving some full length pre's*/
h3 + pre, h4 + pre{
h3 ~ pre{
background: #f00;
max-height:100px;
}
pre ~ h3, pre ~ h4{
background: #0f0;
max-height:100px;
max-height:100px;
}
}
Line 1,150: Line 1,146:
}
}


/*Keep navigation on screen, if there is room to display it without scrolling*/
/* Remove padding between logo and sidebar content */
/*This doesn't work well on Mobile Firefox, where it causes the menu text to overlap content when horizontal scrolling occurs.*/
#mw-panel {
@media screen and (min-height: 850px) {
padding-top: 0 !important;
#mw-panel{
}
position:fixed !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>
*/
*/