algocitrae/ui/styles.css
2024-06-13 22:51:51 +03:00

106 lines
1.7 KiB
CSS

/* Global Styles */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
}
header {
background-color: #333;
color: #fff;
padding: 1em;
text-align: center;
}
header nav ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
justify-content: space-between;
}
header nav li {
margin-right: 20px;
}
header nav a {
color: #fff;
text-decoration: none;
}
header nav a:hover {
color: #ccc;
}
main {
display: flex;
flex-direction: column;
align-items: center;
padding: 2em;
}
section {
background-color: #fff;
padding: 2em;
margin-bottom: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h1 {
font-size: 24px;
margin-bottom: 10px;
}
#price-chart {
width: 100%;
height: 300px;
border: 1px solid #ddd;
}
#refresh-button {
background-color: #4CAF50;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
}
#refresh-button:hover {
background-color: #3e8e41;
}
#transaction-list {
list-style: none;
margin: 0;
padding: 0;
}
#transaction-list li {
padding: 10px;
border-bottom: 1px solid #ddd;
}
#transaction-list li:last-child {
border-bottom: none;
}
#deposit-button, #withdraw-button {
background-color: #4CAF50;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
}
#deposit-button:hover, #withdraw-button:hover {
background-color: #3e8e41;
}