image details

This commit is contained in:
2022-06-27 16:12:17 +01:00
parent 059ef077d3
commit 04816fba59
80 changed files with 496 additions and 54 deletions

View File

@ -118,6 +118,10 @@ strong {
font-size: 1.3rem;
}
.post-content {
position: relative;
}
.post-content [id] {
position: relative;
@ -200,3 +204,27 @@ hr {
margin: 2rem auto;
display: block;
}
.art .image-details {
position: absolute;
top: 10px;
left: 10px;
font-size: 12px;
color: white;
text-shadow: 1px 1px black;
font-family: monospace;
text-align: left;
transition: opacity 0.2s;
}
.art .image-details.lang-fa {
left: none;
right: 10px;
text-align: right;
font-family: $base-font-family;
}
.art .post-content:hover .image-details {
opacity: 0;
}