Mercurial > hg-website
comparison 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 |
comparison
equal
deleted
inserted
replaced
461:7b96d719f9a7 | 462:5ca151c7a4e6 |
---|---|
94 .row { display: block; overflow: hidden; border-bottom: 1px solid #ccc; } | 94 .row { display: block; overflow: hidden; border-bottom: 1px solid #ccc; } |
95 .col { float: right; display: inline; width: 295px; margin: 25px; } | 95 .col { float: right; display: inline; width: 295px; margin: 25px; } |
96 .big { float: left; width: 470px; } | 96 .big { float: left; width: 470px; } |
97 .quote { float: right; width: 740px; text-align: right; margin-right: 25px; } | 97 .quote { float: right; width: 740px; text-align: right; margin-right: 25px; } |
98 .big h2 { margin-top: 20px; } | 98 .big h2 { margin-top: 20px; } |
99 .autowidth { width: auto; margin-right: 0; margin-left: 0; } | |
100 | 99 |
101 /* | 100 /* |
102 * Logo | 101 * Logo |
103 */ | 102 */ |
104 #logo { border-bottom: 1px solid #ccc; margin: 0 0 15px 0; } | 103 #logo { border-bottom: 1px solid #ccc; margin: 0 0 15px 0; } |
200 | 199 |
201 .output:first-line { | 200 .output:first-line { |
202 font-size: .90em; | 201 font-size: .90em; |
203 font-style: italic; | 202 font-style: italic; |
204 } | 203 } |
204 | |
205 .wrap { | |
206 white-space: pre-wrap; | |
207 } |