Skip to content

Commit

Permalink
修改快速菜单和大纲
Browse files Browse the repository at this point in the history
  • Loading branch information
obscurefreeman committed Oct 27, 2024
1 parent 8805ab4 commit 7e35aa0
Showing 1 changed file with 37 additions and 10 deletions.
47 changes: 37 additions & 10 deletions blackout.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
--bg-color: var(--of-darker-color);
/* 侧边栏颜色 */
--side-bar-bg-color: var(--of-darkest-color);
/* 快速菜单 */
--quickopen-bg-color: var(--of-darkest-color);
--text-color: var(--of-text-color);
/* 这才是文字颜色 */
--text-color-main: var(--of-text-color);
Expand Down Expand Up @@ -632,35 +634,36 @@ tr:nth-child(2n + 1) {



/** quick open **/
/** ctrl+p 快速打开 **/
.auto-suggest-container {
border: 0px;
background-color: var(--select-background);
background-color: var(--quickopen-bg-color);
}

#typora-quick-open {
background-color: var(--select-background);
background-color: var(--quickopen-bg-color);
border-radius: 5px;
}

#typora-quick-open input{
background-color: var(--select-background);
background-color: var(--quickopen-bg-color);
border: 0;
border-bottom: 1px solid grey;
}

.typora-quick-open-item {
background-color: inherit;
color: inherit;
border-radius: 5px;
margin: 5px;
}

.typora-quick-open-item.active,
.typora-quick-open-item:hover {
background-color: var(--other-main-color);
color: white;
.typora-quick-open-item.active {
color: var(--active-text-color);
}

.typora-quick-open-item:hover {
background-color: var(--of-theme-color-dark);
background-color: var(--item-hover-bg-color);
}

.typora-search-spinner > div {
Expand Down Expand Up @@ -1258,7 +1261,7 @@ footer {
}
.outline-content li .outline-item {
margin: 1px;
padding: 4px 8px;
/* padding: 4px 8px; */
position: relative;
z-index: 50;
border-radius: 5px;
Expand All @@ -1271,6 +1274,30 @@ footer {
color: white;
}

.outline-h1>.outline-item {
padding-left: 1em;
}

.outline-h2>.outline-item {
padding-left: 2em;
}

.outline-h3>.outline-item {
padding-left: 3em;
}

.outline-h4>.outline-item {
padding-left: 4em;
}

.outline-h5>.outline-item {
padding-left: 5em;
}

.outline-h6>.outline-item {
padding-left: 6em;
}

.md-task-list-item>input {
margin-left: -1.3em;
margin-top: 0.3rem;
Expand Down

0 comments on commit 7e35aa0

Please sign in to comment.