Added CSS styles

This commit is contained in:
Kenneth Jannette
2018-07-27 21:21:03 -07:00
parent 7f5166b111
commit 304cb3457d
7 changed files with 1666 additions and 1677 deletions

View File

@@ -2,7 +2,7 @@
const api = "https://reactnd-books-api.udacity.com"
// Generate a unique token for storing your bookshelf data on the backend server.
// Generate a unique token
let token = localStorage.token
if (!token)
token = localStorage.token = Math.random().toString(36).substr(-8)

View File

@@ -76,6 +76,7 @@ class SearchPage extends Component {
</ol>
</div>
<div className="tags">
<p className="title-tag">Suggested search terms:</p>
<ul>
<li><span class="badge">Android</span></li>
<li><span class="badge">Art</span></li>

View File

@@ -12,7 +12,7 @@
padding: 5px 17px;
background: #f2f2f2;
font-size: 12px;
color: #8e8e8e;
color: #000000;
}
.tags > ul > li > span:hover {
@@ -20,6 +20,10 @@
padding: 5px 17px;
background: #ececec;
font-size: 12px;
color: #8e8e8e;
color: #000000;
}
.tags > .title-tag {
margin-left: 45px;
}