X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=tools%2Fdin_rail_module_label_generator.html;h=7ae0cac2557fad778a260c832cb5009c05ee6c3b;hb=1b786cc3d5656bbceca8cede99005d890819e806;hp=c357fbd775c1d1674576b2e4081d1fe78c9a9b43;hpb=6a37a200332e09ae1fc3dcc564641c645e11bbe5;p=mirrors%2FDesigns.git diff --git a/tools/din_rail_module_label_generator.html b/tools/din_rail_module_label_generator.html index c357fbd..7ae0cac 100644 --- a/tools/din_rail_module_label_generator.html +++ b/tools/din_rail_module_label_generator.html @@ -1,3 +1,7 @@ +
@@ -9,6 +13,7 @@ table,h1 { font-family: sans-serif; font-weight: normal; font-size: 3.8mm; line-height: 5.2mm; } small { font-size: 2.5mm; line-height: 2.5mm; } small small { font-size: 2mm; line-height: 1.9mm; } +a { color: dark-grey; text-decoration: none; } /* table */ table { border-spacing:0px; border-collapse: collapse; } @@ -17,7 +22,7 @@ td * { display: block; } td { border: 1px solid black; width: 18mm; height: 16mm; text-align: center; padding: 0; overflow: hidden; - display: flex-wrap; float: left; margin-bottom: 5mm; box-sizing: border-box; + display: flex-wrap; float: left; margin-bottom: 4mm; box-sizing: border-box; justify-content: center; /* align-items: center; */ white-space: pre-line; position: relative; @@ -25,21 +30,21 @@ td { td:not(:last-child) { border-right: 0px solid red; } /* wide modules */ -td[colspan="2"] { width: calc(2 * 18mm); counter-increment: module_counter 2; } -td[colspan="3"] { width: calc(3 * 18mm); counter-increment: module_counter 3; } -td[colspan="4"] { width: calc(4 * 18mm); counter-increment: module_counter 4; } -td[colspan="5"] { width: calc(5 * 18mm); counter-increment: module_counter 5; } -td[colspan="6"] { width: calc(6 * 18mm); counter-increment: module_counter 6; } -td[colspan="7"] { width: calc(7 * 18mm); counter-increment: module_counter 7; } -td[colspan="8"] { width: calc(8 * 18mm); counter-increment: module_counter 8; } -td[colspan="9"] { width: calc(8 * 18mm); counter-increment: module_counter 9; } -td[colspan="10"] { width: calc(8 * 18mm); counter-increment: module_counter 10; } -td[colspan="11"] { width: calc(8 * 18mm); counter-increment: module_counter 11; } -td[colspan="12"] { width: calc(8 * 18mm); counter-increment: module_counter 12; } -td[colspan="13"] { width: calc(8 * 18mm); counter-increment: module_counter 13; } -td[colspan="14"] { width: calc(8 * 18mm); counter-increment: module_counter 14; } -td[colspan="15"] { width: calc(8 * 18mm); counter-increment: module_counter 15; } -td[colspan="16"] { width: calc(8 * 18mm); counter-increment: module_counter 16; } +td[colspan="2" ] { width: calc(2 * 18mm); counter-increment: module_counter 2; } +td[colspan="3" ] { width: calc(3 * 18mm); counter-increment: module_counter 3; } +td[colspan="4" ] { width: calc(4 * 18mm); counter-increment: module_counter 4; } +td[colspan="5" ] { width: calc(5 * 18mm); counter-increment: module_counter 5; } +td[colspan="6" ] { width: calc(6 * 18mm); counter-increment: module_counter 6; } +td[colspan="7" ] { width: calc(7 * 18mm); counter-increment: module_counter 7; } +td[colspan="8" ] { width: calc(8 * 18mm); counter-increment: module_counter 8; } +td[colspan="9" ] { width: calc(9 * 18mm); counter-increment: module_counter 9; } +td[colspan="10"] { width: calc(10 * 18mm); counter-increment: module_counter 10; } +td[colspan="11"] { width: calc(11 * 18mm); counter-increment: module_counter 11; } +td[colspan="12"] { width: calc(12 * 18mm); counter-increment: module_counter 12; } +td[colspan="13"] { width: calc(13 * 18mm); counter-increment: module_counter 13; } +td[colspan="14"] { width: calc(14 * 18mm); counter-increment: module_counter 14; } +td[colspan="15"] { width: calc(15 * 18mm); counter-increment: module_counter 15; } +td[colspan="16"] { width: calc(16 * 18mm); counter-increment: module_counter 16; } /* indexing */ tr { counter-reset: module_counter; } @@ -69,9 +74,18 @@ table.fancyindex * td::after { -