add Picture component for displaying images in articles with h/v/s layout support
This commit is contained in:
1 parent
1bd80aa0b2
commit
a55d474336
7 files changed
+75
-75
No files matched your search
@@ -0,0 +1,27 @@
|
||||
.pic {
|
||||
/* position: relative; */
|
||||
/* width: calc(100% + var(--kazimir-image-increase)); */
|
||||
/* margin-left: calc(-0.5 * var(--kazimir-image-increase)); */
|
||||
margin-bottom: var(--size-xl);
|
||||
}
|
||||
|
||||
.pic.vertical {
|
||||
max-width: 60%;
|
||||
}
|
||||
|
||||
.pic.square {
|
||||
max-width: 80%;
|
||||
}
|
||||
|
||||
.pic img {
|
||||
border-radius: var(--radius);
|
||||
}
|
||||
|
||||
.pic figcaption {
|
||||
color: var(--color-text);
|
||||
font-size: var(--font-size-second);
|
||||
font-style: italic;
|
||||
font-weight: 100;
|
||||
padding-top: var(--size-xs);
|
||||
text-align: center;
|
||||
}
|
||||
Reference in new issue
Block a user