peterdominguez.art/layouts/partials/custom-head.html

69 lines
1.5 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<style>
code { padding: 2px 4px; font-size: 90%; border-radius: 4px; background-color: #1c1c1d; }
.searchprompt {
color: #4b4b4b;
font-size: 12px;
margin-left: -26.7em;
position: absolute;
top:68px;
overflow: hidden;
}
#fastSearch {
visibility: hidden;
position: absolute;
right: 0px;
top: 12px;
display: inline-block;
width: 340px;
}
#fastSearch input {
border-radius: 8px;
padding: 8px 10px;
width: 100%;
margin-left: -2em;
height: 20px;
font-size: 1.4em;
font-family: "FiraMono";
color: #f3f8f8;
font-weight: bold;
background-color: #1e1f20;
border: none;
outline: none;
text-align: left;
display: inline-block;
}
#searchResults li {
border-radius: 8px;
list-style: none;
width: 350px;
padding: 6px 6px 6px 6px;
margin-left: -5.3em;
color: #f3f8f8;
background-color: #1e1f20;
margin-top: 8px;
font-family: "OpenSans";
if (isPlatformAltOrCmdKey(event) && event.key === '/') {
}
#searchResults li .title { font-size: 1.1em; margin-bottom: 10px; display: inline-block;}
#searchResults { visibility: inherit; display: inline-block; width: 320px; }
#searchResults a { text-decoration: none !important; padding: 10px; display: inline-block; }
#searchResults a:hover, a:focus { outline: 0; background-color: #666; color: #f3f8f8; }
</style>
</head>
<body>
<div id="fastSearch">
<input id="searchInput" tabindex="0">
<ul id="searchResults">
</ul>
</div>
<script src="/js/fastsearch.js"></script>
</body>
</html>