洛谷+Hydro美化插件
立即下载
资源介绍:
洛谷 | 计算机科学教育新生态 + Hydro Online Judge两大在线系统 Chrome-based 浏览器插件。
// ==UserScript==
// @name Amazing Luogu BETA
// @namespace http://userstyles.org
// @description 洛谷美化css
// @author hello8693
// @homepage https://userstyles.org/styles/217166
// @run-at document-start
// @version 1.0.0
// @match *://www.luogu.com.cn/*
// @license MIT
// ==/UserScript==
(function() {var css = "";
if (false || (new RegExp("^((?!blog).)*https://www.luogu.org((?!blog).)*$")).test(document.location.href) || (new RegExp("^((?!blog).)*http://www.luogu.org((?!blog).)*$")).test(document.location.href) || (new RegExp("^((?!blog).)*https://www2.luogu.org((?!blog).)*$")).test(document.location.href) || (new RegExp("^((?!blog).)*http://www2.luogu.org((?!blog).)*$")).test(document.location.href) || (new RegExp("^((?!blog).)*https://www.luogu.com.cn((?!blog).)*$")).test(document.location.href) || (new RegExp("^((?!blog).)*http://www.luogu.com.cn((?!blog).)*$")).test(document.location.href) || (new RegExp("^((?!blog).)*https://class.luogu.com.cn((?!blog).)*$")).test(document.location.href) || (new RegExp("^((?!blog).)*http://class.luogu.com.cn((?!blog).)*$")).test(document.location.href))
css += [
"/*---Bug修复---*/",
".info[data-v-a3bbe6d6] {",
"margin-right: 100px;",
"}",
//"html, body {",
// "overflow: overlay;",
//"}",
".wrapped[data-v-343f8c6f] {",
"padding-left: 0em;",
"padding-right: 0em;",
"}",
".main-container > .lfe-body:last-child {",
"padding-top: 250px;",
"}",
"/*---对于基本控件的处理*/",
"/*--字体引用*/",
"@font-face {",
" font-family: \'Open Sans\';",
" font-style: normal;",
" font-weight: 300;",
" src: local(\'Open Sans Light\'), local(\'OpenSans-Light\'), url(https://fonts.gstatic.com/s/opensans/v15/mem5YaGs126MiZpBA-UN_r8OX-hpOqc.woff2) format(\'woff2\');",
" unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F",
"}",
"@font-face {",
" font-family: \'Open Sans\';",
" font-style: normal;",
" font-weight: 300;",
" src: local(\'Open Sans Light\'), local(\'OpenSans-Light\'), url(https://fonts.gstatic.com/s/opensans/v15/mem5YaGs126MiZpBA-UN_r8OVuhpOqc.woff2) format(\'woff2\');",
" unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116",
"}",
"@font-face {",
" font-family: \'Open Sans\';",
" font-style: normal;",
" font-weight: 300;",
" src: local(\'Open Sans Light\'), local(\'OpenSans-Light\'), url(https://fonts.gstatic.com/s/opensans/v15/mem5YaGs126MiZpBA-UN_r8OXuhpOqc.woff2) format(\'woff2\');",
" unicode-range: U+1F00-1FFF",
"}",
"@font-face {",
" font-family: \'Open Sans\';",
" font-style: normal;",
" font-weight: 300;",
" src: local(\'Open Sans Light\'), local(\'OpenSans-Light\'), url(https://fonts.gstatic.com/s/opensans/v15/mem5YaGs126MiZpBA-UN_r8OUehpOqc.woff2) format(\'woff2\');",
" unicode-range: U+0370-03FF",
"}",
"@font-face {",
" font-family: \'Open Sans\';",
" font-style: normal;",
" font-weight: 300;",
" src: local(\'Open Sans Light\'), local(\'OpenSans-Light\'), url(https://fonts.gstatic.com/s/opensans/v15/mem5YaGs126MiZpBA-UN_r8OXehpOqc.woff2) format(\'woff2\');",
" unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB",
"}",
"@font-face {",
" font-family: \'Open Sans\';",
" font-style: normal;",
" font-weight: 300;",
" src: local(\'Open Sans Light\'), local(\'OpenSans-Light\'), url(https://fonts.gstatic.com/s/opensans/v15/mem5YaGs126MiZpBA-UN_r8OXOhpOqc.woff2) format(\'woff2\');",
" unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF",
"}",
"@font-face {",
" font-family: \'Open Sans\';",
" font-style: normal;",
" font-weight: 300;",
" src: local(\'Open Sans Light\'), local(\'OpenSans-Light\'), url(https://fonts.gstatic.com/s/opensans/v15/mem5YaGs126MiZpBA-UN_r8OUuhp.woff2) format(\'woff2\');",
" unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD",
"}",
"@font-face {",
" font-family: \'Open Sans\';",
" font-style: normal;",
" font-weight: 400;",
" src: local(\'Open Sans Regular\'), local(\'OpenSans-Regular\'), url(https://fonts.gstatic.com/s/opensans/v15/mem8YaGs126MiZpBA-UFWJ0bbck.woff2) format(\'woff2\');",
" unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F",
"}",
"@font-face {",
" font-family: \'Open Sans\';",
" font-style: normal;",
" font-weight: 400;",
" src: local(\'Open Sans Regular\'), local(\'OpenSans-Regular\'), url(https://fonts.gstatic.com/s/opensans/v15/mem8YaGs126MiZpBA-UFUZ0bbck.woff2) format(\'woff2\');",
" unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116",
"}",
"@font-face {",
" font-family: \'Open Sans\';",
" font-style: normal;",
" font-weight: 400;",
" src: local(\'Open Sans Regular\'), local(\'OpenSans-Regular\'), url(https://fonts.gstatic.com/s/opensans/v15/mem8YaGs126MiZpBA-UFWZ0bbck.woff2) format(\'woff2\');",
" unicode-range: U+1F00-1FFF",
"}",
"@font-face {",
" font-family: \'Open Sans\';",
" font-style: normal;",
" font-weight: 400;",
" src: local(\'Open Sans Regular\'), local(\'OpenSans-Regular\'), url(https://fonts.gstatic.com/s/opensans/v15/mem8YaGs126MiZpBA-UFVp0bbck.woff2) format(\'woff2\');",
" unicode-range: U+0370-03FF",
"}",
"@font-face {",
" font-family: \'Open Sans\';",
" font-style: normal;",
" font-weight: 400;",
" src: local(\'Open Sans Regular\'), local(\'OpenSans-Regular\'), url(https://fonts.gstatic.com/s/opensans/v15/mem8YaGs126MiZpBA-UFWp0bbck.woff2) format(\'woff2\');",
" unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB",
"}",
"@font-face {",
" font-family: \'Open Sans\';",
" font-style: normal;",
" font-weight: 400;",
" src: local(\'Open Sans Regular\'), local(\'OpenSans-Regular\'), url(https://fonts.gstatic.com/s/opensans/v15/mem8YaGs126MiZpBA-UFW50bbck.woff2) format(\'woff2\');",
" unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF",
"}",
"@font-face {",
" font-family: \'Open Sans\';",
" font-style: normal;",
" font-weight: 400;",
" src: local(\'Open Sans Regular\'), local(\'OpenSans-Regular\'), url(https://fonts.gstatic.com/s/opensans/v15/mem8YaGs126MiZpBA-UFVZ0b.woff2) format(\'woff2\');",
" unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD",
"}",
"@font-face {",
" font-family: \'Open Sans\';",
" font-style: normal;",
" font-weight: 600;",
" src: local(\'Open Sans SemiBold\'), local(\'OpenSans-SemiBold\'), url(https://fonts.gstatic.com/s/opensans/v15/mem5YaGs126MiZpBA-UNirkOX-hpOqc.woff2) format(\'woff2\');",
" unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F",
"}",
"@font-face {",
" font-family: \'Open Sans\';",
" font-style: normal;",
" font-weight: 600;",
" src: local(\'Open Sans SemiBold\'), local(\'OpenSans-SemiBold\'), url(https://fonts.gstatic.com/s/opensans/v15/mem5YaGs126MiZpBA-UNirkOVuhpOqc.woff2) format(\'woff2\');",
" unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116",
"}",
"@font-face {",
" font-family: \'Open Sans\';",
" font-style: normal;",
" font-weight: 600;",
" src: local(\'Open Sans SemiBold\'), local(\'OpenSans-SemiBold\'), url(https://fonts.gstatic.com/s/opensans/v15/mem5YaGs126MiZpBA-UNirkOXuhpOq