Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Roadmap, back to a better overview

Discussion in 'General Discussion' started by Freezy, Mar 2, 2017.

  1. Freezy

    Freezy

    Joined:
    Jul 15, 2012
    Posts:
    234
    The new roadmap takes up too much space, which in my opinion makes it annoying to read.
    I like my texts small and packed.

    So I threw together this CSS hack to get something like the old style back.
    Thank you tampermonkey :p

    Code (javascript):
    1.  
    2. // ==UserScript==
    3. // @name       Unity Roadmap fixers
    4. // @namespace  https://unity3d.com/unity/roadmap
    5. // @version    0.1
    6. // @description  Set unity manual max-width to 100%
    7. // @match      *://unity3d.com/unity/roadmap*
    8. // @copyright  2017+, You
    9. // ==/UserScript==
    10.  
    11. function addGlobalStyle(css) {
    12.     var head, style;
    13.     head = document.getElementsByTagName('head')[0];
    14.     if (!head) { return; }
    15.     style = document.createElement('style');
    16.     style.type = 'text/css';
    17.     style.innerHTML = css;
    18.     head.appendChild(style);
    19. }
    20.  
    21. addGlobalStyle('.g12 {    width: auto; padding: 10px;} .group.nest{    width: 100%;} div.content-wrapper {    max-width:100%; padding: 0px; width: 100%; background-color: aliceblue; } div.list div.card p.lbl{     font-size: 0.75em; } div.list div.card-lbl { padding: 1px; }');
    22.