Browse Source

Add category icons to the other styles

pjc 5 years ago
parent
commit
52a71e0fb3

BIN
static/common/caticons/dna.png View File


BIN
static/common/caticons/other.png View File


BIN
static/common/caticons/protein.png View File


BIN
static/common/caticons/rna.png View File


+ 6
- 5
static/styles/kuro/style.css View File

@@ -1,14 +1,15 @@
1 1
 /* Layout (Torrents page) */
2 2
 
3 3
 /* We're going to opt for the category icon method for now, tags_* is also available */
4
-.cats_applications { width: 28px; height: 28px; background: url('images/apps.png') no-repeat center center; }
5
-.cats_audiobooks { width: 28px; height: 28px; background: url('images/audiobook.png') no-repeat center center; }
6
-.cats_comedy { width: 28px; height: 28px; background: url('images/comedy.png') no-repeat center center; }
7
-.cats_comics { width: 28px; height: 28px; background: url('images/comics.png') no-repeat center center; }
4
+.cats_dna { width: 38px; height: 38px; background: url('images/dna.png') no-repeat center center; }
5
+.cats_rna { width: 38px; height: 38px; background: url('images/rna.png') no-repeat center center; }
6
+.cats_protein { width: 38px; height: 38px; background: url('images/protein.png') no-repeat center center; }
7
+.cats_other { width: 38px; height: 38px; background: url('images/other.png') no-repeat center center; }
8
+/* Unused categories
8 9
 .cats_ebooks { width: 28px; height: 28px; background: url('images/ebook.png') no-repeat center center; }
9 10
 .cats_elearningvideos { width: 28px; height: 28px; background: url('images/elearning.png') no-repeat center center; }
10
-
11 11
 .cats_music { width: 28px; height: 28px; background: url('images/music.png') no-repeat center center; }
12
+*/
12 13
 
13 14
 /* Global */
14 15
 

+ 10
- 6
static/styles/oppai/style.css View File

@@ -5,12 +5,16 @@
5 5
 }
6 6
 
7 7
 /* We're going to opt for the category icon method for now, tags_* is also available */
8
-.cats_anime { width: 28px; height: 28px; background: url('images/anime.png') no-repeat center center; }
9
-.cats_movies { width: 28px; height: 28px; background: url('images/movies.png') no-repeat center center; }
10
-.cats_manga { width: 28px; height: 28px; background: url('images/manga.png') no-repeat center center; }
11
-.cats_games { width: 28px; height: 28px; background: url('images/games.png') no-repeat center center; }
12
-.cats_audio { width: 28px; height: 28px; background: url('images/audiobook.png') no-repeat center center; }
13
-.cats_other { width: 28px; height: 28px; background: url('images/other.png') no-repeat center center; }
8
+.cats_dna { width: 38px; height: 38px; background: url('images/dna.png') no-repeat center center; }
9
+.cats_rna { width: 38px; height: 38px; background: url('images/rna.png') no-repeat center center; }
10
+.cats_protein { width: 38px; height: 38px; background: url('images/protein.png') no-repeat center center; }
11
+.cats_other { width: 38px; height: 38px; background: url('images/other.png') no-repeat center center; }
12
+/* Unused categories
13
+.cats_ebooks { width: 28px; height: 28px; background: url('images/ebook.png') no-repeat center center; }
14
+.cats_elearningvideos { width: 28px; height: 28px; background: url('images/elearning.png') no-repeat center center; }
15
+.cats_music { width: 28px; height: 28px; background: url('images/music.png') no-repeat center center; }
16
+*/
17
+
14 18
 /* Global */
15 19
 * {
16 20
   padding: 0em;

Loading…
Cancel
Save