hexo-theme-linen 1.0.44 → 1.0.46
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/layout/post.ejs +38 -3
- package/layout/series.ejs +1 -1
- package/package.json +1 -1
- package/scripts/lazyload/client.js +16 -1
- package/scripts/lazyload/config.js +2 -1
- package/scripts/lazyload/inject.js +2 -1
- package/source/linen-theme/css/font-version.scss +1 -1
- package/source/linen-theme/css/linen.scss +44 -15
- package/source/linen-theme/img/icons/medium-clap-reacted.svg +1 -0
- package/source/linen-theme/js/gitalk/gitalk.css +427 -2
- package/source/linen-theme/js/gitalk/gitalk.min.js +2 -2
- package/source/linen-theme/js/lazyload.js +16 -1
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
font-family: octicons-link;
|
|
3
3
|
src: url(data:font/woff;charset=utf-8;base64,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) format('woff');
|
|
4
4
|
}
|
|
5
|
-
|
|
6
5
|
.markdown-body {
|
|
7
6
|
-ms-text-size-adjust: 100%;
|
|
8
7
|
-webkit-text-size-adjust: 100%;
|
|
@@ -1248,4 +1247,430 @@
|
|
|
1248
1247
|
}
|
|
1249
1248
|
}
|
|
1250
1249
|
|
|
1251
|
-
/*# sourceMappingURL=gitalk.css.map*/
|
|
1250
|
+
/*# sourceMappingURL=gitalk.css.map*/
|
|
1251
|
+
/* Comment composer follows a heading, account row, and full-width editor. */
|
|
1252
|
+
#gitalk-container .gt-container {
|
|
1253
|
+
--gt-avatar-size: 2.25rem;
|
|
1254
|
+
position: relative;
|
|
1255
|
+
display: grid;
|
|
1256
|
+
grid-template-columns: var(--gt-avatar-size) minmax(0, 1fr);
|
|
1257
|
+
column-gap: 0.75rem;
|
|
1258
|
+
row-gap: 0;
|
|
1259
|
+
}
|
|
1260
|
+
|
|
1261
|
+
#gitalk-container .gt-container .gt-meta {
|
|
1262
|
+
display: contents;
|
|
1263
|
+
}
|
|
1264
|
+
|
|
1265
|
+
#gitalk-container .gt-container h2.gt-meta {
|
|
1266
|
+
display: contents;
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
#gitalk-container .gt-container .gt-meta::before,
|
|
1270
|
+
#gitalk-container .gt-container .gt-meta::after {
|
|
1271
|
+
display: none;
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
#gitalk-container .gt-container .gt-counts {
|
|
1275
|
+
grid-column: 1 / -1;
|
|
1276
|
+
grid-row: 1;
|
|
1277
|
+
margin: 0;
|
|
1278
|
+
padding: 1rem 0 0.75rem;
|
|
1279
|
+
border: 0;
|
|
1280
|
+
font-size: 1.25rem;
|
|
1281
|
+
font-weight: 500;
|
|
1282
|
+
line-height: 1.3;
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
#gitalk-container .gt-container .gt-user {
|
|
1286
|
+
position: relative;
|
|
1287
|
+
grid-column: 2;
|
|
1288
|
+
grid-row: 2;
|
|
1289
|
+
align-self: center;
|
|
1290
|
+
justify-self: start;
|
|
1291
|
+
float: none;
|
|
1292
|
+
margin: 0;
|
|
1293
|
+
font-size: 1rem;
|
|
1294
|
+
font-weight: 400;
|
|
1295
|
+
line-height: 1.5;
|
|
1296
|
+
}
|
|
1297
|
+
|
|
1298
|
+
#gitalk-container .gt-container .gt-header {
|
|
1299
|
+
display: contents;
|
|
1300
|
+
}
|
|
1301
|
+
|
|
1302
|
+
#gitalk-container .gt-container .gt-header-avatar {
|
|
1303
|
+
position: static;
|
|
1304
|
+
grid-column: 1;
|
|
1305
|
+
grid-row: 2;
|
|
1306
|
+
align-self: center;
|
|
1307
|
+
display: block;
|
|
1308
|
+
width: var(--gt-avatar-size);
|
|
1309
|
+
height: var(--gt-avatar-size);
|
|
1310
|
+
margin: 0;
|
|
1311
|
+
border-radius: 50%;
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1314
|
+
#gitalk-container .gt-container .gt-header-avatar img {
|
|
1315
|
+
display: block;
|
|
1316
|
+
width: 100%;
|
|
1317
|
+
height: 100%;
|
|
1318
|
+
object-fit: cover;
|
|
1319
|
+
border-radius: 50%;
|
|
1320
|
+
}
|
|
1321
|
+
|
|
1322
|
+
#gitalk-container .gt-container .gt-avatar-github {
|
|
1323
|
+
display: block;
|
|
1324
|
+
grid-column: 1;
|
|
1325
|
+
grid-row: 2;
|
|
1326
|
+
align-self: center;
|
|
1327
|
+
width: var(--gt-avatar-size);
|
|
1328
|
+
height: var(--gt-avatar-size);
|
|
1329
|
+
margin: 0;
|
|
1330
|
+
}
|
|
1331
|
+
|
|
1332
|
+
#gitalk-container .gt-container .gt-avatar-github svg {
|
|
1333
|
+
display: block;
|
|
1334
|
+
width: 100%;
|
|
1335
|
+
height: 100%;
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1338
|
+
#gitalk-container .gt-container .gt-header-comment {
|
|
1339
|
+
position: relative;
|
|
1340
|
+
grid-column: 1 / -1;
|
|
1341
|
+
grid-row: 3;
|
|
1342
|
+
min-width: 0;
|
|
1343
|
+
margin: 0.75rem 0 0;
|
|
1344
|
+
padding: 0.75rem 1rem;
|
|
1345
|
+
border-radius: 2px;
|
|
1346
|
+
background: #f5f5f5;
|
|
1347
|
+
cursor: text;
|
|
1348
|
+
transition: padding 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
1349
|
+
}
|
|
1350
|
+
|
|
1351
|
+
#gitalk-container .gt-container .gt-header-textarea {
|
|
1352
|
+
min-height: 1.5em;
|
|
1353
|
+
max-height: 1.5em;
|
|
1354
|
+
height: 1.5em;
|
|
1355
|
+
line-height: 1.5;
|
|
1356
|
+
padding: 0;
|
|
1357
|
+
border: 0;
|
|
1358
|
+
border-radius: 0;
|
|
1359
|
+
background: transparent;
|
|
1360
|
+
font: inherit;
|
|
1361
|
+
resize: none;
|
|
1362
|
+
overflow: hidden;
|
|
1363
|
+
transition: height 0.25s cubic-bezier(0.4, 0, 0.2, 1),
|
|
1364
|
+
min-height 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
1365
|
+
}
|
|
1366
|
+
|
|
1367
|
+
#gitalk-container .gt-container .gt-header-preview {
|
|
1368
|
+
min-height: 7.5rem;
|
|
1369
|
+
padding: 0;
|
|
1370
|
+
border: 0;
|
|
1371
|
+
border-radius: 0;
|
|
1372
|
+
background: transparent;
|
|
1373
|
+
font: inherit;
|
|
1374
|
+
}
|
|
1375
|
+
|
|
1376
|
+
#gitalk-container .gt-container .gt-header-textarea:hover {
|
|
1377
|
+
background: transparent;
|
|
1378
|
+
}
|
|
1379
|
+
|
|
1380
|
+
/* Hide controls by default in single-line collapsed state; animate reveal on expansion. */
|
|
1381
|
+
#gitalk-container .gt-container .gt-header-controls {
|
|
1382
|
+
display: flex;
|
|
1383
|
+
position: relative;
|
|
1384
|
+
box-sizing: border-box;
|
|
1385
|
+
width: 100%;
|
|
1386
|
+
margin: 0;
|
|
1387
|
+
padding: 0;
|
|
1388
|
+
align-items: flex-end;
|
|
1389
|
+
justify-content: flex-end;
|
|
1390
|
+
gap: 0.75rem;
|
|
1391
|
+
max-height: 0;
|
|
1392
|
+
opacity: 0;
|
|
1393
|
+
overflow: hidden;
|
|
1394
|
+
pointer-events: none;
|
|
1395
|
+
visibility: hidden;
|
|
1396
|
+
transition: max-height 0.25s cubic-bezier(0.4, 0, 0.2, 1),
|
|
1397
|
+
opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1),
|
|
1398
|
+
margin-top 0.25s cubic-bezier(0.4, 0, 0.2, 1),
|
|
1399
|
+
visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1402
|
+
/* Prevent Gitalk's float-clearing pseudo elements from shifting flex actions. */
|
|
1403
|
+
#gitalk-container .gt-container .gt-header-controls::before,
|
|
1404
|
+
#gitalk-container .gt-container .gt-header-controls::after {
|
|
1405
|
+
display: none;
|
|
1406
|
+
content: none;
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1409
|
+
/* Pin the Markdown hint to the panel's lower-left inset. */
|
|
1410
|
+
#gitalk-container .gt-container .gt-header-controls-tip {
|
|
1411
|
+
position: absolute;
|
|
1412
|
+
left: 0;
|
|
1413
|
+
bottom: -0.25rem;
|
|
1414
|
+
margin: 0;
|
|
1415
|
+
line-height: 1.5;
|
|
1416
|
+
color: #777;
|
|
1417
|
+
}
|
|
1418
|
+
|
|
1419
|
+
#gitalk-container .gt-container .gt-header-controls .gt-btn {
|
|
1420
|
+
float: none;
|
|
1421
|
+
width: auto;
|
|
1422
|
+
margin: 0;
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
/* Expanded state: when focused, containing content, in preview mode, or explicitly toggled. */
|
|
1426
|
+
#gitalk-container .gt-container .gt-header-comment:focus-within,
|
|
1427
|
+
#gitalk-container .gt-container .gt-header-comment:has(.gt-header-textarea:not(:placeholder-shown)),
|
|
1428
|
+
#gitalk-container .gt-container .gt-header-comment:has(.gt-header-preview:not(.hide)),
|
|
1429
|
+
#gitalk-container .gt-container .gt-header-comment.is-expanded {
|
|
1430
|
+
padding: 1rem;
|
|
1431
|
+
}
|
|
1432
|
+
|
|
1433
|
+
#gitalk-container .gt-container .gt-header-comment:focus-within .gt-header-textarea,
|
|
1434
|
+
#gitalk-container .gt-container .gt-header-comment:has(.gt-header-textarea:not(:placeholder-shown)) .gt-header-textarea,
|
|
1435
|
+
#gitalk-container .gt-container .gt-header-comment:has(.gt-header-preview:not(.hide)) .gt-header-textarea,
|
|
1436
|
+
#gitalk-container .gt-container .gt-header-comment.is-expanded .gt-header-textarea {
|
|
1437
|
+
height: 7.5rem;
|
|
1438
|
+
min-height: 7.5rem;
|
|
1439
|
+
max-height: none;
|
|
1440
|
+
resize: none;
|
|
1441
|
+
overflow: auto;
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1444
|
+
#gitalk-container .gt-container .gt-header-comment:focus-within .gt-header-controls,
|
|
1445
|
+
#gitalk-container .gt-container .gt-header-comment:has(.gt-header-textarea:not(:placeholder-shown)) .gt-header-controls,
|
|
1446
|
+
#gitalk-container .gt-container .gt-header-comment:has(.gt-header-preview:not(.hide)) .gt-header-controls,
|
|
1447
|
+
#gitalk-container .gt-container .gt-header-comment.is-expanded .gt-header-controls {
|
|
1448
|
+
max-height: 6rem;
|
|
1449
|
+
opacity: 1;
|
|
1450
|
+
pointer-events: auto;
|
|
1451
|
+
visibility: visible;
|
|
1452
|
+
margin-top: 0.75rem;
|
|
1453
|
+
}
|
|
1454
|
+
|
|
1455
|
+
#gitalk-container .gt-container .gt-comments {
|
|
1456
|
+
grid-column: 1 / -1;
|
|
1457
|
+
grid-row: 4;
|
|
1458
|
+
}
|
|
1459
|
+
|
|
1460
|
+
@media (max-width: 479px) {
|
|
1461
|
+
#gitalk-container .gt-container {
|
|
1462
|
+
--gt-avatar-size: 2rem;
|
|
1463
|
+
grid-template-columns: var(--gt-avatar-size) minmax(0, 1fr);
|
|
1464
|
+
column-gap: 0.875em;
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
#gitalk-container .gt-container .gt-header-avatar {
|
|
1468
|
+
width: var(--gt-avatar-size);
|
|
1469
|
+
height: var(--gt-avatar-size);
|
|
1470
|
+
}
|
|
1471
|
+
|
|
1472
|
+
#gitalk-container .gt-container .gt-avatar-github {
|
|
1473
|
+
width: var(--gt-avatar-size);
|
|
1474
|
+
height: var(--gt-avatar-size);
|
|
1475
|
+
}
|
|
1476
|
+
|
|
1477
|
+
#gitalk-container .gt-container .gt-header-comment {
|
|
1478
|
+
padding: 0.75rem 0.875rem;
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
#gitalk-container .gt-container .gt-header-comment:focus-within,
|
|
1482
|
+
#gitalk-container .gt-container .gt-header-comment:has(.gt-header-textarea:not(:placeholder-shown)),
|
|
1483
|
+
#gitalk-container .gt-container .gt-header-comment:has(.gt-header-preview:not(.hide)),
|
|
1484
|
+
#gitalk-container .gt-container .gt-header-comment.is-expanded {
|
|
1485
|
+
padding: 0.875rem;
|
|
1486
|
+
}
|
|
1487
|
+
|
|
1488
|
+
#gitalk-container .gt-container .gt-header-controls {
|
|
1489
|
+
flex-wrap: wrap;
|
|
1490
|
+
}
|
|
1491
|
+
|
|
1492
|
+
#gitalk-container .gt-container .gt-header-controls-tip {
|
|
1493
|
+
left: 0;
|
|
1494
|
+
bottom: -0.25rem;
|
|
1495
|
+
}
|
|
1496
|
+
}
|
|
1497
|
+
|
|
1498
|
+
|
|
1499
|
+
/* Keep the login menu anchored to the account row and above the editor. */
|
|
1500
|
+
#gitalk-container .gt-container .gt-user {
|
|
1501
|
+
z-index: 21;
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
#gitalk-container .gt-container .gt-popup {
|
|
1505
|
+
position: absolute;
|
|
1506
|
+
top: calc(1rem + 2rem + 0.75rem + var(--gt-avatar-size) - 0.75rem);
|
|
1507
|
+
right: auto;
|
|
1508
|
+
left: calc(var(--gt-avatar-size) + 0.75rem);
|
|
1509
|
+
z-index: 22;
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1512
|
+
@media (max-width: 479px) {
|
|
1513
|
+
#gitalk-container .gt-container .gt-popup {
|
|
1514
|
+
top: calc(1rem + 2rem + 0.75rem + var(--gt-avatar-size) - 0.75rem);
|
|
1515
|
+
left: calc(var(--gt-avatar-size) + 0.875rem);
|
|
1516
|
+
}
|
|
1517
|
+
}
|
|
1518
|
+
|
|
1519
|
+
/* Center the loading placeholder across the full comments area. */
|
|
1520
|
+
#gitalk-container .gt-container .gt-initing {
|
|
1521
|
+
grid-column: 1 / -1;
|
|
1522
|
+
grid-row: 1;
|
|
1523
|
+
display: flex;
|
|
1524
|
+
min-height: 12rem;
|
|
1525
|
+
flex-direction: column;
|
|
1526
|
+
align-items: center;
|
|
1527
|
+
justify-content: center;
|
|
1528
|
+
padding: 1rem;
|
|
1529
|
+
text-align: center;
|
|
1530
|
+
}
|
|
1531
|
+
|
|
1532
|
+
#gitalk-container .gt-container .gt-initing-text {
|
|
1533
|
+
margin: 0.625em 0 0;
|
|
1534
|
+
}
|
|
1535
|
+
|
|
1536
|
+
#gitalk-container .gt-container .gt-popup,
|
|
1537
|
+
#gitalk-container .gt-container .gt-popup * {
|
|
1538
|
+
font-weight: 400;
|
|
1539
|
+
}
|
|
1540
|
+
|
|
1541
|
+
@media (min-width: 480px) {
|
|
1542
|
+
#gitalk-container .gt-container .gt-comment-body img {
|
|
1543
|
+
max-width: 50% !important;
|
|
1544
|
+
}
|
|
1545
|
+
}
|
|
1546
|
+
|
|
1547
|
+
@media (max-width: 479px) {
|
|
1548
|
+
#gitalk-container .gt-container .gt-comment-body img {
|
|
1549
|
+
max-width: none !important;
|
|
1550
|
+
}
|
|
1551
|
+
}
|
|
1552
|
+
|
|
1553
|
+
|
|
1554
|
+
#gitalk-container .gt-container .gt-comment-like .gt-ico-heart {
|
|
1555
|
+
display: inline-flex;
|
|
1556
|
+
align-items: center;
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1559
|
+
#gitalk-container .gt-container .gt-comment-like .gt-ico-heart .gt-ico-text {
|
|
1560
|
+
display: inline-block;
|
|
1561
|
+
margin-left: 0.25em !important;
|
|
1562
|
+
color: #6b6b6b;
|
|
1563
|
+
}
|
|
1564
|
+
|
|
1565
|
+
#gitalk-container .gt-container .gt-comment {
|
|
1566
|
+
--comment-content-indent: calc(var(--gt-avatar-size) + 1rem);
|
|
1567
|
+
display: grid;
|
|
1568
|
+
grid-template-columns: var(--gt-avatar-size) minmax(0, 1fr);
|
|
1569
|
+
grid-template-rows: auto auto auto auto;
|
|
1570
|
+
column-gap: 1rem;
|
|
1571
|
+
align-items: start;
|
|
1572
|
+
padding: 1.5em 0;
|
|
1573
|
+
border-bottom: 1px solid #f2f2f2;
|
|
1574
|
+
}
|
|
1575
|
+
|
|
1576
|
+
#gitalk-container .gt-container .gt-comment:last-child {
|
|
1577
|
+
border-bottom: 0;
|
|
1578
|
+
}
|
|
1579
|
+
|
|
1580
|
+
#gitalk-container .gt-container .gt-comment-avatar {
|
|
1581
|
+
position: static;
|
|
1582
|
+
grid-column: 1;
|
|
1583
|
+
grid-row: 1 / span 2;
|
|
1584
|
+
align-self: center;
|
|
1585
|
+
display: block;
|
|
1586
|
+
width: var(--gt-avatar-size);
|
|
1587
|
+
height: var(--gt-avatar-size);
|
|
1588
|
+
border-radius: 50%;
|
|
1589
|
+
}
|
|
1590
|
+
|
|
1591
|
+
#gitalk-container .gt-container .gt-comment-avatar img {
|
|
1592
|
+
display: block;
|
|
1593
|
+
width: 100%;
|
|
1594
|
+
height: 100%;
|
|
1595
|
+
object-fit: cover;
|
|
1596
|
+
border-radius: 50%;
|
|
1597
|
+
}
|
|
1598
|
+
|
|
1599
|
+
#gitalk-container .gt-container .gt-comment-content,
|
|
1600
|
+
#gitalk-container .gt-container .gt-comment-header {
|
|
1601
|
+
display: contents;
|
|
1602
|
+
}
|
|
1603
|
+
|
|
1604
|
+
#gitalk-container .gt-container .gt-comment-block-1,
|
|
1605
|
+
#gitalk-container .gt-container .gt-comment-block-2,
|
|
1606
|
+
#gitalk-container .gt-container .gt-comment-text {
|
|
1607
|
+
display: none;
|
|
1608
|
+
}
|
|
1609
|
+
|
|
1610
|
+
#gitalk-container .gt-container .gt-comment-username {
|
|
1611
|
+
position: relative;
|
|
1612
|
+
top: 0;
|
|
1613
|
+
grid-column: 2;
|
|
1614
|
+
grid-row: 1;
|
|
1615
|
+
line-height: 1.5;
|
|
1616
|
+
}
|
|
1617
|
+
|
|
1618
|
+
#gitalk-container .gt-container .gt-comment-date {
|
|
1619
|
+
position: relative;
|
|
1620
|
+
top: 0;
|
|
1621
|
+
grid-column: 2;
|
|
1622
|
+
grid-row: 2;
|
|
1623
|
+
margin: 0.2em 0 0;
|
|
1624
|
+
}
|
|
1625
|
+
|
|
1626
|
+
#gitalk-container .gt-container .gt-comment-body {
|
|
1627
|
+
grid-column: 2;
|
|
1628
|
+
grid-row: 3;
|
|
1629
|
+
min-width: 0;
|
|
1630
|
+
width: calc(100% + var(--comment-content-indent));
|
|
1631
|
+
margin: 0.9em 0 0 calc(-1 * var(--comment-content-indent));
|
|
1632
|
+
}
|
|
1633
|
+
|
|
1634
|
+
#gitalk-container .gt-container .gt-comment-like,
|
|
1635
|
+
#gitalk-container .gt-container .gt-comment-reply,
|
|
1636
|
+
#gitalk-container .gt-container .gt-comment-edit {
|
|
1637
|
+
position: static;
|
|
1638
|
+
display: inline-flex;
|
|
1639
|
+
align-items: center;
|
|
1640
|
+
align-self: center;
|
|
1641
|
+
grid-column: 2;
|
|
1642
|
+
grid-row: 4;
|
|
1643
|
+
width: max-content;
|
|
1644
|
+
height: 1.5em;
|
|
1645
|
+
margin-top: 1.1em;
|
|
1646
|
+
line-height: 1;
|
|
1647
|
+
}
|
|
1648
|
+
|
|
1649
|
+
#gitalk-container .gt-container .gt-comment-like {
|
|
1650
|
+
transform: translateX(calc(-1 * var(--comment-content-indent)));
|
|
1651
|
+
}
|
|
1652
|
+
|
|
1653
|
+
#gitalk-container .gt-container .gt-comment-reply,
|
|
1654
|
+
#gitalk-container .gt-container .gt-comment-edit {
|
|
1655
|
+
margin-left: 3em;
|
|
1656
|
+
}
|
|
1657
|
+
|
|
1658
|
+
#gitalk-container .gt-container .gt-comment:has(.gt-comment-like):not(:has(.gt-ico-text:not(:empty))) .gt-comment-reply {
|
|
1659
|
+
margin-left: 2em !important;
|
|
1660
|
+
}
|
|
1661
|
+
|
|
1662
|
+
@media (max-width: 479px) {
|
|
1663
|
+
#gitalk-container .gt-container .gt-comment {
|
|
1664
|
+
--comment-content-indent: calc(var(--gt-avatar-size) + 0.875rem);
|
|
1665
|
+
grid-template-columns: var(--gt-avatar-size) minmax(0, 1fr);
|
|
1666
|
+
column-gap: 0.875rem;
|
|
1667
|
+
}
|
|
1668
|
+
}
|
|
1669
|
+
|
|
1670
|
+
#gitalk-container .gt-container .user-mention {
|
|
1671
|
+
text-decoration: none;
|
|
1672
|
+
}
|
|
1673
|
+
|
|
1674
|
+
#gitalk-container .gt-container .user-mention:hover {
|
|
1675
|
+
text-decoration: underline;
|
|
1676
|
+
}
|