From 318c7a9854f31bebd39eb8e90fbf11a95bfa8995 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 3 Mar 2010 15:46:16 +0000 Subject: [PATCH] Tidy up the stylesheets, removing lots of ancient, unused junk and trying to group everything else together in more logical fashion. --- app/views/layouts/site.html.erb | 8 +- app/views/site/_search.html.erb | 2 +- app/views/trace/_trace.html.erb | 2 +- app/views/trace/_trace_list.html.erb | 2 +- app/views/trace/_trace_optionals.html.erb | 3 +- public/stylesheets/common.css | 709 +++++++++++----------- public/stylesheets/large.css | 20 + public/stylesheets/site-sml.css | 148 ----- public/stylesheets/site.css | 9 - public/stylesheets/small.css | 111 ++++ 10 files changed, 478 insertions(+), 536 deletions(-) create mode 100644 public/stylesheets/large.css delete mode 100644 public/stylesheets/site-sml.css delete mode 100644 public/stylesheets/site.css create mode 100644 public/stylesheets/small.css diff --git a/app/views/layouts/site.html.erb b/app/views/layouts/site.html.erb index 8fb9beae1..7ee3cf938 100644 --- a/app/views/layouts/site.html.erb +++ b/app/views/layouts/site.html.erb @@ -7,9 +7,9 @@ <%= javascript_include_tag 'site' %> <%= stylesheet_link_tag 'common' %> - - <%= stylesheet_link_tag 'site-sml', :media => "only screen and (max-width: 481px)" %> - <%= stylesheet_link_tag 'site', :media => "screen and (min-width: 482px)" %> + + <%= stylesheet_link_tag 'small', :media => "only screen and (max-width: 481px)" %> + <%= stylesheet_link_tag 'large', :media => "screen and (min-width: 482px)" %> <%= stylesheet_link_tag 'print', :media => "print" %> <%= tag("link", { :rel => "search", :type => "application/opensearchdescription+xml", :title => "OpenStreetMap Search", :href => "/opensearch/osm.xml" }) %> <%= tag("meta", { :name => "description", :content => "OpenStreetMap is the free wiki world map." }) %> @@ -134,7 +134,7 @@ <%= h(t('layouts.make_a_donation.text')) %> -