Spaces:
Sleeping
Sleeping
File size: 2,497 Bytes
94d373b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 |
/* 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);
}
} |