Add preliminay search bar
This commit is contained in:
parent
cc0653d78c
commit
96efd6085a
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
.idea/
|
||||
.vscode/
|
@ -12,11 +12,13 @@
|
||||
<h1>Welcome to DataDash</h1>
|
||||
<p>The place to launch and discover datasets and API endpoints.</p>
|
||||
</header>
|
||||
<div id="functionBar">
|
||||
<div id="searchBar">
|
||||
<p>lilalu</p>
|
||||
</div>
|
||||
|
||||
<section id="tool-bar">
|
||||
<div id="search-bar">
|
||||
<input type="search" name="query" id="search-entry" placeholder="Search">
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="recents">
|
||||
<h2>Recently added:</h2>
|
||||
<ul class="datasets">
|
||||
|
@ -5,6 +5,7 @@
|
||||
--pad-datasets: 1rem;
|
||||
--pad-main: 2rem;
|
||||
--min-card-size: 60ch;
|
||||
--corner-radius: 1rem;
|
||||
font-size: 12pt;
|
||||
}
|
||||
|
||||
@ -25,6 +26,23 @@ header {
|
||||
margin-inline: .75rem;
|
||||
}
|
||||
|
||||
#tool-bar {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
#search-bar {
|
||||
background-color: var(--fg-color, darkgrey);
|
||||
padding: .5rem 1rem;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#search-entry {
|
||||
background: none;
|
||||
border: none;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.datasets {
|
||||
padding-inline: var(--pad-datasets);
|
||||
display: grid;
|
||||
@ -38,10 +56,10 @@ header {
|
||||
}
|
||||
}
|
||||
|
||||
.dataset, #functionBar {
|
||||
.dataset {
|
||||
padding: 1rem 2rem;
|
||||
background-color: var(--fg-color, darkgrey);
|
||||
border-radius: 1rem;
|
||||
border-radius: var(--corner-radius);
|
||||
list-style: none;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
|
Loading…
Reference in New Issue
Block a user