diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-06-09 00:14:58 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-08-21 00:28:20 +0200 |
commit | 65bf03743ebe59086f2729d7fdbd840e13cef353 (patch) | |
tree | 895e87ccfe17730ccd890391cca27ce4db7da799 | |
parent | 4db95103d634a1fffcce2cea99243a958bcebba4 (diff) | |
download | washingtons-war-65bf03743ebe59086f2729d7fdbd840e13cef353.tar.gz |
slice
-rw-r--r-- | play.css | 370 | ||||
-rw-r--r-- | tools/crop-markers.sh | 69 |
2 files changed, 248 insertions, 191 deletions
@@ -96,8 +96,6 @@ aside { /* MAP WITH MARKERS, CUs, LEADERS, AND SPACES */ -/* 3300x5100 */ -/* 1650x2550 */ #mapwrap { width: 1650px; @@ -107,116 +105,106 @@ aside { #map { width: 1650px; height: 2550px; - background-image: url(images/WWmap-3-75.webp); - background-size: cover; - box-shadow: 0 0 20px black; + background-image: url(map75.png); + background-size: 1650px 2550px; + box-shadow: 1px 1px 8px #0008; } #map.hide_markers > div { visibility: hidden; } +/* MARKERS */ + .marker { position: absolute; - background-size: cover; + background-size: 100%; + border: 1px solid black; + box-shadow: var(--piece-shadow); } + .marker.turn { - width: 56.5px; - height: 56.5px; - background-image: url('/washingtons-war/images/Marker_GameTurnRegulars.jpg'); - box-shadow: var(--piece-shadow); + width: 55px; + height: 55px; + background-image: url(markers.1x/game_turn_regulars.png); } + .marker.turn.no-regulars { - background-image: url('/washingtons-war/images/Marker_GameTurnNoRegulars.jpg'); + background-image: url(markers.1x/game_turn_no_regulars.png); } .marker.french-alliance { - width: 56.5px; - height: 56.5px; - background-image: url('/washingtons-war/images/Marker_FrenchAlliance.jpg'); - box-shadow: var(--piece-shadow); + width: 55px; + height: 55px; + background-image: url(markers.1x/french_alliance.png); } .marker.french-alliance.european-war { - background-image: url('/washingtons-war/images/Marker_EuropeanWar.jpg'); + background-image: url(markers.1x/european_war.png); } -.marker.french-navy { - width: 63px; - height: 126px; - background-image: url('/washingtons-war/images/Marker_FrenchNavy.jpg'); - box-shadow: var(--piece-shadow); +.marker.congress { + width: 55px; + height: 55px; + background-image: url(markers.1x/continental_congress.png); } -.marker.congress { - width: 56.5px; - height: 56.5px; - background-image: url('/washingtons-war/images/Marker_ContinentalCongress.jpg'); - box-shadow: var(--piece-shadow); +.marker.french-navy { + width: 64px; + height: 130px; + background-image: url(markers.1x/french_navy_tall.png); } .marker.control { - width: 38px; - height: 38px; - box-shadow: var(--piece-shadow); + width: 45px; + height: 45px; visibility: hidden; } .marker.control.british { visibility: visible; - border: 4px solid white; - background-image: url('/washingtons-war/images/BR_ColonyControl.png'); + background-image: url(markers.1x/colony_british.png); } .marker.control.american { visibility: visible; - border: 4px solid #27b; - background-image: url('/washingtons-war/images/AM_ColonyControl.png'); + background-image: url(markers.1x/colony_american.png); } .pc { - width: 67px; - height: 58.5px; + width: 58px; + height: 66px; } -.pc { - transform: scale(1.25) translate(-3px,5px); -} -.pc.american { background-image: url('/washingtons-war/images/American-PC.png'); } -.pc.british { background-image: url('/washingtons-war/images/British-PC.png'); } + +.pc.american { background-image: url(markers.1x/pc_american.png); } +.pc.british { background-image: url(markers.1x/pc_british.png); } .cu { - width: 55px; - height: 61px; + width: calc(60px - 6px); + height: 60px; line-height: 50px; padding-left: 6px; font-size: 30px; color: white; text-shadow: 0px 0px 3px black; font-weight: bold; - border-radius: 60px; - box-shadow: var(--piece-shadow); + border-radius: 50%; } -.cu.american { background-image: url('/washingtons-war/images/American-CU.png'); } -.cu.british { background-image: url('/washingtons-war/images/British-CU.png'); } -.cu.french { background-image: url('/washingtons-war/images/French-CU.png'); } + +.cu.american { background-image: url(markers.1x/cu_american.png); } +.cu.british { background-image: url(markers.1x/cu_british.png); } +.cu.french { background-image: url(markers.1x/cu_french.png); } .general { - position: absolute; - width: 63px; - height: 126px; - background-size: cover; - outline: 1px solid black; - box-shadow: var(--piece-shadow); + width: 64px; + height: 130px; } .general.offmap { display: none; } -.general.enabled { - cursor: pointer; -} -.general.british.enabled, .general.british.selected { box-shadow: 0 0 5px 5px white; } -.general.american.enabled, .general.american.selected { box-shadow: 0 0 5px 5px white; } -.general.french.enabled, .general.french.selected { box-shadow: 0 0 5px 5px white; } +.general.british.action, .general.british.selected { box-shadow: 0 0 5px 5px white; } +.general.american.action, .general.american.selected { box-shadow: 0 0 5px 5px white; } +.general.french.action, .general.french.selected { box-shadow: 0 0 5px 5px white; } .general:hover { z-index: 1; } .general.selected { z-index: 2; } @@ -224,19 +212,19 @@ aside { .cu { z-index: 4; } .space { z-index: 5; } -.general.Arnold { background-image: url('/washingtons-war/images/AM_General_Arnold.jpg'); } -.general.Gates { background-image: url('/washingtons-war/images/AM_General_Gates.jpg'); } -.general.Greene { background-image: url('/washingtons-war/images/AM_General_Greene.jpg'); } -.general.Lafayette { background-image: url('/washingtons-war/images/AM_General_Lafayette.jpg'); } -.general.Lee { background-image: url('/washingtons-war/images/AM_General_Lee.jpg'); } -.general.Lincoln { background-image: url('/washingtons-war/images/AM_General_Lincoln.jpg'); } -.general.Rochambeau { background-image: url('/washingtons-war/images/AM_General_Rochambeau.jpg'); } -.general.Washington { background-image: url('/washingtons-war/images/AM_General_Washington.jpg'); } -.general.Burgoyne { background-image: url('/washingtons-war/images/BR_General_Burgoyne.jpg'); } -.general.Carleton { background-image: url('/washingtons-war/images/BR_General_Carleton.jpg'); } -.general.Clinton { background-image: url('/washingtons-war/images/BR_General_Clinton.jpg'); } -.general.Cornwallis { background-image: url('/washingtons-war/images/BR_General_Cornwallis.jpg'); } -.general.Howe { background-image: url('/washingtons-war/images/BR_General_Howe.jpg'); } +.general.Arnold { background-image: url(markers.1x/general_arnold_tall.png); } +.general.Gates { background-image: url(markers.1x/general_gates_tall.png); } +.general.Greene { background-image: url(markers.1x/general_greene_tall.png); } +.general.Lafayette { background-image: url(markers.1x/general_lafayette_tall.png); } +.general.Lee { background-image: url(markers.1x/general_lee_tall.png); } +.general.Lincoln { background-image: url(markers.1x/general_lincoln_tall.png); } +.general.Rochambeau { background-image: url(markers.1x/general_rochambeau_tall.png); } +.general.Washington { background-image: url(markers.1x/general_washington_tall.png); } +.general.Burgoyne { background-image: url(markers.1x/general_burgoyne_tall.png); } +.general.Carleton { background-image: url(markers.1x/general_carleton_tall.png); } +.general.Clinton { background-image: url(markers.1x/general_clinton_tall.png); } +.general.Cornwallis { background-image: url(markers.1x/general_cornwallis_tall.png); } +.general.Howe { background-image: url(markers.1x/general_howe_tall.png); } .space { position: absolute; @@ -311,23 +299,23 @@ aside { display: none; } #war_ends.year_1779 { - background-image:url('/washingtons-war/cards75/WWcard-071.png'); + background-image:url(cards75/WWcard-071.png); display: block; } #war_ends.year_1780 { - background-image:url('/washingtons-war/cards75/WWcard-072.png'); + background-image:url(cards75/WWcard-072.png); display: block; } #war_ends.year_1781 { - background-image:url('/washingtons-war/cards75/WWcard-073.png'); + background-image:url(cards75/WWcard-073.png); display: block; } #war_ends.year_1782 { - background-image:url('/washingtons-war/cards75/WWcard-074.png'); + background-image:url(cards75/WWcard-074.png); display: block; } #war_ends.year_1783 { - background-image:url('/washingtons-war/cards75/WWcard-075.png'); + background-image:url(cards75/WWcard-075.png); display: block; } @@ -343,128 +331,128 @@ aside { display: none; } .reinforcements.ops_1 { - background-image:url('/washingtons-war/cards75/WWcard-045.png'); + background-image:url(cards75/WWcard-045.png); display: block; } .reinforcements.ops_2 { - background-image:url('/washingtons-war/cards75/WWcard-023.png'); + background-image:url(cards75/WWcard-023.png); display: block; } .reinforcements.ops_3 { - background-image:url('/washingtons-war/cards75/WWcard-001.png'); + background-image:url(cards75/WWcard-001.png); display: block; } /* IMAGES */ -.card_back{background-image:url(/washingtons-war/cards100/WW-CardBack.png)} -.card_1{background-image:url(/washingtons-war/cards100/WWcard-001.png)} -.card_2{background-image:url(/washingtons-war/cards100/WWcard-001.png)} -.card_3{background-image:url(/washingtons-war/cards100/WWcard-001.png)} -.card_4{background-image:url(/washingtons-war/cards100/WWcard-001.png)} -.card_5{background-image:url(/washingtons-war/cards100/WWcard-001.png)} -.card_6{background-image:url(/washingtons-war/cards100/WWcard-001.png)} -.card_7{background-image:url(/washingtons-war/cards100/WWcard-001.png)} -.card_8{background-image:url(/washingtons-war/cards100/WWcard-001.png)} -.card_9{background-image:url(/washingtons-war/cards100/WWcard-001.png)} -.card_10{background-image:url(/washingtons-war/cards100/WWcard-01.png)} -.card_11{background-image:url(/washingtons-war/cards100/WWcard-001.png)} -.card_12{background-image:url(/washingtons-war/cards100/WWcard-001.png)} -.card_13{background-image:url(/washingtons-war/cards100/WWcard-001.png)} -.card_14{background-image:url(/washingtons-war/cards100/WWcard-001.png)} -.card_15{background-image:url(/washingtons-war/cards100/WWcard-001.png)} -.card_16{background-image:url(/washingtons-war/cards100/WWcard-001.png)} -.card_17{background-image:url(/washingtons-war/cards100/WWcard-001.png)} -.card_18{background-image:url(/washingtons-war/cards100/WWcard-001.png)} -.card_19{background-image:url(/washingtons-war/cards100/WWcard-001.png)} -.card_20{background-image:url(/washingtons-war/cards100/WWcard-001.png)} -.card_21{background-image:url(/washingtons-war/cards100/WWcard-001.png)} -.card_22{background-image:url(/washingtons-war/cards100/WWcard-001.png)} -.card_23{background-image:url(/washingtons-war/cards100/WWcard-023.png)} -.card_24{background-image:url(/washingtons-war/cards100/WWcard-023.png)} -.card_25{background-image:url(/washingtons-war/cards100/WWcard-023.png)} -.card_26{background-image:url(/washingtons-war/cards100/WWcard-023.png)} -.card_27{background-image:url(/washingtons-war/cards100/WWcard-023.png)} -.card_28{background-image:url(/washingtons-war/cards100/WWcard-023.png)} -.card_29{background-image:url(/washingtons-war/cards100/WWcard-023.png)} -.card_30{background-image:url(/washingtons-war/cards100/WWcard-023.png)} -.card_31{background-image:url(/washingtons-war/cards100/WWcard-023.png)} -.card_32{background-image:url(/washingtons-war/cards100/WWcard-023.png)} -.card_33{background-image:url(/washingtons-war/cards100/WWcard-023.png)} -.card_34{background-image:url(/washingtons-war/cards100/WWcard-023.png)} -.card_35{background-image:url(/washingtons-war/cards100/WWcard-023.png)} -.card_36{background-image:url(/washingtons-war/cards100/WWcard-023.png)} -.card_37{background-image:url(/washingtons-war/cards100/WWcard-023.png)} -.card_38{background-image:url(/washingtons-war/cards100/WWcard-023.png)} -.card_39{background-image:url(/washingtons-war/cards100/WWcard-023.png)} -.card_40{background-image:url(/washingtons-war/cards100/WWcard-023.png)} -.card_41{background-image:url(/washingtons-war/cards100/WWcard-023.png)} -.card_42{background-image:url(/washingtons-war/cards100/WWcard-023.png)} -.card_43{background-image:url(/washingtons-war/cards100/WWcard-023.png)} -.card_44{background-image:url(/washingtons-war/cards100/WWcard-023.png)} -.card_45{background-image:url(/washingtons-war/cards100/WWcard-045.png)} -.card_46{background-image:url(/washingtons-war/cards100/WWcard-045.png)} -.card_47{background-image:url(/washingtons-war/cards100/WWcard-045.png)} -.card_48{background-image:url(/washingtons-war/cards100/WWcard-045.png)} -.card_49{background-image:url(/washingtons-war/cards100/WWcard-045.png)} -.card_50{background-image:url(/washingtons-war/cards100/WWcard-045.png)} -.card_51{background-image:url(/washingtons-war/cards100/WWcard-045.png)} -.card_52{background-image:url(/washingtons-war/cards100/WWcard-045.png)} -.card_53{background-image:url(/washingtons-war/cards100/WWcard-045.png)} -.card_54{background-image:url(/washingtons-war/cards100/WWcard-045.png)} -.card_55{background-image:url(/washingtons-war/cards100/WWcard-045.png)} -.card_56{background-image:url(/washingtons-war/cards100/WWcard-045.png)} -.card_57{background-image:url(/washingtons-war/cards100/WWcard-045.png)} -.card_58{background-image:url(/washingtons-war/cards100/WWcard-045.png)} -.card_59{background-image:url(/washingtons-war/cards100/WWcard-045.png)} -.card_60{background-image:url(/washingtons-war/cards100/WWcard-045.png)} -.card_61{background-image:url(/washingtons-war/cards100/WWcard-045.png)} -.card_62{background-image:url(/washingtons-war/cards100/WWcard-045.png)} -.card_63{background-image:url(/washingtons-war/cards100/WWcard-045.png)} -.card_64{background-image:url(/washingtons-war/cards100/WWcard-045.png)} -.card_65{background-image:url(/washingtons-war/cards100/WWcard-045.png)} -.card_66{background-image:url(/washingtons-war/cards100/WWcard-045.png)} -.card_67{background-image:url(/washingtons-war/cards100/WWcard-067.png)} -.card_68{background-image:url(/washingtons-war/cards100/WWcard-067.png)} -.card_69{background-image:url(/washingtons-war/cards100/WWcard-067.png)} -.card_70{background-image:url(/washingtons-war/cards100/WWcard-070.png)} -.card_71{background-image:url(/washingtons-war/cards100/WWcard-071.png)} -.card_72{background-image:url(/washingtons-war/cards100/WWcard-072.png)} -.card_73{background-image:url(/washingtons-war/cards100/WWcard-073.png)} -.card_74{background-image:url(/washingtons-war/cards100/WWcard-074.png)} -.card_75{background-image:url(/washingtons-war/cards100/WWcard-075.png)} -.card_76{background-image:url(/washingtons-war/cards100/WWcard-076.png)} -.card_77{background-image:url(/washingtons-war/cards100/WWcard-077.png)} -.card_78{background-image:url(/washingtons-war/cards100/WWcard-078.png)} -.card_79{background-image:url(/washingtons-war/cards100/WWcard-079.png)} -.card_80{background-image:url(/washingtons-war/cards100/WWcard-080.png)} -.card_81{background-image:url(/washingtons-war/cards100/WWcard-081.png)} -.card_82{background-image:url(/washingtons-war/cards100/WWcard-082.png)} -.card_83{background-image:url(/washingtons-war/cards100/WWcard-083.png)} -.card_84{background-image:url(/washingtons-war/cards100/WWcard-084.png)} -.card_85{background-image:url(/washingtons-war/cards100/WWcard-085.png)} -.card_86{background-image:url(/washingtons-war/cards100/WWcard-086.png)} -.card_87{background-image:url(/washingtons-war/cards100/WWcard-087.png)} -.card_88{background-image:url(/washingtons-war/cards100/WWcard-088.png)} -.card_89{background-image:url(/washingtons-war/cards100/WWcard-089.png)} -.card_90{background-image:url(/washingtons-war/cards100/WWcard-090.png)} -.card_91{background-image:url(/washingtons-war/cards100/WWcard-091.png)} -.card_92{background-image:url(/washingtons-war/cards100/WWcard-092.png)} -.card_93{background-image:url(/washingtons-war/cards100/WWcard-093.png)} -.card_94{background-image:url(/washingtons-war/cards100/WWcard-094.png)} -.card_95{background-image:url(/washingtons-war/cards100/WWcard-095.png)} -.card_96{background-image:url(/washingtons-war/cards100/WWcard-096.png)} -.card_97{background-image:url(/washingtons-war/cards100/WWcard-097.png)} -.card_98{background-image:url(/washingtons-war/cards100/WWcard-098.png)} -.card_99{background-image:url(/washingtons-war/cards100/WWcard-099.png)} -.card_100{background-image:url(/washingtons-war/cards100/WWcard-100.png)} -.card_101{background-image:url(/washingtons-war/cards100/WWcard-101.png)} -.card_102{background-image:url(/washingtons-war/cards100/WWcard-102.png)} -.card_103{background-image:url(/washingtons-war/cards100/WWcard-103.png)} -.card_104{background-image:url(/washingtons-war/cards100/WWcard-104.png)} -.card_105{background-image:url(/washingtons-war/cards100/WWcard-105.png)} -.card_106{background-image:url(/washingtons-war/cards100/WWcard-106.png)} -.card_107{background-image:url(/washingtons-war/cards100/WWcard-107.png)} -.card_108{background-image:url(/washingtons-war/cards100/WWcard-108.png)} -.card_109{background-image:url(/washingtons-war/cards100/WWcard-109.png)} -.card_110{background-image:url(/washingtons-war/cards100/WWcard-110.png)} +.card_back{background-image:url(cards100/WW-CardBack.png)} +.card_1{background-image:url(cards100/WWcard-001.png)} +.card_2{background-image:url(cards100/WWcard-001.png)} +.card_3{background-image:url(cards100/WWcard-001.png)} +.card_4{background-image:url(cards100/WWcard-001.png)} +.card_5{background-image:url(cards100/WWcard-001.png)} +.card_6{background-image:url(cards100/WWcard-001.png)} +.card_7{background-image:url(cards100/WWcard-001.png)} +.card_8{background-image:url(cards100/WWcard-001.png)} +.card_9{background-image:url(cards100/WWcard-001.png)} +.card_10{background-image:url(cards100/WWcard-01.png)} +.card_11{background-image:url(cards100/WWcard-001.png)} +.card_12{background-image:url(cards100/WWcard-001.png)} +.card_13{background-image:url(cards100/WWcard-001.png)} +.card_14{background-image:url(cards100/WWcard-001.png)} +.card_15{background-image:url(cards100/WWcard-001.png)} +.card_16{background-image:url(cards100/WWcard-001.png)} +.card_17{background-image:url(cards100/WWcard-001.png)} +.card_18{background-image:url(cards100/WWcard-001.png)} +.card_19{background-image:url(cards100/WWcard-001.png)} +.card_20{background-image:url(cards100/WWcard-001.png)} +.card_21{background-image:url(cards100/WWcard-001.png)} +.card_22{background-image:url(cards100/WWcard-001.png)} +.card_23{background-image:url(cards100/WWcard-023.png)} +.card_24{background-image:url(cards100/WWcard-023.png)} +.card_25{background-image:url(cards100/WWcard-023.png)} +.card_26{background-image:url(cards100/WWcard-023.png)} +.card_27{background-image:url(cards100/WWcard-023.png)} +.card_28{background-image:url(cards100/WWcard-023.png)} +.card_29{background-image:url(cards100/WWcard-023.png)} +.card_30{background-image:url(cards100/WWcard-023.png)} +.card_31{background-image:url(cards100/WWcard-023.png)} +.card_32{background-image:url(cards100/WWcard-023.png)} +.card_33{background-image:url(cards100/WWcard-023.png)} +.card_34{background-image:url(cards100/WWcard-023.png)} +.card_35{background-image:url(cards100/WWcard-023.png)} +.card_36{background-image:url(cards100/WWcard-023.png)} +.card_37{background-image:url(cards100/WWcard-023.png)} +.card_38{background-image:url(cards100/WWcard-023.png)} +.card_39{background-image:url(cards100/WWcard-023.png)} +.card_40{background-image:url(cards100/WWcard-023.png)} +.card_41{background-image:url(cards100/WWcard-023.png)} +.card_42{background-image:url(cards100/WWcard-023.png)} +.card_43{background-image:url(cards100/WWcard-023.png)} +.card_44{background-image:url(cards100/WWcard-023.png)} +.card_45{background-image:url(cards100/WWcard-045.png)} +.card_46{background-image:url(cards100/WWcard-045.png)} +.card_47{background-image:url(cards100/WWcard-045.png)} +.card_48{background-image:url(cards100/WWcard-045.png)} +.card_49{background-image:url(cards100/WWcard-045.png)} +.card_50{background-image:url(cards100/WWcard-045.png)} +.card_51{background-image:url(cards100/WWcard-045.png)} +.card_52{background-image:url(cards100/WWcard-045.png)} +.card_53{background-image:url(cards100/WWcard-045.png)} +.card_54{background-image:url(cards100/WWcard-045.png)} +.card_55{background-image:url(cards100/WWcard-045.png)} +.card_56{background-image:url(cards100/WWcard-045.png)} +.card_57{background-image:url(cards100/WWcard-045.png)} +.card_58{background-image:url(cards100/WWcard-045.png)} +.card_59{background-image:url(cards100/WWcard-045.png)} +.card_60{background-image:url(cards100/WWcard-045.png)} +.card_61{background-image:url(cards100/WWcard-045.png)} +.card_62{background-image:url(cards100/WWcard-045.png)} +.card_63{background-image:url(cards100/WWcard-045.png)} +.card_64{background-image:url(cards100/WWcard-045.png)} +.card_65{background-image:url(cards100/WWcard-045.png)} +.card_66{background-image:url(cards100/WWcard-045.png)} +.card_67{background-image:url(cards100/WWcard-067.png)} +.card_68{background-image:url(cards100/WWcard-067.png)} +.card_69{background-image:url(cards100/WWcard-067.png)} +.card_70{background-image:url(cards100/WWcard-070.png)} +.card_71{background-image:url(cards100/WWcard-071.png)} +.card_72{background-image:url(cards100/WWcard-072.png)} +.card_73{background-image:url(cards100/WWcard-073.png)} +.card_74{background-image:url(cards100/WWcard-074.png)} +.card_75{background-image:url(cards100/WWcard-075.png)} +.card_76{background-image:url(cards100/WWcard-076.png)} +.card_77{background-image:url(cards100/WWcard-077.png)} +.card_78{background-image:url(cards100/WWcard-078.png)} +.card_79{background-image:url(cards100/WWcard-079.png)} +.card_80{background-image:url(cards100/WWcard-080.png)} +.card_81{background-image:url(cards100/WWcard-081.png)} +.card_82{background-image:url(cards100/WWcard-082.png)} +.card_83{background-image:url(cards100/WWcard-083.png)} +.card_84{background-image:url(cards100/WWcard-084.png)} +.card_85{background-image:url(cards100/WWcard-085.png)} +.card_86{background-image:url(cards100/WWcard-086.png)} +.card_87{background-image:url(cards100/WWcard-087.png)} +.card_88{background-image:url(cards100/WWcard-088.png)} +.card_89{background-image:url(cards100/WWcard-089.png)} +.card_90{background-image:url(cards100/WWcard-090.png)} +.card_91{background-image:url(cards100/WWcard-091.png)} +.card_92{background-image:url(cards100/WWcard-092.png)} +.card_93{background-image:url(cards100/WWcard-093.png)} +.card_94{background-image:url(cards100/WWcard-094.png)} +.card_95{background-image:url(cards100/WWcard-095.png)} +.card_96{background-image:url(cards100/WWcard-096.png)} +.card_97{background-image:url(cards100/WWcard-097.png)} +.card_98{background-image:url(cards100/WWcard-098.png)} +.card_99{background-image:url(cards100/WWcard-099.png)} +.card_100{background-image:url(cards100/WWcard-100.png)} +.card_101{background-image:url(cards100/WWcard-101.png)} +.card_102{background-image:url(cards100/WWcard-102.png)} +.card_103{background-image:url(cards100/WWcard-103.png)} +.card_104{background-image:url(cards100/WWcard-104.png)} +.card_105{background-image:url(cards100/WWcard-105.png)} +.card_106{background-image:url(cards100/WWcard-106.png)} +.card_107{background-image:url(cards100/WWcard-107.png)} +.card_108{background-image:url(cards100/WWcard-108.png)} +.card_109{background-image:url(cards100/WWcard-109.png)} +.card_110{background-image:url(cards100/WWcard-110.png)} diff --git a/tools/crop-markers.sh b/tools/crop-markers.sh new file mode 100644 index 0000000..516f5b5 --- /dev/null +++ b/tools/crop-markers.sh @@ -0,0 +1,69 @@ +function tiny { + convert -gravity center -crop 180x180+0+0 +repage tools/markers.raw/$1.ppm markers.4x/$1.png +} + +function square { + convert -gravity center -crop 220x220+0+0 +repage tools/markers.raw/$1.ppm markers.4x/$1.png +} + + +function tall { + convert -gravity center -crop 256x520+0+0 +repage tools/markers.raw/$1.ppm markers.4x/$1.png +} + +function round { + convert -gravity center -crop 240x240+0+0 +repage tools/markers.raw/$1.ppm markers.4x/$1.png +} + +function hex { + convert -gravity center -crop 232x264+0+0 +repage tools/markers.raw/$1.ppm markers.4x/$1.png +} + +tiny colony_american +tiny colony_british + +tiny general_arnold +tiny general_burgoyne +tiny general_carleton +tiny general_clinton +tiny general_cornwallis +tiny general_gates +tiny general_greene +tiny general_howe +tiny general_lafayette +tiny general_lee +tiny general_lincoln +tiny general_rochambeau +tiny general_washington + +square continental_congress +square european_war +square french_alliance +square french_navy +square game_turn_no_regulars +square game_turn_regulars + +round cu_american +round cu_british +round cu_french + +hex pc_american +hex pc_british +hex queue_american +hex queue_british + +tall french_navy_tall +tall general_arnold_tall +tall general_burgoyne_tall +tall general_carleton_tall +tall general_clinton_tall +tall general_cornwallis_tall +tall general_gates_tall +tall general_greene_tall +tall general_howe_tall +tall general_lafayette_tall +tall general_lee_tall +tall general_lincoln_tall +tall general_rochambeau_tall +tall general_washington_tall + |