206 lines
4.1 KiB
CSS
206 lines
4.1 KiB
CSS
/* General body styling */
|
|
body {
|
|
background: #f0f4f8;
|
|
background-image: linear-gradient(to bottom right, #d0e1f9, #e1ebf9);
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.block-container {
|
|
padding: 2.5rem 5rem 3rem 5rem;
|
|
}
|
|
|
|
/* Main header styling */
|
|
.main-header {
|
|
font-size: 2.5em;
|
|
font-weight: bold;
|
|
color: #1565C0;
|
|
margin-bottom: 20px;
|
|
text-align: center;
|
|
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
|
|
padding-top: 10px;
|
|
}
|
|
|
|
/* Sub-header styling */
|
|
.sub-header {
|
|
font-size: 1.75em;
|
|
font-weight: bold;
|
|
color: #1976D2;
|
|
margin-top: 20px;
|
|
margin-bottom: 10px;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Navigation tabs styling */
|
|
.stTabs [role="tab"] {
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
color: white;
|
|
background: #1565C0;
|
|
padding: 6px 10px;
|
|
margin: 5px;
|
|
border-radius: 8px;
|
|
border: 2px solid #ddd;
|
|
transition: background 0.3s ease, padding 0.3s ease;
|
|
}
|
|
|
|
.stTabs [role="tab"]:hover {
|
|
background: #1976D2;
|
|
}
|
|
|
|
.stTabs [role="tab"][aria-selected="true"] {
|
|
background: #E3F2FD;
|
|
color: #333;
|
|
border: 2px solid #1565C0;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* Sidebar header styling */
|
|
.sidebar-header {
|
|
font-size: 1.5em;
|
|
font-weight: bold;
|
|
color: #333;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
/* Sidebar option styling */
|
|
.sidebar-option {
|
|
margin-bottom: 10px;
|
|
font-size: 1.5em;
|
|
color: #1565C0;
|
|
cursor: pointer;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.sidebar-option:hover {
|
|
color: #1976D2;
|
|
}
|
|
|
|
/* Content section styling */
|
|
.content-section {
|
|
padding: 20px;
|
|
margin-bottom: 30px;
|
|
border-radius: 10px;
|
|
box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
|
|
background-color: #ffffff;
|
|
}
|
|
|
|
|
|
/* Custom button styling */
|
|
div.stButton > button:first-child {
|
|
background: #1565C0;
|
|
color: white;
|
|
border: none;
|
|
padding: 12px 24px;
|
|
border-radius: 8px;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
font-size: 16px;
|
|
margin: 10px 2px;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
|
|
font-weight: bold;
|
|
}
|
|
|
|
div.stButton > button:hover:first-child {
|
|
background-color: #1976A2;
|
|
box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
/* Scrollbar styling */
|
|
::-webkit-scrollbar-track {
|
|
background: #e1ebf9;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background-color: #90CAF9;
|
|
border-radius: 10px;
|
|
border: 3px solid #e1ebf9;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: #64B5F6;
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
width: 16px;
|
|
}
|
|
|
|
/* Radio button group styling */
|
|
div.row-widget.stRadio > div {
|
|
flex-direction: row;
|
|
align-items: stretch;
|
|
}
|
|
|
|
div.row-widget.stRadio > div[role="radiogroup"] > label[data-baseweb="radio"] {
|
|
background-color: #BBDEFB;
|
|
padding-right: 10px;
|
|
padding-left: 4px;
|
|
padding-bottom: 3px;
|
|
margin: 4px;
|
|
}
|
|
|
|
/* Radio wrapper styling */
|
|
.radio-wrapper {
|
|
border: 2px solid #1565C0;
|
|
border-radius: 5px;
|
|
padding: 15px;
|
|
margin: 10px 0;
|
|
background-color: #f9f9f9;
|
|
}
|
|
|
|
/* Content title styling */
|
|
.content-title {
|
|
font-size: 1.5em;
|
|
font-weight: bold;
|
|
margin-bottom: 10px;
|
|
color: #333;
|
|
}
|
|
|
|
/* Audio player styling */
|
|
audio::-webkit-media-controls-panel,
|
|
audio::-webkit-media-controls-enclosure {
|
|
background-color: #532b5a;
|
|
}
|
|
|
|
audio::-webkit-media-controls-time-remaining-display,
|
|
audio::-webkit-media-controls-current-time-display {
|
|
color: white;
|
|
text-shadow: none;
|
|
}
|
|
|
|
audio::-webkit-media-controls-timeline {
|
|
background-color: #532b5a;
|
|
border-radius: 25px;
|
|
margin-left: 10px;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
/* Select input styling */
|
|
.stSelectbox > div[data-baseweb="select"] > div {
|
|
padding: -1px;
|
|
margin: 2px 0;
|
|
border: 3px solid #1565C0;
|
|
background-color: #ffc10794;
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
transition: border-color 0.3s ease, box-shadow 0.3s ease;
|
|
appearance: none;
|
|
background-repeat: no-repeat;
|
|
background-position: right 10px center;
|
|
background-size: 10px;
|
|
}
|
|
|
|
select:focus {
|
|
border-color: #1565C0;
|
|
box-shadow: 0 0 5px rgba(21, 101, 192, 0.5);
|
|
}
|
|
|
|
select option {
|
|
padding: 10px;
|
|
}
|
|
|