diff options
author | Greg Aker <greg.aker@ellislab.com> | 2011-04-20 18:11:47 +0200 |
---|---|---|
committer | Greg Aker <greg.aker@ellislab.com> | 2011-04-20 18:11:47 +0200 |
commit | 1cdb0fd21e0c5ac38a75712806ed10b08f0909cc (patch) | |
tree | 825a8de037d9a02c805cb6c5f601ef584a5259ef /application/views | |
parent | e08c527aa0a8a05836b05763d859eb3d2970f62f (diff) |
Visual updates to the welcome_message view file and default error templates. Thanks to danijelb for the pull request.
Diffstat (limited to 'application/views')
-rw-r--r-- | application/views/welcome_message.php | 108 |
1 files changed, 66 insertions, 42 deletions
diff --git a/application/views/welcome_message.php b/application/views/welcome_message.php index ca68fc101..0bf5a8d2e 100644 --- a/application/views/welcome_message.php +++ b/application/views/welcome_message.php @@ -4,61 +4,85 @@ <meta charset="utf-8"> <title>Welcome to CodeIgniter</title> -<style type="text/css"> + <style type="text/css"> -body { - background-color: #fff; - margin: 40px; - font-family: Lucida Grande, Verdana, Sans-serif; - font-size: 14px; - color: #4F5155; -} + ::selection{ background-color: #E13300; color: white; } + ::moz-selection{ background-color: #E13300; color: white; } + ::webkit-selection{ background-color: #E13300; color: white; } -a { - color: #003399; - background-color: transparent; - font-weight: normal; -} + body { + background-color: #fff; + margin: 40px; + font: 13px/20px normal Helvetica, Arial, sans-serif; + color: #4F5155; + } -h1 { - color: #444; - background-color: transparent; - border-bottom: 1px solid #D0D0D0; - font-size: 16px; - font-weight: bold; - margin: 24px 0 2px 0; - padding: 5px 0 6px 0; -} + a { + color: #003399; + background-color: transparent; + font-weight: normal; + } -code { - font-family: Monaco, Verdana, Sans-serif; - font-size: 12px; - background-color: #f9f9f9; - border: 1px solid #D0D0D0; - color: #002166; - display: block; - margin: 14px 0 14px 0; - padding: 12px 10px 12px 10px; -} + h1 { + color: #444; + background-color: transparent; + border-bottom: 1px solid #D0D0D0; + font-size: 19px; + font-weight: normal; + margin: 0 0 14px 0; + padding: 14px 15px 10px 15px; + } -</style> + code { + font-family: Consolas, Monaco, Courier New, Courier, monospace; + font-size: 12px; + background-color: #f9f9f9; + border: 1px solid #D0D0D0; + color: #002166; + display: block; + margin: 14px 0 14px 0; + padding: 12px 10px 12px 10px; + } + + #body{ + margin: 0 15px 0 15px; + } + + p.footer{ + text-align: right; + font-size: 11px; + border-top: 1px solid #D0D0D0; + line-height: 32px; + padding: 0 10px 0 10px; + margin: 20px 0 0 0; + } + + #container{ + margin: 10px; + border: 1px solid #D0D0D0; + -webkit-box-shadow: 0 0 8px #D0D0D0; + } + </style> </head> <body> -<h1>Welcome to CodeIgniter!</h1> - -<p>The page you are looking at is being generated dynamically by CodeIgniter.</p> +<div id="container"> + <h1>Welcome to CodeIgniter!</h1> -<p>If you would like to edit this page you'll find it located at:</p> -<code>application/views/welcome_message.php</code> + <div id="body"> + <p>The page you are looking at is being generated dynamically by CodeIgniter.</p> -<p>The corresponding controller for this page is found at:</p> -<code>application/controllers/welcome.php</code> + <p>If you would like to edit this page you'll find it located at:</p> + <code>application/views/welcome_message.php</code> -<p>If you are exploring CodeIgniter for the very first time, you should start by reading the <a href="user_guide/">User Guide</a>.</p> + <p>The corresponding controller for this page is found at:</p> + <code>application/controllers/welcome.php</code> + <p>If you are exploring CodeIgniter for the very first time, you should start by reading the <a href="user_guide/">User Guide</a>.</p> + </div> -<p><br />Page rendered in {elapsed_time} seconds</p> + <p class="footer">Page rendered in <strong>{elapsed_time}</strong> seconds</p> +</div> </body> </html>
\ No newline at end of file |