Skip to content

Instantly share code, notes, and snippets.

@rollendxavier
Last active March 11, 2024 03:27
Show Gist options
  • Save rollendxavier/2e9e9d4faa233d55bcf78310738e04a3 to your computer and use it in GitHub Desktop.
Save rollendxavier/2e9e9d4faa233d55bcf78310738e04a3 to your computer and use it in GitHub Desktop.
Price Tracker - app.css
body {
font-family: Arial, sans-serif;
}
.App {
text-align: center;
}
.App-header {
background-color: #ffffff;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: rgb(7, 7, 7);
}
.news-ticker {
font-size: 0.9em; /* Adjust the font size */
padding: 5px; /* Adjust the padding */
background-color: #f9f9f9;
text-decoration: none;
display: inline-block;
margin-right: 10px;
border-radius: 3px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
transition: transform 0.3s ease-in-out;
color: #690c0c; /* Make the text really black */
}
.news-ticker:hover {
transform: scale(1.05);
}
.news-ticker h1 {
margin: 0;
font-size: 1em; /* Adjust the font size */
font-weight: bold;
}
.news-ticker p {
margin: 2;
font-size: 0.7em; /* Adjust the font size */
text-align: left; /* Align the text to the left */
color: rgba(25, 10, 245, 0.932);
}
h1, h2, h3 {
color: rgba(31, 28, 28, 0.842);
}
table {
width: 100%;
border-collapse: collapse;
}
table, th, td {
border: 1px solid #111111;
padding: 8px;
}
th {
padding-top: 12px;
padding-bottom: 12px;
text-align: left;
background-color: #4CAF50;
color: white;
}
tr:nth-child(even) {
background-color: #d4aeae;
}
.coin-details {
margin-top: 20px;
}
.ReactDatePicker {
font-size: 1em;
}
.ReactDatePicker input {
width: 100%;
padding: 10px;
border: 1px solid #ddd;
border-radius: 4px;
margin-bottom: 10px;
}
select {
width: 100%;
padding: 10px;
border: 1px solid #ddd;
border-radius: 4px;
margin-bottom: 10px;
}
.price-details {
display: flex;
justify-content: space-between;
align-items: baseline;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment