Browse Source

More fiddling with category icons and display

pjc 5 years ago
parent
commit
f9bbca6fa5

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


+ 11
- 7
static/styles/beluga/style.css View File

19
 }
19
 }
20
 
20
 
21
 .cats_dna, .cats_rna, .cats_protein, .cats_other {
21
 .cats_dna, .cats_rna, .cats_protein, .cats_other {
22
-  width: 38px!important;
23
-  height: 38px!important;
24
-  line-height: 38px;
22
+  width: 36px!important;
23
+  height: 36px!important;
24
+  line-height: 36px;
25
 }
25
 }
26
 .group .cats_dna:after, .group .cats_rna:after,
26
 .group .cats_dna:after, .group .cats_rna:after,
27
 .group .cats_protein:after, .group .cats_other:after {
27
 .group .cats_protein:after, .group .cats_other:after {
30
 .cats_dna:after {
30
 .cats_dna:after {
31
   content: "DNA";
31
   content: "DNA";
32
   color: #3EACA7;
32
   color: #3EACA7;
33
-  font-size: 16px;
33
+  font-size: 18px;
34
+  letter-spacing: -2px;
34
 }
35
 }
35
 .group .cats_dna { background-color: #3EACA7; }
36
 .group .cats_dna { background-color: #3EACA7; }
36
 .cats_rna:after {
37
 .cats_rna:after {
37
   content: "RNA";
38
   content: "RNA";
38
   color: #1D818E;
39
   color: #1D818E;
39
-  font-size: 20px;
40
+  font-size: 18px;
41
+  letter-spacing: -2px;
40
 }
42
 }
41
 .group .cats_rna { background-color: #1D818E; }
43
 .group .cats_rna { background-color: #1D818E; }
42
 .cats_protein:after {
44
 .cats_protein:after {
43
   content: "PROT";
45
   content: "PROT";
44
   color: #88C796;
46
   color: #88C796;
45
-  font-size: 16px;
47
+  font-size: 18px;
48
+  letter-spacing: -2px;
46
 }
49
 }
47
 .group .cats_protein { background-color: #88C796; }
50
 .group .cats_protein { background-color: #88C796; }
48
 .cats_other:after {
51
 .cats_other:after {
49
   content: "MISC";
52
   content: "MISC";
50
   color: #4DC593;
53
   color: #4DC593;
51
-  font-size: 16px;
54
+  font-size: 18px;
55
+  letter-spacing: -2px;
52
 }
56
 }
53
 .group .cats_other { background-color: #4DC593; }
57
 .group .cats_other { background-color: #4DC593; }
54
 /* Unused categories
58
 /* Unused categories

+ 4
- 4
static/styles/kuro/style.css View File

1
 /* Layout (Torrents page) */
1
 /* Layout (Torrents page) */
2
 
2
 
3
 /* We're going to opt for the category icon method for now, tags_* is also available */
3
 /* We're going to opt for the category icon method for now, tags_* is also available */
4
-.cats_dna { width: 38px; height: 38px; background: url('/static/common/caticons/dna.png') no-repeat center center; }
5
-.cats_rna { width: 38px; height: 38px; background: url('/static/common/caticons/rna.png') no-repeat center center; }
6
-.cats_protein { width: 38px; height: 38px; background: url('/static/common/caticons/protein.png') no-repeat center center; }
7
-.cats_other { width: 38px; height: 38px; background: url('/static/common/caticons/other.png') no-repeat center center; }
4
+.cats_dna { width: 36px; height: 36px; background: url('/static/common/caticons/dna.png') no-repeat center center; }
5
+.cats_rna { width: 36px; height: 36px; background: url('/static/common/caticons/rna.png') no-repeat center center; }
6
+.cats_protein { width: 36px; height: 36px; background: url('/static/common/caticons/protein.png') no-repeat center center; }
7
+.cats_other { width: 36px; height: 36px; background: url('/static/common/caticons/other.png') no-repeat center center; }
8
 /* Unused categories
8
 /* Unused categories
9
 .cats_ebooks { width: 28px; height: 28px; background: url('images/ebook.png') no-repeat center center; }
9
 .cats_ebooks { width: 28px; height: 28px; background: url('images/ebook.png') no-repeat center center; }
10
 .cats_elearningvideos { width: 28px; height: 28px; background: url('images/elearning.png') no-repeat center center; }
10
 .cats_elearningvideos { width: 28px; height: 28px; background: url('images/elearning.png') no-repeat center center; }

+ 4
- 4
static/styles/oppai/style.css View File

5
 }
5
 }
6
 
6
 
7
 /* We're going to opt for the category icon method for now, tags_* is also available */
7
 /* We're going to opt for the category icon method for now, tags_* is also available */
8
-.cats_dna { width: 38px; height: 38px; background: url('/static/common/caticons/dna.png') no-repeat center center; }
9
-.cats_rna { width: 38px; height: 38px; background: url('/static/common/caticons/rna.png') no-repeat center center; }
10
-.cats_protein { width: 38px; height: 38px; background: url('/static/common/caticons/protein.png') no-repeat center center; }
11
-.cats_other { width: 38px; height: 38px; background: url('/static/common/caticons/other.png') no-repeat center center; }
8
+.cats_dna { width: 36px; height: 36px; background: url('/static/common/caticons/dna.png') no-repeat center center; }
9
+.cats_rna { width: 36px; height: 36px; background: url('/static/common/caticons/rna.png') no-repeat center center; }
10
+.cats_protein { width: 36px; height: 36px; background: url('/static/common/caticons/protein.png') no-repeat center center; }
11
+.cats_other { width: 36px; height: 36px; background: url('/static/common/caticons/other.png') no-repeat center center; }
12
 /* Unused categories
12
 /* Unused categories
13
 .cats_ebooks { width: 28px; height: 28px; background: url('images/ebook.png') no-repeat center center; }
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; }
14
 .cats_elearningvideos { width: 28px; height: 28px; background: url('images/elearning.png') no-repeat center center; }

Loading…
Cancel
Save