You can indeed use background images hosted on another site, but there are some foibles to our CSS Sanitizer that I should point out.
To put an image in a site skin behind all elements on a page: #outer { background: url(http://archiveofourown.org/images/skins/textures/tiles/brown-twill.jpg); }
To put an image behind the text in a workskin: #workskin { background: url(http://archiveofourown.org/images/skins/textures/tiles/brown-twill.jpg); }
Three things to note:
It's important to include the full address in the url, including the http://.
The link must end .jpg.png, or .gif.
The file name can't have any punctuation other than hyphens and the period before the file type. Spaces in the file name (even if the link has %20 for the space) will render the code invalid.
Cool though my question was if there was a way to upload the background image to this site. I already have it hosted on imageshack and using it right now. But to share a skin, I saw somewhere that images cannot be hosted externally.
Ah, apologies - what I get for replying Before Caffeine! Currently, no, we don't have on-archive image hosting, even for images used in skins. If your skin does get approved for use, one of the Front End team would contact you for a copy of the image.
Comment on Tutorial: Skins
samjohnsson Sun 30 Dec 2012 03:10PM UTC
Comment Actions
VirensSerpens Sun 30 Dec 2012 03:37PM UTC
Comment Actions
samjohnsson Sun 30 Dec 2012 03:45PM UTC
Comment Actions
VirensSerpens Wed 16 Jan 2013 03:36AM UTC
Comment Actions