Move create_button styling out of index.html

This commit is contained in:
Sanjit Joseph 2022-11-30 17:21:03 -08:00
parent 42a560ab0e
commit 18f79936fe
2 changed files with 4 additions and 3 deletions

View File

@ -43,9 +43,9 @@
<img src ="./assets/images/search_button.png" alt="SEARCH BTN" id="search-btn"/> <img src ="./assets/images/search_button.png" alt="SEARCH BTN" id="search-btn"/>
</div> </div>
<div class="center-display"> <div class="center-display">
<img src ="./assets/images/create_button.png" alt="CREATE" style="opacity: 100%;" id="create-btn" title="Add an entry!" onclick="window.location.assign('./CreatePage.html')"/> <img src ="./assets/images/create_button.png" alt="CREATE" id="create-btn" title="Add an entry!" onclick="window.location.assign('./CreatePage.html')"/>
<h2 id="recent-reviews-text"> Recent Reviews </h2> <h2 id="recent-reviews-text"> Recent Reviews </h2>
<img src ="./assets/images/create_button.png" id="create-btn-invis" style="opacity:0;"/> <img src ="./assets/images/create_button.png" id="create-btn-invis"/>
<label for="sort">Filtering Method:</label> <label for="sort">Filtering Method:</label>
<select id="sort"> <select id="sort">
<option value="recent">Most Recent</option> <option value="recent">Most Recent</option>

View File

@ -92,6 +92,7 @@ img#create-btn {
} }
img#create-btn-invis { img#create-btn-invis {
opacity: 0%;
width: 15%; width: 15%;
height: 15%; height: 15%;
} }