Mercurial > hg-website
diff static/css/styles.css @ 462:5ca151c7a4e6
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.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Fri, 22 Jul 2016 18:42:51 +0800 |
parents | a891b73d9bbb |
children | 5d30d7a34569 |
line wrap: on
line diff
--- a/static/css/styles.css Thu Jul 14 22:18:36 2016 -0700 +++ b/static/css/styles.css Fri Jul 22 18:42:51 2016 +0800 @@ -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; +}