Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
.presentation-view {
display: flex;
flex-direction: column;
height: 100%;
container: presentation-view / inline-size;
}
.presentation-body {
display: flex;
flex: 1;
min-height: 0;
}
.presentation-container {
display: flex;
flex: 1;
align-items: center;
justify-content: center;
min-width: 0;
min-height: 0;
--presentation-stage-padding: 1em;
/* The height of `.presentation-controls` and its gap to the slide; slidejs.css reads it too. */
--presentation-controls-strip: calc(var(--overlay-button-height, 28px) + var(--presentation-stage-padding));
padding: var(--presentation-stage-padding);
padding-bottom: calc(var(--presentation-stage-padding) + var(--presentation-controls-strip));
container-type: size;
&:fullscreen {
padding: 0;
background-color: black;
}
}
.presentation-collection-slide {
display: flex;
flex-direction: column;
position: absolute;
top: 50%;
left: 50%;
width: var(--full-bleed-width, 100%);
height: var(--full-bleed-height, 100%);
transform: translate(-50%, -50%);
overflow: auto;
background-color: var(--main-background-color);
color: var(--main-text-color);
font-family: var(--main-font-family);
font-size: 1rem;
font-weight: normal;
line-height: 1.5;
text-align: start;
text-transform: none;
letter-spacing: normal;
text-shadow: none;
> * {
flex: 1;
min-height: 0;
}
&.is-edited {
outline: 2px dashed var(--r-link-color);
outline-offset: -2px;
}
}