Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
sidebar [2019/11/14 22:29]
muaddib
sidebar [2020/08/02 12:37] (current)
Line 1: Line 1:
 ~~NOCACHE~~ ~~NOCACHE~~
- 
 <​html>​ <​html>​
 +<​style>​
 +/* Workaround to stop the Flat template from overriding link colors when inside a Bootstrap button. */
 +.btn-default:​link,​ .btn-default:​visited {
 +  color:#fff;
 +}
 +.btn-primary:​link,​ .btn-primary:​visited {
 +  color:#fff;
 +}
 +.btn-success:​link,​ .btn-success:​visited {
 +  color:#fff;
 +}
 +.btn-info:​link,​ .btn-info:​visited {
 +  color:#fff;
 +}
 +.btn-warning:​link,​ .btn-warning:​visited {
 +  color:#fff;
 +}
 +.btn-danger:​link,​ .btn-danger:​visited {
 +  color:#fff;
 +}
 +.btn-link:​link,​ .btn-link:​visited {
 +  color:#​3699dc;​
 +}
  
 +/* Workaround to stop Bootstrap button from overriding font-weight of a link. */
 +.bs-wrap-button strong a {
 +  font-weight:​ bold;
 +}
 +
 +/* Workaround to stop Apache'​s mod_pagespeed from interfering with media styles. */
 +script:​first-child + .media {
 +  margin-top: 0;
 +}
 +</​style>​
 <​script>​ <​script>​
-// Workaround to prevent auto-expand / auto-collapse menus in the flat template.+// Workaround to prevent auto-expand / auto-collapse menus in the Flat template.
 jQuery(document).ready(function() { jQuery(document).ready(function() {
  jQuery("#​site-navigation .menu-item-has-children .fa, #​site-navigation .page_item_has_children .fa"​).off("​click"​);​  jQuery("#​site-navigation .menu-item-has-children .fa, #​site-navigation .page_item_has_children .fa"​).off("​click"​);​
Line 12: Line 44:
  jQuery("#​site-navigation .menu-item-has-children,​ #​site-navigation .page_item_has_children"​).not("​.current-menu-parent,​ .current_page_parent,​ .current_page_ancestor,​ .current-menu-ancestor"​).off("​mouseenter mouseleave"​);​  jQuery("#​site-navigation .menu-item-has-children,​ #​site-navigation .page_item_has_children"​).not("​.current-menu-parent,​ .current_page_parent,​ .current_page_ancestor,​ .current-menu-ancestor"​).off("​mouseenter mouseleave"​);​
 }); });
 +
 +// Workaround to make RefNotes work well with the Flat template.
 +var dokuwikiElement = document.createElement("​div"​);​
 +dokuwikiElement.className = "​dokuwiki";​
 +document.body.appendChild(dokuwikiElement);​
 </​script>​ </​script>​
- 
 </​html>​ </​html>​
- 
 <php> <php>
  
Last modified: le 2020/08/02 12:37