ShadeFix Minds

ShadeFix for Minds, broadening the central content on any page

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

//
// Written by Glenn Wiking
// Script Version: 1.0.2a
// Date of issue: 26/09/16
// Date of resolution: 27/09/16
//
// ==UserScript==
// @name        ShadeFix Minds
// @namespace   SFMI
// @version     0.1.0a
// @grant       none
// @icon        http://i.imgur.com/lvuAvcb.png
// @description ShadeFix for Minds, broadening the central content on any page

// @include     http://*.minds.com/*
// @include     https://*.minds.com/*

// ==/UserScript==

function ShadeFixMinds(css) {
    var head, style;
    head = document.getElementsByTagName('head')[0];
    if (!head) { return; }
    style = document.createElement('style');
    style.type = 'text/css';
    style.innerHTML = css;
    head.appendChild(style);
}

ShadeFixMinds(
	'minds-body minds-newsfeed .newsfeed-grid, minds-channel .channel-grid {max-width: 70vw !important;}'
	+
	'minds-body minds-newsfeed .newsfeed-grid .mdl-cell--4-col, minds-body minds-newsfeed .newsfeed-grid .mdl-cell--4-col-desktop.mdl-cell--4-col-desktop {width: calc(30.333% - 16px) !important;}'
);