Skip to content

Commit

Permalink
Refactor index.html and style.css to enhance footer functionality and…
Browse files Browse the repository at this point in the history
… styling

- Updated the update notification text for clarity.
- Introduced a new footer button layout with warning and privacy policy buttons for improved user interaction.
- Added CSS styles for the new footer buttons to ensure consistent design and responsiveness.
- Updated author information and last updated date in style.css for accuracy.
  • Loading branch information
mehmetkahya0 committed Jan 14, 2025
1 parent 33edd7f commit 6cad7c7
Show file tree
Hide file tree
Showing 4 changed files with 401 additions and 7 deletions.
22 changes: 17 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@

<!-- Yeni Pop-up Bildirimi -->
<div id="update-notification" class="update-notification">
<span>Temp Mail V2 is out🔥 <br> Check new features🚀</span>
<span>Temp Mail V2 is out🔥 <br> Check new features🚀</span>
<button id="close-notification" class="close-notification">&times;</button>
</div>

Expand Down Expand Up @@ -140,10 +140,20 @@
<i class="fa-brands fa-linkedin"></i>
</a>
</div>
<button class="warning-button" onclick="showWarning()"
style="font-weight: bolder; background-color: rgb(246, 49, 49);">
<i class="fa-solid fa-triangle-exclamation"></i> Warning Note
</button>

<div class="footer-buttons">
<button class="warning-button" onclick="showWarning()">
<i class="fa-solid fa-triangle-exclamation"></i> Warning Note
</button>

<button class="privacy-button">
<a href="privacy/privacy.html" target="_blank" style="text-decoration: none; color: inherit;">
<i class="fa-solid fa-shield"></i> Privacy Policy
</a>
</button>
</div>


</div>
</footer>
</div>
Expand All @@ -154,6 +164,8 @@
}
</script>



<script>
alert("Hello, If you see the failed to load message, please clicked the 'New Address' button multiple times. If you see the failed to load message again, please contact me on GitHub or LinkedIn. Thank you for using my project. ❤️. I'm still developing this project. ");
</script>
Expand Down
269 changes: 269 additions & 0 deletions privacy/privacy.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,269 @@
/* privacy.css */


:root {
--primary-color: #3B82F6;
--secondary-color: #60A5FA;
--accent-color: #2563EB;
--success-color: #10B981;
--error-color: #EF4444;
--text-color: #1F2937;
--text-secondary: #6B7280;
--bg-color: #F3F4F6;
--card-bg: #FFFFFF;
--border-color: #E5E7EB;
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
--shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
--primary-color: #60A5FA;
--secondary-color: #93C5FD;
--accent-color: #3B82F6;
--success-color: #34D399;
--error-color: #F87171;
--text-color: #F9FAFB;
--text-secondary: #D1D5DB;
--bg-color: #111827;
--card-bg: #1F2937;
--border-color: #374151;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
background-color: var(--bg-color);
color: var(--text-color);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
line-height: 1.6;
min-height: 100vh;
transition: background-color 0.3s ease, color 0.3s ease;
}

.app-container {
max-width: 1200px;
margin: 0 auto;
padding: 2rem;
min-height: 100vh;
display: flex;
flex-direction: column;
gap: 2rem;
}

/* **Header Styles** */
header {
text-align: center;
padding: 2rem;
background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
border-radius: 1rem;
box-shadow: var(--shadow-lg);
position: relative;
overflow: hidden;
}

/* **Header Content Styles** */
.header-content {
display: flex;
flex-direction: column;
/* Stack children vertically */
align-items: center;
/* Center horizontally */
justify-content: center;
/* Center vertically */
padding: 2rem 0;
/* Add some vertical padding */
position: relative;
/* Establish a positioning context */
}

/* **ASCII Art Styles** */
.ascii-art {
color: white;
font-size: 0.7rem;
line-height: 1.2;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
text-align: center;
/* Center the text within the container */
font-weight: bold;
padding: 1rem;
/* Add some padding around the ASCII art */
border-radius: 0.5rem;
/* Optional: Round the corners */
max-width: 100%;
/* Ensure it doesn't overflow */
word-wrap: break-word;
/* Handle long lines gracefully */
font-family: 'Courier New', Courier, monospace;
/* Ensure monospace font */
transition: transform 0.3s ease;
/* Optional: Add transition */
}

.ascii-art:hover {
transform: scale(1.05);
/* Optional: Add hover effect */
}

/* **General Privacy Policy Styles** */
.privacy-policy {
max-width: 800px;
margin: 2rem auto;
padding: 2rem 1.5rem;
background-color: #f9fafb;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.privacy-policy h1 {
text-align: center;
margin-bottom: 1.5rem;
color: #1f2937;
font-size: 2rem;
}

.privacy-policy h2 {
margin-top: 1.5rem;
margin-bottom: 0.75rem;
color: #111827;
font-size: 1.5rem;
border-bottom: 2px solid #e5e7eb;
padding-bottom: 0.5rem;
}

.privacy-policy p {
line-height: 1.6;
color: #374151;
font-size: 1rem;
margin-bottom: 1rem;
}

.privacy-policy a {
color: #3b82f6;
text-decoration: none;
}

.privacy-policy a:hover {
text-decoration: underline;
}

/* **Responsive Typography** */
@media (max-width: 768px) {
.privacy-policy {
padding: 1.5rem 1rem;
}

.privacy-policy h1 {
font-size: 1.75rem;
}

.privacy-policy h2 {
font-size: 1.25rem;
}

.privacy-policy p {
font-size: 0.95rem;
}
}

/* **Additional Styling for Lists (If Any)** */
.privacy-policy ul {
list-style-type: disc;
padding-left: 1.5rem;
margin-bottom: 1rem;
}

.privacy-policy ol {
list-style-type: decimal;
padding-left: 1.5rem;
margin-bottom: 1rem;
}

.privacy-policy li {
margin-bottom: 0.5rem;
}

/* **Footer Styling (Consistency with Main Site)** */
.footer-content {
max-width: 800px;
margin: 2rem auto;
padding: 1rem 0;
text-align: center;
color: #6b7280;
font-size: 0.9rem;
}

.footer-link {
color: #3b82f6;
text-decoration: none;
margin: 0 0.5rem;
}

.footer-link:hover {
text-decoration: underline;
}

/* **Update Notification Pop-up (Reused from Main Site)** */
.update-notification {
position: fixed;
top: 20px;
right: 20px;
background-color: #10B981; /* Teal/GREEN tone */
color: white;
padding: 15px 20px;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
display: flex;
align-items: center;
justify-content: space-between;
min-width: 250px;
z-index: 1000;
opacity: 0;
transform: translateY(-20px);
transition: opacity 0.5s ease, transform 0.5s ease;
}

.update-notification.show {
opacity: 1;
transform: translateY(0);
}

.close-notification {
background: none;
border: none;
color: white;
font-size: 20px;
cursor: pointer;
line-height: 1;
}

@media (max-width: 600px) {
.update-notification {
right: 10px;
left: 10px;
min-width: unset;
}
}

/* **Typography Enhancements** */
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
line-height: 1.6;
color: #374151;
background-color: #ffffff;
margin: 0;
padding: 0;
}

a {
color: #3b82f6;
text-decoration: none;
}

a:hover {
text-decoration: underline;
}
Loading

0 comments on commit 6cad7c7

Please sign in to comment.