X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7Bcard_id%7D%7D/form?a=blobdiff_plain;f=templates%2F_base.html;h=182a1c635439103ad21c5f8845a08ded66185e82;hb=7171109f94bc2b532bc2f25bcecffa99d8c4a401;hp=0e384651d0f392a46ad97046849cf3f3f7955d07;hpb=2337eb37f27fdc60e3cb000052f00218d815c49f;p=plomtask diff --git a/templates/_base.html b/templates/_base.html index 0e38465..182a1c6 100644 --- a/templates/_base.html +++ b/templates/_base.html @@ -6,6 +6,16 @@ body { font-family: monospace; text-align: left; padding: 0; + background-color: white; +} +input[type="text"] { + width: 100em; +} +input.timestamp { + width: 11em; +} +input.date { + width: 6em; } input.btn-harmless { color: green; @@ -18,9 +28,36 @@ div.btn-to-right { text-align: right; } td, th, tr, table { - vertical-align: top; margin-top: 1em; padding: 0; + border-collapse: collapse; +} +th, td { + padding-right: 1em; +} +a { + color: black; +} +table.edit_table > tbody > tr > td, +table.edit_table > tbody > tr > th { + border-bottom: 0.1em solid #bbbbbb; + padding-top: 0.5em; + padding-bottom: 0.5em; +} +td.number, input[type="number"] { + text-align: right; +} +input[name="effort"] { + width: 3.5em; +} +textarea { + width: 100%; +} +table.alternating > tbody > tr:nth-child(odd) { + background-color: #dfdfdf; +} +div.edit_buttons { + margin-top: 1em; } {% block css %} {% endblock %}