Skip to content

Commit

Permalink
Add watchlist and tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
neokarasu authored Dec 23, 2017
1 parent c784786 commit fcafc90
Show file tree
Hide file tree
Showing 5 changed files with 638 additions and 21 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ For now it only has:
- Bitcoin
- Ethereum
- Litecoin
- A tab to keep track of potential coins with simulated profit

Plan to add:
- More coins
- Alternative to coinmarketcap
Plan to change:
- Add ATH (all time high and 2/3 of ATH as info if any site supplies this through an API)
- Add more coins
- Add alternatives to coinmarketcap
50 changes: 44 additions & 6 deletions coinstyle.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,21 @@ body {
-webkit-font-smoothing: antialiased;
font-smoothing: antialiased;
background: #2b2b2b;
max-width: 80%;
}

/* Styling and all that for the primary cyrptocurrency comparison tables themselves */

.wrapper {
margin: 0 auto;
padding: 30px;
max-width: 1000px;
margin: 0;
max-width: 100%;
}

.table {
margin: 0 0 20px 0;
width: 50%;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
margin: 20px;
max-width: 50%;
display: table;
border: 1px solid #ccc;
}

.row {
Expand Down Expand Up @@ -49,3 +51,39 @@ body {
padding: 6px 12px;
display: table-cell;
}

/* Styling and all that for the tabs and tabcontent themselves */

.tab {
overflow: hidden;
border: 1px solid #27ae60;
background-color: #27ae60;
display: flex;
justify-content: center;
}

.tab button {
background-color: inherit;
float: left;
border: none;
outline: none;
cursor: pointer;
padding: 14px 16px;
transition: 0.3s;
font-size: 17px;
}

.tab button:hover {
background-color: #5ad790;
}

.tab button.active {
background-color: #7bd7a3;
}

.tabcontent {
display: none;
padding: 6px 12px;
border: 1px solid #ccc;
border-top: none;
}
Loading

0 comments on commit fcafc90

Please sign in to comment.