From 59218aaef6041b3467996908c70fa50d3a5e49fe Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Sat, 4 Apr 2015 14:59:59 -0700 Subject: Adding styles and landing page. --- app/assets/stylesheets/scaffolds.scss | 69 ------------------------- app/views/layouts/application.html.erb | 41 +++++++++++---- public/404.html | 92 +++++++++++----------------------- public/422.html | 92 +++++++++++----------------------- public/500.html | 91 +++++++++++---------------------- public/index.html | 34 +++++++++++++ public/styles.css | 40 +++++++++++++++ 7 files changed, 196 insertions(+), 263 deletions(-) create mode 100644 public/index.html create mode 100644 public/styles.css 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 @@ - - - DownloadsJesterpmNet - <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> - <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> - <%= csrf_meta_tags %> - - + + + downloads.jesterpm.net + + + + + + + <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> + <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> + <%= csrf_meta_tags %> + + + +
+

downloads.jesterpm.net

+
<%= yield %> - + + diff --git a/public/404.html b/public/404.html index b612547..e31be1c 100644 --- a/public/404.html +++ b/public/404.html @@ -1,67 +1,35 @@ - - - The page you were looking for doesn't exist (404) - - - - - - -
-
-

The page you were looking for doesn't exist.

-

You may have mistyped the address or the page may have moved.

-
-

If you are the application owner check the logs for more information.

-
- + + diff --git a/public/422.html b/public/422.html index a21f82b..5633181 100644 --- a/public/422.html +++ b/public/422.html @@ -1,67 +1,35 @@ - - - The change you wanted was rejected (422) - - - - - - -
-
-

The change you wanted was rejected.

-

Maybe you tried to change something you didn't have access to.

-
-

If you are the application owner check the logs for more information.

-
- + + diff --git a/public/500.html b/public/500.html index 061abc5..4364df4 100644 --- a/public/500.html +++ b/public/500.html @@ -1,66 +1,35 @@ - - - We're sorry, but something went wrong (500) - - - - - - -
-
-

We're sorry, but something went wrong.

-
-

If you are the application owner check the logs for more information.

-
- + + diff --git a/public/index.html b/public/index.html new file mode 100644 index 0000000..b1f97bd --- /dev/null +++ b/public/index.html @@ -0,0 +1,34 @@ + + + + downloads.jesterpm.net + + + + + + + + + +
+

downloads.jesterpm.net

+
+ +Nothing to see here. Please go to http://jesterpm.net instead. + + + + diff --git a/public/styles.css b/public/styles.css new file mode 100644 index 0000000..0c66b14 --- /dev/null +++ b/public/styles.css @@ -0,0 +1,40 @@ +body { + color: #404040; + color: rgba(0,0,0,0.75); + margin: 1em; +} + +footer { + text-align: center; + padding-top: 2em; + padding-bottom: 2em; +} + +section { + padding-top: 80px; + padding-bottom: 80px; + min-height: 300px; +} + +article { + padding-top: 20px; + padding-bottom: 20px; +} + +.filedetails { + font-size: smaller; +} + +.filedetails span { + font-weight: bold; +} + +h1, h1 a, h3, h3 a, h4, h4 a, h5, h5 a{ + color: #404040; + color: rgba(0,0,0,0.75); + text-decoration: none; +} + +h1 a:hover { + color: #777; +} -- cgit v1.2.3