lazy CSS trick to make :octocat: more visible on different tiles
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user