Commit Graph
47 Commits
Author SHA1 Message Date
evazion 6f9dbb65e0 icons: reduce size of github logo.
Reduce resolution from 512x512 -> 32x32 and filesize from 45kb -> 2.7kb.
2022-12-11 04:36:26 -06:00
evazion da6a61b4e7 css: switch to SVG sprites for icons.
Switch to using SVG sprites for icons, instead of using a combination of icon fonts and inline SVG elements.

This means there's a single icons.svg file containing all icons, and icons are referenced like
`<svg><use href="/icons.svg#arrow-alt-up"/></svg>`.

This should make icons more efficient since a) it replaces an 80kb icon font file with a 8kb SVG
file and b) it replaces repeated inline copies of the same icon with references to the sprite sheet.
This most notably affects the upvote and downvote buttons.

This also updates icons from Font Awesome 5 to Font Awesome 6, which fixes a few minor icon
alignment issues in some places.

ref: https://fontawesome.com/docs/web/add-icons/svg-sprites
2022-12-11 02:16:01 -06:00
evazion f74f1e9f70 artists: add more website icons for artist entries. 2022-12-10 17:02:49 -06:00
evazion e2786d0292 Fix #5371: More website icons for artist entries. 2022-12-10 16:52:47 -06:00
evazion 096efdee7b sources: add rule34.xxx, safebooru.org, and tbib.org site icons.
Fixes these sources incorrectly using the Gelbooru site icon.
2022-11-28 15:56:54 -06:00
evazion e12ce9b472 Fix #5343: Add icons for websites linked to at least 9 artists. 2022-11-12 19:49:20 -06:00
evazion 0fd95375fa sources: add more site icons.
Add site icons for the following sites:

* 4chan
* Catbox
* Danbooru
* Drawcrowd
* E-Hentai
* Enty
* Gelbooru
* Hitomi
* Imgur
* Joyreactor
* Kemono Party
* Konachan
* Luscious.net
* Mega.nz
* Monappy
* Mihoyo
* Overdoll
* Pinterest
* Rule34.us
* Sankaku Complex
* Steam
* Webmshare
* Yande.re
* Zerochan

These are mainly used for source links on the https://danbooru.donmai.us/post_events?search[category]=Replacement page.
2022-11-11 00:54:50 -06:00
evazion 3b0e94040f posts: fix placeholder thumbnail for Flash files.
* Replace the "Download" placeholder thumbnail for Flash files with a
  new placeholder that specifically says it's a Flash file.
* Fix a bug where the Flash placeholder thumbnail was too small when
  using larger thumbnail sizes.
* Fix it so that media assets don't falsely consider Flash files to have
  thumbnails. This could potentially cause errors if someone tried to
  expunge, replace, or regenerate a Flash post.
2022-10-16 16:46:18 -05:00
evazion c6b5be1c9f Update Danbooru logo. 2022-05-22 02:53:22 -05:00
evazion ed1629bc7d Update Danbooru logo. 2022-05-21 23:26:46 -05:00
evazion 276850d2b1 Update Danbooru logo. 2022-05-21 21:39:44 -05:00
evazion d89db73c2f Add site logo to header. 2022-05-21 13:30:21 -05:00
evazion 32d77d57ec upgrades: update upgrade page text. 2022-05-09 14:16:58 -05:00
nonamethanks c9227645d9 Add anifty.jp support 2022-04-18 16:50:26 +02:00
evazion b8f154d301 artists: add more artist url icons. 2022-03-30 22:04:24 -05:00
evazion eef6e8f55f Merge pull request #5066 from nonamethanks/use-non-ass-fantia-icon
Fantia: use non-transparent site icon
2022-03-23 03:00:48 -05:00
evazion fbca31d29e artists: add more artist url icons. 2022-03-23 02:59:22 -05:00
nonamethanks 38bd487e6b Fantia: use non-transparent site icon 2022-03-22 19:17:35 +01:00
evazion cdbcc8e768 artists: add more artist url icons. 2022-03-22 03:43:23 -05:00
NamelessContributor c669b16c32 url icons: replace some icons with better versions
mangaupdates, nijie, sakura-ne-jp: replaced with higher resolution,
  the old icons look blurry on hidpi screens.
