Skip to content

Commit

Permalink
figure css adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
vokimon committed May 5, 2023
1 parent d9505ad commit 155eaba
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions css/figure.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ figure {
background: #efefef;
color: #111;
padding: 3pt;
display: inline-block;
display: inline-flex;
flex-direction: column;
}
figure figcaption {
width: 100%;
Expand All @@ -30,7 +31,7 @@ figure.lightbox:target {
left: 0;
right: 0;
background: black;
background: rgba(0,0,0,.9);
background: rgba(0,0,0,.97);
color: grey;
height: 100% !important;
width: 100% !important;
Expand Down Expand Up @@ -59,14 +60,14 @@ figure.lightbox:target img {
border: 0;
}
figure.lightbox img.full {
display: none;
display: none;
}
figure.lightbox:target img.full {
display: block;
display: block;
}
figure.lightbox img.thumb {
display: block;
display: block;
}
figure.lightbox:target img.thumb {
display: none;
display: none;
}

0 comments on commit 155eaba

Please sign in to comment.