diff --git a/sass/_project-sass/_project-Main.scss b/sass/_project-sass/_project-Main.scss index 9456688a..9d012717 100644 --- a/sass/_project-sass/_project-Main.scss +++ b/sass/_project-sass/_project-Main.scss @@ -110,20 +110,46 @@ .interior .header-Outro .col.col-50.signup-Area { padding-left: 0; } -.interior .header-Outro.dashboard .col.col-50.signup-Area { - width: 293px!important; - float: left; +.interior .header-Outro.dashboard { + .col.col-50.signup-Area { + width: 293px!important; + float: left; + } + .site-url { + margin-top: -9px; + } + .btn-Action { + font-weight: normal; + font-size: 12px; + padding: 7px 15px; + + @media (max-device-width:480px), screen and (max-width:800px) { + margin: 6px 0px 8px; + } + } + .row.content { + margin-left: 6%; + margin-right: 6%; + } } .interior .header-Outro a {color:#E93250} .interior .header-Outro .btn-Action {color:#fff} .interior .signup-Area { min-height: 164px; + + @media (max-device-width:480px), screen and (max-width:800px) { + margin: 0 auto; + } } .interior .signup-Area img { -moz-box-shadow: 1px 2px 5px 2px rgba(0,0,0,0.10); -webkit-box-shadow: 1px 2px 5px 2px rgba(0,0,0,0.10); box-shadow: 1px 2px 5px 2px rgba(0,0,0,0.10); border: 4px solid white; + + @media (max-device-width:480px), screen and (max-width:800px) { + margin: 0 auto; + } } .interior .header-Outro .screenshot { width: 357px; @@ -143,7 +169,7 @@ .interior .header-Outro .screenshot.dashboard { width: 249px; background-size: 249px; - height: 143px; + height: 156px; } .interior .header-Outro ul { margin:0;padding:0; @@ -174,15 +200,21 @@ float: left; @media (max-device-width: 480px), screen and (max-width: 800px) { - width: 42%!important; margin-left: 22px; + margin-top: 18px; } } .welcome { - background: #daeea5 url(/img/heartcat.png) no-repeat 20px center; + background: #daeea5 url(/img/heartcat.png) no-repeat; + background-position: 20px center; background-size: 77px 81px; padding: 20px 20px 20px 111px; margin-bottom: 13px; + + @media (max-device-width: 480px), screen and (max-width: 800px) { + padding: 111px 20px 20px 20px; + background-position: center 20px; + } } .welcome h4 { font-size: 1.2em; @@ -225,6 +257,10 @@ } .files .btn-Action { margin-left: 8px; + + @media (max-device-width:480px), screen and (max-width:800px) { + margin: 4px 8px 4px 0; + } } .files .list { padding: 20px; @@ -242,6 +278,10 @@ } .files .list .upload-Boundary.with-instruction { background: url(/img/drag-drop.png) no-repeat center center; + + @media (max-device-width:480px), screen and (max-width:800px) { + background: 0; + } } .files .uploading-overlay { width: 100%; @@ -1745,4 +1785,15 @@ a.tag:hover { blockquote:before, blockquote:after { content: none; } +} +.hide-on-mobile { + @media (max-device-width:480px), screen and (max-width:800px) { + display: none; + } +} +.show-on-mobile { + display: none; + @media (max-device-width:480px), screen and (max-width:800px) { + display: inline; + } } \ No newline at end of file diff --git a/views/browse.erb b/views/browse.erb index 940afbab..564bb381 100644 --- a/views/browse.erb +++ b/views/browse.erb @@ -21,7 +21,7 @@
- +
@@ -79,11 +79,15 @@
+ + + <% if params[:sort_by] == 'hits' %> - <%= site.hits.format_large_number %> hit<%= site.hits == 1 ? '' : 's' %> + <%= site.hits.format_large_number %> hit<%= site.hits == 1 ? '' : 's' %> <% else %> - <%= site.views.format_large_number %> view<%= site.views == 1 ? '' : 's' %> + <%= site.views.format_large_number %> view<%= site.views == 1 ? '' : 's' %> <% end %> +
diff --git a/views/dashboard.erb b/views/dashboard.erb index b57c1a95..d711834a 100644 --- a/views/dashboard.erb +++ b/views/dashboard.erb @@ -29,7 +29,10 @@

<%= current_site.title %>

-

<%= current_site.host %>

+

+ <%= current_site.host %> + '> Share +

    <% if current_site.site_updated_at %>
  • Last updated <%= current_site.site_updated_at.ago.downcase %>
  • diff --git a/views/home.erb b/views/home.erb index 14430a4d..bb822849 100644 --- a/views/home.erb +++ b/views/home.erb @@ -66,7 +66,8 @@
diff --git a/views/site_files/text_editor.erb b/views/site_files/text_editor.erb index 15a57814..51486db4 100644 --- a/views/site_files/text_editor.erb +++ b/views/site_files/text_editor.erb @@ -71,8 +71,9 @@
Save View + '>Share -