mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
add media component
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
.thumbnail {
|
||||
float: left;
|
||||
padding: 3px 20px 5px 0;
|
||||
width: var(--width, 250px);
|
||||
height: var(--height, 250px);
|
||||
}
|
||||
|
||||
.thumbnailHidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.thumbnailVisible {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.thumbnailWrapper {
|
||||
background-color: var(--background-thumbnail);
|
||||
height: 250px;
|
||||
width: 250px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.transparentThumbnailWrapper {
|
||||
background-color: transparent;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.thumbnail img, .thumbnail video {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
Reference in New Issue
Block a user