Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

1.5 KB
Raw Blame
@use "../abstract/static.scss" as *;

a {
	color: var(--text-body);
	text-decoration: none;

	&:hover {
		cursor: pointer;
	}
}

pre {
	display: inline-block;
	width: 100%;
	margin: 12px 0;
	border-radius: var(--radius-md);
	word-break: break-all;
	background: #292d3e;
}

/* Inline code */
code {
	margin: 2px;
	padding: 3px 6px;
	border-radius: 5px;
	color: var(--text-body);
	background: var(--surface-transparent);
}

h1,
h2 {
	padding-bottom: 10px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

h3,
h4,
h5,
h6 {
	margin: 10px 0;
	font-weight: 600;
}

h1 {
	margin: 15px 0;
	font-size: 1.7rem;
}

h2 {
	margin: 25px 0 15px;
	border-bottom: 1px solid var(--border);
	font-size: 1.5em;
}

h3 {
	font-size: 1.2em;
}

h4 {
	font-size: 1.15em;
}

h5 {
	font-size: 1em;
}

h6 {
	font-size: 1em;
}

hr {
	width: 100%;
	height: 1px;
	margin: 2px auto;
	border: none;
	color: var(--border);
	background-color: var(--border);
}

blockquote {
	padding: 0 15px;
	border-left: 4px solid var(--primary);
	border-radius: var(--radius-xs);

	> :first-child {
		margin-top: 0;
	}

	> :last-child {
		margin-bottom: 0;
	}
}

mark {
	padding: 0 2px;
	border-radius: 5px;
	background-color: var(--orange);
}

p {
	margin: 12px 0;
}

kbd {
	display: inline-block;
	padding: 4px 6px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	font-family: $font-sans;
	font-size: 13px;
	font-weight: 400;
	color: var(--text-primary);
	background-color: var(--surface-base);
}