Spaces:
Running
Running
Create style1.css
Browse files- style1.css +57 -0
style1.css
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* style1.css */
|
2 |
+
|
3 |
+
/* Generic OnVue-like background and font styles */
|
4 |
+
body, .gradio-container {
|
5 |
+
background-color: #f5f7fa;
|
6 |
+
font-family: 'Helvetica Neue', Arial, sans-serif;
|
7 |
+
color: #333;
|
8 |
+
margin: 0;
|
9 |
+
padding: 0;
|
10 |
+
}
|
11 |
+
|
12 |
+
/* A container style to mimic an exam environment */
|
13 |
+
.gradio-container {
|
14 |
+
max-width: 900px;
|
15 |
+
margin: 0 auto;
|
16 |
+
padding: 2rem;
|
17 |
+
border: 1px solid #d3d3d3;
|
18 |
+
border-radius: 8px;
|
19 |
+
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
|
20 |
+
}
|
21 |
+
|
22 |
+
/* Style for the question text */
|
23 |
+
#question-text {
|
24 |
+
background-color: #fff;
|
25 |
+
padding: 1rem;
|
26 |
+
border-radius: 5px;
|
27 |
+
margin-bottom: 1rem;
|
28 |
+
border-left: 4px solid #0073e6;
|
29 |
+
}
|
30 |
+
|
31 |
+
/* Force the radio group (multiple choice) to be vertical */
|
32 |
+
#choices-radio .gradio-radio .radio-group {
|
33 |
+
display: flex !important;
|
34 |
+
flex-direction: column !important;
|
35 |
+
gap: 8px !important;
|
36 |
+
}
|
37 |
+
|
38 |
+
/* Buttons styling: updated to a blue background and white text */
|
39 |
+
button {
|
40 |
+
background-color: #0073e6; /* Blue background */
|
41 |
+
color: #000000; /* White text */
|
42 |
+
border: none;
|
43 |
+
padding: 0.6rem 1.2rem;
|
44 |
+
font-size: 1rem;
|
45 |
+
border-radius: 4px;
|
46 |
+
cursor: pointer;
|
47 |
+
}
|
48 |
+
|
49 |
+
/* Hover state for buttons */
|
50 |
+
button:hover {
|
51 |
+
background-color: #005bb5; /* Darker blue on hover */
|
52 |
+
}
|
53 |
+
|
54 |
+
/* Headings */
|
55 |
+
h1, h2, h3, h4, h5, h6 {
|
56 |
+
color: #2e3640;
|
57 |
+
}
|