fabianad commited on
Commit
94d99a0
·
verified ·
1 Parent(s): 8591daa

Upload style.css

Browse files
Files changed (1) hide show
  1. style.css +158 -0
style.css ADDED
@@ -0,0 +1,158 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Custom styles for the application */
2
+ body {
3
+ font-family: 'Arial', sans-serif;
4
+ color: #FFFFFF;
5
+ background-color: #181818;
6
+ }
7
+
8
+ /* Button styling */
9
+ .stButton>button {
10
+ min-width: 40px !important;
11
+ height: 30px !important;
12
+ padding: 2px 8px !important;
13
+ margin: 2px !important;
14
+ background-color: #2D5BE3;
15
+ color: white;
16
+ border: none;
17
+ border-radius: 4px;
18
+ cursor: pointer;
19
+ transition: all 0.3s ease;
20
+ font-size: 14px;
21
+ font-weight: bold;
22
+ text-shadow: 0 1px 2px rgba(0,0,0,0.2);
23
+ box-shadow: 0 2px 4px rgba(0,0,0,0.2);
24
+ }
25
+
26
+ .stButton>button:hover {
27
+ background-color: #3DDC84;
28
+ transform: translateY(-1px);
29
+ box-shadow: 0 4px 8px rgba(0,0,0,0.3);
30
+ }
31
+
32
+ /* Input field styling */
33
+ .stTextInput>div>div>input {
34
+ border-radius: 5px;
35
+ border: 2px solid #2D5BE3;
36
+ padding: 0.5rem;
37
+ background-color: #242424;
38
+ color: #FFFFFF;
39
+ font-weight: 500;
40
+ }
41
+
42
+ .stTextInput>div>div>input:focus {
43
+ border-color: #FFDD44;
44
+ box-shadow: 0 0 0 2px rgba(255, 221, 68, 0.2);
45
+ }
46
+
47
+ /* Sidebar styling */
48
+ .sidebar .sidebar-content {
49
+ background-color: #242424;
50
+ padding: 1rem;
51
+ border-right: 2px solid #2D5BE3;
52
+ }
53
+
54
+ /* Solution display styling */
55
+ .stExpander {
56
+ background-color: #242424;
57
+ border-radius: 8px;
58
+ margin-bottom: 10px;
59
+ box-shadow: 0 2px 6px rgba(0,0,0,0.3);
60
+ border: 1px solid #3DDC84;
61
+ }
62
+
63
+ /* Plot container styling */
64
+ .plot-container {
65
+ background-color: #242424;
66
+ border-radius: 8px;
67
+ padding: 1rem;
68
+ margin: 1rem 0;
69
+ border: 1px solid #2D5BE3;
70
+ box-shadow: 0 4px 12px rgba(0,0,0,0.4);
71
+ }
72
+
73
+ /* Solution steps styling */
74
+ .solution-step {
75
+ background-color: #242424;
76
+ padding: 1rem;
77
+ margin: 0.75rem 0;
78
+ border-radius: 6px;
79
+ border-left: 4px solid #3DDC84;
80
+ }
81
+
82
+ /* Mathematical symbols grid */
83
+ .math-symbols-grid {
84
+ display: grid;
85
+ grid-template-columns: repeat(8, 1fr);
86
+ gap: 4px;
87
+ margin: 10px 0;
88
+ }
89
+
90
+ /* Headers styling */
91
+ h1, h2, h3 {
92
+ color: #FFFFFF;
93
+ font-weight: bold;
94
+ text-shadow: 0 2px 4px rgba(0,0,0,0.3);
95
+ }
96
+
97
+ /* Interactive elements */
98
+ .stSelectbox select,
99
+ .stMultiSelect select {
100
+ background-color: #242424;
101
+ color: #FFFFFF;
102
+ border: 2px solid #2D5BE3;
103
+ }
104
+
105
+ /* Radio buttons and checkboxes */
106
+ .stRadio > div {
107
+ border-radius: 6px;
108
+ padding: 0.5rem;
109
+ background-color: #242424;
110
+ }
111
+
112
+ .stRadio label {
113
+ color: #FFFFFF !important;
114
+ }
115
+
116
+ .stRadio label:hover {
117
+ color: #FFDD44 !important;
118
+ }
119
+
120
+ /* Tabs */
121
+ .stTabs {
122
+ background-color: #242424;
123
+ border-radius: 8px;
124
+ padding: 1rem;
125
+ margin: 1rem 0;
126
+ }
127
+
128
+ /* Success/Info messages */
129
+ .stSuccess, .stInfo {
130
+ background-color: #3DDC84;
131
+ color: #181818;
132
+ font-weight: bold;
133
+ border-radius: 6px;
134
+ padding: 0.75rem;
135
+ }
136
+
137
+ /* Error messages */
138
+ .stError {
139
+ background-color: #FF4444;
140
+ color: #FFFFFF;
141
+ font-weight: bold;
142
+ border-radius: 6px;
143
+ padding: 0.75rem;
144
+ }
145
+
146
+ /* Responsive design */
147
+ @media (max-width: 768px) {
148
+ .stButton>button {
149
+ min-width: 30px !important;
150
+ height: 25px !important;
151
+ padding: 1px 6px !important;
152
+ font-size: 12px;
153
+ }
154
+
155
+ .stTextInput>div>div>input {
156
+ font-size: 16px;
157
+ }
158
+ }