Subversion Repositories SmartDukaan

Rev

Rev 31359 | Rev 31371 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 31359 Rev 31363
Line 226... Line 226...
226
background-color: crimson !important;
226
background-color: crimson !important;
227
 
227
 
228
}
228
}
229
 
229
 
230
 
230
 
-
 
231
img:target {
-
 
232
  border: 5px solid red;
-
 
233
}
-
 
234
 
-
 
235
.lightbox {
-
 
236
  /* Default to hidden */
-
 
237
  display: none;
-
 
238
 
-
 
239
  /* Overlay entire screen */
-
 
240
  position: fixed;
-
 
241
  z-index: 999;
-
 
242
  top: 0;
-
 
243
  left: 0;
-
 
244
  right: 0;
-
 
245
  bottom: 0;
-
 
246
 
-
 
247
  /* A bit of padding around image */
-
 
248
  padding: 1em;
-
 
249
 
-
 
250
  /* Translucent background */
-
 
251
  background: rgba(0, 0, 0, 0.8);
-
 
252
}
-
 
253
 
-
 
254
/* Unhide the lightbox when it's the target */
-
 
255
.lightbox:target {
-
 
256
  display: block;
-
 
257
}
231
 
258
 
232
      img {
259
.lightbox span {
233
        border: 2px solid #C0C0C0;
260
  /* Full width and height */
234
        padding: 5px;
261
  display: block;
235
      }
262
  width: 100%;
236
      img:hover {
263
  height: 100%;
-
 
264
 
237
        box-shadow: 0px 4px 5px #FFD700;
265
  /* Size and position background image */
-
 
266
  background-position: center;
-
 
267
  background-repeat: no-repeat;
-
 
268
  background-size: contain;
238
      }
269
}
239
 
270
 
240
 
271
 
241
</style>
272
</style>