added options to change background for article in css
This commit is contained in:
parent
936dc3c1ce
commit
5d3fa0b0c2
@ -6,6 +6,7 @@
|
||||
--nav-input-border: #ced4da;
|
||||
--nav-input-background: #f8f9fa;
|
||||
--theme-icon-hover: #e9ecef;
|
||||
--background-color-article: #fffffff8;
|
||||
}
|
||||
|
||||
[data-theme="dark"] {
|
||||
@ -15,6 +16,7 @@
|
||||
--nav-input-border: #495057;
|
||||
--nav-input-background: #2a2e33;
|
||||
--theme-icon-hover: #2a2e33;
|
||||
--background-color-article: #242527;
|
||||
}
|
||||
|
||||
/* Custom styles to enhance the nav bar */
|
||||
@ -109,7 +111,15 @@ navbar-right input[type="search"] {
|
||||
background-color: var(--theme-icon-hover);
|
||||
}
|
||||
|
||||
mynav,
|
||||
mynav {
|
||||
flex: 1;
|
||||
min-width: 200px;
|
||||
max-width: 250px;
|
||||
overflow-y: auto;
|
||||
color: var(--nav-text);
|
||||
padding-top: 1.3rem;
|
||||
}
|
||||
|
||||
docnav {
|
||||
flex: 1;
|
||||
min-width: 200px;
|
||||
@ -159,6 +169,7 @@ article {
|
||||
height: 100%;
|
||||
scrollbar-width: none;
|
||||
-ms-overflow-style: none;
|
||||
background-color: var(--background-color-article);
|
||||
}
|
||||
|
||||
article textarea {
|
||||
|
Loading…
Reference in New Issue
Block a user