mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
added preliminary ribbon title support in CSS...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
50f7c6f6e8
commit
7529109a16
@ -629,6 +629,27 @@ stretching in width... */
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* XXX would be good to make this sticky -- always visible... */
|
||||
.ribbon[title]:before {
|
||||
display: block;
|
||||
position: absolute;
|
||||
content: attr(title);
|
||||
|
||||
font-size: 52pt;
|
||||
font-style: italic;
|
||||
font-weight: bold;
|
||||
|
||||
color: white;
|
||||
text-shadow: black 2px 2px 15px;
|
||||
|
||||
top: -2pt;
|
||||
right: 100%;
|
||||
margin-right: 20pt;
|
||||
}
|
||||
.single-image-mode .ribbon[title]:before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.base-ribbon-marker {
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user