LFG Account Page Cleanup

Makes the skills section of the account page actually usable on non-huge monitors.

当前为 2015-09-19 提交的版本,查看 最新版本

// ==UserScript==
// @name        LFG Account Page Cleanup
// @namespace   http://scripts.chris.charabaruk.com/leagueforgamers.com/account
// @author      coldacid
// @version     1
// @description Makes the skills section of the account page actually usable on non-huge monitors.
// @include     http*://leagueforgamers.com/account
// @include     http*://*.leagueforgamers.com/account
// @grant       none
// ==/UserScript==

$('form div.profile-card:not(.bio-card)').first()
  .css('max-width', '62.5rem')
  .parent()
    .addClass('large-8')
    .removeClass('large-4');

$('div.skill.row > div.category')
  .addClass('small-3')
  .removeClass('small-7');
$('div.skill.row > div.confidence')
  .addClass('small-2')
  .removeClass('small-5');
$('div.skill.row > div:last-child')
  .addClass('small-7')
  .removeClass('small-12');

$('form div.small-4.right > input[type=submit]')
  .css('margin-right', '0.9375rem');