35 lines
493 B
CSS
35 lines
493 B
CSS
.lightbox {
|
|
display: none;
|
|
position: fixed;
|
|
z-index: 999;
|
|
width: 100%;
|
|
height: 100%;
|
|
text-align: center;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0,0,0,0.8);
|
|
}
|
|
|
|
.lightbox img {
|
|
max-width: 98%;
|
|
max-height: 90%;
|
|
margin-top: 2%;
|
|
}
|
|
|
|
.lightbox:target {
|
|
outline: none;
|
|
display: block;
|
|
}
|
|
|
|
.lightbox-divider {
|
|
background: #E0E0E0;
|
|
width: 100%;
|
|
height: 3px;
|
|
-webkit-flex-shrink: 0;
|
|
-ms-flex-negative: 0;
|
|
flex-shrink: 0;
|
|
margin: 30px 0;
|
|
}
|