mirror of
https://gitlab.com/sbrl/GalleryShare.git
synced 2018-06-12 22:45:16 +00:00
Add texture to background.
This commit is contained in:
parent
d1343a472e
commit
b407e054ae
4 changed files with 3 additions and 2 deletions
BIN
GalleryShare/Embed/Background-Texture-Original.png
Normal file
BIN
GalleryShare/Embed/Background-Texture-Original.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 137 KiB |
BIN
GalleryShare/Embed/Background-Texture.png
Normal file
BIN
GalleryShare/Embed/Background-Texture.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 265 KiB |
|
@ -3,7 +3,7 @@ body
|
|||
{
|
||||
font-family: sans-serif;
|
||||
|
||||
background:
|
||||
background: url('/!Background-Texture.png'),
|
||||
linear-gradient(45deg, hsla(30, 92%, 46%, 1) 0%, hsla(30, 92%, 46%, 0) 70%),
|
||||
linear-gradient(135deg, hsla(330, 96%, 50%, 1) 10%, hsla(330, 96%, 50%, 0) 80%),
|
||||
linear-gradient(225deg, hsla(30, 96%, 45%, 1) 10%, hsla(30, 96%, 45%, 0) 80%),
|
||||
|
|
|
@ -16,7 +16,8 @@ namespace GalleryShare.RequestRouter
|
|||
Dictionary<string, SpecialFileEntry> specialFileMap = new Dictionary<string, SpecialFileEntry>()
|
||||
{
|
||||
{ "Transform-DirListing.xslt", new SpecialFileEntry(@"GalleryShare.Embed.DirectoryListing.xslt", "text/xsl") },
|
||||
{ "Theme.css", new SpecialFileEntry(@"GalleryShare.Embed.Theme.css", "text/css") }
|
||||
{ "Theme.css", new SpecialFileEntry(@"GalleryShare.Embed.Theme.css", "text/css") },
|
||||
{ "Background-Texture.png", new SpecialFileEntry(@"GalleryShare.Embed.Background-Texture.png", "image/png") }
|
||||
};
|
||||
|
||||
public RouteSpecialFile()
|
||||
|
|
Loading…
Reference in a new issue