use "Noto Emoji" font for better contrast in banner images

This commit is contained in:
James Fenn
2023-10-03 16:47:42 -04:00
parent 34977c078d
commit 569a13e594

View File

@@ -1,5 +1,5 @@
export default ` export default `
@import url('https://fonts.googleapis.com/css2?family=Noto+Color+Emoji&family=Roboto+Mono:wght@400;700&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Noto+Emoji&family=Roboto+Mono:wght@400;700&display=swap');
* { * {
font-family: inherit; font-family: inherit;
@@ -111,18 +111,19 @@ pre code::before {
position: absolute; position: absolute;
top: calc(50% + var(--y)); top: calc(50% + var(--y));
left: calc(50% + var(--x)); left: calc(50% + var(--x));
filter: grayscale(1);
} }
.rect svg { .rect svg {
margin: 20px; margin: 20px;
width: calc(100% - 40px); width: calc(100% - 40px);
height: calc(100% - 40px); height: calc(100% - 40px);
filter: grayscale(1);
} }
.rect.emoji { .rect.emoji {
font-family: 'Noto Color Emoji'; font-family: 'Noto Emoji';
font-size: 100px; font-size: 100px;
color: #333;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;