Skip to content

Commit

Permalink
Merge pull request #56 from flbraun/header-image
Browse files Browse the repository at this point in the history
Add header image to help with visual clarity
  • Loading branch information
flbraun committed Mar 16, 2024
2 parents 644fe32 + 19b102d commit 08c9e01
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
Binary file added assets/header.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions assets/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@ body {
width: 25%;
}

#header {
/* centers the header image horizontally */
display: block;
margin-left: auto;
margin-right: auto;
}

#search {
border: 8px solid var(--color-primary);
border-top-left-radius: var(--radius);
Expand Down
3 changes: 3 additions & 0 deletions src/renderer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,14 @@
<body>
<div class="spacer"></div>
<div id="palette">
<img id="header" src="../../assets/header.png" />
<input id="search" type="text" placeholder="Still sane, exile?" autocomplete="false" spellcheck="false" autofocus>
<div id="resultlist"></div>
</div>
<div class="spacer"></div>
<div class="spacer"></div>
<div class="spacer"></div>
<div class="spacer"></div>

<script src="./palette.js"></script>
</body>
Expand Down

0 comments on commit 08c9e01

Please sign in to comment.