From 214f06dc7492b422315e978a420c73d84a4c98ab Mon Sep 17 00:00:00 2001 From: tanabe Date: Tue, 17 May 2011 22:17:47 +0900 Subject: [PATCH] update --- css/style.css | 34 ++++++++++++++++++++++++++++++---- index.html | 37 +++++++++++++++++-------------------- 2 files changed, 47 insertions(+), 24 deletions(-) diff --git a/css/style.css b/css/style.css index 65e0b38..a5b4b23 100644 --- a/css/style.css +++ b/css/style.css @@ -1,7 +1,7 @@ body { margin: 0; padding: 0; - background-color: white; + background-color: #D1D1BC; font: helvetica, arial, freesans, clean, sans-serif; font-size: 1em; line-height: 2em; @@ -18,17 +18,43 @@ p { margin: 1em; } +h1 { + color: #fff; + padding: 5px; + background-color: #302C29; +} + +h2 { + color: #412726; + font-weight: bold; +} + #container { - width: 1000px; + width: 960px; + padding: 20px; margin: 0 auto; + background-color: #fff; + overflow: hidden; } #container .section { margin-bottom: 20px; } -#markdown { - width: 800px; +#leftColumn { + float: left; + width: 700px; +} + +#rightColumn { + width: 240px; + float: right; +} + +textarea#markdown { + padding: 0; + margin: 0; + width: 100%; height: 200px; font-size: 1em; } diff --git a/index.html b/index.html index 93a5ae8..5cefc06 100644 --- a/index.html +++ b/index.html @@ -3,40 +3,37 @@ - Markdown Live Previewer - - +

Markdown Live Previewer

-

Markdown Live Previewer

-
-

markdown

- -
+
+
+

markdown

+ +
-
-

output

-
-
+
+

output

+
+
+
-
-

html

-
todo
-
+
+
+

reference

+
+
+
-
-

reference

-
todo
-