Hastely coded in MIT AI2, we now have an app to view our gallery!
https://hughub.tk/app/HHappScreenshot.jpg
We've added this PHP section in our in-document CSS wich will change the main page a bit on pride month (a slightly edited CSS runs on the gallery page):
<?php
if (date('m') == 06) { //Pride Month CSS
echo "
#hughub_title { /* This should only enable on pride month */
background: linear-gradient(90deg, hotpink, red, orange, yellow, green, turquoise, indigo, violet); /* Apparantly there are multiple flag combos so we are using the original bc why not*/
color: white;
-webkit-text-stroke: black 1px;
padding: 5px;
}
#hughub_title::after {
content: \" (pride month edition)\";
";
}
?>
1 comment