Spaces:
Running
Running
/* style1.css */ | |
/* Generic OnVue-like background and font styles */ | |
body, .gradio-container { | |
background-color: #f5f7fa; | |
font-family: 'Helvetica Neue', Arial, sans-serif; | |
color: #333; | |
margin: 0; | |
padding: 0; | |
} | |
/* A container style to mimic an exam environment */ | |
.gradio-container { | |
max-width: 900px; | |
margin: 0 auto; | |
padding: 2rem; | |
border: 1px solid #d3d3d3; | |
border-radius: 8px; | |
box-shadow: 0 2px 5px rgba(0,0,0,0.1); | |
} | |
/* Style for the question text */ | |
#question-text { | |
background-color: #fff; | |
padding: 1rem; | |
border-radius: 5px; | |
margin-bottom: 1rem; | |
border-left: 4px solid #0073e6; | |
} | |
/* Force the radio group (multiple choice) to be vertical */ | |
#choices-radio .gradio-radio .radio-group { | |
display: flex ; | |
flex-direction: column ; | |
gap: 8px ; | |
} | |
/* Buttons styling: updated to a blue background and white text */ | |
button { | |
background-color: #0073e6; /* Blue background */ | |
color: #000000; /* White text */ | |
border: none; | |
padding: 0.6rem 1.2rem; | |
font-size: 1rem; | |
border-radius: 4px; | |
cursor: pointer; | |
} | |
/* Hover state for buttons */ | |
button:hover { | |
background-color: #005bb5; /* Darker blue on hover */ | |
} | |
/* Headings */ | |
h1, h2, h3, h4, h5, h6 { | |
color: #2e3640; | |
} | |