lakelib 0.4.2 → 0.4.3

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/lake.css CHANGED
@@ -224,6 +224,11 @@ lake-box[type="block"] {
224
224
  margin-bottom: 16px;
225
225
  }
226
226
 
227
+ /* for HTML preview */
228
+ .lake-box-block {
229
+ margin-bottom: 16px;
230
+ }
231
+
227
232
  lake-box .lake-box-strip {
228
233
  display: block;
229
234
  min-width: 1px;
@@ -1220,7 +1225,7 @@ lake-box[type="block"] .lake-iframe .lake-input-field input[type="text"] {
1220
1225
  color: var(--lake-box-placeholder-text-color);
1221
1226
  }
1222
1227
 
1223
- .lake-iframe iframe {
1228
+ .lake-container iframe {
1224
1229
  border-radius: 5px;
1225
1230
  }
1226
1231
 
@@ -1298,12 +1303,8 @@ lake-box[type="block"] .lake-iframe .lake-input-field input[type="text"] {
1298
1303
  fill: var(--lake-error-color);
1299
1304
  }
1300
1305
 
1301
- lake-box[name="hr"] {
1302
- margin-bottom: 8px;
1303
- }
1304
-
1305
1306
  .lake-hr {
1306
- height: 21px;
1307
+ height: 24px;
1307
1308
  display: flex;
1308
1309
  align-items: center;
1309
1310
  }
@@ -1440,6 +1441,24 @@ lake-box[name="codeBlock"] .lake-box-activated .lake-code-block .lake-dropdown {
1440
1441
  padding: 16px 20px;
1441
1442
  }
1442
1443
 
1444
+
1445
+ /* for HTML preview */
1446
+ .lake-container pre[class*=lang-] {
1447
+ margin: 0;
1448
+ font-size: 14px;
1449
+ font-family: Consolas, Courier, monospace;
1450
+ border-radius: 5px;
1451
+ color: var(--lake-text-color);
1452
+ background-color: var(--lake-box-background-color);
1453
+ margin-bottom: 16px;
1454
+ padding: 16px 20px;
1455
+ }
1456
+
1457
+ .lake-container pre[class*=lang-] code {
1458
+ display: block;
1459
+ background-color: transparent;
1460
+ }
1461
+
1443
1462
  .lake-image-placeholder {
1444
1463
  display: flex;
1445
1464
  align-items: center;