mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1225 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -88,8 +88,8 @@ option style:
|
||||
sans-serif: /vs-spoiler.mse-export-template/sans-serif.png
|
||||
|
||||
script:
|
||||
symbol_font := "vs-standard-arrow"
|
||||
symbol_font_size := 12
|
||||
symbol_font := "vs-standard-new"
|
||||
symbol_font_size := 8
|
||||
write_card := {
|
||||
if contains(options.images, match:"full card image") then
|
||||
card_image_file := write_image_file(card, file:"card{position(of:card,in:set)}.jpg")
|
||||
@@ -113,19 +113,19 @@ script:
|
||||
"<span class='name' ><a href='{card_image_file}'>{ to_html(card.full_name) }</a></span>"
|
||||
else
|
||||
"<span class='name' >{ to_html(card.full_name) }</span>"
|
||||
}<span class='version' >{ to_html(card.version_full ) }</span>
|
||||
}<span class='version' >{ to_html(to_upper(card.version_full)) }</span>
|
||||
{if card_image_file != "" and contains(options.images, match:"inline") then
|
||||
"<img src='{card_image_preview}' alt='' class='image'>"
|
||||
}
|
||||
<span class='cost' >{ to_html(card.cost ) }</span>
|
||||
<span class='team' >{ to_html(card.team_full ) }</span>
|
||||
<span class='team 2' >{ to_html(card.team_2_full ) }</span>
|
||||
<span class='team full' >{ to_html(card.team_full ) }</span>
|
||||
<span class='team 2 full' >{ to_html(card.team_2_full ) }</span>
|
||||
<span class='type' >{ to_html(card.type_text_full) }</span>
|
||||
<span class='fro' >{ to_html(card.symbols ) }</span>
|
||||
<span class='fro' >{ if contains(card.shape, match: "old") then to_html(to_upper(card.symbols)) else to_html(to_upper(card.flightrange)) }</span>
|
||||
<span class='rule-text' >{ to_html(card.rule_text ) }</span>
|
||||
<span class='flavor-text' >{ to_html( remove_tag(tag: "<i-flavor>", card.flavor_text) ) }</span>
|
||||
<span class='attack' >{ to_html(card.attack) } / { to_html(card.defence) }</span>
|
||||
<span class='rarity' >{ to_html(card.rarity ) }</span>
|
||||
<span class='rarity' >{ to_html(to_upper(card.rarity)) }</span>
|
||||
<span class='illustrator' >{ to_html(card.illustrator ) }</span>
|
||||
<span class='card-number' >{ to_html(card.number_line ) }</span>
|
||||
</li>"
|
||||
|
||||
@@ -17,26 +17,52 @@ ul {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.card .full_name {
|
||||
.card .name {
|
||||
font-weight: bold;
|
||||
display: inline;
|
||||
font-family: "Percolator Expert";
|
||||
font-size: larger;
|
||||
font-size: 12pt;
|
||||
}
|
||||
.card .version {
|
||||
font-style: italic;
|
||||
font-size: 10pt;
|
||||
}
|
||||
.card .cost {
|
||||
display: inline;
|
||||
font-family: "Eurostile", "Eurostile";
|
||||
font-size: larger;
|
||||
font-size: 10pt;
|
||||
margin-left: .5em;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.card .team full {
|
||||
font-size: 9pt;
|
||||
}
|
||||
.card .team full 2 {
|
||||
font-size: 9pt;
|
||||
}
|
||||
.card .fro {
|
||||
font-style: bold;
|
||||
font-size: 8pt;
|
||||
}
|
||||
.card .rule-text {
|
||||
font-size: 8pt;
|
||||
}
|
||||
.card .flavor-text {
|
||||
font-style: italic;
|
||||
font-size: 8pt;
|
||||
}
|
||||
.card .number_line {
|
||||
color: rgb(128,128,128);
|
||||
font-size: smaller;
|
||||
.card .attack {
|
||||
font-style: bold;
|
||||
font-size: 10pt;
|
||||
}
|
||||
.card .rarity {
|
||||
font-style: italic;
|
||||
font-size: 6pt;
|
||||
}
|
||||
.card .illustrator {
|
||||
font-size: 6pt;
|
||||
}
|
||||
.card .card-number {
|
||||
font-style: bold;
|
||||
font-size: 6pt;
|
||||
}
|
||||
|
||||
|
||||
@@ -76,7 +102,7 @@ h2 {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
opacity: 0.7;
|
||||
-moz-opacity: 0.7;
|
||||
filter: alpha(opacity=70);
|
||||
@@ -87,7 +113,7 @@ h2 {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
}
|
||||
#preview {
|
||||
position: fixed;
|
||||
@@ -97,5 +123,5 @@ h2 {
|
||||
height: 100%;
|
||||
}
|
||||
* html #preview {
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
}
|
||||
Reference in New Issue
Block a user