This should do
This commit is contained in:
@@ -224,7 +224,12 @@ a:hover, a:visited {
|
|||||||
list-style-position: inside;
|
list-style-position: inside;
|
||||||
list-style-type: square;
|
list-style-type: square;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin-left: 0.6em;
|
margin-left: 0.75em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wiki-footer #footer-content ul.links li a {
|
||||||
|
font-weight: bold;
|
||||||
|
text-shadow: 0 1px 0 #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
#wiki-footer #footer-content ul.links li:first-child {
|
#wiki-footer #footer-content ul.links li:first-child {
|
||||||
@@ -233,7 +238,7 @@ a:hover, a:visited {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ff #wiki-footer #footer-content ul.links li:first-child {
|
.ff #wiki-footer #footer-content ul.links li:first-child {
|
||||||
margin: 0 -0.6em 0 0;
|
margin: 0 -0.75em 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* @section page-footer */
|
/* @section page-footer */
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
// ua
|
// ua
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
||||||
|
// ua detection
|
||||||
if ($.browser.mozilla) {
|
if ($.browser.mozilla) {
|
||||||
$('body').addClass('ff');
|
$('body').addClass('ff');
|
||||||
} else if ($.browser.webkit) {
|
} else if ($.browser.webkit) {
|
||||||
@@ -12,4 +14,14 @@ $(document).ready(function() {
|
|||||||
$('body').addClass('ie8');
|
$('body').addClass('ie8');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// no widows in wiki body
|
||||||
|
if ($('#wiki-wrapper').hasClass('page')) {
|
||||||
|
$('#template h1, #template h2, #template h3, #template h4, #template h5, #template h6, #template li, #template p').each(
|
||||||
|
function(){
|
||||||
|
$(this).html($(this).html().replace(/\s([^\s<]+)\s*$/,' $1'));
|
||||||
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
Reference in New Issue
Block a user