mirror of
https://github.com/f/awesome-chatgpt-prompts.git
synced 2025-05-31 06:12:02 +00:00
Merge pull request #843 from kemalersin/main
This commit is contained in:
commit
38133d4747
@ -14,6 +14,8 @@
|
|||||||
--bg-color-dark: #1a1a1a;
|
--bg-color-dark: #1a1a1a;
|
||||||
--text-color-light: #000000;
|
--text-color-light: #000000;
|
||||||
--text-color-dark: #ffffff;
|
--text-color-dark: #ffffff;
|
||||||
|
--header-height: 145px;
|
||||||
|
--footer-height: 145px;
|
||||||
--sidebar-width: 300px;
|
--sidebar-width: 300px;
|
||||||
--accent-color: #10b981;
|
--accent-color: #10b981;
|
||||||
--accent-color-hover: #059669;
|
--accent-color-hover: #059669;
|
||||||
@ -24,6 +26,7 @@
|
|||||||
color: var(--text-color-light);
|
color: var(--text-color-light);
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
overflow-y: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
body.dark-mode {
|
body.dark-mode {
|
||||||
@ -65,6 +68,7 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
height: var(--header-height);
|
||||||
}
|
}
|
||||||
|
|
||||||
.dark-mode .site-header {
|
.dark-mode .site-header {
|
||||||
@ -142,6 +146,7 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
|
height: var(--footer-height);
|
||||||
}
|
}
|
||||||
|
|
||||||
.dark-mode .site-footer {
|
.dark-mode .site-footer {
|
||||||
@ -497,7 +502,7 @@
|
|||||||
width: var(--sidebar-width);
|
width: var(--sidebar-width);
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
border-right: 1px solid #e1e4e8;
|
border-right: 1px solid #e1e4e8;
|
||||||
height: calc(100vh - 140px);
|
height: calc(100vh - var(--header-height) - var(--footer-height));
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
background-color: var(--bg-color-light);
|
background-color: var(--bg-color-light);
|
||||||
}
|
}
|
||||||
@ -505,17 +510,22 @@
|
|||||||
.dark-mode .sidebar {
|
.dark-mode .sidebar {
|
||||||
background-color: var(--bg-color-dark);
|
background-color: var(--bg-color-dark);
|
||||||
border-right-color: #2d2d2d;
|
border-right-color: #2d2d2d;
|
||||||
|
scrollbar-color: #2d2d2d transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-content {
|
.main-content {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
height: calc(100vh - 140px);
|
height: calc(100vh - var(--header-height) - var(--footer-height));
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dark-mode .main-content {
|
||||||
|
scrollbar-color: #2d2d2d transparent;
|
||||||
|
}
|
||||||
|
|
||||||
.main-content-header {
|
.main-content-header {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user