Skip to content

Commit

Permalink
make first adaptions to Skin:Citizen
Browse files Browse the repository at this point in the history
  • Loading branch information
simontaurus committed May 16, 2023
1 parent 023237c commit 03901ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions Reveal.hooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ public static function onBeforePageDisplay( $out ) {

//loading animation (adapted from https://loading.io/css/, CCO)
$css = <<<EOD
#mw-wrapper { display: none; }
#mw-wrapper { display: none; } /* Skin:Timeless */
.citizen-page-container { display: none; } /* Skin:Citizen */
.lds-dual-ring {
display: inline-block;
width: 80px;
Expand All @@ -48,8 +49,8 @@ public static function onBeforePageDisplay( $out ) {
height: 64px;
margin: 8px;
border-radius: 50%;
border: 6px solid #fff;
border-color: #fff transparent #fff transparent;
border: 6px solid #000;
border-color: #000 transparent #000 transparent;
animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
Expand Down
2 changes: 1 addition & 1 deletion modules/ext.reveal.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ $(document).ready(function () {
showSlideNumber: 'all', //all, print, speaker
hashOneBasedIndex: true, //Use 1 based indexing for # links
hash: true, //Add the current slide number to the URL hash
respondToHashChanges: true, // Flags if we should monitor the hash and change slides accordingly
respondToHashChanges: false, // Flags if we should monitor the hash and change slides accordingly
history: true, // Push each slide change to the browser history. Implies `hash: true`
plugins: [ RevealSearch, RevealNotes, RevealZoom ],
});
Expand Down

0 comments on commit 03901ca

Please sign in to comment.