From 8146d57190bd33c01a90456e0800908052e15f69 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Thu, 28 Mar 2013 21:30:22 +0000 Subject: [PATCH] Style tweaks Finally started to use `box-sizing: border-box` --- core/styles/base.tid | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/core/styles/base.tid b/core/styles/base.tid index 918589489..a1587ac9a 100644 --- a/core/styles/base.tid +++ b/core/styles/base.tid @@ -19,6 +19,10 @@ module-type: stylesheet {{$:/core/styles/reset}} +* { + box-sizing: border-box; +} + html { font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; } @@ -162,7 +166,7 @@ a.tw-tiddlylink-missing { .story-river { margin-left: {{$:/core/styles/metrics##sidebarwidth}}; - padding: 2em; + padding: 2em 2em 2em 0; } @media print { @@ -330,8 +334,9 @@ a.tw-tiddlylink-missing { .tw-edit-texteditor input, .tw-edit-texteditor textarea { width: 100%; - padding: 0.2em 0.2em 0.2em 0.2em; + padding: 3px 3px 3px 3px; border: 1px solid #888; + line-height: 1.3em; -webkit-appearance: none; margin: 0.25em 0 0.25em 0; } @@ -342,7 +347,7 @@ a.tw-tiddlylink-missing { } .sidebar-header .tw-edit-texteditor input, .sidebar-header .tw-edit-texteditor textarea { - width: 90%; + width: 80%; } canvas.tw-edit-bitmapeditor {