szurubooru/client/css/post-content-control.styl
Shyam Sunder deffe91fda client/css: orient image posts based on EXIF data
this uses the optionally implemented "image-orientation: from-image"
CSS property, and will not work on every browser.

see #311
2020-04-08 14:14:23 -04:00

21 lines
472 B
Stylus

.post-container
.post-content.transparency-grid img
background: url('../img/transparency_grid.png')
text-align: center
.post-content
text-align: left
margin: 0 auto
position: relative
.resize-listener
position: absolute
left: 0
right: 0
top: 0
bottom: 0
width: 100%
height: 100%
img
image-orientation: from-image