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

123 lines
2.2 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<style>
pre code { background-color: #3e3c3c; }
code { padding: 2px 4px; font-size: 90%; border-radius: 4px; background-color: #131212; }
.headerWrapper {
background: #3e3c3c;
}
.headerLinks {
background: #3e3c3c;
}
.postListItem {
background: #3e3c3c;
}
.postExcerpt {
background: #3e3c3c;
}
.postExcerpt {
background: #3e3c3c;
}
.postMetadata {
background: #3e3c3c;
}
.footer {
background: #3e3c3c;
}
body {
background: #2c2a2a;
}
.pagination {
list-style: none;
margin: 3;
padding: 0;
margin-top: 1em;
padding-top: 0.5em;
font: 1.2em FiraMono;
display: flex;
justify-content: center;
}
.pagination li {
margin: 0 1px;
}
.pagination a {
display: block;
padding: 0.1em 0.8em;
margin: 1px;
border-radius: 0.5em;
text-decoration: none;
background-color: #3e3c3c;
}
.pagination a:hover {
color: #f8f8ff;
background-color: #f26d63;
}
#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: #181717;
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: #181717;
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>