Infinity Metin Wiki

Ingrandisce il content della wiki in base alla larghezza dello schermo

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name        Infinity Metin Wiki
// @description Ingrandisce il content della wiki in base alla larghezza dello schermo
// @namespace   infinitymetin.net
// @author      SCOLAPASTA
// @date        2016-06-10
// @include     http://wiki.infinitymetin.net/wiki/*
// @version     1
// @grant       GM_addStyle
// @license     MIT License
// ==/UserScript==

// oppure basta modificare: http://wiki.infinitymetin.net/wiki/skins/monobook/main.css?301

styleMediaSize = "\
@media (min-width:992px){                        \
  #content {                                     \
    width: 800px !important;                     \
  }                                              \
  #img {                                         \
    z-index: 1 !important;                       \
    left: 946px !important;                      \
  }                                              \
}                                                \
@media (min-width:1200px){                       \
  #content {                                     \
    width: 1000px !important;                    \
  }                                              \
  #img {                                         \
    z-index: 1 !important;                       \
    left: 1146px !important;                     \
  }                                              \
}                                                \
@media (min-width:1600px){                       \
  #content {                                     \
    width: 1250px !important;                    \
  }                                              \
  #img {                                         \
    z-index: 1 !important;                       \
    left: 1396px !important;                     \
  }                                              \
}                                                \
";

GM_addStyle (styleMediaSize);