Skip to content

Commit

Permalink
💄 Style: modify detail style (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lruihao committed Mar 14, 2022
1 parent f697da6 commit 8f3f225
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 22 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
All notable changes to this project will be documented in this file.
<!-- Releases see https://github.com/Lruihao/FixIt/releases -->

## v0.2.13
## v0.2.13 [2022.3.14]

- :recycle: Refactor: page layout ([#65](https://github.com/Lruihao/FixIt/issues/65))
- :tada: Feat: add Artalk comment support ([#54](https://github.com/Lruihao/FixIt/issues/54), [#57](https://github.com/Lruihao/FixIt/pull/57)@hiifong)
- :tada: Feat: add Artalk comment support ([#54](https://github.com/Lruihao/FixIt/issues/54), @hiifong[#57](https://github.com/Lruihao/FixIt/pull/57))
- :tada: Feat: add Waline comment support ([#36](https://github.com/Lruihao/FixIt/issues/36))
- :tada: Feat: add Twikoo comment support ([#64](https://github.com/Lruihao/FixIt/issues/64))
- :sparkles: Feat: add recently updated section ([#50](https://github.com/Lruihao/FixIt/issues/50))
- :sparkles: Feat: add article expiration reminder support ([#51](https://github.com/Lruihao/FixIt/issues/51))
- :sparkles: Feat: add pageStyle option ([#62](https://github.com/Lruihao/FixIt/issues/62))
- :sparkles: Style: add media style for print view ([#61](https://github.com/Lruihao/FixIt/issues/61))
- :sparkles: Feat: add Gravatar mirror site support ([#66](https://github.com/Lruihao/FixIt/pull/66)@ctj12461)
- :sparkles: Feat: add Gravatar mirror site support (@ctj12461[#66](https://github.com/Lruihao/FixIt/pull/66))
- :sparkles: Feat: add archive count display ([#33](https://github.com/Lruihao/FixIt/issues/33))
- :sparkles: Feat: add `details` shortcode ([#68](https://github.com/Lruihao/FixIt/issues/68))
- :sparkles: Feat: add `center-quote` shortcode ([#69](https://github.com/Lruihao/FixIt/issues/69))
Expand Down
8 changes: 4 additions & 4 deletions assets/css/_mixin/_compatibility.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,19 @@
}

@mixin placeholder($color) {
input::-webkit-input-placeholder{
input::-webkit-input-placeholder {
color: $color;
}

input:-moz-placeholder{
input:-moz-placeholder {
color: $color;
}

input::-moz-placeholder{
input::-moz-placeholder {
color: $color;
}

input:-ms-input-placeholder{
input:-ms-input-placeholder {
color: $color;
}

Expand Down
8 changes: 4 additions & 4 deletions assets/css/_mixin/_index.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "_compatibility";
@import "_link";
@import "_blur";
@import "_details";
@import '_compatibility';
@import '_link';
@import '_blur';
@import '_details';
8 changes: 5 additions & 3 deletions assets/css/_mixin/_link.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
@mixin link($light, $dark) {
a, a::before, a::after {
a,
a::before,
a::after {
text-decoration: none;

color: if($light, $global-link-color, $single-link-color);

[theme=dark] & {
[theme='dark'] & {
color: if($dark, $global-link-color-dark, $single-link-color-dark);
}
}
Expand All @@ -13,7 +15,7 @@
a:hover {
color: if($light, $global-link-hover-color, $single-link-hover-color);

[theme=dark] & {
[theme='dark'] & {
color: if($dark, $global-link-hover-color-dark, $single-link-hover-color-dark);
}
}
Expand Down
2 changes: 2 additions & 0 deletions assets/css/_page/_single.scss
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,8 @@
color: $blockquote-color-dark;
border-left-color: $global-border-color-dark;
}

@include link(false, true);
}

.footnotes {
Expand Down
16 changes: 8 additions & 8 deletions assets/css/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ $global-background-color-dark: #292a2e !default;

// Color of the text
$global-font-color: #161209 !default;
$global-font-color-dark: #a9a9b3 !default;
$global-font-color-dark: #b1b1ba !default;

// Color of the secondary text
$global-font-secondary-color: #a9a9b3 !default;
$global-font-secondary-color-dark: #5d5d5f !default;
$global-font-secondary-color: #b1b1ba !default;
$global-font-secondary-color-dark: #909092 !default;

// Color of the link
$global-link-color: #161209 !default;
$global-link-color-dark: #a9a9b3 !default;
$global-link-color-dark: #b1b1ba !default;

// Color of the hover link
$global-link-hover-color: #2983bb !default; // 潮蓝
Expand All @@ -42,7 +42,7 @@ $global-border-color-dark: #363636 !default;
$scrollbar-color: #87878d !default;

// Color of the hover scrollbar
$scrollbar-hover-color: #a9a9b3 !default;
$scrollbar-hover-color: #b1b1ba !default;
// ========== Scrollbar ========== //

// ========== Selection ========== //
Expand Down Expand Up @@ -94,14 +94,14 @@ $table-thead-color: #ededed !default;
$table-thead-color-dark: #20252b !default;

// Color of the blockquote
$blockquote-color: #adb5bd !default;
$blockquote-color-dark: #6c757d !default;
$blockquote-color: #bbc2c8 !default;
$blockquote-color-dark: #808992 !default;
// ========== Single Content ========== //

// ========== Pagination ========== //
// Color of the link in pagination
$pagination-link-color: #bfbfbf !default;
$pagination-link-color-dark: #a9a9b3 !default;
$pagination-link-color-dark: #b1b1ba !default;

// Color of the hover link in pagination
$pagination-link-hover-color: #000 !default;
Expand Down

1 comment on commit 8f3f225

@vercel
Copy link

@vercel vercel bot commented on 8f3f225 Mar 14, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.