Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit a188b4a

Browse files
committed
Use more accessible colors for callouts
1 parent a9f3f38 commit a188b4a

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

‎Assets/css/all.css‎

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -820,12 +820,12 @@ blockquote {
820820
--link: var(--accent-color);
821821

822822
border: 0.25px var(--separator) solid;
823-
border-left: 6px var(--accent-color) solid;
823+
border-left: 6px var(--separator) solid;
824824
border-top-left-radius: 8px;
825825
border-bottom-left-radius: 8px;
826826
border-top-right-radius: 8px;
827827
border-bottom-right-radius: 8px;
828-
padding: 0.125em 00.125em1em;
828+
padding: 0.125em 1em;
829829
margin-bottom: 1em;
830830
color: var(--accent-color);
831831

@@ -842,32 +842,32 @@ blockquote {
842842
}
843843

844844
& {
845-
--accent-color: var(--system-blue);
846-
--separator: rgba(0,122,255,0.25);
847-
background: rgba(0, 122, 255, 0.025);
845+
--accent-color: rgb(0,0,73);
846+
--separator: var(--system-blue);
847+
background: rgba(0, 122, 255, 0.0125);
848848
}
849849

850850
&.author,
851851
&.authors,
852852
&.copyright,
853853
&.date {
854-
--accent-color: var(--system-fill);
855-
--separator: var(--system-gray);
854+
--accent-color: rgb(51,51,51);
855+
--separator: var(--system-fill);
856856
background: var(--system-background);
857857
}
858858

859859
&.attention,
860860
&.warning,
861861
&.important {
862-
--accent-color: var(--system-orange);
863-
--separator: rgba(255,149,0,0.25);
864-
background: rgba(255, 149, 0, 0.025);
862+
--accent-color: rgb(76,37,2);
863+
--separator: var(--system-orange);
864+
background: rgba(255, 149, 0, 0.0125);
865865
}
866866

867867
&.bug {
868-
--accent-color: var(--system-pink);
869-
--separator: rgba(255,59,48,0.25);
870-
background: rgba(255, 59, 48, 0.025);
868+
--accent-color: rgb(78,0,41);
869+
--separator: var(--system-pink);
870+
background: rgba(255, 59, 48, 0.0125);
871871
}
872872
}
873873

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /