@skirbi/pinta 0.0.37 → 0.0.38
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/Changes +4 -0
- package/lib/index.mjs +1 -1
- package/lib/themes/pinta.css +52 -6
- package/package.json +1 -1
- package/skirbi-pinta-0.0.38.tgz +0 -0
package/Changes
CHANGED
package/lib/index.mjs
CHANGED
package/lib/themes/pinta.css
CHANGED
|
@@ -1607,15 +1607,61 @@
|
|
|
1607
1607
|
overflow: hidden;
|
|
1608
1608
|
}
|
|
1609
1609
|
|
|
1610
|
-
semtic-
|
|
1611
|
-
|
|
1612
|
-
|
|
1610
|
+
semtic-header > header {
|
|
1611
|
+
margin-bottom: 1.5rem;
|
|
1612
|
+
}
|
|
1613
|
+
}
|
|
1614
|
+
|
|
1615
|
+
/**
|
|
1616
|
+
* @styles pinta.semtic-image Semtic image
|
|
1617
|
+
* @description
|
|
1618
|
+
*
|
|
1619
|
+
* Default recipe for `<semtic-image>` and its `<semtic-attribution>` caption.
|
|
1620
|
+
*
|
|
1621
|
+
* `<semtic-image>` renders a `<figure>` with the image and, when attribution
|
|
1622
|
+
* is given, a `<figcaption>` credit line underneath.
|
|
1623
|
+
*/
|
|
1624
|
+
[skirbi-theme] {
|
|
1625
|
+
semtic-image {
|
|
1613
1626
|
display: block;
|
|
1614
|
-
|
|
1627
|
+
|
|
1628
|
+
figure {
|
|
1629
|
+
margin: 0;
|
|
1630
|
+
overflow: hidden;
|
|
1631
|
+
}
|
|
1632
|
+
|
|
1633
|
+
img {
|
|
1634
|
+
display: block;
|
|
1635
|
+
width: 100%;
|
|
1636
|
+
height: auto;
|
|
1637
|
+
object-fit: cover;
|
|
1638
|
+
}
|
|
1639
|
+
|
|
1640
|
+
figcaption {
|
|
1641
|
+
padding: 0.375rem 0;
|
|
1642
|
+
font-size: 0.8125rem;
|
|
1643
|
+
color: var(--skirbi-text-muted-final);
|
|
1644
|
+
}
|
|
1615
1645
|
}
|
|
1616
1646
|
|
|
1617
|
-
semtic-
|
|
1618
|
-
|
|
1647
|
+
semtic-attribution {
|
|
1648
|
+
display: block;
|
|
1649
|
+
|
|
1650
|
+
p {
|
|
1651
|
+
margin: 0;
|
|
1652
|
+
}
|
|
1653
|
+
|
|
1654
|
+
a {
|
|
1655
|
+
color: inherit;
|
|
1656
|
+
text-decoration: underline;
|
|
1657
|
+
text-decoration-color: var(--skirbi-surface-border-final);
|
|
1658
|
+
text-underline-offset: 0.15em;
|
|
1659
|
+
|
|
1660
|
+
&:hover {
|
|
1661
|
+
color: var(--skirbi-primary-main);
|
|
1662
|
+
text-decoration-color: currentColor;
|
|
1663
|
+
}
|
|
1664
|
+
}
|
|
1619
1665
|
}
|
|
1620
1666
|
}
|
|
1621
1667
|
|
package/package.json
CHANGED
|
Binary file
|