lazy CSS trick to make :octocat: more visible on different tiles

This commit is contained in:
2020-05-26 21:57:10 -04:00
parent 185be0abe0
commit 2a8993641b

View File

@ -3,7 +3,11 @@ body {
padding: 0;
width: 100%;
height: 100%;
background-repeat: repeat; /* image is set by JS onload */
/* specific retro wallpaper tile is set randomly by JS onload */
background-repeat: repeat;
background-attachment: fixed;
background-position: center;
}
canvas {
display: block;
@ -27,11 +31,11 @@ a.github {
position: fixed;
right: 16px;
bottom: 16px;
text-decoration: none;
}
a.github, a.github svg {
width: 32px;
height: 32px;
fill: #101010;
fill-opacity: 0.9;
text-decoration: none;
/* lazy CSS trick to make octocat visible on different tiles */
fill: #fff;
mix-blend-mode: exclusion;
}