Skip to content

Commit

Permalink
Made Search more corporate
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwinKuttappi committed Nov 4, 2023
1 parent 89b0d65 commit 2e24544
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 15 deletions.
31 changes: 25 additions & 6 deletions assets/search/search.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,33 @@
height: 5em;
width: auto;
}
@import url("https://fonts.googleapis.com/css?family=Rubik%20Mono%20One:900&display=swap");
body{
background-color: #191414;
}
table {
table-layout: fixed;
width: 100%;
width: 95%;
border-collapse: collapse;
/*border: 3px solid purple;*/
}
border: 3px solid purple;
}
.center {
margin-left: auto;
margin-right: auto;
}
thead th:nth-child(1) {
width: 20%;
}
thead th:nth-child(2) {
width: 20%;
}
thead th:nth-child(3) {
width: 15%;
width: 12.5%;
}
thead th:nth-child(4) {
width: 25%;
width: 27.5%;
}
thead th:nth-child(5) {
width: 15%;
Expand All @@ -33,12 +40,13 @@ html {
font-family: "helvetica neue", helvetica, arial, sans-serif;
}
thead th, tfoot th {
font-family: "Rock Salt", cursive;
font-family: 'Rubik Mono One', sans-serif; /* Apply the imported font */
}
th {
letter-spacing: 2px;
letter-spacing: 1.5px;
text-align: center;
max-height: 5%;
font-size: 20px;
}
td {
letter-spacing: 1px;
Expand Down Expand Up @@ -74,15 +82,22 @@ tbody tr:nth-child(even) {
table {
background-color: #924bee;
}
.center {
margin-left: auto;
margin-right: auto;
}
/* .metadata {
height: 0px;
} */

/* Code for the Search Input */
.input-group{
display: flex;
justify-content: space-between;
flex: 2;
margin: auto;
margin-top: auto;
width: 50%;
width: 80%;
}
.input-group input {
width: 100%;
Expand All @@ -93,6 +108,10 @@ table {
text-align: center;
}

.button-elements {
margin-left: 10px;
}

.button-elements button {
margin: auto;
display: block;
Expand Down
12 changes: 3 additions & 9 deletions search.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,15 @@
<div style="margin-top:4%;">
<div class="input-group">
<input type="text" id="filterInput" placeholder="Enter">
<div class="button-elements">
<button id="search">Search</button>
</div>
<div class="button-elements"><button id="search">Search</button></div>
</div>
<link
href="https://fonts.googleapis.com/css?family=Rock+Salt"
rel="stylesheet"
type="text/css"/>
<link rel="stylesheet" type="text/css" href="/assets/search/search.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/sockjs-client/1.1.4/sockjs.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/stomp.js/2.3.3/stomp.min.js"></script>
<script src="/assets/search/search.js" type="module">
</script>
</div class="table">
<table>
</div>
<table class="center">
<thead>
<tr>
<div class="metadata">
Expand Down

0 comments on commit 2e24544

Please sign in to comment.