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 { color: #980905; }
|
||||||
a:visited { color: #666; }
|
a:visited { color: #666; }
|
||||||
a:hover { color: #C52F24; }
|
a:hover { color: #C52F24; }
|
||||||
|
|
||||||
|
<%= yield :style %>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<style type='text/css'>
|
<% content_for :style do %>
|
||||||
#route_table td {padding: 0 30px;}
|
#route_table td { padding: 0 30px; }
|
||||||
#route_table {margin: 0 auto 0;}
|
#route_table { margin: 0 auto 0; }
|
||||||
</style>
|
<% end %>
|
||||||
|
|
||||||
<table id='route_table' class='route_table'>
|
<table id='route_table' class='route_table'>
|
||||||
<thead>
|
<thead>
|
||||||
|
|
|
@ -24,6 +24,8 @@
|
||||||
a:hover { color: #fff; background-color:#000; }
|
a:hover { color: #fff; background-color:#000; }
|
||||||
|
|
||||||
h2 { padding-left: 10px; }
|
h2 { padding-left: 10px; }
|
||||||
|
|
||||||
|
<%= yield :style %>
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
Loading…
Reference in New Issue