Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: change description color in light mode #1697

Merged
merged 1 commit into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions css/dark-theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
--dark_header_text: silver;
--dark_main_text: #e6edf3;
--dark_bright_text: wheat;
--dark_smooth_text: #aeaeae;
--dark_border: #ddd;
--link: #259dff;
}
Expand Down Expand Up @@ -139,7 +140,7 @@ html.dark-mode #navbar > span.algolia-autocomplete > input::placeholder {
}
:lang(uz) span.algolia-autocomplete > input,
:lang(ru) span.algolia-autocomplete > input,
:lang(de) span.algolia-autocomplete > input,
:lang(de) span.algolia-autocomplete > input,
:lang(fr) span.algolia-autocomplete > input {
max-width: 100%;
}
Expand Down Expand Up @@ -169,6 +170,9 @@ html.dark-mode pre {
html.dark-mode #description .express > a {
color: var(--dark_main_text);
}
html.dark-mode #description .description {
color: var(--dark_smooth_text);
}
html.dark-mode #install-command {
background: var(--main_dark_bg);
}
Expand Down Expand Up @@ -207,8 +211,8 @@ html.dark-mode #api-doc > h3 {
html.dark-mode #api-doc section h5 {
color: var(--dark_header_text);
}
/*
overriding search-bar results drop down
/*
overriding search-bar results drop down
*/
html.dark-mode .ds-dropdown-menu .ds-dataset-1 {
background-color: var(--dark_bg);
Expand Down Expand Up @@ -264,16 +268,16 @@ html.dark-mode .blog-post{
background-color: initial;
border: 1px solid var(--dark_border);
transition: 0.3s;
}
}
html.dark-mode .blog-post:hover{
background-color: var(--darker_hover);
}
html.dark-mode .blog-title > a{
color: var(--dark_main_text);
}
}
html.dark-mode .blog-excerpt{
color: var(--dark_bright_text);
}
}
html.dark-mode #blog-side-menu-container h3 a{
color: var(--dark_header_text);
}
Expand All @@ -283,4 +287,4 @@ html.dark-mode #blog-side-menu > li > a{

html.dark-mode pre code {
background-color: inherit;
}
}
18 changes: 9 additions & 9 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ li code {

*::-webkit-scrollbar-thumb:active {
background-color: #616161;
}
}

/* links */

Expand Down Expand Up @@ -295,7 +295,7 @@ a {
position: relative;
top: -5px;
font: 100 4.1em "Helvetica Neue", "Open Sans", sans-serif;
color: #aeaeae;
color: #7e7e7e;
line-height: .87;
}

Expand Down Expand Up @@ -449,7 +449,7 @@ html[xmlns] .clearfix {
width: 100%;
margin-top: 5px;
margin-bottom: 20px;
}
}

/* doc specific */

Expand Down Expand Up @@ -627,7 +627,7 @@ footer {

#footer-copyright {
display: flex;
flex-direction: column;
flex-direction: column;
justify-content: center;
gap: 20px;
}
Expand Down Expand Up @@ -1100,7 +1100,7 @@ h2 a {
#blog-doc {
margin: 0 10px;
}
#blog-doc:has(> h1#express-blog),
#blog-doc:has(> h1#express-blog),
#blog-doc:has(> h1#write-a-blog-post) {
min-height: 300px;
}
Expand All @@ -1125,7 +1125,7 @@ h2 a {
justify-content: space-between;
box-shadow: 2px 3px #E0E0E0;
border-radius: 5px;
border: 1px solid #808080;
border: 1px solid #808080;
transition: 0.1s;
}
.blog-post:hover {
Expand Down Expand Up @@ -1181,7 +1181,7 @@ h2 a {
margin-right: 0;
padding-right: 10px;
}



#blog-doc .blog-details + p > img {
Expand All @@ -1198,7 +1198,7 @@ h2 a {
}
.blog-tags {
margin-bottom: 20px;
}
}
.blog-title {
font-size: 1.3rem;
margin-bottom: 20px;
Expand All @@ -1207,7 +1207,7 @@ h2 a {
.blog-post .blog-details {
display: flex;
flex-direction: row;
margin-left: 1rem;
margin-left: 1rem;
font-size: 90%;
}
.blog-post .blog-details div:first-child {
Expand Down