From 370b977b82d31cc179e5867ac69b7807cd096c15 Mon Sep 17 00:00:00 2001 From: artfreakwiu Date: Tue, 21 Oct 2008 03:23:17 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1225 0fc631ac-6414-0410-93d0-97cfa31319b6 --- .../export-template | 14 +++--- data/vs-spoiler.mse-export-template/style.css | 50 ++++++++++++++----- 2 files changed, 45 insertions(+), 19 deletions(-) diff --git a/data/vs-spoiler.mse-export-template/export-template b/data/vs-spoiler.mse-export-template/export-template index fb9a682b..2904728d 100644 --- a/data/vs-spoiler.mse-export-template/export-template +++ b/data/vs-spoiler.mse-export-template/export-template @@ -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: "{ to_html(card.full_name) }" else "{ to_html(card.full_name) }" - }{ to_html(card.version_full ) } + }{ to_html(to_upper(card.version_full)) } {if card_image_file != "" and contains(options.images, match:"inline") then "" } { to_html(card.cost ) } - { to_html(card.team_full ) } - { to_html(card.team_2_full ) } + { to_html(card.team_full ) } + { to_html(card.team_2_full ) } { to_html(card.type_text_full) } - { to_html(card.symbols ) } + { if contains(card.shape, match: "old") then to_html(to_upper(card.symbols)) else to_html(to_upper(card.flightrange)) } { to_html(card.rule_text ) } { to_html( remove_tag(tag: "", card.flavor_text) ) } { to_html(card.attack) } / { to_html(card.defence) } - { to_html(card.rarity ) } + { to_html(to_upper(card.rarity)) } { to_html(card.illustrator ) } { to_html(card.number_line ) } " diff --git a/data/vs-spoiler.mse-export-template/style.css b/data/vs-spoiler.mse-export-template/style.css index f96a5cd4..43fc9caa 100644 --- a/data/vs-spoiler.mse-export-template/style.css +++ b/data/vs-spoiler.mse-export-template/style.css @@ -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; } \ No newline at end of file