diff --git a/res/forum/style.css b/res/forum/style.css index ec36b0c..3d75f7f 100644 --- a/res/forum/style.css +++ b/res/forum/style.css @@ -290,4 +290,33 @@ body max-height: 15vh; overflow-y: auto; padding-left: 1vw; +} + +#image_popup +{ + z-index: 9; + position: absolute; + + padding: 1%; + + max-height: 80%; + max-width: 80%; + + left: 0; + right: 0; + top: 0; + bottom: 0; + margin: auto; + + border: solid 1px #3E392F; + border-radius: 0.5vh 0.5vh; + background-color: #555; + display: flex; + justify-content: center; +} + +#image_popup img +{ + max-width: 100%; + max-height: 100%; } \ No newline at end of file