slidev-theme-tud-db 0.0.4 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/styles/db-theme.css +10 -21
package/package.json
CHANGED
package/styles/db-theme.css
CHANGED
|
@@ -29,8 +29,7 @@
|
|
|
29
29
|
* height:100% fills the slide (theme provides this; not inherited from
|
|
30
30
|
* @slidev/theme-default anymore). */
|
|
31
31
|
.slidev-layout {
|
|
32
|
-
|
|
33
|
-
background: #ffffff;
|
|
32
|
+
/* background: #ffffff; */
|
|
34
33
|
color: var(--db-text-soft);
|
|
35
34
|
font-family: 'NotoSans', ui-sans-serif, system-ui, sans-serif;
|
|
36
35
|
}
|
|
@@ -63,23 +62,17 @@
|
|
|
63
62
|
/* Content slides ("Titel und Inhalt").
|
|
64
63
|
* Canvas is 720px wide (== 720pt real slide), so px values below equal PowerPoint pt. */
|
|
65
64
|
.slidev-layout.db-default {
|
|
66
|
-
|
|
67
|
-
line-height: 1.15; /* tight line spacing */
|
|
68
|
-
padding: 0; /* we control spacing via the body wrapper + footer */
|
|
65
|
+
@apply text-md p-0;
|
|
69
66
|
}
|
|
70
67
|
.slidev-layout.db-default h1 {
|
|
71
68
|
color: var(--db-text-soft); /* black/gray page heading */
|
|
72
|
-
|
|
73
|
-
line-height: 1.2;
|
|
74
|
-
margin-bottom: 36px; /* gap to first sub-header (~36pt in template) */
|
|
69
|
+
@apply text-3xl mb-[46px]; /* gap to first sub-header (~46pt in template) */
|
|
75
70
|
}
|
|
76
71
|
.slidev-layout.db-default h2,
|
|
77
72
|
.slidev-layout.db-default h3 {
|
|
78
73
|
color: var(--db-heading-blue); /* blue sub-headers */
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
margin-top: 24px; /* space ABOVE a sub-header, whatever precedes it
|
|
82
|
-
(bullet list, code block, paragraph, …) */
|
|
74
|
+
@apply text-xl mt-[45px]; /* space ABOVE a sub-header, whatever precedes it
|
|
75
|
+
(bullet list, code block, paragraph, …) */
|
|
83
76
|
}
|
|
84
77
|
/* …except a sub-header that is the FIRST content of its area (right under the
|
|
85
78
|
page title, or the top of a column / grid cell) — the title's margin-bottom
|
|
@@ -135,11 +128,6 @@
|
|
|
135
128
|
.slidev-layout.db-default li::marker {
|
|
136
129
|
color: var(--db-text-soft);
|
|
137
130
|
}
|
|
138
|
-
/* Shrink only the bullet glyphs (• ▪); ordered-list numbers keep text size. */
|
|
139
|
-
.slidev-layout.db-default ul li::marker {
|
|
140
|
-
font-size: 0.8em;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
131
|
/* Blockquotes -> a muted italic aside with a leading en-dash
|
|
144
132
|
(the "– …" secondary-note style). */
|
|
145
133
|
.slidev-layout.db-default blockquote {
|
|
@@ -364,10 +352,11 @@
|
|
|
364
352
|
vertical-align: middle; /* center cell text vertically */
|
|
365
353
|
text-align: center; /* center by default; :--/--: in markdown override */
|
|
366
354
|
}
|
|
367
|
-
/*
|
|
368
|
-
(
|
|
369
|
-
|
|
370
|
-
|
|
355
|
+
/* Breathing room above a table that follows something else — a heading, a
|
|
356
|
+
paragraph, a caption, or another (stacked) table. A table that is the very
|
|
357
|
+
first element in its container gets no top margin, so it sits flush at the
|
|
358
|
+
top of a slide or column. */
|
|
359
|
+
.slidev-layout.db-default table:not(:first-child) {
|
|
371
360
|
margin-top: 14px;
|
|
372
361
|
}
|
|
373
362
|
.slidev-layout.db-default thead th {
|