File size: 3,300 Bytes
6640531 |
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 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 |
/* Learning Hub Container */
.learning-container {
display: flex;
gap: 2rem;
padding: 2rem;
max-width: 1400px;
margin: 0 auto;
}
/* Sidebar Styles */
.learning-sidebar {
flex: 0 0 300px;
background: #f8f9fa;
border-radius: 8px;
padding: 1.5rem;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
height: fit-content;
position: sticky;
top: 2rem;
}
.learning-steps {
list-style: none;
padding: 0;
margin: 1rem 0;
}
.learning-step {
padding: 0.75rem 1rem;
margin: 0.5rem 0;
border-radius: 6px;
cursor: pointer;
transition: all 0.3s ease;
font-size: 0.95rem;
color: #495057;
}
.learning-step:hover {
background: #e9ecef;
color: #212529;
}
.learning-step.active {
background: #007bff;
color: white;
font-weight: 500;
}
/* Content Area Styles */
.learning-content {
flex: 1;
min-width: 0;
}
.step-content {
display: none;
animation: fadeIn 0.3s ease;
}
.step-content.active {
display: block;
}
/* Typography */
.section-title {
font-size: 2.5rem;
color: #212529;
margin-bottom: 2rem;
text-align: center;
}
.panel-title {
font-size: 1.25rem;
color: #343a40;
margin-bottom: 1rem;
}
.step-content h2 {
font-size: 2rem;
color: #212529;
margin-bottom: 1.5rem;
}
.step-content h3 {
font-size: 1.5rem;
color: #343a40;
margin: 2rem 0 1rem;
}
.step-content p {
font-size: 1rem;
line-height: 1.6;
color: #495057;
margin-bottom: 1rem;
}
/* Concept Box Styles */
.concept-box {
display: flex;
gap: 1.5rem;
margin: 2rem 0;
}
.box1, .box2 {
flex: 1;
background: #f8f9fa;
padding: 1.5rem;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.concept-highlight {
background: #e9ecef;
padding: 1.5rem;
border-radius: 8px;
margin: 1.5rem 0;
border-left: 4px solid #007bff;
}
/* Formula Styles */
.formula {
background: #f8f9fa;
padding: 1.5rem;
border-radius: 8px;
margin: 1rem 0;
text-align: center;
font-family: 'Times New Roman', serif;
font-size: 1.2rem;
}
/* List Styles */
.step-content ul, .step-content ol {
padding-left: 1.5rem;
margin: 1rem 0;
}
.step-content li {
margin-bottom: 0.5rem;
color: #495057;
line-height: 1.5;
}
/* Animation */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Responsive Design */
@media (max-width: 1024px) {
.learning-container {
flex-direction: column;
}
.learning-sidebar {
flex: none;
position: static;
width: 100%;
}
.concept-box {
flex-direction: column;
}
}
/* Code and Math Styles */
code {
background: #f8f9fa;
padding: 0.2rem 0.4rem;
border-radius: 4px;
font-family: 'Courier New', monospace;
font-size: 0.9rem;
}
sub {
font-size: 0.75em;
vertical-align: sub;
}
/* Links */
.step-content a {
color: #007bff;
text-decoration: none;
transition: color 0.2s ease;
}
.step-content a:hover {
color: #0056b3;
text-decoration: underline;
}
/* Strong Text */
strong {
color: #212529;
font-weight: 600;
} |