|
@@ -2,86 +2,133 @@
|
2
|
2
|
<html lang="en">
|
3
|
3
|
<head>
|
4
|
4
|
<title>RPG cards</title>
|
5
|
|
- <!-- CSS -->
|
6
|
|
- <link rel=" stylesheet" type="text/css" href="css/output.css">
|
7
|
|
- <link rel="stylesheet" type="text/css" href="css/card-size.css">
|
8
|
5
|
<!-- Components -->
|
9
|
6
|
<link rel="import" href="components/card.html">
|
|
7
|
+ <style type="text/css">
|
|
8
|
+
|
|
9
|
+ body {
|
|
10
|
+ display: flex;
|
|
11
|
+ flex-direction: column;
|
|
12
|
+ justify-content: center;
|
|
13
|
+ align-content: center;
|
|
14
|
+ background: rgb(204,204,204);
|
|
15
|
+ }
|
|
16
|
+
|
|
17
|
+ card-page {
|
|
18
|
+ width: 210mm;
|
|
19
|
+ height: 296mm;
|
|
20
|
+ }
|
|
21
|
+
|
|
22
|
+ @media print {
|
|
23
|
+ html, body {
|
|
24
|
+ width: 210mm;
|
|
25
|
+ }
|
|
26
|
+ body {
|
|
27
|
+ margin: 0;
|
|
28
|
+ padding: 0;
|
|
29
|
+ border: 0;
|
|
30
|
+ }
|
|
31
|
+ }
|
|
32
|
+
|
|
33
|
+ @page {
|
|
34
|
+ size: A4;
|
|
35
|
+ margin: 0;
|
|
36
|
+ }
|
|
37
|
+ </style>
|
|
38
|
+
|
10
|
39
|
</head>
|
11
|
|
-<body class="page-background">
|
12
|
|
- <rpg-card class="card-size-25x35" color="maroon">
|
13
|
|
- <card-title>
|
14
|
|
- <h1>Burning Hands</h1>
|
15
|
|
- <h2>1</h2>
|
16
|
|
- <card-icon src="/icons/book-cover.svg"></card-icon>
|
17
|
|
- </card-title>
|
18
|
|
- <card-contents>
|
19
|
|
- <card-subtitle>1st level evocation</card-subtitle>
|
20
|
|
- <card-rule></card-rule>
|
21
|
|
- <card-property><h4>Casting time</h4><p>1 action</p></card-property>
|
22
|
|
- <card-property><h4>Range</h4><p>Self (15ft cone)</p></card-property>
|
23
|
|
- <card-property><h4>Components</h4><p>V,S,Some obscure long named material</p></card-property>
|
24
|
|
- <card-rule></card-rule>
|
25
|
|
- <card-description><h4>Mechanics</h4><p>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.</p></card-description>
|
26
|
|
- <card-description><h4>Ignite</h4><p>The fire ignites any flammable objects in the area that aren't being worn or carried.</p></card-description>
|
27
|
|
- <card-fill size="2"></card-fill>
|
28
|
|
- <card-section>At higher levels</card-section>
|
29
|
|
- <card-description><p>+1d6 damage for each slot above 1st</p></card-description>
|
30
|
|
- </card-contents>
|
31
|
|
- </rpg-card>
|
32
|
|
-
|
33
|
|
- <rpg-card class="card-size-25x35" color="saddlebrown">
|
34
|
|
- <card-title>
|
35
|
|
- <h1>Brown bear</h1>
|
36
|
|
- <h2>2</h2>
|
37
|
|
- <card-icon src="/icons/pawprint.svg"></card-icon>
|
38
|
|
- </card-title>
|
39
|
|
- <card-contents>
|
40
|
|
- <card-subtitle>Medium beast</card-subtitle>
|
41
|
|
- <card-rule></card-rule>
|
42
|
|
- <card-dndstats mode="both" str="13" dex="10" con="15" int="-" wis="-" cha="-"></card-dndstats>
|
43
|
|
- <card-rule></card-rule>
|
44
|
|
- <card-property><h4>Armor class</h4><p>12 (natural armor)</p></card-property>
|
45
|
|
- <card-property><h4>Hit points</h4><p>7 (2d6)</p></card-property>
|
46
|
|
- <card-rule></card-rule>
|
47
|
|
- <card-description><h4>Multiattack</h4><p>One bite and one claw.</p></card-description>
|
48
|
|
- <card-fill size="2"></card-fill>
|
49
|
|
- <card-section>Actions</card-section>
|
50
|
|
- <card-description><h4>Bite</h4><p>+4 to hit, 2d6+2 piercing damage.</p></card-description>
|
51
|
|
- <card-description><h4>Claw</h4><p>+4 to hit, 1d8+2 piercing damage.</p></card-description>
|
52
|
|
- </card-contents>
|
53
|
|
- <card-title>
|
54
|
|
- <h1>Druid thingy</h1>
|
55
|
|
- <card-icon src="/icons/stag-head.svg"></card-icon>
|
56
|
|
- </card-title>
|
57
|
|
- </rpg-card>
|
58
|
|
-
|
59
|
|
- <rpg-card class="card-size-25x35" color="indigo">
|
60
|
|
- <card-title size="12">
|
61
|
|
- <h1>Wand of Magic Missile</h1>
|
62
|
|
- <card-icon src="/icons/crossed-swords.svg"></card-icon>
|
63
|
|
- </card-title>
|
64
|
|
- <card-contents>
|
65
|
|
- <card-subtitle>Wondrous item</card-subtitle>
|
66
|
|
- <card-rule></card-rule>
|
67
|
|
- <card-property><h4>Maximum charges</h4><p>7</p></card-property>
|
68
|
|
- <card-property><h4>Recharge</h4><p>1d6+1</p></card-property>
|
69
|
|
- <card-rule></card-rule>
|
70
|
|
- <card-fill size="2"></card-fill>
|
71
|
|
- <card-description><h4>Spells</h4><p>You can use your action to cast the following spells:</p></card-description>
|
72
|
|
- <card-bullet>Magic missile</card-bullet>
|
73
|
|
- <card-bullet>Magic missile</card-bullet>
|
74
|
|
- <card-bullet>Magic missile</card-bullet>
|
75
|
|
- <card-fill size="3"></card-fill>
|
76
|
|
- <card-boxes size="2.5" count="7"></card-boxes>
|
77
|
|
- <card-boxes size="2.5" count="7"></card-boxes>
|
78
|
|
- </card-contents>
|
79
|
|
- </rpg-card>
|
80
|
|
-
|
81
|
|
- <rpg-card class="card-size-25x35" color="forestgreen">
|
82
|
|
- <card-back>
|
83
|
|
- <card-icon src="/icons/robe.svg"></card-icon>
|
84
|
|
- </card-back>
|
85
|
|
- </rpg-card>
|
|
40
|
+<body>
|
|
41
|
+ <card-page>
|
|
42
|
+ <rpg-card class="card-size-25x35" color="maroon">
|
|
43
|
+ <card-title>
|
|
44
|
+ <h1>Burning Hands</h1>
|
|
45
|
+ <h2>1</h2>
|
|
46
|
+ <card-icon src="/icons/book-cover.svg"></card-icon>
|
|
47
|
+ </card-title>
|
|
48
|
+ <card-contents>
|
|
49
|
+ <card-subtitle>1st level evocation</card-subtitle>
|
|
50
|
+ <card-rule></card-rule>
|
|
51
|
+ <card-property>
|
|
52
|
+ <h4>Casting time</h4>
|
|
53
|
+ <p>1 action</p></card-property>
|
|
54
|
+ <card-property>
|
|
55
|
+ <h4>Range</h4>
|
|
56
|
+ <p>Self (15ft cone)</p></card-property>
|
|
57
|
+ <card-property>
|
|
58
|
+ <h4>Components</h4>
|
|
59
|
+ <p>V,S,Some obscure long named material</p></card-property>
|
|
60
|
+ <card-rule></card-rule>
|
|
61
|
+ <card-fill size="1"></card-fill>
|
|
62
|
+ <card-description>
|
|
63
|
+ <h4>Mechanics</h4>
|
|
64
|
+ <p>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.</p></card-description>
|
|
65
|
+ <card-description>
|
|
66
|
+ <h4>Ignite</h4>
|
|
67
|
+ <p>The fire ignites any flammable objects in the area that aren't being worn or carried.</p></card-description>
|
|
68
|
+ <card-fill size="2"></card-fill>
|
|
69
|
+ <card-section>At higher levels</card-section>
|
|
70
|
+ <card-description><p>+1d6 damage for each slot above 1st</p></card-description>
|
|
71
|
+ </card-contents>
|
|
72
|
+ </rpg-card>
|
|
73
|
+ <rpg-card class="card-size-25x35" color="saddlebrown">
|
|
74
|
+ <card-title>
|
|
75
|
+ <h1>Brown bear</h1>
|
|
76
|
+ <h2>2</h2>
|
|
77
|
+ <card-icon src="/icons/pawprint.svg"></card-icon>
|
|
78
|
+ </card-title>
|
|
79
|
+ <card-contents>
|
|
80
|
+ <card-subtitle>Medium beast</card-subtitle>
|
|
81
|
+ <card-rule></card-rule>
|
|
82
|
+ <card-dndstats mode="both" str="13" dex="10" con="15" int="-" wis="-" cha="-"></card-dndstats>
|
|
83
|
+ <card-rule></card-rule>
|
|
84
|
+ <card-property><h4>Armor class</h4><p>12 (natural armor)</p></card-property>
|
|
85
|
+ <card-property><h4>Hit points</h4><p>7 (2d6)</p></card-property>
|
|
86
|
+ <card-rule></card-rule>
|
|
87
|
+ <card-description>
|
|
88
|
+ <h4>Multiattack</h4>
|
|
89
|
+ <p>One bite and one claw.</p></card-description>
|
|
90
|
+ <card-fill size="2"></card-fill>
|
|
91
|
+ <card-section>Actions</card-section>
|
|
92
|
+ <card-description>
|
|
93
|
+ <h4>Bite</h4>
|
|
94
|
+ <p>+4 to hit, 2d6+2 piercing damage.</p></card-description>
|
|
95
|
+ <card-description>
|
|
96
|
+ <h4>Claw</h4>
|
|
97
|
+ <p>+4 to hit, 1d8+2 piercing damage.</p></card-description>
|
|
98
|
+ </card-contents>
|
|
99
|
+ <card-title>
|
|
100
|
+ <h1>Druid thingy</h1>
|
|
101
|
+ <card-icon src="/icons/stag-head.svg"></card-icon>
|
|
102
|
+ </card-title>
|
|
103
|
+ </rpg-card>
|
|
104
|
+ <rpg-card class="card-size-25x35" color="indigo">
|
|
105
|
+ <card-title size="12">
|
|
106
|
+ <h1>Wand of Magic Missile</h1>
|
|
107
|
+ <card-icon src="/icons/crossed-swords.svg"></card-icon>
|
|
108
|
+ </card-title>
|
|
109
|
+ <card-contents>
|
|
110
|
+ <card-subtitle>Wondrous item</card-subtitle>
|
|
111
|
+ <card-rule></card-rule>
|
|
112
|
+ <card-property><h4>Maximum charges</h4><p>7</p></card-property>
|
|
113
|
+ <card-property><h4>Recharge</h4><p>1d6+1</p></card-property>
|
|
114
|
+ <card-rule></card-rule>
|
|
115
|
+ <card-fill size="2"></card-fill>
|
|
116
|
+ <card-description><h4>Spells</h4><p>You can use your action to cast the following spells:</p></card-description>
|
|
117
|
+ <card-bullet>Magic missile</card-bullet>
|
|
118
|
+ <card-bullet>Magic missile</card-bullet>
|
|
119
|
+ <card-bullet>Magic missile</card-bullet>
|
|
120
|
+ <card-fill size="3"></card-fill>
|
|
121
|
+ <card-boxes size="2.5" count="7"></card-boxes>
|
|
122
|
+ <card-boxes size="2.5" count="7"></card-boxes>
|
|
123
|
+ </card-contents>
|
|
124
|
+ </rpg-card>
|
|
125
|
+ <rpg-card class="card-size-25x35" color="forestgreen">
|
|
126
|
+ <card-back>
|
|
127
|
+ <card-icon src="/icons/robe.svg"></card-icon>
|
|
128
|
+ </card-back>
|
|
129
|
+ </rpg-card>
|
|
130
|
+ </card-page>
|
|
131
|
+ <card-page>
|
|
132
|
+ </card-page>
|
86
|
133
|
</body>
|
87
|
134
|
</html>
|