Skip to content

Instantly share code, notes, and snippets.

@acsr
Last active April 18, 2023 15:02
Show Gist options
  • Save acsr/c38abd9f7f9d50b40b7ec930375dc814 to your computer and use it in GitHub Desktop.
Save acsr/c38abd9f7f9d50b40b7ec930375dc814 to your computer and use it in GitHub Desktop.
acsr [[Logseq]] custom.css
/* Public Logseq custom.css file by acsr, Armin Stroß-Radschinski
Licence MIT, do what you want, but quote me
20230418_165949-Rev.2
*/
/* removed for helium plugin
iframe[id^='youtube-player'] {
height: 700px !important;
}*/
audio{
width: 800px;
}
/* Change Light Bulb color from default blue to orange*/
svg.tip {
color: #ffb524 !important;
}
/* remove admonition svg con dropshadow to avoid to be exported to HTML as pixel image*/
div.admonitionblock.important > div.admonition-icon svg.svg-shadow {
-webkit-filter: none !important;
filter: none !important;
}
/* expand markdown tables to maximum instead of max-width: 700px;*/
div.table-wrapper {
max-width: none !important;
}
:not(pre)>code {
background-color: #eeeeee;
}
.kef-tocgen-page {
cursor: pointer;
line-height: 2;
}
.kef-tocgen-block {
line-height: 1.7;
}
.kef-tocgen-active-block {
font-size: 1.1em;
font-weight: 600;
}
.cp__sidebar-main-content .logseq-tools-multiple-calendars {
display: flex;
flex-wrap: wrap;
padding: 0 15px;
}
.cp__sidebar-main-content .logseq-tools-multiple-calendars .logseq-tools-calendar {
flex: 0 50%;
box-sizing: border-box;
padding: 0 15px;
}
.logseq-tools-calendar tr {
background: none !important;
}
.logseq-tools-calendar th,
.logseq-tools-calendar td,
.logseq-tools-calendar tr {
border: none;
}
.logseq-tools-calendar th,
.logseq-tools-calendar td {
text-align: center;
}
/* Calendar - pages from other months */
.logseq-tools-calendar .outofmonth {
opacity: .3;
}
/* Offset for PDF Viewer to avoid tools covering content at the top */
body[data-page] .extensions__pdf-viewer {
margin-top: 3em;
}
.kef-doc #main-content-container #logseq-tabs_lsp_main {
display: none;
}
/* Top margin for collapsed today queries*/
#today-queries .custom-query.mt-10 {
margin-top: 0.5rem;
}
#today-queries {
margin-bottom: 1rem;
}
/* Headlines */
.editor-inner .h5.uniline-block,
.ls-block h5 {
font-size: 1em;
font-style: italic;
}
.editor-inner .h6.uniline-block,
.ls-block h6 {
font-size: 1em;
font-style: italic;
color: #808080;
}
/* hide for PDF Export*/
/* Just the Tabs, enough for PDF Export */
/* #logseq-tabs_lsp_main {display: none;} */
/* UI Stuff Selectors - just in case */
/*.visible {display: none !important;} */
/*.cp__header {display: none;}*/
/* reduce fontsize and line-height for admonitions to standard */
.admonitionblock > div.ml-4.text-lg {
line-height: inherit;
font-size: inherit;
}
.admonitionblock {
margin: 1rem 0;
padding: 1em;
border-radius: 0.7em
}
.admonitionblock.note {
background-color: #f6f8fa;
}
.admonitionblock.tip {
background-color: #fff9d1;
}
.admonitionblock.important {
background-color: #95c7ff;
}
.admonitionblock.caution {
background-color: #f7d7aa;
}
.admonitionblock.pinned {
background-color: #eeeeee;
}
.admonitionblock.warning {
background-color: #f3afaf;
}
/* not yet
.block-body pre {
background: var(--ls-secondary-background-color,#f6f8fa);
}
blockquote {
background-color: var(--ls-page-blockquote-bg-color,#f7f7f7);
border-left: 4px solid;
border-left-color: var(--ls-page-blockquote-border-color,#d3d3d3);
color: var(--ls-page-blockquote-color,#24292e);
}*/
/* Make Table Header same size and bold */
th {
font-size: inherit;
font-weight: 600;
}
@acsr
Copy link
Author

acsr commented Apr 18, 2023

update frontmatter and use a more specific name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment