diff --git a/www/css/notecards.css b/www/css/notecards.css index 0706dd0..23c0e00 100644 --- a/www/css/notecards.css +++ b/www/css/notecards.css @@ -20,11 +20,51 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/. position: absolute; top: 0; right: 0; - padding: 1em; + padding: 0.5em; + padding-top: 1em; cursor: pointer; z-index: 99999; } +.notecard .editbtn { + position: absolute; + top: 0; + right: 2.5em; + padding: 0.5em; + padding-top: 1em; + cursor: pointer; + z-index: 99999; +} + +.notecard .btnswrapthing { + height: 2.5em; + width: 4.5em; + float: right; +} + +.notecard .card-content { + word-wrap: break-word; +} + +.notecard table { + border-spacing: 0px; + border-collapse: collapse; + table-layout: fixed; + width: 100%; + margin-bottom: 1em; +} + +.notecard table th, .notecard table td { + border: 1px solid; + padding: 2px 4px; + border-spacing: 0px; + word-wrap: break-word; +} + +.notecard table tbody tr:nth-child(odd) { + background-color: rgba(255,255,255,0.15); +} + .notecard { min-height: 4em; } diff --git a/www/js/home.js b/www/js/home.js index 01a8fa2..7883e77 100644 --- a/www/js/home.js +++ b/www/js/home.js @@ -23,10 +23,13 @@ function loadCards(callback) { var note = notes[n]; $("#notecards-bin").append('