// ==UserScript== // @name 洛谷优化(别人没在做 Greasy Fork 发布,我替他发了) // @namespace https://greasyfork.org/users/927246 // @version 0.3.4 // @description 看看吧 // @author A1438329629 // @match https://www.luogu.com.cn/* // @grant none // @license MIT // @require https://code.jquery.com/jquery-3.6.0.min.js // @downloadURL https://update.greasyfork.icu/scripts/447003/%E6%B4%9B%E8%B0%B7%E4%BC%98%E5%8C%96%28%E5%88%AB%E4%BA%BA%E6%B2%A1%E5%9C%A8%E5%81%9A%20Greasy%20Fork%20%E5%8F%91%E5%B8%83%EF%BC%8C%E6%88%91%E6%9B%BF%E4%BB%96%E5%8F%91%E4%BA%86%29.user.js // @updateURL https://update.greasyfork.icu/scripts/447003/%E6%B4%9B%E8%B0%B7%E4%BC%98%E5%8C%96%28%E5%88%AB%E4%BA%BA%E6%B2%A1%E5%9C%A8%E5%81%9A%20Greasy%20Fork%20%E5%8F%91%E5%B8%83%EF%BC%8C%E6%88%91%E6%9B%BF%E4%BB%96%E5%8F%91%E4%BA%86%29.meta.js // ==/UserScript== (function() {var css = ""; if (false || (new RegExp("^https://www.luogu(.org|.com.cn)/(?!blog).*$")).test(document.location.href)) css += [ "/*luogu主站*/", "", "/*定义*/", "@keyframes showAPP {", " 0% {", " opacity: 0;", " margin-left: -300px;", " }", "", " 100% {", " opacity: 1;", " margin-left: 3px;", " }", "}", "", "@keyframes showtop {", " 0% {", " opacity: 0;", " margin-left: -100px;", " }", "", " 100% {", " opacity: 1;", " margin-left: 0px;", " }", "}", "", "@keyframes showUI {", " 0% {", " opacity: 0;", " margin-top: -50px;", " }", "", " 100% {", " opacity: 1;", " margin-top: 20px;", " }", "}", "", "@keyframes slowshow {", " 0% {", " opacity: 0;", " }", "", " 100% {", " opacity: 1;", " }", "}", "", "@keyframes clan {", " 0% {", " margin-top: 9%;", " height: 38%;", " }", "}", "/*滚动条*/", "::-webkit-scrollbar {", " width: 5px;", " height: 10px;", " background-color: rgba(0, 0, 0, .12);", "}", "", "::-webkit-scrollbar-track {", " background-color: rgba(217, 135, 230, .25);", "}", "", "::-webkit-scrollbar-thumb {", " background-color: rgba(137, 81, 234, .99);", "}", "", "::-webkit-scrollbar-thumb:hover {", " background-color: #5e72e4;", "}", "/*--标题栏*/", ".main-container > .header-layout .background {", " display: none !important;", "}", "", "/*超链接*/", "a {", " transition: all .15s ease;", " color: #005C97;", "}", "", "a:hover {", " color: #fa4b4b;", "}", "/*列表*/", ".lfe-h1[data-v-2dfcfd35] {", " animation: showtop 1s 1;", "}", "/*图片背景*/", ".main-container > main.lfe-body {", " background: transparent !important;", "}", "", ".background[data-v-7958fe72] {", " background: transparent !important;", "}", "", "html > body {", " background-image: url(https://cdn.luogu.com.cn/upload/image_hosting/plx92p9z.png) !important;", " background-repeat: no-repeat;", " background-size: cover;", " background-position: center;", " background-attachment: fixed;", "}", "/*顶栏*/", "#app > .main-container > .header-layout.tiny[data-v-7958fe72] {", " height: 60px;", " width: 110%;", " margin-left: -4%;", " padding-left: 4%;", " background-image: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%) !important;", "}", "", "#app > .main-container > .header-layout.tiny[data-v-7958fe72]:hover {", " background-image: linear-gradient(120deg, #f0c3fc 0%, #8fc5fc 100%) !important;", "}", "/*讨论列表*/", ".lfe-h1[data-v-2dfcfd35] {", " font-size: 60px;", "}", "", "main {", " margin-top: 50px;", "}", "", ".lg-content-table-left {", " transition: all .5s ease;", " box-shadow: 1px 1px 5px #3C4143;", " border-radius: 30px;", " margin-top: 20px;", " padding-left: 30px;", " padding-right: 30px;", " padding-bottom: 20px;", " position: relative;", " background: #fcfcfc;", "}", "", ".lg-content-table-left:hover {", " box-shadow: 3px 3px 20px #3C4143;", "}", ".am-comment-main > .am-comment-bd {", " transition: all .5s ease;", " border-radius: 0rem 0rem 2rem 2rem !important;", "}", "", ".am-comment.am-comment-primary > .am-comment-main {", " transition: all .5s ease;", " box-shadow: 3px 3px 20px #3C4143;", " border-radius: 0rem 0rem 2rem 2rem !important;", "}", "", ".am-comment-main {", " transition: all .5s ease;", " box-shadow: 3px 3px 20px #3C4143;", " border-radius: 0rem 0rem 2rem 2rem !important;", "}", "/*按钮*/", ".am-btn.am-btn-danger.am-btn-sm {", " background: #ff416c;", " /* fallback for old browsers */", " background: -webkit-linear-gradient(to right, rgb(255, 65, 108), rgb(255, 75, 43));", " /* Chrome 10-25, Safari 5.1-6 */", " background: linear-gradient(to right, rgb(255, 65, 108), rgb(255, 75, 43));", " /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */", " border: 1px !important;", "}", "", ".am-btn.am-btn-primary.am-btn-sm {", " background: #7f7fd5;", " border: 0px !important;", "}", "", ".am-btn.am-btn-success.am-btn-sm {", " background: #b993d6;", " border: 0px !important;", "}", "", "/*提交*/", ".lfe-form-sz-middle[data-v-7ade990c] {", " transition: all .45s ease;", " border-radius: 10px;", "}", "", ".button-in-anchor.lfe-form-sz-middle[data-v-cc52fb5c] {", " transition: all .45s ease;", " border-radius: 10px;", "}", "", ".lfe-form-sz-middle[data-v-7ade990c]:hover {", " transform: translateY(-1px);", " border-radius: 99px;", "}", "", ".button-in-anchor.lfe-form-sz-middle[data-v-cc52fb5c]:hover {", " transform: translateY(-1px);", " border-radius: 99px;", "}", "/*相关讨论*/", "li[data-v-2017244a] {", " animation: slowshow 1s .45;", "}", "/*侧栏*/", "/*carbonluogu*/", "#app > .lfe-body {", " background: #fafafa !important/*linear-gradient(30deg,#7795f8 15%,#6772e5 70%,#555abf 94%)*/;", " box-shadow: 4px 5px 15px rgba(91, 91, 91, .4), 2px 5px 8px rgba(121, 121, 121, .56)!important;", "}", "", "#app > .lfe-body > a {", " color: #c9e7fa !important;", " height: 3.7em;", " margin-top: 3px;", " padding: 0 !important;", "}", "", "#app > .lfe-body > a:hover {", " color: #0e0063 !important;", "}", "", "#app > .lfe-body > a:first-of-type {", " margin-top: 10px !important;", "}", "", "#app > .lfe-body > a > .icon {", " line-height: 2.4em;", " font-size: 18px;", " width: 100%;", " margin: 0 !important;", " transition: all 0.2s ease;", "}", "", "#app > .lfe-body > a > .text {", " opacity: 0;", " margin-top: -2em;", " display: block;", " transition: all 0.3s ease;", "}", "", "#app > .lfe-body > a:hover > .icon {", " line-height: 1.5em;", " font-size: 17px;", "}", "", "#app > .lfe-body > a:hover > .text {", " opacity: 1;", " margin-top: 0.2em;", "}", "", "#app > .lfe-body > div:first-of-type {", " background-color: #d2e0df !important;", "}", "", "#app > .lfe-body > .popup-button {", " background-color: transparent !important;", " margin-top: 8px;", " color: #5e72e4 !important;", "}", "#app > .lfe-body {", " background-color: transparent !important;", " border-radius: 30px;", " margin-left: 10px;", " margin-top: 8%;", " padding-bottom: 25px;", " height: 50%;", "}", "", ".color-none[data-v-303bbf52][data-v-639bc19b][data-v-5e85f938]:hover {", " background-color: #fff;", " border-radius: 10px;", "}", "", "img[data-v-27b2cd59] {", " opacity: .7;", "}", "", "#app > .lfe-body > div:first-of-type {", " background-image: url(https://cdn.luogu.com.cn/upload/image_hosting/plx92p9z.png) !important;", " background-repeat: no-repeat;", " background-size: cover;", " background-position: center;", " border-radius: 30px;", " background-attachment: revert;", "}", "/*题目分析栏*/", "path.highcharts-area {", " color: white;", " background: white;", " fill: #5E72E496;", "}", "", "path.highcharts-point.highcharts-color-0 {", " fill: #5E72E4;", "}", "", "rect.highcharts-point.highcharts-color-1 {", " border-top-left-radius: 99px!important;", " background: linear-gradient(70deg, #f00 0%, #ffa600 15%, #fbff00 30%, #00ff2e 45%, #0fe 60%, #0003ff 75%, #b600ff 90%);", " fill: #fff;", " stroke: #DE9EE67A;", " stroke-width: 2;", "}", "/*记录详情 */", ".wrapper > .test-case {", " border-radius: 10px;", " opacity: .9;", " transition: all 0.3s ease;", "}", "", ".wrapper > .test-case:hover {", " transform: translateY(-2px);", " border-radius: 13px;", " opacity: 1;", "}", "", ".message[data-v-21e0a7cc] {", " border-radius: 10px;", "}", "/*弹窗*/", ".swal2-popup.swal2-modal.swal2-show {", " border-radius: 50px;", "}", "", ".swal2-actions > .swal2-confirm.swal2-styled {", " border-radius: 99px;", "}", "", ".swal2-actions > .swal2-cancel.swal2-styled {", " border-radius: 99px;", "}", "/*卡片*/", ".lg-article:hover {", " background: rgba(255, 255, 255, .95);", " box-shadow: 3px 3px 20px #1f1f1f;", "}", "", ".card.padding-default:hover {", " background: rgba(255, 255, 255, .95);", " box-shadow: 3px 3px 20px #1f1f1f;", "}", "", ".card.problem-card.padding-default:hover {", " transform: translateY(-1px);", " border-radius: 20px 20px 20px 20px;", " background: rgba(255, 255, 255, .95);", " box-shadow: 3px 3px 20px #656565;", "}", "/*复制按钮*/", ".copy-btn.lfe-form-sz-middle {", " animation: slowshow 1s 1;", " transition: 0s;", " border-radius: 8px;", " color: #05107c !important;", " border-color: #e0c3fc !important;", "}", "", ".copy-btn.lfe-form-sz-middle:hover {", " transform: translateY(-1px);", " background-color: #fff !important;", " transition: .4s;", " opacity: .5;", "}", "", ".copy-btn.lfe-form-sz-middle {", " background-color: #fff !important;", " opacity: .8;", " transition: 1s;", "}", "", ".copy-btn.lfe-form-sz-middle:active {", " background-color: #fff !important;", " opacity: 1;", " transition: 0s;", "}", "/*rated*/", ".am-badge.am-radius.lg-bg-green {", " background: #00b09b;", " /* fallback for old browsers */", " background: -webkit-linear-gradient(to right, rgb(0, 176, 155), rgb(150, 201, 61));", " /* Chrome 10-25, Safari 5.1-6 */", " background: linear-gradient(to right, rgb(0, 176, 155), rgb(150, 201, 61));", " /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */", " border-radius: 10px;", " transition: all 0.3s ease;", "}", "", ".am-badge.am-radius.lg-bg-green:hover {", " transform: translateY(-2px);", "}", "/*通过条*/", ".bar[data-v-7626d048] {", " background: #7f7fd5;", " /* fallback for old browsers */", " background: -webkit-linear-gradient(to right, rgb(127, 127, 213), rgb(134, 168, 231), rgb(145, 234, 228));", " /* Chrome 10-25, Safari 5.1-6 */", " background: linear-gradient(to right, rgb(127, 127, 213), rgb(134, 168, 231), rgb(145, 234, 228));", " /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */", " ;", "}", "/*输入框*/", ".am-form-field {", " font-weight: bold;", " transition: all .2s ease;", " box-shadow: 2px 2px 3px #bab9b9;", " border: 0;", " border-radius: 10px !important;", "}", "", ".am-form-field:hover {", " transition: all .2s ease;", " box-shadow: 3px 3px 9px #bab9b9;", "}", "", ".refined-input.input-wrap.frame[data-v-66fcc50b][data-v-8cc386e2] {", " border: 0;", "}", "", ".lfe-form-sz-middle {", " font-weight: bold;", " transition: all .2s ease;", " box-shadow: 2px 2px 3px #bab9b9;", " border: 0;", " border-radius: 10px !important;", "}", "", ".lfe-form-sz-middle:hover {", " box-shadow: 2px 2px 10px #bab9b9;", "}", "", ".refined-input.input-wrap.frame {", " border: 0;", "}", "", ".lfe-form-sz-small {", " font-weight: bold;", " transition: all .2s ease;", " box-shadow: 2px 2px 3px #bab9b9;", " border: 0;", " border-radius: 10px !important;", "}", "", ".lfe-form-sz-small:hover {", " box-shadow: 2px 2px 10px #bab9b9;", "}", "", "/*user-header-top*/", ".user-header-top[data-v-2424f61c][data-v-f9624136] {", " margin-top: -60px !important;", "}", "/*exlg*/", "#exlg-dash {", " border-radius: 30px !important;", "}", "", ".exlg-badge {", " border-radius: 5px;", "}", "", ".exlg-window {", " transition: all .4s ease !important;", " -webkit-backdrop-filter: blur(2px) !important;", " backdrop-filter: blur(2px) !important;", " background: rgba(255, 255, 255, .3) !important;", "}", "", ".exlg-rand-settings {", " transition: all .5s ease !important;", "}", "", ".exlg-window:hover {", " background: #e0e0e0;", " box-shadow: 1px 1px 10px #373737,", " -1px -1px 10px #777 !important;", " transition: all .4s ease !important;", " backdrop-filter: blur(5px) !important;", " -webkit-backdrop-filter: blur(5px) !important;", " border: 0px solid rgba(255, 255, 255, 0.18) !important;", " border-radius: 10px !important;", " -webkit-border-radius: 10px !important;", " color: rgba(255, 255, 255, 0.15);", " background: rgba(255, 255, 255, .4) !important;", "}", "", ".exlg-smallbtn.exlg-unselectable {", " animation: slowshow 1s 1;", "}", "", ".exlg-emo-btn {", " font-weight: bold;", "}", "", ".exlg-emo-btn:hover {", " box-shadow: 0px 5px 10px #000 !important;", "}", "/*圆角化 */", ".am-btn.am-btn-sm {", " border-radius: 20px !important;", "}", "", ".lfe-caption.tag.status-name[data-v-43a42535] {", " border-radius: 20px !important;", "}", "", ".card.padding-default {", " border-radius: 20px 20px 20px 20px !important;", " background: rgba(255, 255, 255, .8);", " box-shadow: 0px 0px 0px #8f8f8f;", "}", "", ".lg-article {", " animation: slowshow .5s 1;", " transition: all 0.5s ease;", " border-radius: 20px 20px 20px 20px !important;", " background: rgba(255, 255, 255, .9);", " box-shadow: 0px 0px 0px #8f8f8f;", "}", "", ".dropdown > .center {", " border-radius: 20px 20px 20px 20px !important;", " box-shadow: 5px 5px 17px #525252cc;", "}", "", ".popup[data-v-1d675dd8] {", " background-color: green;", " width: 150px;", " height: 150px;", " animation: showAPP .5s 1;", " box-shadow: 5px 5px 17px #8f8f8f7a;", " margin-left: 3px;", " width: 11.4em;", " height: 13.7em;", " background: #fff;", " background-color: rgb(255, 255, 255);", " background-clip: border-box;", " border-radius: 15px !important;", " border: 0px solid rgba(0, 0, 0, .2);", "}", "", ".apps a[data-v-1d675dd8] {", " padding: .3em;", " color: #333;", " border-radius: 99px !important;", "}", "", ".padding-none[data-v-f9624136] {", " border-radius: 30px !important;", "}", "/*用户顶栏*/", ".user-nav[data-v-2dfcfd35] {", " animation: showUI 1s 1;", " transition: all .5s ease;", " background: rgba(255, 255, 255, .4);", " margin-top: 20px;", " border-radius: 25px !important;", "}", "", ".user-nav[data-v-2dfcfd35]:hover {", " background: rgba(255, 255, 255, .6);", "}", "", ".card.problem-card.padding-default {", " animation: slowshow .5s 1;", " border-radius: 20px 20px 20px 20px !important;", " background: rgba(255, 255, 255, .8);", " box-shadow: 0px 0px 0px #8f8f8f;", "}", "", ".card.padding-default {", " transition: all .5s ease;", " border-radius: 20px 20px 20px 20px !important;", " background: rgba(255, 255, 255, .8);", " box-shadow: 0px 0px 0px #8f8f8f;", "}", "", ".card.user-header-container.padding-0 {", " width: 100%;", " border-radius: 20px 20px 20px 20px !important;", " background: rgba(255, 255, 255, .9);", " box-shadow: 0px 0px 0px #8f8f8f;", " height: 400px;", "}", "", ".card.user-header-container.padding-0 > .user-header-top {", " height: 320px;", "}", "", ".select-button.lfe-form-sz-small {", " border-radius: 30px !important;", "}", "", ".progress-frame > div[data-v-47712372] {", " width: 100%;", " height: 100%;", " border-radius: 10px 0 0 10px;", " background: #8e2de2;", " /* fallback for old browsers */", " background: -webkit-linear-gradient(to right, rgb(142, 45, 226), rgb(74, 0, 224));", " /* Chrome 10-25, Safari 5.1-6 */", " background: linear-gradient(to right, rgb(142, 45, 226), rgb(74, 0, 224)) /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */ !important;", "}", "", ".color-default > .lfe-caption {", " border-radius: 20px !important;", "}", "", ".tag.color-none > .lfe-caption {", " border-radius: 20px !important;", "}", "", ".selected[data-v-66021821] {", " border-radius: 10px !important;", "}", "", ".bottom.float-bottom {", " animation: slowshow 1s 1;", " margin-bottom: 4px;", " border-radius: 20px !important;", "}", "", ".card.float-card.padding-0 {", " border-radius: 20px !important;", " box-shadow: 1px 1px 20px #5c5c5c !important;", "}" ].join("\n"); if (false || (document.location.href.indexOf("https://ti.luogu.com.cn/") == 0)) css += [ "/*luogu有题*/", "/*全局*/", "@keyframes showtop {", " 0% {", " opacity: 0;", " margin-left: -100px;", " }", "", " 100% {", " opacity: 1;", " margin-left: 0px;", " }", "}", "", "@keyframes slowshow {", " 0% {", " opacity: 0;", " }", "", " 100% {", " opacity: 1;", " }", "}", "", "@keyframes userUI {", " 0% {", " opacity: 0;", " transform: translateY(-60px);", " }", "", " 100% {", " opacity: .7;", " }", "}", "", "@keyframes showUI {", " 0% {", " height: 1%;", " opacity: 0;", " }", "", " 100% {", " opacity: 1;", " }", "}", "", ".user-nav {", " margin-top: 15px;", " margin-right: -70px;", " animation: userUI 1s;", " opacity: .7;", " transition: all .5s ease;", "}", "/*背景*/", "html > body {", " background-image: url(https://cdn.luogu.com.cn/upload/image_hosting/plx92p9z.png) !important;", " background-repeat: no-repeat;", " background-size: cover;", " background-position: center;", " background-attachment: fixed;", "}", "", "#app-header {", " background: transparent !important;", "}", "", "#app-footer {", " background: transparent !important;", "}", "/*用户栏*/", ".user-nav:hover {", " opacity: 1;", "}", "/*侧栏*/", "img[data-v-22b18d46] {", " opacity: .7;", "}", "", "#app-sidenav {", " animation: showUI 1s;", " margin-top: 10% !important;", " height: 20%;", " border-radius: 99px;", " margin-left: 10px;", "}", "", ".icon.fa.fa-book {", " color: #f2f2f2 !important;", " margin-top: 3px;", " padding: 0 !important;", "}", "", ".sm-hide.router-link-active.color-default {", " border-radius: 99px !important;", "}", "", "#app-sidenav {", " background-color: #316cff;", "}", "", ".sm-hide.router-link-active.color-default {", " background-image: url(https://cdn.luogu.com.cn/upload/image_hosting/plx92p9z.png) !important;", " background-repeat: no-repeat;", " background-size: cover;", " background-position: center;", " border-radius: 30px;", " background-attachment: revert;", "}", "/*顶栏字体大小*/", "h1[data-v-d7da57a6] {", " animation: showtop 1s;", " font-size: 50px;", "}", "", "main {", " margin-top: 20px;", "}", "/*卡片*/", ".card {", " transition: all .7s ease;", " box-shadow: 1px 1px 15px #4f4f4f;", "}", "", ".card:hover {", " transform: translateY(-1px);", " box-shadow: 2px 2px 25px #000;", "}", "", ".problemsets.card {", " transition: all .7s ease;", " box-shadow: 1px 1px 15px #4f4f4f;", "}", "", ".problemsets.card:hover {", " transform: translateY(-1px);", " box-shadow: 2px 2px 25px #000;", "}", "/*字*/", "[data-v-3be7235c] {", " color: #000;", "}", "/*超链接*/", "a {", " transition: .5s;", "}", "", "a:hover {", " color: #f72525 !important;", "}", "/*题目列表*/", ".clickable {", " transition: all .5s ease;", " border-radius: 10px;", "}", "", ".clickable:hover {", " transform: translateY(-1px);", " box-shadow: 1px 1px 5px #000;", "}", "/*按钮*/", "button[data-v-79732b4a] {", " transition: all .3s ease;", " border-radius: 15px;", "}", "", ".second-button {", " background-color: #fef5ff !important;", "}", "", "button[data-v-79732b4a]:hover {", " box-shadow: 1px 1px 5px #000;", " transform: translateY(-1px);", " border-radius: 20px;", "}", "/* -------------------------------- 圆角化 --------------------------------- */", ".problemsets.card {", " border-radius: 20px !important;", "}", "", ".card {", " border-radius: 20px !important;", "}", "", ".user-nav {", " border-radius: 20px !important;", "}" ].join("\n"); if (false || (document.location.href.indexOf("https://class.luogu.com.cn/") == 0)) css += [ "/*网校*/", "/*全局*/", "@keyframes showtop {", " 0% {", " opacity: 0;", " margin-left: -100px;", " }", "", " 100% {", " opacity: 1;", " margin-left: 0px;", " }", "}", "", "@keyframes slowshow {", " 0% {", " opacity: 0;", " }", "", " 100% {", " opacity: 1;", " }", "}", "", "@keyframes userUI {", " 0% {", " opacity: 0;", " transform: translateY(-60px);", " }", "", " 100% {", " opacity: .7;", " }", "}", "", "@keyframes showUI {", " 0% {", " height: 20% !important;", " opacity: 0;", " }", "", " 100% {", " opacity: 1;", " }", "}", "", ".user-nav {", " margin-top: 15px;", " margin-right: -70px;", " animation: userUI 1s;", " opacity: .7;", " transition: all .5s ease;", "}", "/*背景*/", "html > body {", " background-image: url(https://cdn.luogu.com.cn/upload/image_hosting/plx92p9z.png) !important;", " background-repeat: no-repeat;", " background-size: cover;", " background-position: center;", " background-attachment: fixed;", "}", "", ".wrapped.lfe-body {", " background: transparent !important;", "}", "/*用户栏*/", ".user-nav:hover {", " opacity: 1;", "}", "/*卡片*/", ".card {", " transition: all .7s ease;", " box-shadow: 1px 1px 15px #4f4f4f;", "}", "", ".card:hover {", " transform: translateY(-1px);", " box-shadow: 2px 2px 25px #000;", "}", "", ".problemsets.card {", " transition: all .7s ease;", " box-shadow: 1px 1px 15px #4f4f4f;", "}", "", ".problemsets.card:hover {", " transform: translateY(-1px);", " box-shadow: 2px 2px 25px #000;", "}", "", ".card.padding-default[data-v-796309f8][data-v-4880a829]:hover {", " box-shadow: 1px 1px 0px #4f4f4f;", "}", "/*tiny*/", ".wrapped.lfe-body.header-layout.tiny {", " background-image: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%) !important;", " opacity: .9 !important;", "}", "", ".wrapped.lfe-body.header-layout.tiny:hover {", " opacity: 1 !important;", "}", "/*超链接*/", "a {", " transition: .5s;", "}", "", "a:hover {", " color: #f72525 !important;", "}", "/*字体*/", ".lfe-h1 {", " font-size: 3rem;", "}", "/*侧栏/kk*/", ".logo-wrap[data-v-27b2cd59] {", " background-image: url(https://cdn.luogu.com.cn/upload/image_hosting/plx92p9z.png) !important;", " background-repeat: no-repeat;", " background-size: cover;", " background-position: center;", " border-radius: 30px;", " background-attachment: revert;", " border-radius: 99px;", "}", "", "[data-v-27b2cd59] {", " border-radius: 99px;", "}", "", ".lfe-body[data-v-0145b689] {", " margin-top: 10% !important;", " height: 30% !important;", "}", "", "nav[data-v-27b2cd59] {", " background-color: #442fff !important;", " animation: showUI 1s;", "}", "", ".wrapped.lfe-body.header-layout.tiny {", " margin-top: 0rem !important;", " height: 4rem !important;", " margin-left: -5rem !important;", " padding-left: 5rem;", "}", "/*选择按钮*/", ".selected {", " background-color: #6954ee !important;", "}", "/* -------------------------------- 圆角化 --------------------------------- */", ".problemsets.card {", " border-radius: 20px !important;", "}", "", ".card {", " border-radius: 20px !important;", "}", "", ".user-nav {", " border-radius: 20px !important;", "}", "", ".lfe-form-sz-middle {", " border-radius: 99px !important;", "}" ].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); } } })();