learnix / src /app /help /styles /HelpContent.css
shashidharak99's picture
Upload files
7d51e81 verified
/* ============================================
LEARNIX HELP CENTER - PROFESSIONAL DESIGN
Color Scheme: White BG, Sky Blue (#0EA5E9), Yellow (#FCD34D)
============================================ */
/* Base Layout & Typography */
.help-content {
max-width: 1200px;
margin: 2rem auto;
padding: 0 1.5rem;
background: #ffffff;
animation: lx-help-fade-in 0.6s ease-out;
}
.help-content h1 {
font-size: 2.5rem;
font-weight: 700;
color: #0C4A6E;
margin-bottom: 1rem;
background: linear-gradient(135deg, #0EA5E9 0%, #0C4A6E 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
animation: lx-help-slide-down 0.8s ease-out;
}
.help-intro {
font-size: 1.1rem;
line-height: 1.8;
color: #64748B;
margin-bottom: 2.5rem;
padding: 1.5rem;
background: linear-gradient(to right, rgba(14, 165, 233, 0.05), rgba(252, 211, 77, 0.05));
border-left: 4px solid #0EA5E9;
border-radius: 8px;
animation: lx-help-slide-up 0.8s ease-out 0.2s both;
}
.lx-help-back-link {
display: inline-block;
margin-bottom: 0.75rem;
text-decoration: none;
font-weight: 600;
color: #0ea5e9;
}
.lx-help-back-link:hover {
color: #0c4a6e;
text-decoration: underline;
}
/* Section Styles */
.help-section {
margin-bottom: 2rem;
background: #ffffff;
border-radius: 12px;
padding: 1.5rem;
box-shadow: 0 1px 3px rgba(14, 165, 233, 0.08);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
animation: lx-help-scale-in 0.5s ease-out backwards;
}
.help-section:hover {
box-shadow: 0 8px 24px rgba(14, 165, 233, 0.12);
transform: translateY(-2px);
}
.help-section h2 {
font-size: 1.75rem;
font-weight: 600;
color: #0C4A6E;
margin-bottom: 1rem;
display: flex;
align-items: center;
gap: 0.75rem;
}
.help-section h2::before {
content: '';
width: 6px;
height: 28px;
background: linear-gradient(to bottom, #0EA5E9, #FCD34D);
border-radius: 3px;
animation: lx-help-pulse 2s ease-in-out infinite;
}
.help-section h3 {
font-size: 1.35rem;
font-weight: 600;
color: #0EA5E9;
margin-top: 1.5rem;
margin-bottom: 1rem;
transition: color 0.3s ease;
}
.help-section h3:hover {
color: #0C4A6E;
}
/* List Styles */
.help-section ul {
list-style-type: none;
padding: 0;
margin: 1rem 0;
}
.help-section li {
margin-bottom: 0.75rem;
padding-left: 2rem;
position: relative;
color: #475569;
line-height: 1.7;
transition: all 0.3s ease;
animation: lx-help-list-fade 0.5s ease-out backwards;
}
.help-section li:nth-child(1) { animation-delay: 0.1s; }
.help-section li:nth-child(2) { animation-delay: 0.15s; }
.help-section li:nth-child(3) { animation-delay: 0.2s; }
.help-section li:nth-child(4) { animation-delay: 0.25s; }
.help-section li:nth-child(5) { animation-delay: 0.3s; }
.help-section li:nth-child(n+6) { animation-delay: 0.35s; }
.help-section li:before {
content: "●";
color: #0EA5E9;
position: absolute;
left: 0;
font-size: 1.2rem;
transition: all 0.3s ease;
animation: lx-help-bounce 2s ease-in-out infinite;
}
.help-section li:hover {
padding-left: 2.3rem;
color: #0C4A6E;
}
.help-section li:hover:before {
color: #FCD34D;
transform: scale(1.3);
}
/* Image Container */
.help-image-container {
margin: 2rem auto;
padding: 1.5rem;
background: linear-gradient(135deg, rgba(14, 165, 233, 0.03), rgba(252, 211, 77, 0.03));
border-radius: 16px;
text-align: center;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
animation: lx-help-zoom-in 0.6s ease-out;
}
.help-image-container:hover {
background: linear-gradient(135deg, rgba(14, 165, 233, 0.05), rgba(252, 211, 77, 0.05));
transform: scale(1.02);
}
.help-image {
box-shadow: 0 4px 20px rgba(14, 165, 233, 0.15);
border-radius: 12px;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
max-width: 100%;
height: auto;
border: 2px solid rgba(14, 165, 233, 0.1);
}
.help-image:hover {
box-shadow: 0 12px 40px rgba(14, 165, 233, 0.25);
transform: translateY(-4px);
border-color: #0EA5E9;
}
/* Strong/Bold Text */
.help-section strong {
color: #0EA5E9;
font-weight: 600;
transition: color 0.3s ease;
}
.help-section strong:hover {
color: #FCD34D;
}
/* Code/Inline Code */
.help-section code {
background: rgba(14, 165, 233, 0.08);
color: #0C4A6E;
padding: 0.2rem 0.5rem;
border-radius: 4px;
font-size: 0.9em;
font-family: 'Courier New', monospace;
border: 1px solid rgba(14, 165, 233, 0.15);
transition: all 0.3s ease;
}
.help-section code:hover {
background: rgba(252, 211, 77, 0.15);
border-color: #FCD34D;
}
/* Paragraph Styles */
.help-section p {
color: #475569;
line-height: 1.8;
margin-bottom: 1rem;
transition: color 0.3s ease;
}
.help-section p:hover {
color: #334155;
}
/* Accent Boxes */
.lx-help-accent-box {
background: linear-gradient(135deg, rgba(14, 165, 233, 0.05), rgba(252, 211, 77, 0.05));
border-left: 4px solid #0EA5E9;
padding: 1.25rem;
border-radius: 8px;
margin: 1.5rem 0;
transition: all 0.3s ease;
animation: lx-help-slide-left 0.6s ease-out;
}
.lx-help-accent-box:hover {
border-left-color: #FCD34D;
box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1);
transform: translateX(4px);
}
/* Divider */
.lx-help-divider {
height: 2px;
background: linear-gradient(to right, transparent, #0EA5E9, #FCD34D, transparent);
margin: 2.5rem 0;
border: none;
animation: lx-help-shimmer 3s ease-in-out infinite;
}
/* ============================================
ANIMATIONS
============================================ */
@keyframes lx-help-fade-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes lx-help-slide-down {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes lx-help-slide-up {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes lx-help-slide-left {
from {
opacity: 0;
transform: translateX(-20px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes lx-help-scale-in {
from {
opacity: 0;
transform: scale(0.95);
}
to {
opacity: 1;
transform: scale(1);
}
}
@keyframes lx-help-zoom-in {
from {
opacity: 0;
transform: scale(0.9);
}
to {
opacity: 1;
transform: scale(1);
}
}
@keyframes lx-help-list-fade {
from {
opacity: 0;
transform: translateX(-10px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes lx-help-pulse {
0%, 100% {
opacity: 1;
transform: scaleY(1);
}
50% {
opacity: 0.8;
transform: scaleY(0.95);
}
}
@keyframes lx-help-bounce {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-2px);
}
}
@keyframes lx-help-shimmer {
0% {
background-position: -200% center;
}
100% {
background-position: 200% center;
}
}
/* ============================================
RESPONSIVE DESIGN
============================================ */
@media (max-width: 768px) {
.help-content {
padding: 0 1rem;
margin: 1rem auto;
}
.help-content h1 {
font-size: 2rem;
}
.help-intro {
font-size: 1rem;
padding: 1rem;
}
.help-section {
padding: 1.25rem;
}
.help-section h2 {
font-size: 1.5rem;
}
.help-section h3 {
font-size: 1.2rem;
}
.help-section li {
padding-left: 1.5rem;
}
.help-image-container {
padding: 1rem;
margin: 1.5rem auto;
}
}
@media (max-width: 480px) {
.help-content h1 {
font-size: 1.75rem;
}
.help-section h2 {
font-size: 1.35rem;
}
.help-section {
padding: 1rem;
margin-bottom: 1.5rem;
}
}
/* ============================================
ACCESSIBILITY & PRINT
============================================ */
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}
@media print {
.help-content {
max-width: 100%;
padding: 0;
}
.help-section {
box-shadow: none;
page-break-inside: avoid;
}
.help-section:hover {
transform: none;
box-shadow: none;
}
}