From 2d43cad01ab1a6cc7573f37909835f46816b8ab8 Mon Sep 17 00:00:00 2001 From: Vadim Makeev Date: Fri, 5 Nov 2010 15:42:10 +0300 Subject: [PATCH] formatting examples --- index.htm | 4 ++-- styles/screen.css | 12 +++++++++++- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/index.htm b/index.htm index 20ba33a..24d7960 100755 --- a/index.htm +++ b/index.htm @@ -23,13 +23,13 @@

Two rows.
Mighty heading

-

This tool is provided without warranty, guarantee, or much in the way of explanation. Note that use of this tool may or may not crash your browser, lock up your machine, erase your hard drive…

+

This <tool> is provided without warranty, guarantee, or much in the way of explanation. Note that use of this tool may or may not crash your browser, lock up your machine, erase your hard drive…

This link will be opened in the new tab

diff --git a/styles/screen.css b/styles/screen.css index 471b317..d1d55db 100755 --- a/styles/screen.css +++ b/styles/screen.css @@ -111,6 +111,15 @@ A { .slide ARTICLE EM { font-style:italic; } +.slide ARTICLE KBD, +.slide ARTICLE CODE { + padding:1px 4px; + -webkit-border-radius:4px; + -moz-border-radius:4px; + border-radius:4px; + background:#EEE; + font-family:Consolas, 'Droid Sans Mono', monospace; + } /* Quote */ .slide ARTICLE BLOCKQUOTE { @@ -165,8 +174,9 @@ A { } .slide ARTICLE PRE CODE { display:block; + padding:0; + background:none; white-space:pre; - font-family:Consolas, 'Droid Sans Mono', monospace; } .slide ARTICLE PRE CODE:before { position:absolute;