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.

Fix headers font size (H1 & H3)

Smaug#6739733264236dd3
diff --git a/@alexandrie/styles/src/theme.scss b/@alexandrie/styles/src/theme.scss
index 6e5608d2..54b39dab 100644
--- a/@alexandrie/styles/src/theme.scss
+++ b/@alexandrie/styles/src/theme.scss
@@ -66,14 +66,6 @@ h2 {
line-height: 1.2;
margin: 25px 0 15px 0;
padding-bottom: 10px;
-
- h1 {
- font-size: 2em;
- }
-
- h2 {
- font-size: 1.5em;
- }
}
h3,
@@ -84,24 +76,34 @@ h6 {
margin: 8px 0 10px 0;
padding-bottom: 6px;
text-decoration: underline;
+}
- h3 {
- font-size: 1.17em;
- }
+h1 {
+ font-size: 2em;
+}
- h4 {
- font-size: 1em;
- }
+h2 {
+ font-size: 1.5em;
+}
- h5 {
- font-size: 0.83em;
- }
+h3 {
+ font-size: 1.17em;
+}
- h6 {
- font-size: 0.67em;
- }
+h4 {
+ font-size: 1em;
+}
+
+h5 {
+ font-size: 0.83em;
}
+h6 {
+ font-size: 0.67em;
+}
+
+
+
hr {
background-color: var(--border-color);
border: none;
diff --git a/dashboard/package-lock.json b/dashboard/package-lock.json
index 3cb37d7b..ca2f05c1 100644
--- a/dashboard/package-lock.json
+++ b/dashboard/package-lock.json
@@ -7,7 +7,6 @@
"name": "nuxt-app",
"hasInstallScript": true,
"dependencies": {
- "alexandrie-styles": "file:../@alexandrie/styles",
"katex": "^0.16.9",
"markdown-it": "^13.0.2",
"markdown-it-anchor": "^8.6.7",
@@ -29,7 +28,9 @@
}
},
"../@alexandrie/styles": {
+ "name": "alexandrie-styles",
"version": "4.0.0",
+ "extraneous": true,
"license": "Apache-2.0"
},
"node_modules/@ampproject/remapping": {
@@ -2982,10 +2983,6 @@
"node": ">=8"
}
},
- "node_modules/alexandrie-styles": {
- "resolved": "../@alexandrie/styles",
- "link": true
- },
"node_modules/ansi-colors": {
"version": "4.1.3",
"resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz",