|
1 | | -<header class="text-white"> |
2 | | - <section class="container px-6 pt-12 pb-12"> |
3 | | - <h2 class="mx-auto max-w-4xl text-5xl text-center font-bold leading-tight text-shadow"> |
4 | | - <%= "Research 🔍 specs and implementations" %> |
| 1 | +<% |
| 2 | + heading = "Research 🔍 specs and implementations" |
| 3 | + heading = "Search Can I Use, BundlePhobia, W3 & WhatWG specs" |
| 4 | +%> |
| 5 | +<header class="text-black bg-white"> |
| 6 | + <section class="container px-6 pt-8 pb-8"> |
| 7 | + <h2 class="mx-auto max-w-4xl text-xl text-center italic leading-tight"> |
| 8 | + <%= heading %> |
5 | 9 | </h2> |
6 | 10 | <form role=search action="/research" class="flex h-full pt-8 items-center"> |
7 | | - <input type=text name=q placeholder="Search" class="w-full py-1 px-3 text-3xl bg-white text-black rounded" value="<%= @query %>"> |
| 11 | + <input type=text name=q placeholder="Search" class="w-full py-1 px-6 text-3xl bg-white text-black border rounded-full" value="<%= @query %>"> |
8 | 12 | </form> |
9 | | - <dl class="text-xl grid items-center" style="grid-template-columns: auto 1fr;"> |
| 13 | + <dl class="text-xl grid gap-2 items-center pt-4 px-6" style="grid-template-columns: auto 1fr;"> |
10 | 14 | <dt>HTML & Roles</dt> |
11 | 15 | <dd> |
12 | | - <ul class="list-none flex flex-wrap pt-4 italic" style="--links-padding: 0.75em"> |
| 16 | + <ul class="list-none flex flex-wrap italic" style="--links-padding: 0.75em"> |
13 | 17 | <li><%= link("form", to: "?q=form") %> |
14 | 18 | <li><%= link("button", to: "?q=button") %> |
15 | 19 | <li><%= link("contentinfo", to: "?q=contentinfo") %> |
|
19 | 23 | </dd> |
20 | 24 | <dt>Third-party</dt> |
21 | 25 | <dd> |
22 | | - <ul class="list-none flex flex-wrap pt-4 italic" style="--links-padding: 0.75em"> |
| 26 | + <ul class="list-none flex flex-wrap italic" style="--links-padding: 0.75em"> |
23 | 27 | <li><%= link("react-dom", to: "?q=react-dom") %> |
24 | 28 | <li><%= link("preact", to: "?q=preact") %> |
25 | 29 | </ul> |
26 | 30 | </dd> |
27 | 31 | <dt>Concepts</dt> |
28 | 32 | <dd> |
29 | | - <ul class="list-none flex flex-wrap pt-4 italic" style="--links-padding: 0.75em"> |
| 33 | + <ul class="list-none flex flex-wrap italic" style="--links-padding: 0.75em"> |
30 | 34 | <li><%= link("error", to: "?q=error") %> |
31 | 35 | </ul> |
32 | 36 | </dd> |
33 | 37 | </dl> |
34 | 38 | </section> |
35 | 39 | </header> |
36 | 40 |
|
37 | | -<div class="bg-white py-16"> |
38 | | - <div class="container px-6"> |
39 | | - <%= @results %> |
| 41 | +<div class="bg-white py-8"> |
| 42 | + <div class="container"> |
| 43 | + <div class="px-6"> |
| 44 | + <%= @results %> |
| 45 | + </div> |
40 | 46 | </div> |
41 | 47 | </div> |
0 commit comments