Switch to pico.css

This commit is contained in:
Aaron Bieber 2022-11-29 21:22:42 -07:00
parent 6d913b0be2
commit ac1cd658a7
No known key found for this signature in database

View File

@ -204,85 +204,22 @@ __DATA__
type="application/opensearchdescription+xml" type="application/opensearchdescription+xml"
title="<%= $title %>" title="<%= $title %>"
href="/openbsd-app-opensearch.xml" /> href="/openbsd-app-opensearch.xml" />
<style> <link rel="stylesheet" href="https://deftly.net/pico.classless.css">
body {
font-family: Avenir, 'Open Sans', sans-serif;
background-color: #ffffea;
}
table {
border-collapse:separate;
border:solid black 1px;
border-radius:6px;
background-color: #fff;
}
td, th {
border-left:solid black 1px;
border-top:solid black 1px;
}
th {
white-space: nowrap;
padding: 6px;
}
.search {
padding: 10px;
margin: 10px;
border-radius:6px;
box-shadow: 2px 2px 2px black;
}
th, .search {
border-top: none;
background-color: #eaeaff;
}
td:first-child, th:first-child {
border-left: none;
}
td {
padding: 10px;
text-align: left;
}
.tree {
}
pre {
text-align: left;
}
.nowrap {
white-space: nowrap;
}
footer, .wrap, .results {
text-align: center;
}
</style>
</head> </head>
<body> <body>
<div class="wrap"> <header>
<h3><a href="/">OpenBSD.app - search packages</a></h3> <h3><a href="/">OpenBSD.app - search packages</a></h3>
<div class="search"> %= form_for '/' => begin
%= form_for '/' => begin %= tag 'input', type => 'search', name => 'search', id => 'search', placeholder => 'Search'
%= text_field search => "" %= check_box id => 'switch', role => "switch"
-current %= label_for 'switch' => 'Search -current'
%= check_box 'current' % end
%= submit_button 'Search...' </header>
% end <main>
</div> <%== content %>
</div> </main>
<div class="results">
<%== content %>
</div>
<hr />
<footer> <footer>
<p><a href="https://github.com/qbit/openbsd.app">OpenBSD.app</a> © 2022 - proudly hosted on <a href="https://openbsd.amsterdam/">obsd.ams</a>!</p> <p><a href="https://github.com/qbit/openbsd.app">OpenBSD.app</a> © 2022 - proudly hosted on <a href="https://openbsd.amsterdam/">obsd.ams</a>!</p>
<p><a href="https://github.com/qbit/pkg">Prefer CLI?</a></p>
</footer> </footer>
</body> </body>
</html> </html>