From 685e6710e58fc5a5ecda385b04e55b5e45dd0da1 Mon Sep 17 00:00:00 2001 From: 1330Petrel Date: Mon, 17 Feb 2025 22:09:53 +0800 Subject: [PATCH] add color for links --- docs/learning_resources/repo/github.md | 2 +- .../current/learning_resources/repo/github.md | 2 +- src/css/custom.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/learning_resources/repo/github.md b/docs/learning_resources/repo/github.md index 5acc083..8500e3e 100644 --- a/docs/learning_resources/repo/github.md +++ b/docs/learning_resources/repo/github.md @@ -1,6 +1,6 @@ # GitHub -[GitHub](https://github.com/) 是一个基于 [Git](../vcs/git.md) 进行软件开发和[版本控制](../vcs/index.md)的网络代码托管平台。它不仅提供了 Git 的分布式版本控制和源代码管理功能,还拥有自己的特色功能。 +[GitHub](https://github.com/) 是一个基于 [Git](../vcs/git.md) 进行软件开发和[版本控制](../vcs/index.md)的网络代码托管平台。它不仅提供了 Git 的分布式版本控制和源代码管理功能,还拥有自己的特色功能。 :::info[访问以下资源以了解更多信息] diff --git a/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/repo/github.md b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/repo/github.md index c311cf1..a3a4bad 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/repo/github.md +++ b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/repo/github.md @@ -1,6 +1,6 @@ # GitHub -[GitHub](https://github.com/) is a provider of Internet hosting for software development and [version control](../vcs/index.md) using [Git](../vcs/git.md). It offers the distributed version control and source code management functionality of Git, plus its own features. +[GitHub](https://github.com/) is a provider of Internet hosting for software development and [version control](../vcs/index.md) using [Git](../vcs/git.md). It offers the distributed version control and source code management functionality of Git, plus its own features. :::info[Visit the following resources to learn more] diff --git a/src/css/custom.css b/src/css/custom.css index 87010e6..6ff3d01 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -15,6 +15,7 @@ --neon-red: #ff1a1a; --neon-white: #ffffff; --text-color: #000000; + --ifm-link-color: var(--neon-blue); } [data-theme='dark'] { @@ -30,7 +31,6 @@ --text-color: #f3f3f3; } - svg { fill: var(--text-color); }