slight tuneup for css

This commit is contained in:
ville rantanen
2019-03-24 18:46:07 +02:00
parent 61aa7c1a5e
commit 766aa35826
2 changed files with 9 additions and 7 deletions

View File

@@ -1,10 +1,11 @@
body { font-family: monospace; background: #eee; } body { font-family: monospace; background: #fff; }
a, h1, h2 { color: #377ba8; } a, h1, h2 { color: #377ba8; }
h1, h2 { margin: 0; } h1, h2 { margin: 0; }
h1 { border-bottom: 2px solid #eee; } h1 { border-bottom: 2px solid #eee; }
h2 { font-size: 1.2em; border-top: 2px solid #eee; margin-top: 0.25em; margin-bottom: 0.25em;} h2 { font-size: 1.2em; border-top: 0px solid #eee; margin-top: 0.25em; margin-bottom: 0.25em;}
td { height: 1.75em; } td { height: 1.75em; }
textarea { border: 2px solid #ccc; } textarea { border: 2px solid #ccc; }
textarea:active, textarea:focus { border: 2px solid #377ba8; }
input[type=text]{ border: 2px solid #ccc; } input[type=text]{ border: 2px solid #ccc; }
hr { border-color: #377ba8; } hr { border-color: #377ba8; }
@@ -13,7 +14,7 @@ hr { border-color: #377ba8; }
.iconbox { margin-right: 0.5em; width: 1.5em; cursor: pointer; .iconbox { margin-right: 0.5em; width: 1.5em; cursor: pointer;
font-size:1.5em; color:#377ba8; } font-size:1.5em; color:#377ba8; }
.noitem { background-color: transparent; border-color:transparent; } .noitem { background-color: transparent; border-color:transparent; }
.page { border: 5px solid #ccc; padding: 0.5em; .page { border: 0px solid #ccc; padding: 0.5em;
background: white; overflow:auto; min-height:16em;} background: white; overflow:auto; min-height:16em;}
.entries { margin-top: 1em; margin-bottom: 1em; } .entries { margin-top: 1em; margin-bottom: 1em; }
.entries input { margin-top: 0.125em; margin-bottom: 0.125em; } .entries input { margin-top: 0.125em; margin-bottom: 0.125em; }
@@ -22,9 +23,9 @@ hr { border-color: #377ba8; }
.add-entry { font-size: 0.9em; } .add-entry { font-size: 0.9em; }
.add-entry dl { font-weight: bold; } .add-entry dl { font-weight: bold; }
.metanav { text-align: left; font-size: 1.2em; .metanav { text-align: left; font-size: 1.2em;
background: #fafafa; font-weight: normal; } background: #ffffff; font-weight: normal; }
.button-panel-row { margin-top: 1em; } .button-panel-row { margin-top: 1em; }
.button-panel-col { float: left; display: block; margin-right: 1em; .button-panel-col { float: left; display: block; margin-right: 1em;
min-width: 23ex;} min-width: 23ex;}
.flash { background: #cee5F5; padding: 0.5em; .flash { background: #cee5F5; padding: 0.5em;
border: 1px solid #aacbe2; } border: 1px solid #aacbe2; }
@@ -34,7 +35,7 @@ hr { border-color: #377ba8; }
.hspacer { width: 1em; display: inline-block;} .hspacer { width: 1em; display: inline-block;}
.notify { -webkit-animation: notifier 500ms alternate infinite; .notify { -webkit-animation: notifier 500ms alternate infinite;
-moz-animation: notifier 500ms alternate infinite; -moz-animation: notifier 500ms alternate infinite;
-o-animation: notifier 500ms alternate infinite; -o-animation: notifier 500ms alternate infinite;
animation: notifier 500ms alternate infinite; } animation: notifier 500ms alternate infinite; }
.date { font-size: 0.75em; margin-top: 1.2em; } .date { font-size: 0.75em; margin-top: 1.2em; }

View File

@@ -30,7 +30,7 @@
<p onclick="dropDown('shopAct')" class="dropbtn">&#9757;&#9748;</p> <p onclick="dropDown('shopAct')" class="dropbtn">&#9757;&#9748;</p>
<div id="shopAct" class="dropdown-content"> <div id="shopAct" class="dropdown-content">
<a id="h2_add" onclick="hidetoggle('disp_add')" class=pointer>&plusmn;&nbsp;Add/remove</a> <a id="h2_add" onclick="hidetoggle('disp_add')" class=pointer>&plusmn;&nbsp;Add/remove</a>
<a id="h2_sort" onclick="sortMarkdown()" class=pointer>&nbsp;Sort&nbsp;once</a> <a id="h2_sort" onclick="sortMarkdown()" class=pointer>&nbsp;Sort&nbsp;once</a>
<a id="h2_edit" onclick="hidetoggle('disp_edit');growTextarea('edit_md');" class=pointer>&#x270e;&nbsp;Edit&nbsp;items</a> <a id="h2_edit" onclick="hidetoggle('disp_edit');growTextarea('edit_md');" class=pointer>&#x270e;&nbsp;Edit&nbsp;items</a>
<a id="h2_share" onclick="hidetoggle('disp_share')" class=pointer>&#9823;&nbsp;Share&nbsp;shop</a> <a id="h2_share" onclick="hidetoggle('disp_share')" class=pointer>&#9823;&nbsp;Share&nbsp;shop</a>
<a id="h2_restore" onclick="hidetoggle('disp_restore')" class=pointer>&#9851;&nbsp;Restore&nbsp;backup</a> <a id="h2_restore" onclick="hidetoggle('disp_restore')" class=pointer>&#9851;&nbsp;Restore&nbsp;backup</a>
@@ -42,6 +42,7 @@
{% for message in get_flashed_messages() %} {% for message in get_flashed_messages() %}
<div class=flash>{{ message }}</div> <div class=flash>{{ message }}</div>
{% endfor %} {% endfor %}
<hr/>
{% block body %}{% endblock %} {% block body %}{% endblock %}
</div> </div>
</body> </body>