aboutsummaryrefslogtreecommitdiff
path: root/boilerplate.php
blob: dc3c2dfd3d9c9310ede900d66fb820d17b56ae16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/style.css" rel="stylesheet" type="text/css" media="all">

<?php
$fun = rand(0,8192);

$favicon_filename = "/favicon.ico";
$style = "";
$greeting = "Welcome.";

$month = idate("m");
$day = idate("d");

if($month == 6 || ($month == 3 && $day == 31)) {
  #$favicon_filename = "/favicon_transgender.ico";
  $style = ":root { --gradient: linear-gradient(135deg, #5BCEFA 0%, #5BCEFA 35%, #F5A9B8 65%, #FFFFFF 90%); }";
  $greeting = "Trans rights!";
}

echo("<link rel='icon' type='image/x-icon' href='$favicon_filename'>");
if($style) {
  echo("<style>$style</style>");
}
?>