纯黑背景模式 - 新能源课程系统

将指定元素的背景修改为纯黑色,实现极简的暗黑风格,并为侧边栏添加平滑切换动画。

作者
c-jeremy
日安装量
0
总安装量
2
评分
0 0 0
版本
3.2
创建于
2025-09-25
更新于
2025-09-26
大小
7.7 KB
许可证
MIT
适用于

Tampermonkey logo

纯黑背景模式 - 新能源课程系统

An eye-friendly, minimalist dark theme for the New Energy Course System.

简体中文 | English

Version Total Installs License


简体中文

简介

本脚本为新能源课程系统(bdfz.xnykcxt.com:5002)提供一个护眼的纯黑/极简主题。它将恶心的蓝色主题替换为柔和的深色,同时优化了文本、按钮和选中项的对比度,非常适合在夜间或长时间学习时使用,有效减轻视觉疲劳。

✨ 功能特点

  • 深色背景: 将页面主要背景、侧边栏等元素变为纯黑色,减少屏幕眩光。
  • 高亮内容区: 核心内容区域(如文件列表、文章)保留了亮色背景,确保在深色模式下依然拥有出色的可读性。
  • 优化UI元素: 重新设计了按钮、标签、选中项的样式,使其在深色主题下更加清晰和协调。
  • 增强可读性: 统一使用更适合屏幕阅读的“思源宋体” (Noto Serif SC) 字体,提升阅读体验。
  • 现代毛玻璃效果: 为弹窗添加了现代化的半透明背景和模糊效果,提升了界面的质感。
  • 下载任意文件:允许任何文件下载,无论老师是否允许!

🛠️ 安装

  1. 首先,您需要一个用户脚本管理器。推荐使用 Tampermonkey (适用于 Chrome, Firefox, Edge, Safari)。
  2. 然后,点击本页面顶部的绿色 "安装此脚本" 按钮。
  3. Tampermonkey 会弹出一个确认页面,点击 "安装" 即可。

🚀 使用方法

脚本安装后即刻生效。只需刷新新能源课程系统的页面,您就能看到全新的暗黑界面。无需任何额外配置。

📝 反馈与建议

如果您发现任何显示问题或有功能建议,欢迎在 Greasyfork 的 反馈 页面留言。

📜 更新日志

  • v3.0 (2025-09-25)
    • 初始发布版本。
    • 重构并优化了所有CSS规则,确保高优先级覆盖和代码整洁。
    • 添加了对各类UI组件(按钮、弹窗、文件树等)的样式支持。

📄 许可

本脚本基于 MIT License 发布。


English

Introduction

This script provides an eye-friendly, minimalist dark theme for the New Energy Course System website (bdfz.xnykcxt.com:5002). It replaces the glaring white backgrounds with a soothing dark theme, optimizing the contrast for text, buttons, and selected items. It's perfect for late-night study sessions or extended use, significantly reducing eye strain.

✨ Features

  • Dark Backgrounds: Turns the main page background, sidebars, and other major elements to pure black to reduce screen glare.
  • High-Contrast Content: Core content areas (like file lists and articles) maintain a light background to ensure excellent readability against the dark theme.
  • Restyled UI Elements: Redesigned buttons, tags, and selection highlights to be clear and cohesive within the dark theme.
  • Enhanced Readability: Standardizes the font to Noto Serif SC, which is highly readable on screens, improving the overall user experience.
  • Modern Frosted-Glass Modals: Applies a modern, semi-transparent blur effect (frosted glass) to popup modals, enhancing the UI's aesthetic.

🛠️ Installation

  1. First, you need a user script manager. The recommended one is Tampermonkey (available for Chrome, Firefox, Edge, Safari).
  2. Next, click the green "Install this script" button at the top of this page.
  3. Tampermonkey will open a new tab. Simply click "Install" to confirm.

🚀 Usage

The script works automatically after installation. Just refresh the New Energy Course System website, and you will see the new dark interface. No configuration is needed.

📝 Feedback

If you encounter any display issues or have suggestions, please leave a comment on the Feedback tab on Greasyfork.

📜 Changelog

  • v3.0 (2025-09-25)
    • Initial public release.
    • All CSS rules have been refactore and optimized for high-priority overrides and clean code.
    • Added styling support for various UI components (buttons, modals, file trees, etc.).

📄 License

This script is released under the MIT License.