diff --git a/projects.css b/projects.css index fcb621c..4c4c0e8 100644 --- a/projects.css +++ b/projects.css @@ -43,6 +43,7 @@ body { overflow: hidden; border-top-left-radius: 10px; border-top-right-radius: 10px; + position: relative; } .project-preview img { @@ -117,4 +118,37 @@ body { /* Account for margin */ margin: 30px 0; } +} + +.centered-text { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%) rotate(45deg); /* Rotate the text diagonally */ + font-size: 25px; + font-weight: bold; + color: red !important; + filter: none !important; + text-shadow: 2px 2px 4px rgba(0,0,0,0.6); + font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; + width: 90%; + z-index: 999; + display: none; +} + +@media (max-width: 500px) { + .chatJS-toGrey { + /* https://stackoverflow.com/questions/5081690/how-to-gray-out-a-html-element lmao + opacity: 0.5; /* Real browsers * / + filter: alpha(opacity = 60); /* MSIE */ + filter: grayscale(100%); + } + + .centered-text { + display: block; + } + + .chatJS-info { + background-color: #808080; + } } \ No newline at end of file diff --git a/projects.html b/projects.html index a3e88a9..38f390d 100644 --- a/projects.html +++ b/projects.html @@ -5,8 +5,7 @@ - + @@ -16,7 +15,7 @@ - +