Last active
October 16, 2017 01:42
-
-
Save x-magic/fad0a41f430783af6c898181081233c4 to your computer and use it in GitHub Desktop.
Change 9-column layout of diary entry page to fullwidth, then boost up the font size
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Mahara Diary Entry Companion | |
// @namespace https://mahara.infotech.monash.edu.au/ | |
// @version 0.1 | |
// @description Change 9-column layout of diary entry page to fullwidth, then boost up the font size | |
// @include https://mahara.infotech.monash.edu.au/mahara/artefact/artefact.php?artefact=* | |
// @run-at document-end | |
// @copyright 2017, Bill Gong <[email protected]> | |
// @updateURL https://gist.githubusercontent.com/x-magic/fad0a41f430783af6c898181081233c4/raw/MaharaDiaryEntryCompanion.user.js | |
// @downloadURL https://gist.githubusercontent.com/x-magic/fad0a41f430783af6c898181081233c4/raw/MaharaDiaryEntryCompanion.user.js | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
jQuery('#main-column-container div.col-md-9').attr('class', 'col-md-12'); | |
jQuery('.postcontent').find('*').each(function(){jQuery(this).css('font-size','x-large').css('font-family','');}); | |
jQuery('.navbar-form').remove(); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment