Browse Source

Initial commit

crobi 10 years ago
parent
commit
1cca29c82a
100 changed files with 4529 additions and 0 deletions
  1. 2
    0
      README.md
  2. 154
    0
      generator/css/cards.css
  3. 2659
    0
      generator/css/colors.css
  4. 113
    0
      generator/css/custom-colors.css
  5. 34
    0
      generator/css/custom-icons.css
  6. 1342
    0
      generator/css/icons.css
  7. 39
    0
      generator/css/page.css
  8. 1
    0
      generator/data/card_data.js
  9. 131
    0
      generator/data/card_data_example.js
  10. 0
    0
      generator/data/card_data_user.js
  11. 54
    0
      generator/generate.html
  12. BIN
      generator/img/ace.png
  13. BIN
      generator/img/acid-blob.png
  14. BIN
      generator/img/acid-tube.png
  15. BIN
      generator/img/acid.png
  16. BIN
      generator/img/acorn.png
  17. BIN
      generator/img/aerial-signal.png
  18. BIN
      generator/img/aerosol.png
  19. BIN
      generator/img/afterburn.png
  20. BIN
      generator/img/alien-skull.png
  21. BIN
      generator/img/alien-stare.png
  22. BIN
      generator/img/all-for-one.png
  23. BIN
      generator/img/alligator-clip.png
  24. BIN
      generator/img/ammo-box.png
  25. BIN
      generator/img/ammonite-fossil.png
  26. BIN
      generator/img/ammonite.png
  27. BIN
      generator/img/amphora.png
  28. BIN
      generator/img/anatomy.png
  29. BIN
      generator/img/anchor.png
  30. BIN
      generator/img/andromeda-chain.png
  31. BIN
      generator/img/angel-outfit.png
  32. BIN
      generator/img/angel-wings.png
  33. BIN
      generator/img/angler-fish.png
  34. BIN
      generator/img/angular-spider.png
  35. BIN
      generator/img/animal-hide.png
  36. BIN
      generator/img/animal-skull.png
  37. BIN
      generator/img/ankh.png
  38. BIN
      generator/img/anthem.png
  39. BIN
      generator/img/anvil-impact.png
  40. BIN
      generator/img/anvil.png
  41. BIN
      generator/img/apple-maggot.png
  42. BIN
      generator/img/apple-seeds.png
  43. BIN
      generator/img/aquarius.png
  44. BIN
      generator/img/archery-target.png
  45. BIN
      generator/img/architect-mask.png
  46. BIN
      generator/img/arcing-bolt.png
  47. BIN
      generator/img/arena.png
  48. BIN
      generator/img/aries.png
  49. BIN
      generator/img/armadillo-tail.png
  50. BIN
      generator/img/armoured-shell.png
  51. BIN
      generator/img/arrow-cluster.png
  52. BIN
      generator/img/arrow-flights.png
  53. BIN
      generator/img/arrowed.png
  54. BIN
      generator/img/arrowhead.png
  55. BIN
      generator/img/arrows-shield.png
  56. BIN
      generator/img/arson.png
  57. BIN
      generator/img/artificial-hive.png
  58. BIN
      generator/img/at-sea.png
  59. BIN
      generator/img/atomic-slashes.png
  60. BIN
      generator/img/aubergine.png
  61. BIN
      generator/img/aura.png
  62. BIN
      generator/img/auto-repair.png
  63. BIN
      generator/img/autogun.png
  64. BIN
      generator/img/awareness.png
  65. BIN
      generator/img/axe-in-stump.png
  66. BIN
      generator/img/axe-swing.png
  67. BIN
      generator/img/back-forth.png
  68. BIN
      generator/img/back-pain.png
  69. BIN
      generator/img/backstab.png
  70. BIN
      generator/img/backup.png
  71. BIN
      generator/img/balloons.png
  72. BIN
      generator/img/bandage-roll.png
  73. BIN
      generator/img/bandaged.png
  74. BIN
      generator/img/barbed-arrow.png
  75. BIN
      generator/img/barbed-spear.png
  76. BIN
      generator/img/barbed-wire.png
  77. BIN
      generator/img/barbute.png
  78. BIN
      generator/img/barefoot.png
  79. BIN
      generator/img/bat-blade.png
  80. BIN
      generator/img/bat-wing.png
  81. BIN
      generator/img/battered-axe.png
  82. BIN
      generator/img/batteries.png
  83. BIN
      generator/img/battery-0.png
  84. BIN
      generator/img/battery-100.png
  85. BIN
      generator/img/battery-25.png
  86. BIN
      generator/img/battery-50.png
  87. BIN
      generator/img/battery-75.png
  88. BIN
      generator/img/battery-minus.png
  89. BIN
      generator/img/battery-pack-alt.png
  90. BIN
      generator/img/battery-pack.png
  91. BIN
      generator/img/battery-plus.png
  92. BIN
      generator/img/battle-axe.png
  93. BIN
      generator/img/battle-gear.png
  94. BIN
      generator/img/batwing-emblem.png
  95. BIN
      generator/img/beam-wake.png
  96. BIN
      generator/img/beams-aura.png
  97. BIN
      generator/img/beanstalk.png
  98. BIN
      generator/img/beard.png
  99. BIN
      generator/img/beast-eye.png
  100. 0
    0
      generator/img/bee.png

+ 2
- 0
README.md View File

@@ -2,3 +2,5 @@ rpg-cards
2 2
 =========
3 3
 
4 4
 RPG spell/item/monster card generator
5
+
6
+

+ 154
- 0
generator/css/cards.css View File

@@ -0,0 +1,154 @@
1
+.bg-color {
2
+    background-color: #600a15;
3
+    color: white;
4
+}
5
+
6
+.card {
7
+    width:66mm;
8
+    min-width:66mm;
9
+    height:95mm;
10
+    border: 2mm solid;
11
+    border-radius: 4px;
12
+    position: relative;
13
+    display: flex;
14
+    flex-direction: column;
15
+    font-family: 'Noto Sans', 'Myriad Pro', Calibri, Helvetica, Arial, sans-serif;
16
+    font-size: 8pt;
17
+}
18
+
19
+.content-container {
20
+    padding:2mm;
21
+    padding-top:1mm;
22
+    border-radius: 2mm;
23
+    margin-top:0px;
24
+    background-color: white;
25
+    display: flex;
26
+    flex-direction: column;
27
+    flex: 1;
28
+}
29
+
30
+.card-back {
31
+    background-color: white;
32
+    border-radius: 4mm;
33
+    border-color: inherit;
34
+    margin: 2mm;
35
+    flex: 1;
36
+    display: flex;
37
+}
38
+
39
+.card-back-inner {
40
+    margin: 2mm;
41
+    border: 1mm solid;
42
+    border-color: inherit;
43
+    border-radius: 4mm;
44
+    flex: 1;
45
+    display: flex;
46
+    flex-direction: row;
47
+    flex-wrap: wrap;
48
+    justify-content: center;
49
+    align-items: center;
50
+}
51
+
52
+.back-icon {
53
+    width: 30mm;
54
+    height: 30mm;
55
+    border: 4mm solid;
56
+    border-color: inherit;
57
+    border-radius: 4mm;
58
+    background-repeat: no-repeat;
59
+    background-size: contain;
60
+}
61
+
62
+.title-icon {
63
+    width: 12mm;
64
+    height: 12mm;
65
+    background-repeat: no-repeat;
66
+    background-size: contain;
67
+    background-color: inherit;
68
+    border-color: inherit;
69
+}
70
+.title-icon-container {
71
+    position: absolute;
72
+    right: -1mm;
73
+    top: -1mm;
74
+    border: 1mm solid;
75
+    border-radius: 1mm;
76
+    background-color: inherit;
77
+    border-color: inherit;
78
+}
79
+
80
+.title {
81
+    height: 28px;
82
+    line-height: 23px;
83
+    padding-left: 2mm;
84
+    font-family: Lora, 'Calisto MT', 'Bookman Old Style', Bookman, 'Goudy Old Style', Garamond, 'Hoefler Text', 'Bitstream Charter', Georgia, serif;
85
+    font-variant: small-caps;
86
+    font-weight: bold;
87
+    font-size: 13pt;
88
+    background-color: inherit;
89
+    color: white;
90
+}
91
+.subtitle {
92
+    height: 18px;
93
+    line-height: 18px;
94
+    margin-bottom: 1mm;
95
+    font-family: 'Noto Sans', 'Myriad Pro', Calibri, Helvetica, Arial, sans-serif;
96
+    font-size: 10pt;
97
+    font-style: italic;
98
+}
99
+
100
+.property-line {
101
+    text-indent: -1em;
102
+    margin-left: 1em;
103
+}
104
+
105
+.property-name {
106
+    display: inline;
107
+}
108
+.property-text {
109
+    display: inline;
110
+}
111
+
112
+h3 {
113
+    border-bottom: 1px solid;
114
+    font-size: 10pt;
115
+    font-variant: small-caps;
116
+    font-weight: normal;
117
+    letter-spacing: 1px;
118
+    margin: 0;
119
+    margin-bottom: 0.3em;
120
+}
121
+
122
+p {
123
+    margin-top: 0.0em;
124
+    margin-bottom: 0.5em;
125
+}
126
+
127
+
128
+.fill-1 {flex:1;}
129
+.fill-2 {flex:2;}
130
+.fill-3 {flex:3;}
131
+.fill-4 {flex:4;}
132
+.fill-5 {flex:5;}
133
+.fill-6 {flex:6;}
134
+
135
+.description-line {
136
+    margin-bottom: 0.5em;
137
+}
138
+.description-name {
139
+    display: inline;
140
+}
141
+.description-text {
142
+    display: inline;
143
+}
144
+
145
+.ruler {
146
+    /*content: url(../img/ruler.svg);*/
147
+    width: 60mm;
148
+    height: 1.5mm;
149
+    margin-top: 0.5em;
150
+    margin-bottom: 0.2em;
151
+    background-repeat: no-repeat;
152
+    background-size: 100% 100%;
153
+    background-image: url(../img/ruler2.svg);
154
+}

