louiecerv's picture
save changes
94d373b
/* style.css */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;700&display=swap');
body {
font-family: 'EB Garamond', serif;
font-size: 15px;
line-height: 1.6;
}
h1, h2, h3 {
font-family: 'Source Code Pro', monospace;
font-weight: 700;
}
a {
color: #007bff;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.stButton>button {
background-color: #6495ED;
color: white;
border: none;
padding: 10px 20px;
text-transform: uppercase;
cursor: pointer;
border-radius: 5px;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}
.stButton>button:hover {
background-color: #4169E1;
box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.3);
}
input[type="text"],
textarea {
width: 100%;
padding: 10px;
margin: 5px 0 20px 0;
border: 1px solid #555;
border-radius: 4px;
box-sizing: border-box;
}
.stSlider>div>div>div {
background-color: #00bfff !important;
}
.stSelectbox>div>div>select {
width: 100%;
padding: 10px;
margin: 5px 0 20px 0;
border: 1px solid #555;
border-radius: 4px;
box-sizing: border-box;
}
table {
width: 100%;
border-collapse: collapse;
}
th, td {
border: 1px solid #555;
padding: 8px;
text-align: left;
}
/* Media Queries for Light/Dark Mode */
@media (prefers-color-scheme: light) {
body {
background-color: #fff;
color: #000;
}
h1, h2, h3 {
color: #007bff;
}
input[type="text"],
textarea {
background-color: #fff;
color: #000;
border-color: #ccc;
}
.stSelectbox>div>div>select {
background-color: #fff;
color: #000;
border-color: #ccc;
}
th {
background-color: #f5f5f5;
color: #000;
}
}
@media (prefers-color-scheme: dark) {
body {
background-color: #181818;
color: #e0e0e0;
}
h1, h2, h3 {
color: #00bfff;
}
input[type="text"],
textarea {
background-color: #282828;
color: #e0e0e0;
border-color: #555;
}
.stSelectbox>div>div>select {
background-color: #282828;
color: #e0e0e0;
border-color: #555;
}
th {
background-color: #282828;
color: #e0e0e0;
}
/* Enhancements for Dark Mode */
.stButton>button {
box-shadow: 2px 2px 5px rgba(255, 255, 255, 0.2);
}
.stButton>button:hover {
box-shadow: 3px 3px 7px rgba(255, 255, 255, 0.3);
}
}