Commit 5ca151c7 authored by Anton Shestakov's avatar Anton Shestakov
Browse files

frontpage: remove autowidth class, wrap words in quick start example

Right now this means that the first line (with the repo URL) will get
word-wrapped, and it doesn't look too good:

"""
$ hg clone
https://selenic.com/repo/hello
"""

The next patch will use a different URL for a different effect.
parent 7b96d719f9a7
......@@ -96,7 +96,6 @@
.big { float: left; width: 470px; }
.quote { float: right; width: 740px; text-align: right; margin-right: 25px; }
.big h2 { margin-top: 20px; }
.autowidth { width: auto; margin-right: 0; margin-left: 0; }
/*
* Logo
......@@ -202,3 +201,7 @@
font-size: .90em;
font-style: italic;
}
.wrap {
white-space: pre-wrap;
}
......@@ -35,7 +35,7 @@
</li>
</ol>
</div>
<div class="col autowidth">
<div class="col">
<h3>Quick Start</h3>
<p><em>Clone a project and push changes</em>
......@@ -39,7 +39,7 @@
<h3>Quick Start</h3>
<p><em>Clone a project and push changes</em>
<pre>$ hg clone https://selenic.com/repo/hello
<pre class="wrap">$ hg clone https://selenic.com/repo/hello
$ cd hello
$ (edit files)
$ hg add (new files)
......@@ -50,7 +50,7 @@
</p>
<p><em>Create a project and commit</em>
<pre>$ hg init (project-directory)
<pre class="wrap">$ hg init (project-directory)
$ cd (project-directory)
$ (add some files)
$ hg add
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment