changeset 383:60fe705f6df0

css: added an output class for the command output display in the guide and updated the content.
author Arne Babenhauserheide <bab@draketo.de>
date Wed, 07 Dec 2011 15:07:04 +0100
parents 62407f37698b
children e56cfd510ec2
files .hgsubstate static/css/styles.css templates/frontpage.html
diffstat 3 files changed, 25 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/.hgsubstate	Mon Nov 28 00:50:41 2011 +0100
+++ b/.hgsubstate	Wed Dec 07 15:07:04 2011 +0100
@@ -1,2 +1,2 @@
-f3419bc8429ef0c4cfc0c908008d2f7c30e03e18 content
+07b2e6dda08ba782abcc361671d20441c45e1b0f content
 2929093de78d512af7f7c6218aaa95042e95df31 rendered
--- a/static/css/styles.css	Mon Nov 28 00:50:41 2011 +0100
+++ b/static/css/styles.css	Wed Dec 07 15:07:04 2011 +0100
@@ -171,3 +171,26 @@
     margin: 0.2em 1em 1em;
     font-size: 90%;
 }
+
+/*
+ * code and commands
+ */
+pre, .output {
+	font-family:Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif;
+}
+
+.output {
+    border-left: 1px #ccc solid;
+    border-right: 1px #ccc solid;
+	background-color: #eee;
+    margin: 0.2em 1em 1em;	
+    padding: 0.3em 1em;
+	white-space: pre-wrap;
+	font-size: 90%;
+}
+
+.output:first-line {
+	font-size: 90%;
+	font-style: italic;
+}
+
--- a/templates/frontpage.html	Mon Nov 28 00:50:41 2011 +0100
+++ b/templates/frontpage.html	Wed Dec 07 15:07:04 2011 +0100
@@ -21,7 +21,7 @@
         <!-- The three sections should now grow more compact as you go down, with power and speed the longest and just works only two simple, clean sentences. -->
             <li class="i-1">
                 It is <a href="/about/">fast and powerful</a>
-                <p>Mercurial efficiently handles <a href="/who/">projects of any size and kind</a><!--Reference: http://mercurial.selenic.com/wiki/ProjectsUsingMercurial -->. Every clone contains the whole project history, so most actions are local, fast and convenient. You can use it for a multitude of <a href="http://mercurial.selenic.com/wiki/WorkingPractices">workflows</a> and easily enhance its functionality with <a href="http://mercurial.selenic.com/wiki/UsingExtensions">extensions</a>.</p>
+                <p>Mercurial efficiently handles <a href="/who/">projects of any size and kind</a><!--Reference: http://mercurial.selenic.com/wiki/ProjectsUsingMercurial -->. Every clone contains the whole project history, so most actions are local, fast and convenient. Mercurial supports a multitude of <a href="http://mercurial.selenic.com/wiki/WorkingPractices">workflows</a> and you can easily enhance its functionality with <a href="http://mercurial.selenic.com/wiki/UsingExtensions">extensions</a>.</p>
             </li>
             <li class="i-2">
                 It is <a href="/learn/">easy to learn</a><!-- point to a site which begins with a random "easy to learn" testimonial and then shows ways to learn Mercurial, from quick start to indepth -->