projects
/
heroik.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Card art.
[heroik.git]
/
heroik.css
diff --git
a/heroik.css
b/heroik.css
index
6d94165
..
55ab0fe
100644
(file)
--- a/
heroik.css
+++ b/
heroik.css
@@
-392,9
+392,32
@@
table {
height: 87mm;
font-size: 9pt;*/
margin: auto;
height: 87mm;
font-size: 9pt;*/
margin: auto;
+ margin: 0.5em auto;
+ z-index: 1;
+}
+
+
+.card:after {
+ content: '';
+ display: block;
+ position:absolute;
+ width:100%;
+ height:100%;
+ left:0;
+ top:0;
background-image: url(card.png);
background-size: cover;
background-image: url(card.png);
background-size: cover;
- margin: 0.5em auto;
+ z-index: -1;
+}
+
+.card .art {
+ position: absolute;
+ z-index: -1;
+ left: 9.5%;
+ right: 9.5%;
+ width: 81%;
+ height: auto;
+ top: 7.1%;
}
.card.adventurer .name, .card.adventurer .type {
}
.card.adventurer .name, .card.adventurer .type {