@canopy-iiif/app 0.9.13 → 0.9.14
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/lib/build/mdx.js +11 -0
- package/package.json +2 -1
- package/ui/dist/index.mjs +162 -102
- package/ui/dist/index.mjs.map +4 -4
- package/ui/dist/server.mjs +192 -129
- package/ui/dist/server.mjs.map +4 -4
- package/ui/styles/base/_heading.scss +9 -1
- package/ui/styles/base/_markdown.scss +43 -0
- package/ui/styles/base/index.scss +1 -0
- package/ui/styles/components/_buttons.scss +7 -0
- package/ui/styles/index.css +53 -1
package/ui/styles/index.css
CHANGED
|
@@ -126,10 +126,55 @@ h2 {
|
|
|
126
126
|
font-family: var(--font-serif);
|
|
127
127
|
font-size: 1.618rem;
|
|
128
128
|
line-height: 1.25;
|
|
129
|
-
margin:
|
|
129
|
+
margin: 2.618rem 0 1rem;
|
|
130
130
|
font-weight: 400;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
+
h3 {
|
|
134
|
+
font-size: 1.382rem;
|
|
135
|
+
line-height: 1.3;
|
|
136
|
+
letter-spacing: -0.0125em;
|
|
137
|
+
margin: 1.618rem 0 1rem;
|
|
138
|
+
font-weight: 400;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.markdown-table__frame {
|
|
142
|
+
width: 100%;
|
|
143
|
+
margin: 1.618rem 0 2.618rem;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.markdown-table {
|
|
147
|
+
width: 100%;
|
|
148
|
+
border-collapse: collapse;
|
|
149
|
+
margin: 0;
|
|
150
|
+
}
|
|
151
|
+
.markdown-table th,
|
|
152
|
+
.markdown-table td {
|
|
153
|
+
border: 1px solid var(--color-gray-400);
|
|
154
|
+
padding: 0.5rem 0.75rem;
|
|
155
|
+
text-align: left;
|
|
156
|
+
vertical-align: top;
|
|
157
|
+
}
|
|
158
|
+
.markdown-table th {
|
|
159
|
+
font-size: 0.8333rem;
|
|
160
|
+
font-weight: 300;
|
|
161
|
+
letter-spacing: -0.0125em;
|
|
162
|
+
border-top: none;
|
|
163
|
+
border-left: none;
|
|
164
|
+
border-right: none;
|
|
165
|
+
}
|
|
166
|
+
.markdown-table tbody {
|
|
167
|
+
box-shadow: 5px 5px 11px rgba(0, 0, 0, 0.05);
|
|
168
|
+
}
|
|
169
|
+
.markdown-table tbody tr:nth-child(even) {
|
|
170
|
+
background-color: var(--color-gray-200);
|
|
171
|
+
}
|
|
172
|
+
.markdown-table code {
|
|
173
|
+
font-family: var(--font-mono);
|
|
174
|
+
font-size: 0.875rem;
|
|
175
|
+
color: var(--color-gray-900);
|
|
176
|
+
}
|
|
177
|
+
|
|
133
178
|
.canopy-button {
|
|
134
179
|
display: inline-flex;
|
|
135
180
|
align-items: center;
|
|
@@ -162,6 +207,13 @@ h2 {
|
|
|
162
207
|
color: var(--color-brand-700, #4338ca);
|
|
163
208
|
}
|
|
164
209
|
|
|
210
|
+
.canopy-button-group {
|
|
211
|
+
display: flex;
|
|
212
|
+
flex-wrap: wrap;
|
|
213
|
+
align-items: center;
|
|
214
|
+
gap: 0.75rem;
|
|
215
|
+
}
|
|
216
|
+
|
|
165
217
|
/* Canopy Card component styles */
|
|
166
218
|
.canopy-card, .canopy-annotation-card {
|
|
167
219
|
display: block;
|