mirror of
https://github.com/LukeHagar/unicorn-utterances.git
synced 2025-12-06 04:21:55 +00:00
use "Noto Emoji" font for better contrast in banner images
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user