Browse Source

joplin: css: ++toc

Maxim Likhachev 5 years ago
parent
commit
43493e5451
  1. 44
      etc/soft/joplin/userstyle.css

44
etc/soft/joplin/userstyle.css

@ -93,3 +93,47 @@ b-pink {
background-color: #fad3e5; background-color: #fad3e5;
} }
/* TOC */
nav.table-of-contents>ul {
background: var(--Sidebar-background);
font-size: 12px;
text-transform: uppercase !important;
padding: 10px;
margin: 0px;
margin-bottom: 50px;
}
nav.table-of-contents ul {
list-style-type: none
}
nav.table-of-contents li {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
nav.table-of-contents li a {
padding: 0;
}
@media all and (min-width: 920px) {
nav.table-of-contents>ul {
position: fixed;
top: 0;
right: 0;
z-index: 99;
/* margin-right: 10px; */
border-radius: 4px;
max-width: 15%;
overflow:auto;
height: 100%;
font-size: 12px;
}
#rendered-md {
width: 82%;
}
}

Loading…
Cancel
Save