diff options
| author | Max Howell | 2012-08-02 10:00:54 -0400 |
|---|---|---|
| committer | Max Howell | 2012-08-02 10:02:05 -0400 |
| commit | bbb2cd3bee06373d63809aadca5470d66758b28d (patch) | |
| tree | 9c423a63b79b64c1cb7002c846299b527f4aa577 | |
| parent | 8a968e9c665e0ee2aff70c71bb9156a3f8f03cfc (diff) | |
| download | homebrew-bbb2cd3bee06373d63809aadca5470d66758b28d.tar.bz2 | |
Add installation instructions to index.html
We will remove them from the installation wiki because it is a security risk. This is somewhat inconvenient, but should be okay, and much safer.
| -rw-r--r-- | css/screen.css | 8 | ||||
| -rw-r--r-- | index.html | 35 |
2 files changed, 27 insertions, 16 deletions
diff --git a/css/screen.css b/css/screen.css index b77c2bd2f..27788464c 100644 --- a/css/screen.css +++ b/css/screen.css @@ -46,7 +46,7 @@ h1,h2,h3,h4,h5,h6 { line-height: 1.1; } ::selection { background: #745626; } ::-moz-selection { background: #745626; } -h1 { +h1, h2 { font-size: 420%; margin: 0 0 0.1em; font-family: 'ChunkFiveRegular', serif; @@ -54,6 +54,12 @@ h1 { text-shadow: 1px 1px 10px rgba(0,0,0,0.25); } +h2 { + font-size: 300%; + text-align: center; + color: #d7af72; +} + h1 a, h1 a:hover { color: #d7af72; diff --git a/index.html b/index.html index 80ec35277..9f77c50d0 100644 --- a/index.html +++ b/index.html @@ -6,6 +6,19 @@ <meta name="dc.creator" content="Rémi Prévost - http://exomel.com" /> <link rel="stylesheet" href="./css/screen.css" type="text/css" media="screen" /> <link rel="stylesheet" href="./css/fonts/chunkfive/chunkfive.css" type="text/css" media="screen" /> + <script type="text/javascript"> + function selectText() { + if (document.selection) { + var range = document.body.createTextRange(); + range.moveToElementText(document.getElementById('selectable')); + range.select(); + } else if (window.getSelection) { + var range = document.createRange(); + range.selectNode(document.getElementById('selectable')); + window.getSelection().addRange(range); + } + } + </script> </head> <body> <div id="wrap"> @@ -50,7 +63,6 @@ bin/wget -> ../Cellar/wget/1.12/bin/wget</code></pre> <p>Homebrew is self-contained and unintrusive. </p> </div> <div class="col-2"> - <p class="button"><a href="http://wiki.github.com/mxcl/homebrew/installation">Install Homebrew Today!</a></p> </div> </div> </li> @@ -97,29 +109,22 @@ Created /usr/local/Library/Formula/foo.rb</code></pre> </div> </li> <li> - <div class="group row"> + <div class="group row" style='border-bottom:0'> <div class="col-1"> <p>Homebrew complements OS X. Install your gems with <code>gem</code>, and their dependencies with <code>brew</code>.</p> </div> </div> </li> <li> - <div class="row group button button-large"> - <p><a href="http://wiki.github.com/mxcl/homebrew">Please! Oh please teach me more!</a></p> - </div> - </li> - <li> - <div class="group row quote"> - <blockquote> - <span>“</span> - Homebrew is the bee’s knees, friends. So far it’s a perfect replacement for MacPorts. - <span>”</span> - </blockquote> - <cite>— <a href="http://twitter.com/thillerson/status/6688848379">@thillerson</a></cite> + <div class="group row" style='border:0; margin-bottom: 5em'> + <h2 style='margin-top:0.5em; margin-bottom: 0.2em'>Install Homebrew</h2> + <pre style='text-align:center' id='selectable' onclick="selectText()"><code style='font-size:1.65em'>ruby <(curl -fsS https://raw.github.com/mxcl/homebrew/go)</code></pre> + <p>Paste that into Terminal. The script explains what it will do and then pauses before it does it. There are more installation options <a href='https://github.com/mxcl/homebrew/wiki/Installation'>here</a>. </div> </li> + <li> - <div class="group row credits"> + <div class="group row credits" style='border:0'> <p>Original code by <a href="http://methylblue.com/">Max Howell</a>. Website by <a href="http://exomel.com">Rémi Prévost</a>.</p> </div> </li> |
