From 5ff28418e48dba6a26cf19489bbde7558d714560 Mon Sep 17 00:00:00 2001 From: anghunk Date: Tue, 3 Sep 2024 17:13:54 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=96=B0=E5=A2=9E=E4=B8=BB=E9=A2=98?= =?UTF-8?q?=E9=A3=8E=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/styles/1.less | 91 ++++++++++++++++++++++++++++++++++++++++++++ src/styles/README.md | 5 +++ 2 files changed, 96 insertions(+) create mode 100644 src/styles/1.less create mode 100644 src/styles/README.md diff --git a/src/styles/1.less b/src/styles/1.less new file mode 100644 index 0000000..6275133 --- /dev/null +++ b/src/styles/1.less @@ -0,0 +1,91 @@ +body.has-sidebar-page #main-outlet-wrapper { + max-width: 95% +} + +#main:before { + content: ""; + position: fixed; + top: 0; + left: 0; + width: 100vw; + height: 100vh; + background-position: top; + background: url(https://linux.do/uploads/default/original/3X/1/5/15f54137e70a147bae0ab5198682e87800bae61b.jpeg); + background-repeat: no-repeat; + background-attachment: fixed; + background-size: 100%; + z-index: -1; + background-size: cover +} + +:root { + --base-font-size: 15px !important; + --d-sidebar-row-height: 35px !important +} + +#topic-title h1 { + font-size: 24px; + margin-bottom: 12px +} + +.embedded-posts.bottom>div .row .topic-body .topic-meta-data .post-link-arrow { + bottom: 0 +} + +.topic-post { + margin-bottom: 30px +} + +.topic-body { + flex: 1; + margin-left: 30px; + padding: 16px 24px 0 !important; + background: #f0f0f0 !important; + border-radius: 10px +} + +.has-sidebar-page .sidebar-wrapper .sidebar-container { + background: #f5f5f5 +} + +.topic-avatar, +.topic-map.--op { + border: none !important +} + +body:not(.archetype-private_message) .topic-map { + padding-left: 100px +} + +.custom-search-banner-wrap .btn.search-icon:not(.has-search-button-text)+.search-menu-container .search-input { + background: #ededed; + border-radius: 5px +} + +.global-notice { + display: none +} + +.list-controls .combo-box .combo-box-header { + background: #ededed !important; + border-color: #d3d3d3 !important +} + +.list-container, +.list-controls { + padding-right: 100px +} + +.presence-users { + background: none !important +} + +.user-content { + background: none !important; +} + +.user-stream .item, +.user-stream .user-stream-item, +.user-main .about.collapsed-info .details { + background: none !important; +} \ No newline at end of file diff --git a/src/styles/README.md b/src/styles/README.md new file mode 100644 index 0000000..82abd14 --- /dev/null +++ b/src/styles/README.md @@ -0,0 +1,5 @@ +# 插件内置论坛主题 + +``` +@import url() +``` \ No newline at end of file