diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2015-04-04 14:59:59 -0700 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net> | 2015-04-04 15:02:51 -0700 |
commit | 59218aaef6041b3467996908c70fa50d3a5e49fe (patch) | |
tree | ea171cd5ca28dbacf3827d06f5b5dac41b8159ef /app | |
parent | a0d0803d7145685548e505ab7131895cf501d5cf (diff) |
Adding styles and landing page.
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/stylesheets/scaffolds.scss | 69 | ||||
-rw-r--r-- | app/views/layouts/application.html.erb | 41 |
2 files changed, 32 insertions, 78 deletions
diff --git a/app/assets/stylesheets/scaffolds.scss b/app/assets/stylesheets/scaffolds.scss index 6ec6a8f..e69de29 100644 --- a/app/assets/stylesheets/scaffolds.scss +++ b/app/assets/stylesheets/scaffolds.scss @@ -1,69 +0,0 @@ -body { - background-color: #fff; - color: #333; - font-family: verdana, arial, helvetica, sans-serif; - font-size: 13px; - line-height: 18px; -} - -p, ol, ul, td { - font-family: verdana, arial, helvetica, sans-serif; - font-size: 13px; - line-height: 18px; -} - -pre { - background-color: #eee; - padding: 10px; - font-size: 11px; -} - -a { - color: #000; - &:visited { - color: #666; - } - &:hover { - color: #fff; - background-color: #000; - } -} - -div { - &.field, &.actions { - margin-bottom: 10px; - } -} - -#notice { - color: green; -} - -.field_with_errors { - padding: 2px; - background-color: red; - display: table; -} - -#error_explanation { - width: 450px; - border: 2px solid red; - padding: 7px; - padding-bottom: 0; - margin-bottom: 20px; - background-color: #f0f0f0; - h2 { - text-align: left; - font-weight: bold; - padding: 5px 5px 5px 15px; - font-size: 12px; - margin: -7px; - margin-bottom: 0px; - background-color: #c00; - color: #fff; - } - ul li { - font-size: 12px; - list-style: square; - } -} diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 8afd0e7..76d06fc 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -1,14 +1,37 @@ <!DOCTYPE html> -<html> -<head> - <title>DownloadsJesterpmNet</title> - <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> - <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> - <%= csrf_meta_tags %> -</head> -<body> +<html lang="en-us"> + <head> + <title>downloads.jesterpm.net</title> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <link href="http://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css"> + <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"> + <link rel="stylesheet" href="/styles.css"> + <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> + <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> + <%= csrf_meta_tags %> + <script> + var _gaq = _gaq || []; + _gaq.push(['_setAccount', 'UA-23877924-1']); + _gaq.push(['_trackPageview']); + + (function() { + var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; + ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; + var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); + })(); + </script> + </head> + <body> + <header class="small" title=""> + <h1>downloads.jesterpm.net</h1> + </header> <%= yield %> -</body> + <footer> + Copyright © 2008-2015 <a href="http://jesterpm.net/index.html#summary">Jesse Morgan</a> + </footer> + </body> </html> |