Skip to content

Commit 13b013f

Browse files
authored
Merge pull request #40 from Tushar-sonawane06/main
Privacy Policy UI Improved
2 parents c05d86e + 06ef6d7 commit 13b013f

2 files changed

Lines changed: 162 additions & 4 deletions

File tree

docs/css/privacy.css

Lines changed: 159 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ body {
125125
text-decoration: none;
126126
font-weight: 500;
127127
transition: var(--transition-fast);
128+
display:flex;
129+
justify-content: center;
128130
}
129131

130132
.nav-link:hover {
@@ -701,4 +703,160 @@ body {
701703
box-shadow: none;
702704
border: 1px solid var(--gray-300);
703705
}
704-
}
706+
}
707+
708+
/* improved css */
709+
710+
.content-section {
711+
opacity: 0;
712+
transform: translateY(20px);
713+
animation: fadeInUp 0.4s ease forwards;
714+
}
715+
.content-section:nth-child(2) { animation-delay: 0.1s; }
716+
.content-section:nth-child(3) { animation-delay: 0.2s; }
717+
.content-section:nth-child(4) { animation-delay: 0.3s; }
718+
719+
@keyframes fadeInUp {
720+
to {
721+
opacity: 1;
722+
transform: translateY(0);
723+
}
724+
}
725+
726+
.content-section + .content-section {
727+
border-top: 1px dashed rgba(79, 172, 254, 0.25);
728+
padding-top: var(--space-10);
729+
}
730+
731+
.data-table tbody tr:hover {
732+
background: linear-gradient(90deg, rgba(79, 172, 254, 0.05), rgba(124, 58, 237, 0.05));
733+
box-shadow: inset 0 0 8px rgba(79, 172, 254, 0.1);
734+
transition: all 0.25s ease;
735+
}
736+
737+
.simple-list{
738+
padding-left: 15px;
739+
}
740+
741+
::-webkit-scrollbar {
742+
width: 8px;
743+
height: 8px;
744+
}
745+
::-webkit-scrollbar-thumb {
746+
background: linear-gradient(135deg, var(--primary-500), var(--secondary-600));
747+
border-radius: 10px;
748+
}
749+
::-webkit-scrollbar-thumb:hover {
750+
background: linear-gradient(135deg, var(--primary-600), var(--secondary-500));
751+
}
752+
753+
.callout-box:hover {
754+
transform: scale(1.02);
755+
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
756+
transition: all 0.3s ease;
757+
}
758+
759+
.hero-badge {
760+
position: relative;
761+
border: 2px solid transparent;
762+
border-radius: 12px;
763+
background: linear-gradient(90deg, #4facfe, #00f2fe, #8b5cf6) border-box;
764+
background-size: 300% 300%;
765+
animation: gradientBorder 3.5s linear infinite;
766+
}
767+
768+
@keyframes gradientBorder {
769+
0% { background-position: 0% 50%; }
770+
50% { background-position: 100% 50%; }
771+
100% { background-position: 0% 50%; }
772+
}
773+
774+
.security-card {
775+
animation: floatCard 6s ease-in-out infinite;
776+
}
777+
@keyframes floatCard {
778+
0%, 100% { transform: translateY(0); }
779+
50% { transform: translateY(-6px); }
780+
}
781+
782+
.footer-brand h3 {
783+
position: relative;
784+
z-index: 1;
785+
}
786+
.footer-brand h3::before {
787+
content: "";
788+
position: absolute;
789+
inset: 0;
790+
border-radius: 6px;
791+
background: linear-gradient(90deg, rgba(79,172,254,0.07), rgba(139,92,246,0.07));
792+
z-index: -1;
793+
opacity: 0;
794+
transition: opacity 240ms var(--transition-normal), transform 240ms var(--transition-normal);
795+
transform: translateY(4px) scale(0.98);
796+
}
797+
.footer-brand h3:hover::before {
798+
opacity: 1;
799+
transform: translateY(0) scale(1);
800+
}
801+
802+
803+
a.nav-link, .contact-option {
804+
position: relative;
805+
}
806+
a.nav-link::after, .contact-option::after {
807+
content: "";
808+
position: absolute;
809+
bottom: 4px;
810+
left: 0;
811+
width: 0;
812+
height: 2px;
813+
background: linear-gradient(90deg, var(--primary-500), var(--secondary-500));
814+
transition: width 0.3s ease;
815+
}
816+
a.nav-link:hover::after, .contact-option:hover::after {
817+
width: 100%;
818+
}
819+
820+
.section-title {
821+
display: inline-block;
822+
position: relative;
823+
}
824+
825+
.section-title::after {
826+
content: "";
827+
position: absolute;
828+
left: 0;
829+
bottom: -6px;
830+
height: 3px;
831+
width: 100%; /* covers full heading text width */
832+
border-radius: 2px;
833+
background: linear-gradient(90deg, var(--primary-500), var(--secondary-500));
834+
transition: transform 0.3s ease, opacity 0.3s ease;
835+
transform-origin: left;
836+
}
837+
.section-title:hover::after {
838+
transform: scaleX(1.1);
839+
opacity: 0.9;
840+
}
841+
842+
@media (max-width: 640px) {
843+
.section-title::after { width: 56px; height: 3px; margin-top: 6px; }
844+
}
845+
846+
html {
847+
scroll-behavior: smooth;
848+
scroll-padding-top: 80px;
849+
}
850+
851+
@media (max-width: 640px) {
852+
.content-section {
853+
padding: var(--space-6);
854+
}
855+
.section-title {
856+
font-size: 1.375rem;
857+
}
858+
.page-hero {
859+
padding: 6rem 1rem 3rem;
860+
}
861+
}
862+

docs/privacy.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,10 @@ <h2 class="section-title">Contact Us</h2>
213213
<span>Open an issue for privacy inquiries</span>
214214
</span>
215215
</a>
216-
<a href="mailto:support@example.com" class="contact-option">
216+
<a href="https://github.com/Harshdev625/TimeMachine/discussions" class="contact-option">
217217
<span class="contact-text">
218-
<strong>Email Support</strong>
219-
<span>support@example.com</span>
218+
<strong>Discussion</strong>
219+
<span>Have a Discussion here</span>
220220
</span>
221221
</a>
222222
</div>

0 commit comments

Comments
 (0)