Created
January 7, 2020 04:39
-
-
Save outloudvi/672b421141848868b0c995e422201ed2 to your computer and use it in GitHub Desktop.
Put an background image on the right-bottom (or anywhere else) of Typora.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Add this to ~/.config/Typora/themes/github.css (or the name of your theme | |
The background image should be put in the theme directory | |
*/ | |
content::after { | |
content: ''; | |
background-image: url(./github/image.png); /* relate path is required */ | |
height: 250px; /* set by yourself */ | |
width: 200px; /* set by yourself */ | |
position: fixed; | |
right: 7px; /* avoid overlapping the slider. */ | |
bottom: 30px; /* avoid overlapping the bottom status bar. Use "0px" for macOS. */ | |
background-repeat: no-repeat; | |
background-size: contain; | |
opacity: 0.3; | |
pointer-events: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment