Skip to content

Commit

Permalink
feat: slightly better styling
Browse files Browse the repository at this point in the history
  • Loading branch information
sznowicki committed Dec 5, 2023
1 parent b520aa3 commit d00b621
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
14 changes: 14 additions & 0 deletions dist/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,26 @@ html, body {
margin: 0;
}

input {
font-family: var(--font-family-base);
padding: .75rem 0.5rem;
width: 100%;
}

h1, h2, h3, h4, h5 {
font-family: var(--font-family-head);
margin: 0;
padding: 0;
}

ul {
margin: 1rem 0;
padding: 0;
list-style: none;
display: grid;
gap: 2rem;
}

h1 {
font-size: 2rem;
& span {
Expand Down
6 changes: 3 additions & 3 deletions functions/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h1>Kukey.eu <span>curated search for web developers</span></h1>
<p>Super MVP, contact me on <a href="https://social.nowicki.io/@hey">Mastodon</a> or check out the <a href="https://github.com/Kukei-eu">source code</a></p>
</div>
<form action="">
<input type="text" name="q" value="{{ q }}"/>
<input type="search" name="q" value="{{ q }}"/>
</form>
{{#hasResults}}
<p>Search results generated in {{ doneIn }}ms</p>
Expand All @@ -22,7 +22,7 @@ <h2>Blogs</h2>
<ul>
{{#blogs}}
<li>
<h2>{{ title }}</h2>
<h3>{{ title }}</h3>
<p>{{ excerpt }}</p>
<blockquote>{{ highlight }}</blockquote>
<a href="{{ url }}">{{ url }}</a>
Expand All @@ -35,7 +35,7 @@ <h2>Docs</h2>
<ul>
{{#docs}}
<li>
<h2>{{ title }}</h2>
<h3>{{ title }}</h3>
<p>{{ excerpt }}</p>
<blockquote>{{ highlight }}</blockquote>
<a href="{{ url }}">{{ url }}</a>
Expand Down

0 comments on commit d00b621

Please sign in to comment.