Skip to content

Commit

Permalink
Update extra.css (#2564)
Browse files Browse the repository at this point in the history
* Update extra.css

* Update extra.css
  • Loading branch information
abby-cyber authored May 17, 2024
1 parent 41fd39e commit 89dff76
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions docs-2.0-en/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ background-color: rgba(169, 241, 62, 0.541);

/* nebula dark */
:root{
--md-primary-fg-color:#A6A5C4; /* Tar bar color*/
--md-accent-fg-color: #FA8072; /* Selected color */
--md-primary-fg-color:#316745; /* Tar bar color*/
--md-accent-fg-color: #49BDF0; /* Selected color */
}

/* nebula light */
[data-md-color-scheme="nebula"]{
--md-primary-fg-color: #55295B; /* Tar bar color */
--md-accent-fg-color: #49BDF0; /* Selected color */
--md-primary-fg-color: #316745; /* Tar bar color */
--md-accent-fg-color: #7DBB7C; /* Selected color */

--md-code-fg-color: rgb(12, 21, 26);
--md-code-bg-color: #eaebec;
Expand Down
4 changes: 2 additions & 2 deletions docs-2.0-zh/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ aside.md-banner--warning {

/* 黑夜主题色 */
:root{
--md-primary-fg-color: #A6A5C4; /* 导航栏页面颜色 */
--md-primary-fg-color: #316745; /* 导航栏页面颜色 */
--md-accent-fg-color: #49BDF0; /* 选中/悬浮链接的颜色 */
}

/* 白天主题色 */
[data-md-color-scheme="nebula"]{
--md-primary-fg-color: #55295B; /* 导航栏页面颜色 */
--md-primary-fg-color: #316745; /* 导航栏页面颜色 */
--md-accent-fg-color: #7DBB7C; /* 选中/悬浮链接的颜色 */
--md-typeset-a-color: #0FA37F!important; /* 白天的链接颜色 */
--md-code-fg-color: rgb(12, 21, 26); /* 代码段字体色 */
Expand Down

0 comments on commit 89dff76

Please sign in to comment.