Skip to content

Commit dd10a69

Browse files
committed
💅 Add styles for 'How It Works' section
- Add beautiful step-by-step styling with numbered circles - Add hover effects and responsive design - Add privacy note styling - Update cache-busting to v=7
1 parent 4b273d5 commit dd10a69

File tree

2 files changed

+137
-1
lines changed

2 files changed

+137
-1
lines changed

docs/assets/style.css

Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -657,6 +657,142 @@ body {
657657
text-decoration: underline;
658658
}
659659

660+
/* How It Works Section */
661+
.how-it-works {
662+
padding: 4rem 0;
663+
background: var(--background);
664+
}
665+
666+
.how-it-works h2 {
667+
text-align: center;
668+
font-size: 2.5rem;
669+
margin-bottom: 2rem;
670+
color: var(--text);
671+
font-weight: 700;
672+
}
673+
674+
.how-it-works-content {
675+
max-width: 900px;
676+
margin: 0 auto;
677+
}
678+
679+
.how-it-works-intro {
680+
text-align: center;
681+
font-size: 1.2rem;
682+
color: var(--text-light);
683+
margin-bottom: 3rem;
684+
line-height: 1.7;
685+
}
686+
687+
.how-it-works-steps {
688+
display: flex;
689+
flex-direction: column;
690+
gap: 2rem;
691+
margin-bottom: 2rem;
692+
}
693+
694+
.how-it-works-step {
695+
display: flex;
696+
gap: 2rem;
697+
align-items: flex-start;
698+
background: var(--surface);
699+
padding: 2rem;
700+
border-radius: 16px;
701+
box-shadow: 0 4px 20px var(--shadow);
702+
border: 1px solid var(--border);
703+
transition: all 0.3s ease;
704+
}
705+
706+
.how-it-works-step:hover {
707+
transform: translateY(-2px);
708+
box-shadow: 0 8px 30px var(--shadow-lg);
709+
}
710+
711+
.step-number {
712+
width: 50px;
713+
height: 50px;
714+
border-radius: 50%;
715+
background: var(--primary-color);
716+
color: white;
717+
display: flex;
718+
align-items: center;
719+
justify-content: center;
720+
font-size: 1.5rem;
721+
font-weight: 700;
722+
flex-shrink: 0;
723+
}
724+
725+
.step-content {
726+
flex: 1;
727+
}
728+
729+
.step-content h3 {
730+
font-size: 1.5rem;
731+
margin-bottom: 0.75rem;
732+
color: var(--text);
733+
font-weight: 600;
734+
}
735+
736+
.step-content p {
737+
color: var(--text-light);
738+
line-height: 1.7;
739+
margin-bottom: 0.75rem;
740+
}
741+
742+
.step-list {
743+
margin-top: 1rem;
744+
padding-left: 1.5rem;
745+
color: var(--text-light);
746+
line-height: 1.8;
747+
}
748+
749+
.step-list li {
750+
margin-bottom: 0.5rem;
751+
}
752+
753+
.step-list strong {
754+
color: var(--text);
755+
font-weight: 600;
756+
}
757+
758+
.how-it-works-note {
759+
background: rgba(37, 99, 235, 0.1);
760+
border-left: 4px solid var(--primary-color);
761+
padding: 1.5rem;
762+
border-radius: 12px;
763+
margin-top: 2rem;
764+
}
765+
766+
.how-it-works-note p {
767+
margin: 0;
768+
color: var(--text);
769+
line-height: 1.7;
770+
font-size: 1rem;
771+
}
772+
773+
.how-it-works-note strong {
774+
color: var(--primary-color);
775+
}
776+
777+
@media (max-width: 768px) {
778+
.how-it-works-step {
779+
flex-direction: column;
780+
gap: 1rem;
781+
}
782+
783+
.step-number {
784+
align-self: flex-start;
785+
}
786+
787+
.how-it-works h2 {
788+
font-size: 2rem;
789+
}
790+
791+
.how-it-works-intro {
792+
font-size: 1.1rem;
793+
}
794+
}
795+
660796
/* Footer */
661797
.footer {
662798
background: var(--surface);

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<title>DocStripper - Batch Document Cleaner</title>
77
<meta name="description" content="DocStripper - Remove noise from text documents automatically. Clean page numbers, headers, footers, duplicates, and empty lines.">
8-
<link rel="stylesheet" href="assets/style.css?v=6">
8+
<link rel="stylesheet" href="assets/style.css?v=7">
99
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>🧹</text></svg>">
1010
</head>
1111
<body>

0 commit comments

Comments
 (0)