fix position of homepage top element
This commit is contained in:
parent
f22bfd1cbc
commit
1be5325040
@ -10,10 +10,11 @@ code { word-wrap: break-word; white-space: normal; }
|
||||
.tablesorter thead tr th:hover i { visibility: visible; }
|
||||
|
||||
/* homepage */
|
||||
#home-motto { font-size: 2em; padding-top: 100px; }
|
||||
#home-motto { font-size: 2em; }
|
||||
#home-motto h1 { font-size: 2em; color: #fff; }
|
||||
#home-top { height: 500px; width: 100%; background: url('<%= asset_path("thingspeak_stars_bg.jpg") %>') no-repeat; background-size: 100% 500px; text-align: center; color: #fff; }
|
||||
#home-top { display: table; height: 500px; width: 100%; background: url('<%= asset_path("thingspeak_stars_bg.jpg") %>') no-repeat; background-size: 100% 500px; text-align: center; color: #fff; }
|
||||
#home-top a { color: #fff; }
|
||||
#home-top-center { display: table-cell; vertical-align: middle; position: relative; top: -20px; }
|
||||
.panel-home { min-height: 180px; }
|
||||
|
||||
/* misc */
|
||||
|
@ -1,20 +1,22 @@
|
||||
<div id="home-top">
|
||||
|
||||
<div id="home-motto">
|
||||
<h1><%= t(:home_motto) %></h1>
|
||||
<%= t(:home_tagline) %>
|
||||
</div>
|
||||
<div id="home-top-center">
|
||||
<div id="home-motto">
|
||||
<h1><%= t(:home_motto) %></h1>
|
||||
<%= t(:home_tagline) %>
|
||||
</div>
|
||||
|
||||
<br><br>
|
||||
|
||||
<div>
|
||||
<%= link_to t(:get_started), new_user_registration_path, :class => 'btn btn-danger btn-lg' %>
|
||||
<br><br>
|
||||
<a href="/docs" target="_blank"><%= t(:documentation) %></a>
|
||||
|
|
||||
<a href="http://community.thingspeak.com/forum/" target="_blank"><%=t(:support)%></a>
|
||||
|
|
||||
<a href="https://github.com/iobridge/thingspeak" target="_blank">GitHub</a>
|
||||
|
||||
<div>
|
||||
<%= link_to t(:get_started), new_user_registration_path, :class => 'btn btn-danger btn-lg' %>
|
||||
<br><br>
|
||||
<a href="/docs" target="_blank"><%= t(:documentation) %></a>
|
||||
|
|
||||
<a href="http://community.thingspeak.com/forum/" target="_blank"><%=t(:support)%></a>
|
||||
|
|
||||
<a href="https://github.com/iobridge/thingspeak" target="_blank">GitHub</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user