Move style to head to make routes page valid html5
This commit is contained in:
parent
82023532d8
commit
60e809cffd
|
@ -113,6 +113,8 @@
|
|||
a { color: #980905; }
|
||||
a:visited { color: #666; }
|
||||
a:hover { color: #C52F24; }
|
||||
|
||||
<%= yield :style %>
|
||||
</style>
|
||||
|
||||
<script>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<style type='text/css'>
|
||||
#route_table td {padding: 0 30px;}
|
||||
#route_table {margin: 0 auto 0;}
|
||||
</style>
|
||||
<% content_for :style do %>
|
||||
#route_table td { padding: 0 30px; }
|
||||
#route_table { margin: 0 auto 0; }
|
||||
<% end %>
|
||||
|
||||
<table id='route_table' class='route_table'>
|
||||
<thead>
|
||||
|
|
|
@ -24,6 +24,8 @@
|
|||
a:hover { color: #fff; background-color:#000; }
|
||||
|
||||
h2 { padding-left: 10px; }
|
||||
|
||||
<%= yield :style %>
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
|
Loading…
Reference in New Issue