mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
experimenting with image gaps...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
ea433bee78
commit
f4cf1d2ee7
@ -570,6 +570,23 @@ body {
|
||||
}
|
||||
|
||||
|
||||
/* image gaps */
|
||||
.image:not(:first-of-type) {
|
||||
margin-left: var(--image-gap-size);
|
||||
}
|
||||
/* image gap indicator */
|
||||
.image:before {
|
||||
content: var(--image-gap-text);
|
||||
display: block;
|
||||
position: absolute;
|
||||
bottom: 0.5em;
|
||||
left: 0px;
|
||||
background:gray;
|
||||
border-radius: 1em;
|
||||
padding: 0.2em 0.5em;
|
||||
transform: translate(-50%);
|
||||
}
|
||||
|
||||
|
||||
/* DEBUG stuff... */
|
||||
.container-center {
|
||||
|
||||
@ -42,6 +42,10 @@
|
||||
--background-color: white;
|
||||
}
|
||||
|
||||
.viewer.single-image-mode {
|
||||
--ribbon-background-color: none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/********************************************************* utility ***/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user