User:Shivlogs/common.js

// ==UserScript== // @name         Simple Wikipedia 3.0 // @namespace    http://userstyles.org // @description	 Just trying to make Wikipedia look better. // @author       0x1777 // @homepage     https://userstyles.org/styles/128192 // @include      http://wikipedia.org/* // @include      https://wikipedia.org/* // @include      http://*.wikipedia.org/* // @include      https://*.wikipedia.org/* // @run-at       document-start // @version      0.20160522195549 // ==/UserScript== (function {var css = [	"/* cyrillic-ext */",	"@font-face {",	" font-family: \'PT Serif\';",	"  font-style: normal;",	"  font-weight: 400;",	"  src: local(\'PT Serif\'), local(\'PTSerif-Regular\'), url(https://fonts.gstatic.com/s/ptserif/v8/5hX15RUpPERmeybVlLQEWBTbgVql8nDJpwnrE27mub0.woff2) format(\'woff2\');",	"  unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;",	"}",	"/* cyrillic */",	"@font-face {",	"  font-family: \'PT Serif\';",	"  font-style: normal;",	"  font-weight: 400;",	"  src: local(\'PT Serif\'), local(\'PTSerif-Regular\'), url(https://fonts.gstatic.com/s/ptserif/v8/fU0HAfLiPHGlZhZpY6M7dBTbgVql8nDJpwnrE27mub0.woff2) format(\'woff2\');",	"  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;",	"}",	"/* latin-ext */",	"@font-face {",	"  font-family: \'PT Serif\';",	"  font-style: normal;",	"  font-weight: 400;",	"  src: local(\'PT Serif\'), local(\'PTSerif-Regular\'), url(https://fonts.gstatic.com/s/ptserif/v8/CPRt--GVMETgA6YEaoGitxTbgVql8nDJpwnrE27mub0.woff2) format(\'woff2\');", " unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;", "}",	"/* latin */", "@font-face {", " font-family: \'PT Serif\';", " font-style: normal;", " font-weight: 400;", " src: local(\'PT Serif\'), local(\'PTSerif-Regular\'), url(https://fonts.gstatic.com/s/ptserif/v8/I-OtoJZa3TeyH6D9oli3ifesZW2xOQ-xsNqO47m55DA.woff2) format(\'woff2\');", " unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;", "}",	"/* cyrillic-ext */", "@font-face {", " font-family: \'PT Serif\';", " font-style: normal;", " font-weight: 700;", " src: local(\'PT Serif Bold\'), local(\'PTSerif-Bold\'), url(https://fonts.gstatic.com/s/ptserif/v8/QABk9IxT-LFTJ_dQzv7xpDTOQ_MqJVwkKsUn0wKzc2I.woff2) format(\'woff2\');", " unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;", "}",	"/* cyrillic */", "@font-face {", " font-family: \'PT Serif\';", " font-style: normal;", " font-weight: 700;", " src: local(\'PT Serif Bold\'), local(\'PTSerif-Bold\'), url(https://fonts.gstatic.com/s/ptserif/v8/QABk9IxT-LFTJ_dQzv7xpDUj_cnvWIuuBMVgbX098Mw.woff2) format(\'woff2\');", " unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;", "}",	"/* latin-ext */", "@font-face {", " font-family: \'PT Serif\';", " font-style: normal;", " font-weight: 700;", " src: local(\'PT Serif Bold\'), local(\'PTSerif-Bold\'), url(https://fonts.gstatic.com/s/ptserif/v8/QABk9IxT-LFTJ_dQzv7xpCYE0-AqJ3nfInTTiDXDjU4.woff2) format(\'woff2\');", " unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;", "}",	"/* latin */", "@font-face {", " font-family: \'PT Serif\';", " font-style: normal;", " font-weight: 700;", " src: local(\'PT Serif Bold\'), local(\'PTSerif-Bold\'), url(https://fonts.gstatic.com/s/ptserif/v8/QABk9IxT-LFTJ_dQzv7xpI4P5ICox8Kq3LLUNMylGO4.woff2) format(\'woff2\');", " unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;", "}",	"/* cyrillic-ext */", "@font-face {", " font-family: \'PT Serif\';", " font-style: italic;", " font-weight: 400;", " src: local(\'PT Serif Italic\'), local(\'PTSerif-Italic\'), url(https://fonts.gstatic.com/s/ptserif/v8/O_WhD9hODL16N4KLHLX7xSEAvth_LlrfE80CYdSH47w.woff2) format(\'woff2\');", " unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;", "}",	"/* cyrillic */", "@font-face {", " font-family: \'PT Serif\';", " font-style: italic;", " font-weight: 400;", " src: local(\'PT Serif Italic\'), local(\'PTSerif-Italic\'), url(https://fonts.gstatic.com/s/ptserif/v8/3Nwg9VzlwLXPq3fNKwVRMCEAvth_LlrfE80CYdSH47w.woff2) format(\'woff2\');", " unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;", "}",	"/* latin-ext */", "@font-face {", " font-family: \'PT Serif\';", " font-style: italic;", " font-weight: 400;", " src: local(\'PT Serif Italic\'), local(\'PTSerif-Italic\'), url(https://fonts.gstatic.com/s/ptserif/v8/b31S45a_TNgaBApZhTgE6CEAvth_LlrfE80CYdSH47w.woff2) format(\'woff2\');", " unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;", "}",	"/* latin */", "@font-face {", " font-family: \'PT Serif\';", " font-style: italic;", " font-weight: 400;", " src: local(\'PT Serif Italic\'), local(\'PTSerif-Italic\'), url(https://fonts.gstatic.com/s/ptserif/v8/03aPdn7fFF3H6ngCgAlQzPk_vArhqVIZ0nv9q090hN8.woff2) format(\'woff2\');", " unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;", "}",	"",	"/* cyrillic-ext */", "@font-face {", " font-family: \'PT Sans Narrow\';", " font-style: normal;", " font-weight: 400;", " src: local(\'PT Sans Narrow\'), local(\'PTSans-Narrow\'), url(https://fonts.gstatic.com/s/ptsansnarrow/v7/UyYrYy3ltEffJV9QueSi4SppsHecKHw584ktcwPXSnc.woff2) format(\'woff2\');", " unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;", "}",	"/* cyrillic */", "@font-face {", " font-family: \'PT Sans Narrow\';", " font-style: normal;", " font-weight: 400;", " src: local(\'PT Sans Narrow\'), local(\'PTSans-Narrow\'), url(https://fonts.gstatic.com/s/ptsansnarrow/v7/UyYrYy3ltEffJV9QueSi4Uvi3q9-zTdQoLrequQTguk.woff2) format(\'woff2\');", " unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;", "}",	"/* latin-ext */", "@font-face {", " font-family: \'PT Sans Narrow\';", " font-style: normal;", " font-weight: 400;", " src: local(\'PT Sans Narrow\'), local(\'PTSans-Narrow\'), url(https://fonts.gstatic.com/s/ptsansnarrow/v7/UyYrYy3ltEffJV9QueSi4T3sPXe5Q4a3bCZMR7ryN4o.woff2) format(\'woff2\');", " unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;", "}",	"/* latin */", "@font-face {", " font-family: \'PT Sans Narrow\';", " font-style: normal;", " font-weight: 400;", " src: local(\'PT Sans Narrow\'), local(\'PTSans-Narrow\'), url(https://fonts.gstatic.com/s/ptsansnarrow/v7/UyYrYy3ltEffJV9QueSi4UU-p1xzoRgkupcXIqgYFBc.woff2) format(\'woff2\');", " unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;", "}",	"/* cyrillic-ext */", "@font-face {", " font-family: \'PT Sans Narrow\';", " font-style: normal;", " font-weight: 700;", " src: local(\'PT Sans Narrow Bold\'), local(\'PTSans-NarrowBold\'), url(https://fonts.gstatic.com/s/ptsansnarrow/v7/Q_pTky3Sc3ubRibGToTAYryh_4Vx_7RIyhQ3vqTJYis.woff2) format(\'woff2\');", " unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;", "}",	"/* cyrillic */", "@font-face {", " font-family: \'PT Sans Narrow\';", " font-style: normal;", " font-weight: 700;", " src: local(\'PT Sans Narrow Bold\'), local(\'PTSans-NarrowBold\'), url(https://fonts.gstatic.com/s/ptsansnarrow/v7/Q_pTky3Sc3ubRibGToTAYuICWD8dS1fawAsHP3zkW40.woff2) format(\'woff2\');", " unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;", "}",	"/* latin-ext */", "@font-face {", " font-family: \'PT Sans Narrow\';", " font-style: normal;", " font-weight: 700;", " src: local(\'PT Sans Narrow Bold\'), local(\'PTSans-NarrowBold\'), url(https://fonts.gstatic.com/s/ptsansnarrow/v7/Q_pTky3Sc3ubRibGToTAYmwfvudCZ8RknLCBmdpmlzc.woff2) format(\'woff2\');", " unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;", "}",	"/* latin */", "@font-face {", " font-family: \'PT Sans Narrow\';", " font-style: normal;", " font-weight: 700;", " src: local(\'PT Sans Narrow Bold\'), local(\'PTSans-NarrowBold\'), url(https://fonts.gstatic.com/s/ptsansnarrow/v7/Q_pTky3Sc3ubRibGToTAYhKUK2vxztsQZZBkxIuj92o.woff2) format(\'woff2\');", " unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;", "}",	"",	"/* devanagari */", "@font-face {", " font-family: \'Teko\';", " font-style: normal;", " font-weight: 300;", " src: local(\'Teko Light\'), local(\'Teko-Light\'), url(https://fonts.gstatic.com/s/teko/v5/Gqez5aQ7wUhSZ0B0GK64MPY6323mHUZFJMgTvxaG2iE.woff2) format(\'woff2\');", " unicode-range: U+02BC, U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200B-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;", "}",	"/* latin-ext */", "@font-face {", " font-family: \'Teko\';", " font-style: normal;", " font-weight: 300;", " src: local(\'Teko Light\'), local(\'Teko-Light\'), url(https://fonts.gstatic.com/s/teko/v5/nR_Glzi6qD2G-l1HZVw4zPY6323mHUZFJMgTvxaG2iE.woff2) format(\'woff2\');", " unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;", "}",	"/* latin */", "@font-face {", " font-family: \'Teko\';", " font-style: normal;", " font-weight: 300;", " src: local(\'Teko Light\'), local(\'Teko-Light\'), url(https://fonts.gstatic.com/s/teko/v5/k_8nf9u5jqwKFfbJlRtPvw.woff2) format(\'woff2\');", " unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;", "}",	"/* devanagari */", "@font-face {", " font-family: \'Teko\';", " font-style: normal;", " font-weight: 400;", " src: local(\'Teko Regular\'), local(\'Teko-Regular\'), url(https://fonts.gstatic.com/s/teko/v5/ReWtp16HVyzdin1z_uvVFg.woff2) format(\'woff2\');", " unicode-range: U+02BC, U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200B-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;", "}",	"/* latin-ext */", "@font-face {", " font-family: \'Teko\';", " font-style: normal;", " font-weight: 400;", " src: local(\'Teko Regular\'), local(\'Teko-Regular\'), url(https://fonts.gstatic.com/s/teko/v5/3qReukiqUnKCO2w_puz9wQ.woff2) format(\'woff2\');", " unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;", "}",	"/* latin */", "@font-face {", " font-family: \'Teko\';", " font-style: normal;", " font-weight: 400;", " src: local(\'Teko Regular\'), local(\'Teko-Regular\'), url(https://fonts.gstatic.com/s/teko/v5/VMJW7okK7q4rP_CIopIrIg.woff2) format(\'woff2\');", " unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;", "}",	"/* devanagari */", "@font-face {", " font-family: \'Teko\';", " font-style: normal;", " font-weight: 500;", " src: local(\'Teko Medium\'), local(\'Teko-Medium\'), url(https://fonts.gstatic.com/s/teko/v5/HFqjevfZODn_1VTCEaVIPfY6323mHUZFJMgTvxaG2iE.woff2) format(\'woff2\');", " unicode-range: U+02BC, U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200B-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;", "}",	"/* latin-ext */", "@font-face {", " font-family: \'Teko\';", " font-style: normal;", " font-weight: 500;", " src: local(\'Teko Medium\'), local(\'Teko-Medium\'), url(https://fonts.gstatic.com/s/teko/v5/CPNsFkTOAPcgA6Efs9MigvY6323mHUZFJMgTvxaG2iE.woff2) format(\'woff2\');", " unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;", "}",	"/* latin */", "@font-face {", " font-family: \'Teko\';", " font-style: normal;", " font-weight: 500;", " src: local(\'Teko Medium\'), local(\'Teko-Medium\'), url(https://fonts.gstatic.com/s/teko/v5/Ot4RDKUO1e45_YikT1ng8w.woff2) format(\'woff2\');", " unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;", "}",	"/* devanagari */", "@font-face {", " font-family: \'Teko\';", " font-style: normal;", " font-weight: 600;", " src: local(\'Teko Semibold\'), local(\'Teko-Semibold\'), url(https://fonts.gstatic.com/s/teko/v5/06GYP0dQrtaEyaCmPW5wgvY6323mHUZFJMgTvxaG2iE.woff2) format(\'woff2\');", " unicode-range: U+02BC, U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200B-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;", "}",	"/* latin-ext */", "@font-face {", " font-family: \'Teko\';", " font-style: normal;", " font-weight: 600;", " src: local(\'Teko Semibold\'), local(\'Teko-Semibold\'), url(https://fonts.gstatic.com/s/teko/v5/gIyGqtIyJt1fA38fF9UeTvY6323mHUZFJMgTvxaG2iE.woff2) format(\'woff2\');", " unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;", "}",	"/* latin */", "@font-face {", " font-family: \'Teko\';", " font-style: normal;", " font-weight: 600;", " src: local(\'Teko Semibold\'), local(\'Teko-Semibold\'), url(https://fonts.gstatic.com/s/teko/v5/bV4GSZlFvf4yTwSQToixKg.woff2) format(\'woff2\');", " unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;", "}",	"/* devanagari */", "@font-face {", " font-family: \'Teko\';", " font-style: normal;", " font-weight: 700;", " src: local(\'Teko Bold\'), local(\'Teko-Bold\'), url(https://fonts.gstatic.com/s/teko/v5/xfVA9McSf3r4Zw3XiobqW_Y6323mHUZFJMgTvxaG2iE.woff2) format(\'woff2\');", " unicode-range: U+02BC, U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200B-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;", "}",	"/* latin-ext */", "@font-face {", " font-family: \'Teko\';", " font-style: normal;", " font-weight: 700;", " src: local(\'Teko Bold\'), local(\'Teko-Bold\'), url(https://fonts.gstatic.com/s/teko/v5/Pmw4xor8Ded5Fpinb3gclfY6323mHUZFJMgTvxaG2iE.woff2) format(\'woff2\');", " unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;", "}",	"/* latin */", "@font-face {", " font-family: \'Teko\';", " font-style: normal;", " font-weight: 700;", " src: local(\'Teko Bold\'), local(\'Teko-Bold\'), url(https://fonts.gstatic.com/s/teko/v5/vZNHrtAXYeQN4tfAPqsxxw.woff2) format(\'woff2\');", " unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;", "}",	"",	"/********** Various fixes **********/", "/* Set the font size to something more readable */", "",	"html {", "   font-size: 20px !important;", "}",	"",	"/* Remove background and borders */", "",	"body,", ".mw-body,", "#mw-page-base,", ".infobox,", ".thumbinner,", "#ca-nstab-main,", "#ca-nstab-main span #ca-talk,", "#ca-talk span,", "#ca-viewsource,", "#ca-viewsource span,", "#ca-history,", "#ca-history span,", "#ca-edit,", "#ca-edit span,", "#ca-ve-edit,", "#ca-ve-edit span,", "#toc,", "#simpleSearch,", ".vectorTabs,", ".vectorTabs *,", "h1,", "h2,", "h3,", ".inhalt,", ".portal {", "   background: none !important;", "   border: none !important;", "}",	"",	"/********** Links **********/", "",	"a, .mw-body a.external {", "   color: #268bd2;", "   transition: color .1s ease-in-out;", "   transition-property: color;", "   transition-duration: 0.1s;", "   transition-timing-function: ease-in-out;", "   transition-delay: initial;", "}",	"",	"a:hover, .mw-body a.external:hover {", "   text-decoration: none;", "   color: #22bbbb;", "}",	"",	"a:active {", "   text-decoration: none;", "   color: inherit;", "}",	"",	"a:visited {", "   color: #268bd2;", "}",	"",	"#mw-head a,", "#mw-panel a {", "   color: #515151 !important;", "}",	"",	"#mw-head a:hover,", "#mw-panel a:hover {", "   text-decoration: underline;", "}",	"",	"/*********** Fonts **********/", "",	"/* PT Sans Narrow Bold */", "",	"h2,", "h3,", "#firstHeading {", "   font-family: \"PT Sans Narrow\", \"Helvetica\", \"Arial\", sans-serif !important;", "   font-weight: bold;", "}",	"",	"/* PT Sans Narrow */", "",	"#mw-head,", "#mw-panel {", "   font-family: \"PT Sans Narrow\", \"Helvetica\", \"Arial\", sans-serif !important;", "}",	"",	"/* PT Serif */", "",	"body {", "   font-family: \"PT Serif\", \"Verdana\", serif !important;", "   text-rendering: optimizeLegibility;", "}",	"",	"/********** Head **********/", "",	"#mw-head {", "   max-width: 44rem !important;", "   ",	"    margin-left: auto;", "   margin-right: auto;", "   left: 10rem !important;", "   ",	"    padding: 0 2rem 1rem 2rem !important;", "   ",	"    box-shadow: 1rem -1rem 1rem -1rem #e8e8e8, -1rem -1rem 1rem -1rem #e8e8e8;", "   ",	"    font-size: 1.4rem;", "   font-family: \'Teko\' !important;", "   ",	"    background: #50585C !important;", "}",	"",	"#mw-head a, #mw-head * {", "   color: #f8f8fa !important;", "}",	"",	"#p-personal{", "   position: absolute;", "	right: 2rem;", "}",	"",	"#left-navigation {", "   margin-left: 0 !important;", "}",	"",	"#right-navigation, #left-navigation {", "	margin-top: 2.5rem;", "   margin-bottom: -0.7rem;", "}",	"",	"#p-views li, #p-namespaces li, #p-cactions {", "   margin-top: .8em;", "   vertical-align: bottom !important;", "   height: 1em !important;", "}",	"",	"#p-views a, #p-namespaces a, #p-cactions span { ", "   height: 1em !important;", "   ",	"    padding: .25rem !important;", "   margin-right: .5rem;", "}",	"",	"#p-search {", "   margin-left: 0;", "   margin-right: 0;", "   margin-top: .55rem;", "}",	"",	"#simpleSearch {", "   width: 12rem !important;", "   padding: 0em;", "   padding-bottom: .1rem;", "   background: #fff !important;", "   border-radius: .1rem;", "   ",	"    height: 1.2rem !important;", "}",	"",	"#simpleSearch input[name=\'search\']{", "   font-size: .65em !important;", "   color: #555 !important;", "   ",	"    position: absolute !important;", "   top: 0 !important;", "}",	"",	".suggestions {", "   width: 13.9rem !important;", "   margin-left: auto;", "   margin-right: auto;", "   position: absolute !important;", "   right: 0 !important;", "   left: 0 !important;", "	padding: 0rem;", "   padding-left: 39.9rem;", "}",	"",	"/********** Panel **********/", "",	"#mw-panel {", "   top: 0 !important;", "   padding-top: 7rem !important;", "   padding-bottom: 1rem;", "   width: 10rem !important;", "   ",	"    font-size: 1.1rem !important;", "   ",	"    background: #50585C !important;", "}",	"",	"#mw-panel a, #mw-panel h3 {", "   color: #f8f8fa !important;", "}",	"",	"/* Logo */", "",	"#p-logo {", "   padding-left: .5rem !important;", "   top: -1rem !important;", "}",	"",	".mw-wiki-logo {", "   /* background-image: url(https://upload.wikimedia.org/wikipedia/commons/4/46/Wikipedia-W-visual-balanced.svg); */", "   background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/e/ed/Wikipedia-logo-white.svg/2000px-Wikipedia-logo-white.svg.png);", "   background-size: 9rem;", "   margin-left: -1.5rem;", "}",	"",	".portal {", "   padding-top: 0 !important;", "   padding-bottom: 0 !important;", "}",	"",	".portal h3 {", "   margin-top: .3rem !important;", "   padding-left: 0 !important;", "   ",	"    font-weight: bold !important;", "   font-size: 1rem !important;", "}",	"",	".portal .body {", "   margin-left: 0 !important;", "}",	"",	"/********** Headings **********/", "",	"h1 {", "   margin-bottom: .1rem !important;", "   /* color: #383838; */", "   color: #50585C;", "   font-size: 2rem !important;", "}",	"",	"#siteSub {", "   color: #888888;", "   font-size: .75rem;", "}",	"",	"h2 {", "	font-size: 1.4rem !important;", "   color: #50585C;", "}",	"",	"h3 {", "   font-size: 1.2rem !important;", "   color: #50585C;", "}",	"",	"/* .mediawiki */", "",	".mediawiki {", "   padding-left: 10rem;", "   background: #fafafa !important;", "}",	"",	".ambox {", "   border: 1px solid #f4f4f4 !important;", "   background: #fff !important;", "   border-left: 8px solid #f28500 !important;", "   border-radius: 7px;", "   box-shadow: 0 0 .6rem #eee;", "   ",	"    padding: .4rem;", "   margin: 1.4rem !important;", "}",	"",	"/* Nested amboxes */", ".ambox * .ambox {", "   border: 0 !important;", "   box-shadow: none;", "}",	"",	"/* Table of contents */", "#toctitle {", "   text-align: left !important;", "}",	"",	"/* Content */", "#content {", "   max-width: 44rem;", "   ",	"    margin-left: auto;", "   margin-right: auto;", "	margin-top: 1rem;", "   ",	"    padding: 2rem;", "   padding-top: 2rem;", "   ",	"    color: #50585C !important;", "   line-height: 1.5;", "   font-size: 1rem;", "   background: #fff !important;", "   ",	"	box-shadow: 1rem 0 1rem -1rem #e8e8e8, -1rem 0 1rem -1rem #e8e8e8;", "}" ].join("\n"); if (typeof GM_addStyle != "undefined") { GM_addStyle(css); } else if (typeof PRO_addStyle != "undefined") { PRO_addStyle(css); } else if (typeof addStyle != "undefined") { addStyle(css); } else { var node = document.createElement("style"); node.type = "text/css"; node.appendChild(document.createTextNode(css)); var heads = document.getElementsByTagName("head"); if (heads.length > 0) { heads[0].appendChild(node); } else { // no head yet, stick it whereever document.documentElement.appendChild(node); } } });