Move style to head to make routes page valid html5

This commit is contained in:
Carlos Antonio da Silva 2013-01-05 11:57:13 -02:00
parent 82023532d8
commit 60e809cffd
3 changed files with 8 additions and 4 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>