+ 2659
- 0
generator/css/colors.css
File diff suppressed because it is too large
View File


+ 113
- 0
generator/css/custom-colors.css View File

@@ -0,0 +1,113 @@
1
+/* arcane */
2
+.color-arcane {
3
+    background-color: #bb3d2f;
4
+    border-color: #bb3d2f;
5
+}
6
+.color-arcane .ruler {
7
+    background-color: #bb3d2f;
8
+}
9
+.color-arcane h3{
10
+    border-color: #bb3d2f;
11
+    color: #bb3d2f;
12
+}
13
+.color-arcane .card-back {
14
+    background: radial-gradient(ellipse at center, white 20%, #bb3d2f 120%);
15
+}
16
+.color-arcane .back-icon {
17
+    background-color: #bb3d2f;
18
+}
19
+
20
+/* cleric */
21
+.color-cleric {
22
+    background-color: #ae7b00;
23
+    border-color: #ae7b00;
24
+}
25
+.color-cleric .ruler {
26
+    background-color: #ae7b00;
27
+}
28
+.color-cleric h3{
29
+    border-color: #ae7b00;
30
+    color: #ae7b00;
31
+}
32
+.color-cleric .card-back {
33
+    background: radial-gradient(ellipse at center, white 20%, #ae7b00 120%);
34
+}
35
+.color-cleric .back-icon {
36
+    background-color: #ae7b00;
37
+}
38
+
39
+/* rogue */
40
+.color-rogue {
41
+    background-color: #802161;
42
+    border-color: #802161;
43
+}
44
+.color-rogue .ruler {
45
+    background-color: #802161;
46
+}
47
+.color-rogue h3{
48
+    border-color: #802161;
49
+    color: #802161;
50
+}
51
+.color-rogue .card-back {
52
+    background: radial-gradient(ellipse at center, white 20%, #802161 120%);
53
+}
54
+.color-rogue .back-icon {
55
+    background-color: #802161;
56
+}
57
+
58
+/* weapon */
59
+.color-weapon {
60
+    background-color: dimgray;
61
+    border-color: dimgray;
62
+}
63
+.color-weapon .ruler {
64
+    background-color: dimgray;
65
+}
66
+.color-weapon h3{
67
+    border-color: dimgray;
68
+    color: dimgray;
69
+}
70
+.color-weapon .card-back {
71
+    background: radial-gradient(ellipse at center, white 20%, dimgray 120%);
72
+}
73
+.color-weapon .back-icon {
74
+    background-color: dimgray;
75
+}
76
+
77
+/* armor */
78
+.color-armor {
79
+    background-color: dimgray;
80
+    border-color: dimgray;
81
+}
82
+.color-armor .ruler {
83
+    background-color: dimgray;
84
+}
85
+.color-armor h3{
86
+    border-color: dimgray;
87
+    color: dimgray;
88
+}
89
+.color-armor .card-back {
90
+    background: radial-gradient(ellipse at center, white 20%, dimgray 120%);
91
+}
92
+.color-armor .back-icon {
93
+    background-color: dimgray;
94
+}
95
+
96
+/* gear */
97
+.color-gear {
98
+    background-color: dimgray;
99
+    border-color: dimgray;
100
+}
101
+.color-gear .ruler {
102
+    background-color: dimgray;
103
+}
104
+.color-gear h3{
105
+    border-color: dimgray;
106
+    color: dimgray;
107
+}
108
+.color-gear .card-back {
109
+    background: radial-gradient(ellipse at center, white 20%, dimgray 120%);
110
+}
111
+.color-gear .back-icon {
112
+    background-color: dimgray;
113
+}

+ 34
- 0
generator/css/custom-icons.css View File

@@ -0,0 +1,34 @@
1
+.icon-custom-armor-light { background-image: url(../img/leather-vest.png);}
2
+.icon-custom-armor-medium { background-image: url(../img/lamellar.png);}
3
+.icon-custom-armor-heavy { background-image: url(../img/breastplate.png);}
4
+.icon-custom-shield { background-image: url(../img/round-shield.png);}
5
+
6
+.icon-custom-potion { background-image: url(../img/drink-me.png);}
7
+.icon-custom-light { background-image: url(../img/candle-flame.png);}
8
+.icon-custom-flask { background-image: url(../img/fizzing-flask.png);}
9
+.icon-custom-vial { background-image: url(../img/chemical-drop.png);}
10
+.icon-custom-poison { background-image: url(../img/poison-bottle.png);}
11
+.icon-custom-trap { background-image: url(../img/wolf-trap.png);}
12
+.icon-custom-item { background-image: url(../img/knapsack.png);}
13
+.icon-custom-wand { background-image: url(../img/crystal-wand.png);}
14
+.icon-custom-swords { background-image: url(../img/crossed-swords.png);}
15
+.icon-custom-arrows { background-image: url(../img/target-arrows.png);}
16
+.icon-custom-swordarrow { background-image: url(../img/mixed-swords.png);}
17
+
18
+.icon-custom-spell { background-image: url(../img/white-book.png);}
19
+.icon-custom-spell-0 { background-image: url(../img/white-book-0.png);}
20
+.icon-custom-spell-1 { background-image: url(../img/white-book-1.png);}
21
+.icon-custom-spell-2 { background-image: url(../img/white-book-2.png);}
22
+.icon-custom-spell-3 { background-image: url(../img/white-book-3.png);}
23
+.icon-custom-spell-4 { background-image: url(../img/white-book-4.png);}
24
+.icon-custom-spell-5 { background-image: url(../img/white-book-5.png);}
25
+.icon-custom-spell-6 { background-image: url(../img/white-book-6.png);}
26
+.icon-custom-spell-7 { background-image: url(../img/white-book-7.png);}
27
+.icon-custom-spell-8 { background-image: url(../img/white-book-8.png);}
28
+.icon-custom-spell-9 { background-image: url(../img/white-book-9.png);}
29
+.icon-custom-spell-holy { background-image: url(../img/white-book-cd.png);}
30
+.icon-custom-spell-runes { background-image: url(../img/book-cover.png);}
31
+
32
+.icon-custom-class-arcane { background-image: url(../img/robe.png);}
33
+.icon-custom-class-cleric { background-image: url(../img/holy-symbol.png);}
34
+.icon-custom-class-rogue { background-image: url(../img/cloak-dagger.png);}

+ 1342
- 0
generator/css/icons.css
File diff suppressed because it is too large
View File


+ 39
- 0
generator/css/page.css View File

@@ -0,0 +1,39 @@
1
+body {
2
+  background: rgb(204,204,204); 
3
+}
4
+
5
+page[size="A4"] {
6
+    background: white;
7
+    width: 210mm;
8
+    height: 297mm;
9
+    display: block;
10
+    margin: 0 auto;
11
+    margin-bottom: 16px;
12
+    box-shadow: 0 0 8px rgba(0,0,0,0.5);
13
+    display: flex;
14
+    align-content: center;
15
+    justify-content: center;
16
+    flex-direction: row;
17
+    flex-wrap: wrap;
18
+    page-break-after: always;
19
+}
20
+
21
+@media print {
22
+  body, page[size="A4"] {
23
+    margin: 0;
24
+    box-shadow: 0;
25
+    background-color: white;
26
+  }
27
+}
28
+
29
+.input-button {
30
+    display:block;
31
+    height: 40px;
32
+    font-size: 24px;
33
+    width: 100%;
34
+    margin-bottom: 10px;
35
+}
36
+
37
+.input-data {
38
+    width: 100%;
39
+}

+ 1
- 0
generator/data/card_data.js View File

@@ -0,0 +1 @@
1
+var card_data = [];

+ 131
- 0
generator/data/card_data_example.js View File

@@ -0,0 +1,131 @@
1
+var card_data = [
2
+    {
3
+        "count": 1,
4
+        "color": "maroon",
5
+        "title": "Burning Hands",
6
+        "icon": "custom-spell-1",
7
+        "icon_back": "custom-class-arcane",
8
+        "contents": [
9
+            "subtitle | 1st level evocation",
10
+            "rule",
11
+            "property | Casting time | 1 action",
12
+            "property | Range | Self (15ft cone)",
13
+            "property | Components | V,S",
14
+            "rule",
15
+            "fill-2",
16
+            "text | Each creature in a 15-foot cone must make a Dexterity saving throw. A creature takes <b>3d6 fire damage</b> on a failed save, or half as much damage on a successful one.",
17
+            "text | The fire ignites any flammable objects in the area that aren’t being worn or carried.",
18
+            "fill-3",
19
+            "section | At higher levels",
20
+            "text | +1d6 damage for each slot above 1st"
21
+        ]
22
+    },
23
+    {
24
+        "count": 1,
25
+        "color": "indigo",
26
+        "title": "Cunning Action",
27
+        "icon": "custom-spell",
28
+        "icon_back": "custom-class-rogue",
29
+        "contents": [
30
+            "subtitle | Rogue feature",
31
+            "rule",
32
+            "fill-2",
33
+            "text | You can take a <b>bonus action on each of your turns</b> in combat. This action can be used only to take the <b>Dash, Disengage, or Hide</b> action.",
34
+            "fill-3",
35
+            "section | Fast hands (Thief 3rd)",
36
+            "text | You can also use the bonus action to make a Dexterity (<b>Sleight of Hand</b>) check, use your thieves’ tools to <b>disarm a trap</b> or <b>open a lock</b>, or take the <b>Use an Object</b> action.",
37
+        ]
38
+    },
39
+    {
40
+        "count": 1,
41
+        "color": "dimgray",
42
+        "title": "Full Plate",
43
+        "icon": "custom-armor-heavy",
44
+        "contents": [
45
+            "subtitle | Heavy armor (1500gp)",
46
+            "rule",
47
+            "property | AC | 18",
48
+            "property | Strength required | 15",
49
+            "property | Stealth | Disadvantage",
50
+            "rule",
51
+            "fill-2",
52
+            "description | Heavy | Unless you have the required strength, your speed is reduced by 10 feet.",
53
+            "description | Stealth | You have disadvantage on Dexterity (Stealth) checks.",
54
+            "fill-3"
55
+        ]
56
+    },
57
+    {
58
+        "count": 1,
59
+        "color": "dimgray",
60
+        "title": "Dagger",
61
+        "icon": "custom-swordarrow",
62
+        "contents": [
63
+            "subtitle | Simple melee weapon (2gp)",
64
+            "rule",
65
+            "property | Damage | 1d4 piercing",
66
+            "property | Modifier | Strength or Dexterity",
67
+            "property | Properties | Light, Finesse, Thrown (20/60)",
68
+            "rule",
69
+            "fill-2",
70
+            "description | Finesse | Use your choice of Strength or Dexterity modifier for attack and damage.",
71
+            "description | Light | When you attack while dual wielding light weapons, you may use a bonus action to attack with your off hand.",
72
+            "description | Thrown | You can throw the weapon to make a ranged attack with the given range.",
73
+            "fill-3"
74
+        ]
75
+    },
76
+    {
77
+        "count": 1,
78
+        "color": "dimgray",
79
+        "title": "Shortsword",
80
+        "icon": "custom-swords",
81
+        "contents": [
82
+            "subtitle | Simple melee weapon (10gp)",
83
+            "rule",
84
+            "property | Damage | 1d6 piercing",
85
+            "property | Modifier | Strength or Dexterity",
86
+            "property | Properties | Light, Finesse",
87
+            "rule",
88
+            "fill-2",
89
+            "description | Finesse | Use your choice of Strength or Dexterity modifier for attack and damage.",
90
+            "description | Light | When you attack while dual wielding light weapons, you may use a bonus action to attack with your off hand.",
91
+            "fill-3"
92
+        ]
93
+    },
94
+    {
95
+        "count": 1,
96
+        "color": "dimgray",
97
+        "title": "Wand of Magic Missiles",
98
+        "icon": "custom-wand",
99
+        "contents": [
100
+            "subtitle | Wondrous item",
101
+            "rule",
102
+            "property | Maximum charges | 7",
103
+            "property | Recharge | 1d6+1 each day",
104
+            "property | Depletion | If you expend the last charge, roll a d20. On a 1, the item is destroyed.",
105
+            "rule",
106
+            "fill-2",
107
+            "description | Spells | You can use your action to cast the following spells:",
108
+            "text | - magic missile, 1st level (1 charge)",
109
+            "text | - magic missile, 2nd level (2 charges)",
110
+            "text | - magic missile, 3rd level (3 charges)",
111
+            "fill-3"
112
+        ]
113
+    },
114
+    {
115
+        "count": 2,
116
+        "color": "dimgray",
117
+        "title": "Potion of Healing",
118
+        "icon": "custom-potion",
119
+        "contents": [
120
+            "subtitle | Potion (50gp)",
121
+            "rule",
122
+            "property | Use time | 1 action",
123
+            "property | Hit points restored | 2d4+2",
124
+            "rule",
125
+            "fill-2",
126
+            "text | When you drink this potion, you regain 2d4+2 hitpoints.",
127
+            "text | Drinking or administering a potion takes 1 action.",
128
+            "fill-3"
129
+        ]
130
+    }
131
+];

+ 0
- 0
generator/data/card_data_user.js View File


+ 54
- 0
generator/generate.html View File

@@ -0,0 +1,54 @@
1
+<html>
2
+<head>
3
+    <title>D&D cards</title>
4
+    <!-- CSS -->
5
+    <link rel="stylesheet" type="text/css" href="css/page.css">
6
+    <link rel="stylesheet" type="text/css" href="css/cards.css">
7
+    <link rel="stylesheet" type="text/css" href="css/icons.css">
8
+    <link rel="stylesheet" type="text/css" href="css/custom-icons.css">
9
+    <link rel="stylesheet" type="text/css" href="css/colors.css">
10
+    <link rel="stylesheet" type="text/css" href="css/custom-colors.css">
11
+    <!-- Data -->
12
+    <script type="text/javascript" src="data/card_data.js"></script>
13
+    <script type="text/javascript" src="data/card_data_example.js"></script>
14
+    <!-- Javascript -->
15
+    <script type="text/javascript" defer src="js/cards.js"></script>
16
+    <script type="text/javascript" defer src="js/control.js"></script>
17
+    <!-- Fonts -->
18
+    <link href='https://fonts.googleapis.com/css?family=Noto+Sans:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
19
+    <link href='https://fonts.googleapis.com/css?family=Lora:700' rel='stylesheet' type='text/css'>
20
+</head>
21
+<body>
22
+    <div class="container">
23
+        <h1>Disclaimer</h1>
24
+        <p>
25
+            All material related to <a href="http://dnd.wizards.com/">Dungeons and Dragons</a> 5th edition is copyright by <a href="http://company.wizards.com/">Wizards of the Coast</a>.
26
+            This site uses information freely available from their basic rules that can be found <a href="http://dnd.wizards.com/articles/features/basicrules?x=dnd/basicrules">here</a>.
27
+            This probably does not mean you can freely distribute any material derived from there -
28
+            if you are Wizards of the Coast and have concerns issues with this project, contact me <a href="mailto:robin@dbservice.com">here</a>.
29
+        </p>
30
+        <p>
31
+            All icons are from <a href="game-icons.net">game-icons.net</a>,
32
+            an awesome project providing free icons for games.
33
+            Parts of the CSS are copied from <a href="http://valloric.github.io/statblock5e/">statblock5e</a>,
34
+            a project that tries to re-create pixel-precise monster stat blocks from the monster manual.
35
+        </p>
36
+        <p>
37
+            Click on the button below to transform the huge wall of text at the bottom into beautiful(?) spell and item cards.
38
+            The cards are generated via Javascript in HTML, the card layout is such that 3x3 cards fill out an A4 page.
39
+            In theory, you should be able to print the whole page (double-sided printing, flip on long edge) and get double-sided cards.
40
+            However, I am no CSS expert, so the layout might be a bit off.
41
+        </p>
42
+        <p>
43
+            It should be reasonably simple to understand the JSON format I have used from the below examples, so that you can design your own cards.
44
+            Just don't forget to save your JSON file externally.
45
+            You can download the whole project for offline use <a href="cards.zip">here</a>
46
+            (note that it uses <a href="https://www.google.com/fonts">google fonts</a>, so unless you are online, the fonts will be different).
47
+        </p>
48
+        <button type="button" class="input-button">Generate</button>
49
+        <textarea rows="40" cols="120" class="input-data">
50
+            
51
+        </textarea>
52
+    </div>
53
+</body>
54
+</html>

BIN
generator/img/ace.png View File


BIN
generator/img/acid-blob.png View File


BIN
generator/img/acid-tube.png View File


BIN
generator/img/acid.png View File


BIN
generator/img/acorn.png View File


BIN
generator/img/aerial-signal.png View File


BIN
generator/img/aerosol.png View File


BIN
generator/img/afterburn.png View File


BIN
generator/img/alien-skull.png View File


BIN
generator/img/alien-stare.png View File


BIN
generator/img/all-for-one.png View File


BIN
generator/img/alligator-clip.png View File


BIN
generator/img/ammo-box.png View File


BIN
generator/img/ammonite-fossil.png View File


BIN
generator/img/ammonite.png View File


BIN
generator/img/amphora.png View File


BIN
generator/img/anatomy.png View File


BIN
generator/img/anchor.png View File


BIN
generator/img/andromeda-chain.png View File


BIN
generator/img/angel-outfit.png View File


BIN
generator/img/angel-wings.png View File


BIN
generator/img/angler-fish.png View File


BIN
generator/img/angular-spider.png View File


BIN
generator/img/animal-hide.png View File


BIN
generator/img/animal-skull.png View File


BIN
generator/img/ankh.png View File


BIN
generator/img/anthem.png View File


BIN
generator/img/anvil-impact.png View File


BIN
generator/img/anvil.png View File


BIN
generator/img/apple-maggot.png View File


BIN
generator/img/apple-seeds.png View File


BIN
generator/img/aquarius.png View File


BIN
generator/img/archery-target.png View File


BIN
generator/img/architect-mask.png View File


BIN
generator/img/arcing-bolt.png View File


BIN
generator/img/arena.png View File


BIN
generator/img/aries.png View File


BIN
generator/img/armadillo-tail.png View File


BIN
generator/img/armoured-shell.png View File


BIN
generator/img/arrow-cluster.png View File


BIN
generator/img/arrow-flights.png View File


BIN
generator/img/arrowed.png View File


BIN
generator/img/arrowhead.png View File


BIN
generator/img/arrows-shield.png View File


BIN
generator/img/arson.png View File


BIN
generator/img/artificial-hive.png View File


BIN
generator/img/at-sea.png View File


BIN
generator/img/atomic-slashes.png View File


BIN
generator/img/aubergine.png View File


BIN
generator/img/aura.png View File


BIN
generator/img/auto-repair.png View File


BIN
generator/img/autogun.png View File


BIN
generator/img/awareness.png View File


BIN
generator/img/axe-in-stump.png View File


BIN
generator/img/axe-swing.png View File


BIN
generator/img/back-forth.png View File


BIN
generator/img/back-pain.png View File


BIN
generator/img/backstab.png View File


BIN
generator/img/backup.png View File


BIN
generator/img/balloons.png View File


BIN
generator/img/bandage-roll.png View File


BIN
generator/img/bandaged.png View File


BIN
generator/img/barbed-arrow.png View File


BIN
generator/img/barbed-spear.png View File


BIN
generator/img/barbed-wire.png View File


BIN
generator/img/barbute.png View File


BIN
generator/img/barefoot.png View File


BIN
generator/img/bat-blade.png View File


BIN
generator/img/bat-wing.png View File


BIN
generator/img/battered-axe.png View File


BIN
generator/img/batteries.png View File


BIN
generator/img/battery-0.png View File


BIN
generator/img/battery-100.png View File


BIN
generator/img/battery-25.png View File


BIN
generator/img/battery-50.png View File


BIN
generator/img/battery-75.png View File


BIN
generator/img/battery-minus.png View File


BIN
generator/img/battery-pack-alt.png View File


BIN
generator/img/battery-pack.png View File


BIN
generator/img/battery-plus.png View File


BIN
generator/img/battle-axe.png View File


BIN
generator/img/battle-gear.png View File


BIN
generator/img/batwing-emblem.png View File


BIN
generator/img/beam-wake.png View File


BIN
generator/img/beams-aura.png View File


BIN
generator/img/beanstalk.png View File


BIN
generator/img/beard.png View File


BIN
generator/img/beast-eye.png View File


+ 0
- 0
generator/img/bee.png View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save