Search and stuff
This commit is contained in:
@@ -255,6 +255,9 @@ main {
|
||||
.indexFeature:not(:last-child) {
|
||||
padding-bottom: var(--space-l);
|
||||
}
|
||||
mark {
|
||||
background-color: var(--contrast-color);
|
||||
}
|
||||
nav {
|
||||
grid-column: 2 / span 12;
|
||||
}
|
||||
@@ -583,7 +586,7 @@ hr {
|
||||
}
|
||||
|
||||
/* Dropcap */
|
||||
main > section > article > p:not(.nodropcap):first-of-type:first-letter {
|
||||
main > section > article.post > p:not(.nodropcap):first-of-type:first-letter {
|
||||
float: left;
|
||||
font-size: var(--step-5);
|
||||
padding: var(--space-2xs);
|
||||
|
||||
51
public/css/search.css
Normal file
51
public/css/search.css
Normal file
@@ -0,0 +1,51 @@
|
||||
:root {
|
||||
--pagefind-ui-scale: 1;
|
||||
--pagefind-ui-primary: var(--contrast-color);
|
||||
--pagefind-ui-text: var(--text-color);
|
||||
--pagefind-ui-background: var(--background-color);
|
||||
--pagefind-ui-border: var(--color-gray-20);
|
||||
--pagefind-ui-tag: var(--text-color);
|
||||
--pagefind-ui-border-width: 1px;
|
||||
--pagefind-ui-border-radius: var(--border-radius);
|
||||
--pagefind-ui-font: var(--font-family);
|
||||
}
|
||||
|
||||
mark {
|
||||
background-color: var(--background-color) !important;
|
||||
color: var(--contrast-color) !important;
|
||||
font-variation-settings:
|
||||
"opsz" 18,
|
||||
"wght" 510,
|
||||
"SOFT" 40,
|
||||
"WONK" 0 !important;
|
||||
}
|
||||
|
||||
.pagefind-ui__button {
|
||||
background-color: var(--contrast-color) !important;
|
||||
border: none !important;
|
||||
border-radius: var(--border-radius) !important;
|
||||
color: var(--background-color) !important;
|
||||
font-family: var(--font-family-ui) !important;
|
||||
font-size: var(--step--2) !important;
|
||||
font-variation-settings: var(--font-variation-ui) !important;
|
||||
letter-spacing: var(--ui-letter-spacing) !important;
|
||||
margin: var(--space-xs) 0 0 0 !important;
|
||||
padding: 0 var(--space-xs) !important;
|
||||
text-transform: uppercase !important;
|
||||
transition: var(--transition-normal) !important;
|
||||
white-space: nowrap !important;
|
||||
}
|
||||
|
||||
.pagefind-ui__search-clear {
|
||||
font-family: var(--meta-font-family) !important;
|
||||
font-size: var(--meta-font-size) !important;
|
||||
font-style: var(--meta-font-style) !important;
|
||||
font-variation-settings: var(--meta-font-variation-settings) !important;
|
||||
line-height: calc(
|
||||
var(--meta-font-size) * 0.5 + var(--meta-font-size)
|
||||
) !important;
|
||||
}
|
||||
|
||||
.pagefind-ui__search-input {
|
||||
border-color: var(--contrast-color) !important;
|
||||
}
|
||||
BIN
public/img/eleventy-becomes-sigh-build-awesome/eleventy-logo.png
Normal file
BIN
public/img/eleventy-becomes-sigh-build-awesome/eleventy-logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 40 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 84 KiB |
41
public/img/icons/breeze/file-search-symbolic.svg
Normal file
41
public/img/icons/breeze/file-search-symbolic.svg
Normal file
@@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
viewBox="0 0 16 16"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
sodipodi:docname="file-search-symbolic.svg"
|
||||
inkscape:version="1.4.3 (0d15f75042, 2025-12-25)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#000000"
|
||||
borderopacity="0.25"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:zoom="57.0625"
|
||||
inkscape:cx="8"
|
||||
inkscape:cy="10.102957"
|
||||
inkscape:window-width="2048"
|
||||
inkscape:window-height="1080"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg1" />
|
||||
<defs
|
||||
id="defs3051">
|
||||
<style
|
||||
type="text/css"
|
||||
id="current-color-scheme">.ColorScheme-Text { color: #fcfcfc; } </style>
|
||||
</defs>
|
||||
<path
|
||||
style="fill:#faf5f5;fill-opacity:1;stroke:none"
|
||||
d="M 6.5 2 C 4.007 2 2 4.01 2 6.5 C 2 8.993 4.01 11 6.5 11 C 7.5636432 11 8.5263409 10.618801 9.2949219 10.005859 L 13.292969 14.003906 L 14 13.296875 L 10.001953 9.2988281 C 10.617604 8.529048 11 7.565338 11 6.5 C 11 4.007 8.99 2 6.5 2 z M 6.5 3 C 8.439 3 10 4.561 10 6.5 C 10 8.439 8.439 10 6.5 10 C 4.561 10 3 8.439 3 6.5 C 3 4.561 4.561 3 6.5 3 z "
|
||||
class="ColorScheme-Text"
|
||||
id="path1" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
Reference in New Issue
Block a user