skeb, tumblr: replaced with transparent versions.
2022-03-15 16:12:08 +01:00
evazion b8356c97c1 Add Danbooru Winter Sale. 2021-12-28 14:41:37 -06:00
nonamethanks 060223c9e2 Add Plurk support 2021-11-01 16:21:27 +01:00
nonamethanks 043f2fb124 Add Foundation support 2021-11-01 01:39:56 +01:00
evazion 38e814ddff assets: fix permissions for static images.
Remove execute permission for static images in public/images/.
2021-09-12 10:17:38 -05:00
evazion c7fda2772f posts: fix rare bug with first post.
Fix a rare bug that occurs once per year that causes post 1 to appear
insufficiently festive.
2021-05-23 06:33:29 -05:00
evazion 1716cc5bf9 artists: add more artist url icons. 2021-03-08 01:30:02 -06:00
evazion 7b60a476e5 sources: add artist profile links to fetch source data box.
Add site icons linking to all the artist's sites in the fetch source
data box.

Some artist entries have a large number of URLs. Various heuristics are
applied to try to present the most useful URLs first. Dead URLs and
redundant URLs (Pixiv stacc and Twitter intent URLs) are filtered out.
Remaining URLs are sorted first by site (to put sites like Pixiv and
Twitter first), then by URL (to break ties when an artist has multiple
accounts on the same site).

Some sites have shitty hard-to-read icons. It can't be helped. The icons
are the official favicons of each site.
2021-02-26 01:24:30 -06:00
evazion 1d15ce2bcd Remove Danbooru Winter Sale. 2021-01-01 04:16:38 -06:00
evazion fd18291382 Add Danbooru Winter Sale. 2020-12-25 06:07:21 -06:00
evazion 6b7cd7b972 posts: update tag counter icons. 2020-08-02 18:33:47 -05:00
evazion b6b0218e1d seo: update JSON-LD site metadata.
* Add the Danbooru logo and social media links to the Organization data.
  This is to make Danbooru eligible for Google's knowledge panel ([1], [2]).
* Only include this metadata on the frontpage as per Google's recommendations ([3]).

[1]: https://support.google.com/knowledgepanel/answer/9163198
[2], https://developers.google.com/search/docs/data-types/logo
[3]: https://developers.google.com/search/docs/data-types/sitelinks-searchbox
2020-07-03 18:18:35 -05:00
evazion 26d6e23377 Fix #4425: Add Danbooru Discord server prominently
* Add Discord, Twitter, and Github links to site footer.
* Remove "Desktop mode" and "Keyboard shortcuts" links from footer.
  Users can use the desktop site option in their browser to switch
  between desktop and mobile mode.
* Remove git hash from footer. Users can hover over the Github logo to
  see the hash instead.
2020-05-08 17:14:22 -05:00
evazion 13f26c81d8 Remove unused files. 2019-11-15 23:59:56 -06:00
r888888888 d4007e8093 potential fix for #1769, add missing jquery ui icons 2013-06-19 12:56:21 -07:00
albert 7817e571c3 fixes #398 2013-02-19 14:00:27 -05:00
albert ae9c7164e4 remove ads directory 2013-01-06 17:16:01 -05:00
albert b43c096116 added jlist rss ads 2013-01-05 22:51:00 -05:00
albert 49778758b9 updated advertisement test 2012-05-11 17:09:18 -04:00
albert 4135fb2f8c Fixes #216 2012-01-06 19:13:54 -05:00
albert c478eb33b6 * Additional effects
* Fixed flash pngs
* Fixed dmail search links
2011-11-03 17:42:40 -04:00
albert a89acf671c fix size 2011-10-30 17:10:15 -04:00
albert 731308d7eb new flash thumbnails 2011-10-30 16:49:43 -04:00
albert 969185ad24 work 2011-05-26 19:10:08 -04:00
albert 76a7594a97 implemented favorites on post/show page 2011-02-07 18:57:33 -05:00
albert f051e04550 sync 2010-10-08 18:42:26 -04:00
albert 23656e3fa9 * Continued work on improving post view templates
* Added statistics-based estimator for related tag calculator
* Fleshed out IpBan class based on changes to Danbooru 1.xx
2010-04-29 17:32:15 -04:00
Albert Yi 9bb07046cd initial 2010-02-04 15:08:49 -05:00