From 76df408ec0e7cdf3d8891460d92994813ea77ec7 Mon Sep 17 00:00:00 2001 From: Mallik-vinukonda <158685334+Mallik-vinukonda@users.noreply.github.com> Date: Sat, 2 Nov 2024 00:56:48 +0530 Subject: [PATCH 1/6] Changed the css styling and hovering the page with additional features --- contact_us.css | 706 +++++++++++++++++++++++++----------------------- contact_us.html | 409 +++++++++++++++------------- 2 files changed, 600 insertions(+), 515 deletions(-) diff --git a/contact_us.css b/contact_us.css index 2ae28fe2..ee1279b1 100644 --- a/contact_us.css +++ b/contact_us.css @@ -1,328 +1,258 @@ - /* Dark mode */ /* Default light mode colors */ :root { - --background-color: rgb(244,237,227); - --text-color:rgb(59,59,88); - --header-bg: lightgray; - } - - h2{ - color: var(--text-color); - } - /* Dark mode colors */ - [data-theme="dark"] { - --background-color: #171717; - --text-color: #f2dede; - --header-bg: #1c1c1c; - } - p{ - color: var(--text-color); - } - - /* body { - background-color: var(--background-color); - color: var(--text-color); - font-family: Arial, sans-serif; - margin: 0; - padding: 0; - transition: background-color 0.3s, color 0.3s; - } */ -/* - header { - background-color: var(--header-bg); - padding: 1rem; - display: flex; - justify-content: space-between; - align-items: center; - } */ - - h1 { - margin: 0; - } - - .theme-switch-wrapper { - display: flex; - align-items: center; - } - - #mode-label { - margin-left: 10px; - font-size: 1rem; - } - - /* Toggle Switch */ - .theme-switch { - position: relative; - display: inline-block; - width: 50px; - height: 24px; - } - - .theme-switch input { - opacity: 0; - width: 0; - height: 0; - } - - .slider { - position: absolute; - cursor: pointer; - top: 0; - left: 0; - right: 0; - bottom: 0; - background-color: #ccc; - transition: 0.4s; - border-radius: 24px; - } - - .slider:before { - position: absolute; - content: ""; - height: 18px; - width: 18px; - border-radius: 50%; - background-color: white; - transition: 0.4s; - top: 3px; - left: 4px; - } - - input:checked + .slider { - background-color: #66bb6a; - } - - input:checked + .slider:before { - transform: translateX(26px); - } - - /*---------------------*/ - body { - font-family: 'Poppins', sans-serif; - background-color: var(--background-color); - margin: 0; - } - - - .container { - max-width: 600px; - margin: 0 auto; - background: white; - padding: 20px; - margin-top: 30px; - border-radius: 8px; - box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); - } -/* - h2 { - text-align: center; - color: #333; - } - - h2::after { - content: ""; - display: block; - width: 130px; - height: 5px; - background-color: #ea5541; Color for the line below the heading - margin: 10px auto; - } - */ - .container p { - font-size: small; - margin-left: 60px; - margin-right: 60px; - color: #555; - font-family: 'Poppins'; - } - - .form-group { - margin-bottom: 15px; - } - - label { - display: block; - margin-bottom: 5px; - color: #555; - } - - input[type="text"], input[type="email"], input[type="tel"], textarea { - width: 100%; - padding: 10px; - border: 1px solid #939393; /* Updated border color */ - border-radius: 4px; - box-sizing: border-box; - } - - textarea { - resize: vertical; - } - - button { - background-color: #ea5541; /* Updated button background color */ - color: white; - padding: 10px 15px; - border: none; - border-radius: 4px; - cursor: pointer; - width: 100%; - font-size: 16px; - } - - button:hover { - background-color: #d94a38; /* Slightly darker shade on hover */ - } - - .message { - color: #28a745; - text-align: center; - margin-top: 15px; - } - - /* Import Montserrat font */ - @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;400;700;900&display=swap'); - - /* Global styles */ - * { - font-family: "Montserrat", sans-serif; - box-sizing: border-box; /* Added for better box model handling */ - margin: 0; /* Reset margin */ - padding: 0; /* Reset padding */ - } - - /* Responsive Design */ - @media (max-width: 768px) { - .nav-menu ul { - flex-direction: column; - gap: 10px; - } - - .nav-menu ul li a { - text-align: center; - padding: 10px; - width: 100%; /* Ensures full-width for small screens */ - } - } - - .auth-buttons { - display: flex; - gap: 10px; - } - - .auth-buttons .login-btn, - .auth-buttons .signup-btn { - text-decoration: none; - font-size: 1rem; - font-weight: 600; - padding: 8px 15px; - border-radius: 5px; - transition: background-color 0.3s ease; - } - - .auth-buttons .login-btn { - background-color: var(--background-color); - color: var(--text-color); - } - - .auth-buttons .signup-btn { - background-color: var(--background-color); - color: var(--text-color); - } - - .auth-buttons .login-btn:hover { - background-color: var(--background-color); - } - - .auth-buttons .signup-btn:hover { - background-color: var(--background-color); - } - - .toggle-mode { - display: flex; - align-items: center; - gap: 5px; - } - - .toggle-mode label { - font-size: 1rem; - color: var(--text-color); - } - - input[type="checkbox"] { - transform: scale(1.2); - } - - /* Navigation styling */ - - - /* Navigation links and dropdown */ - .nav-links { - display: flex; - gap: 20px; /* Space between links */ - margin-left: auto; /* Push links to the right */ - } - - nav a:hover { - background-color: rgb(195, 164, 218); /* Slightly increased hover opacity */ - /* color: #d3c2e1; */ - padding: 10px; - } - - .active-page { - color: #EEC48B; - background: rgba(159, 159, 159, 0.2); - } - - /* Dropdown button styles */ - .dropdown { - position: relative; - display: inline-block; - } - - .dropdown-content { - display: none; - position: absolute; - background-color: var(--background-color); - min-width: 160px; - box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2); - z-index: 1; - } - - .dropdown:hover .dropdown-content { - display: block; - } - - /* Dark mode styling */ - body.dark { - background-color: var(--background-color); - } - - body.dark h1, - body.dark .support a { - color: var(--text-color); - } - - /* Checkbox for theme switcher */ - .checkbox { - opacity: 0; - position: absolute; + --background-color: rgb(244, 237, 227); + --text-color: rgb(59, 59, 88); + --header-bg: lightgray; +} + +h2 { + color: var(--text-color); +} + +/* Dark mode colors */ +[data-theme="dark"] { + --background-color: #171717; + --text-color: #f2dede; + --header-bg: #1c1c1c; +} + +p { + color: var(--text-color); +} + +/* Body styles */ +body { + font-family: 'Poppins', sans-serif; + background-color: var(--background-color); + margin: 0; +} + +/* Container */ +.container { + max-width: 600px; + margin: 0 auto; + background: white; + padding: 20px; + margin-top: 30px; + border-radius: 8px; + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); + transition: all 0.3s ease, transform 0.2s; /* Added transition for container */ +} + +.container:hover { + transform: translateY(-5px); /* Slight upward movement on hover */ + box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Increased shadow on hover */ +} + +/* Form styles */ +.container p { + font-size: small; + margin: 0 60px; + color: #555; + font-family: 'Poppins'; +} + +.form-group { + margin-bottom: 15px; +} + +label { + display: block; + margin-bottom: 5px; + color: #555; +} + +/* Input styles */ +input[type="text"], +input[type="email"], +input[type="tel"], +textarea { + width: 100%; + padding: 15px; /* Increased padding */ + border: 1px solid #939393; /* Updated border color */ + border-radius: 8px; /* Increased border radius */ + box-sizing: border-box; + font-size: 16px; /* Increased font size */ + transition: border-color 0.3s; /* Added transition for interaction */ +} + +input[type="text"]:focus, +input[type="email"]:focus, +input[type="tel"]:focus, +textarea:focus { + border-color: #ea5541; /* Change border color on focus */ + outline: none; /* Remove default outline */ +} + +/* Textarea */ +textarea { + resize: vertical; +} + +/* Button styles */ +button { + background-color: #ea5541; /* Updated button background color */ + color: white; + padding: 15px 20px; /* Increased padding */ + border: none; + border-radius: 8px; /* Increased border radius */ + cursor: pointer; + width: 100%; + font-size: 18px; /* Increased font size */ + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Added shadow */ + transition: background-color 0.3s, transform 0.2s; /* Added transition */ +} + +button:hover { + background-color: #d94a38; /* Slightly darker shade on hover */ + transform: translateY(-1px); /* Lift effect on hover */ +} + +/* Message styling */ +.message { + color: #28a745; + text-align: center; + margin-top: 15px; +} + +/* Import Montserrat font */ +@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;400;700;900&display=swap'); + +/* Global styles */ +* { + font-family: "Montserrat", sans-serif; + box-sizing: border-box; /* Added for better box model handling */ + margin: 0; /* Reset margin */ + padding: 0; /* Reset padding */ +} + +/* Responsive Design */ +@media (max-width: 768px) { + .nav-menu ul { + flex-direction: column; + gap: 10px; } - - .checkbox-label { - background-color: var(--background-color); - width: 50px; - height: 26px; - border-radius: 50px; - position: relative; - padding: 5px; - cursor: pointer; - display: flex; - justify-content: space-between; - align-items: center; + + .nav-menu ul li a { + text-align: center; + padding: 10px; + width: 100%; /* Ensures full-width for small screens */ } - +} + +.auth-buttons { + display: flex; + gap: 10px; +} + +.auth-buttons .login-btn, +.auth-buttons .signup-btn { + text-decoration: none; + font-size: 1rem; + font-weight: 600; + padding: 8px 15px; + border-radius: 5px; + transition: background-color 0.3s ease; +} + +.auth-buttons .login-btn { + background-color: var(--background-color); + color: var(--text-color); +} + +.auth-buttons .signup-btn { + background-color: var(--background-color); + color: var(--text-color); +} + +.auth-buttons .login-btn:hover { + background-color: var(--background-color); +} + +.auth-buttons .signup-btn:hover { + background-color: var(--background-color); +} + +.toggle-mode { + display: flex; + align-items: center; + gap: 5px; +} + +.toggle-mode label { + font-size: 1rem; + color: var(--text-color); +} + +input[type="checkbox"] { + transform: scale(1.2); +} + +/* Navigation styling */ +.nav-links { + display: flex; + gap: 20px; /* Space between links */ + margin-left: auto; /* Push links to the right */ +} + +nav a:hover { + background-color: rgb(195, 164, 218); /* Slightly increased hover opacity */ +} + +.active-page { + color: #EEC48B; + background: rgba(159, 159, 159, 0.2); +} + +/* Dropdown button styles */ +.dropdown { + position: relative; + display: inline-block; +} + +.dropdown-content { + display: none; + position: absolute; + background-color: var(--background-color); + min-width: 160px; + box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2); + z-index: 1; +} + +.dropdown:hover .dropdown-content { + display: block; +} + +/* Dark mode styling */ +body.dark { + background-color: var(--background-color); +} + +body.dark h1, +body.dark .support a { + color: var(--text-color); +} + +/* Checkbox for theme switcher */ +.checkbox { + opacity: 0; + position: absolute; +} + +.checkbox-label { + background-color: var(--background-color); + width: 50px; + height: 26px; + border-radius: 50px; + position: relative; + padding: 5px; + cursor: pointer; + display: flex; + justify-content: space-between; + align-items: center; +} /* Form Popup */ .form-popup { @@ -337,6 +267,7 @@ width: 300px; padding: 20px; box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2); + transition: all 0.3s ease; /* Added transition for popup */ } .form-container h2 { @@ -348,25 +279,31 @@ .form-container input[type="password"], .form-container input[type="text"] { width: 100%; - padding: 10px; + padding: 15px; /* Increased padding */ margin: 5px 0 15px 0; border: 1px solid #ccc; - border-radius: 3px; + border-radius: 8px; /* Increased border radius */ + font-size: 16px; /* Increased font size */ } +/* Button styles */ .form-container .btn { background-color: #3be56b; color: rgb(255, 255, 255); - padding: 10px; + padding: 15px; /* Increased padding */ margin: 5px; width: 100%; border: none; - border-radius: 3px; + border-radius: 8px; /* Increased border radius */ cursor: pointer; + font-size: 18px; /* Increased font size */ + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Added shadow */ + transition: background-color 0.3s, transform 0.2s; /* Added transition */ } .form-container .btn:hover { background-color: #218838; + transform: translateY(-1px); /* Lift effect on hover */ } .form-container .cancel { @@ -375,30 +312,133 @@ .form-container .cancel:hover { background-color: #c82333; - } +/* Center icons styling */ .center-icons { display: flex; /* Enable flexbox */ justify-content: center; /* Center items horizontally */ align-items: center; /* Center items vertically */ flex-wrap: wrap; /* Allow items to wrap if necessary */ - gap: 15px; /* Space between the icons */ + gap: 30px; /* Increased space between the icons */ } + .circle-icon { display: flex; /* Use flexbox for centering */ align-items: center; /* Center the icon vertically */ justify-content: center; /* Center the icon horizontally */ - width: 50px; /* Set width of the circle */ - height: 50px; /* Set height of the circle */ - border-radius: 50%; /* Make the icon circular */ - background-color: #ffffff; /* Initial background color of the circle */ - color: #333; /* Icon color */ - transition: background-color 0.3s, color 0.3s; /* Smooth transition for hover */ - text-align: center; /* Center text */ + width: 70px; /* Increased icon circle size */ + height: 70px; /* Increased icon circle size */ + border-radius: 50%; /* Circle shape */ + background-color: #f0f0f0; /* Light gray background */ + transition: background-color 0.3s, transform 0.3s; /* Added transitions */ + cursor: pointer; /* Change cursor on hover */ } +.circle-icon:hover { + background-color: #e0e0e0; /* Change background color on hover */ + transform: scale(1.15); /* Increase size more on hover */ +} + +.circle-icon img { + width: 60px; /* Increased icon size */ + height: 60px; /* Increased icon size */ + transition: transform 0.3s; /* Added transition for icon */ +} + +.circle-icon:hover img { + transform: translateY(-5px); /* Move icon up on hover */ +} + +/* Toggle icons for login and signup */ +.toggle-icon { + display: flex; /* Enable flexbox for positioning */ + justify-content: center; /* Center the icon horizontally */ + align-items: center; /* Center the icon vertically */ + cursor: pointer; /* Change cursor on hover */ + transition: transform 0.3s; /* Add transition for rotation */ +} + +.toggle-icon:hover { + transform: rotate(360deg); /* Rotate icon on hover */ +} +.tags.social { + display: flex; + justify-content: center; /* Center the icons */ + margin-top: 20px; /* Space above icons */ +} + +.circle-icon { + display: flex; + align-items: center; + justify-content: center; + border-radius: 50%; + width: 80px; /* Increased width */ + height: 80px; /* Increased height */ + margin: 10px; /* Space between icons */ + transition: background-color 0.3s, transform 0.3s; /* Smooth transition */ + color: #007bff; /* Icon color */ +} .circle-icon i { - font-size: 20px; /* Adjust icon size */ + font-size: 32px; /* Increased icon size */ +} + +.circle-icon:hover { + background-color: rgba(0, 123, 255, 0.1); /* Light background on hover */ + transform: scale(1.1); /* Scale effect on hover */ +} + +.fade-in { + opacity: 0; /* Start invisible */ + transform: translateY(20px); /* Start slightly lower */ + animation: fadeIn 0.5s forwards; /* Animation details */ +} + +@keyframes fadeIn { + to { + opacity: 1; /* End fully visible */ + transform: translateY(0); /* Move to original position */ + } +} + +/* Optional: Add a delay for a staggered effect */ +.fade-in:nth-child(1) { + animation-delay: 0.2s; /* Delay for the header */ +} +.fade-in:nth-child(2) { + animation-delay: 0.4s; /* Delay for the paragraph */ +} + + +.d-flex-gap { + display: flex; + gap: 15px; /* Space between buttons */ + flex-wrap: wrap; /* Wrap items to the next line if necessary */ + justify-content: center; /* Center the buttons horizontally */ +} + +.category-btn { + padding: 12px 20px; /* Padding for a better touch target */ + background-color: #ec8791; /* Primary color from the palette */ + color: #ffffff; /* White text color */ + border: 2px solid transparent; /* Transparent border for hover effect */ + border-radius: 5px; /* Rounded corners */ + transition: background-color 0.3s, color 0.3s, border-color 0.3s; /* Smooth transitions */ + text-decoration: none; /* Remove underline */ + font-size: 16px; /* Font size */ +} + +.category-btn:hover { + background-color:#ec8791; /* Darker shade on hover */ + color: #ffffff; /* Keep text color white on hover */ + border-color: #ec8791; /* Maintain the border color on hover */ +} + +/* Responsive Design */ +@media (max-width: 768px) { + .d-flex-gap { + flex-direction: column; /* Stack buttons on smaller screens */ + align-items: center; /* Center buttons on small screens */ + } } diff --git a/contact_us.html b/contact_us.html index 434a2723..7f301f99 100644 --- a/contact_us.html +++ b/contact_us.html @@ -275,17 +275,22 @@

Signup

box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.6); border-radius: 10px; box-sizing: border-box; + transition: transform 0.3s ease, box-shadow 0.3s ease; /* Added transition for movement and shadow effect */ } - + .form-container h2 { margin-bottom: 20px; color: #333; + text-align: center; /* Centered the heading */ } - + .form-group { margin-bottom: 15px; + display: flex; + flex-direction: column; /* Ensures vertical stacking of form elements */ + align-items: stretch; /* Stretches form controls to fill the container */ } - + .form-control { border-radius: 5px; padding: 12px; @@ -293,65 +298,90 @@

Signup

line-height: 1.5; box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1); width: 100%; + transition: box-shadow 0.3s; /* Added transition for focus effect */ } - + + .form-control:focus { + box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Enhanced focus effect */ + outline: none; /* Remove default outline */ + } + .forgot { text-align: right; margin-left: 50px; font-size: 10px; margin-top: -40px; - } - + .btn { margin-top: 10px; border-radius: 5px; + padding: 10px 20px; /* Increased padding for better button size */ + font-size: 16px; /* Adjusted font size */ + text-align: center; /* Center text within the button */ } - + .eye-icon { position: absolute; right: 15px; top: 38px; cursor: pointer; color: #007bff; + font-size: 20px; /* Increased icon size */ + transition: transform 0.3s; /* Added transition for hover effect */ } - + + .eye-icon:hover { + transform: scale(1.2); /* Scale icon on hover */ + } + .close-icon { font-size: 24px; cursor: pointer; float: right; + transition: transform 0.3s; /* Added transition for hover effect */ } - + + .close-icon:hover { + transform: scale(1.2); /* Scale icon on hover */ + } + .position-relative { position: relative; } - + /* Login button jumping issue fix */ .btn-primary { - transition: all 0.3s ease; - /* Smooth transition */ + transition: all 0.3s ease; /* Smooth transition */ + background-color: #007bff; /* Original button color */ + color: white; /* Text color */ } - + .btn-primary:hover { - background-color: #0056b3; + background-color: #0056b3; /* Hover color */ } - + .google-btn { display: flex; align-items: center; justify-content: center; + background-color: #db4437; /* Google button color */ + color: white; /* Text color */ + padding: 10px 20px; /* Increased padding for better button size */ + border-radius: 5px; + transition: background-color 0.3s; /* Added transition for hover effect */ } - + + .google-btn:hover { + background-color: #c13525; /* Hover color for Google button */ + } + .google-logo { - width: 20px; - height: 20px; + width: 24px; /* Increased logo size */ + height: 24px; /* Increased logo size */ margin-right: 10px; } - - .btn-primary:hover { - background-color: #0056b3; - } - + .strength-meter { height: 10px; width: 0; @@ -361,7 +391,24 @@

Signup

color: white; font-size: 12px; } + + /* Styles for contact icons */ + .contact-icons { + display: flex; /* Changed to flex for horizontal alignment */ + justify-content: center; /* Center the icons */ + margin-top: 20px; /* Added margin for spacing */ + } + + .contact-icons a { + margin: 0 10px; /* Horizontal spacing between icons */ + transition: transform 0.3s; /* Added transition for hover effect */ + } + + .contact-icons a:hover { + transform: scale(1.1); /* Scale icons on hover */ + } + @@ -412,8 +459,8 @@

Signup

margin-bottom: 20px; text-align: center; "> -

Get in Touch

-

+

Get in Touch

+

We are here for you. Let us know how we can assist you.

@@ -425,7 +472,8 @@

Get

- + + @@ -489,7 +537,8 @@

Get + +
@@ -523,173 +572,169 @@

Get } - - - - + + + + + + + + + + + + + +
- \ No newline at end of file + + \ No newline at end of file From 07f58dd7daca0bd7b652fd963f0d87d95d7f54b3 Mon Sep 17 00:00:00 2001 From: Mallik-vinukonda <158685334+Mallik-vinukonda@users.noreply.github.com> Date: Sat, 2 Nov 2024 23:52:28 +0530 Subject: [PATCH 2/6] As you said ...completed adding footer to all pages --- blog.html | 61 +++++++++++++++++++++++----------------------- category.html | 59 ++++++++++++++++++++++---------------------- contact_us.css | 4 +-- give_feedback.html | 45 +++++++++++++++++++--------------- index.html | 50 ++++++++++++++++++------------------- start_writing.html | 61 +++++++++++++++++++++++----------------------- style.css | 35 +++++++++++++++++++++++++- 7 files changed, 178 insertions(+), 137 deletions(-) diff --git a/blog.html b/blog.html index 20a172eb..39ba1b80 100644 --- a/blog.html +++ b/blog.html @@ -1306,38 +1306,39 @@

- - -
- - -
- - - - +
+ diff --git a/category.html b/category.html index 9cd120df..c285e123 100644 --- a/category.html +++ b/category.html @@ -665,37 +665,38 @@

- - -
- - -
- - - -
+ +
- - - - - -
+ Travel + Food + Lifestyle + Technology + Fashion +
+ +
+ +
+
-
diff --git a/contact_us.css b/contact_us.css index ee1279b1..1309970b 100644 --- a/contact_us.css +++ b/contact_us.css @@ -421,7 +421,7 @@ body.dark .support a { .category-btn { padding: 12px 20px; /* Padding for a better touch target */ background-color: #ec8791; /* Primary color from the palette */ - color: #ffffff; /* White text color */ + color: #11080800; /* White text color */ border: 2px solid transparent; /* Transparent border for hover effect */ border-radius: 5px; /* Rounded corners */ transition: background-color 0.3s, color 0.3s, border-color 0.3s; /* Smooth transitions */ @@ -431,7 +431,7 @@ body.dark .support a { .category-btn:hover { background-color:#ec8791; /* Darker shade on hover */ - color: #ffffff; /* Keep text color white on hover */ + color: #060606; /* Keep text color white on hover */ border-color: #ec8791; /* Maintain the border color on hover */ } diff --git a/give_feedback.html b/give_feedback.html index f238ae1c..f59ccd0d 100644 --- a/give_feedback.html +++ b/give_feedback.html @@ -792,31 +792,38 @@
-
+ Travel + Food + Lifestyle + Technology + Fashion +
+
- -
-
- - - - - -
+
+ + + + + + + + + + + + + + + +
- - + diff --git a/index.html b/index.html index aa6cfcbf..759d8515 100644 --- a/index.html +++ b/index.html @@ -1510,39 +1510,37 @@
-
- - + +
- -
-
diff --git a/start_writing.html b/start_writing.html index 13715e54..8298fcdf 100644 --- a/start_writing.html +++ b/start_writing.html @@ -557,38 +557,39 @@
- - -
- - -
- - - -
+ +
+ + +
+ + - -
+
+ diff --git a/style.css b/style.css index d6deeeec..c68e53be 100644 --- a/style.css +++ b/style.css @@ -3835,4 +3835,37 @@ h1 + p, p + p { .comment-icon{ font-size: 14px; color: var(--text-color); -} \ No newline at end of file +} + + +.d-flex-gap { + display: flex; + gap: 15px; /* Space between buttons */ + flex-wrap: wrap; /* Wrap items to the next line if necessary */ + justify-content: center; /* Center the buttons horizontally */ +} + +.category-btn { + padding: 12px 20px; /* Padding for a better touch target */ + background-color: #ec8791; /* Primary color from the palette */ + color: #1a171700; /* White text color */ + border: 2px solid transparent; /* Transparent border for hover effect */ + border-radius: 5px; /* Rounded corners */ + transition: background-color 0.3s, color 0.3s, border-color 0.3s; /* Smooth transitions */ + text-decoration: none; /* Remove underline */ + font-size: 16px; /* Font size */ +} + +.category-btn:hover { + background-color:#ec8791; /* Darker shade on hover */ + color: #060606; /* Keep text color white on hover */ + border-color: #ec8791; /* Maintain the border color on hover */ +} + +/* Responsive Design */ +@media (max-width: 768px) { + .d-flex-gap { + flex-direction: column; /* Stack buttons on smaller screens */ + align-items: center; /* Center buttons on small screens */ + } +} From ce34f4a3ce946be8c4e91b4026f2996cd238e9d1 Mon Sep 17 00:00:00 2001 From: Mallik-vinukonda <158685334+Mallik-vinukonda@users.noreply.github.com> Date: Sun, 3 Nov 2024 13:48:14 +0530 Subject: [PATCH 3/6] Update style.css --- style.css | 1 - 1 file changed, 1 deletion(-) diff --git a/style.css b/style.css index c68e53be..64e9582f 100644 --- a/style.css +++ b/style.css @@ -3837,7 +3837,6 @@ h1 + p, p + p { color: var(--text-color); } - .d-flex-gap { display: flex; gap: 15px; /* Space between buttons */ From 7e0f6e12790debcde0039b5d2c9bba64eaca5e1e Mon Sep 17 00:00:00 2001 From: Mallik-vinukonda <158685334+Mallik-vinukonda@users.noreply.github.com> Date: Sun, 3 Nov 2024 14:15:14 +0530 Subject: [PATCH 4/6] done --- start_writing.html | 6 +----- style.css | 1 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/start_writing.html b/start_writing.html index 0dc38ac1..8298fcdf 100644 --- a/start_writing.html +++ b/start_writing.html @@ -492,11 +492,7 @@
- -
-

Website Views

-

0

-
+ Web views
diff --git a/style.css b/style.css index 7c1de6fc..64e9582f 100644 --- a/style.css +++ b/style.css @@ -3868,4 +3868,3 @@ h1 + p, p + p { align-items: center; /* Center buttons on small screens */ } } - From 9bbf13f0b113462f5ae766a89acdaef988b8328e Mon Sep 17 00:00:00 2001 From: Mallik-vinukonda <158685334+Mallik-vinukonda@users.noreply.github.com> Date: Sun, 3 Nov 2024 14:39:11 +0530 Subject: [PATCH 5/6] done with changes --- contact_us.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contact_us.html b/contact_us.html index 7f301f99..177a314d 100644 --- a/contact_us.html +++ b/contact_us.html @@ -737,4 +737,4 @@ - \ No newline at end of file + From 91ea7f34a20e2664d6f1989e938d8015956c3a01 Mon Sep 17 00:00:00 2001 From: Mallik-vinukonda <158685334+Mallik-vinukonda@users.noreply.github.com> Date: Sun, 3 Nov 2024 14:41:22 +0530 Subject: [PATCH 6/6] donee --- start_writing.css | 1 + 1 file changed, 1 insertion(+) diff --git a/start_writing.css b/start_writing.css index 970fe7d0..38865a53 100644 --- a/start_writing.css +++ b/start_writing.css @@ -288,3 +288,4 @@ textarea#blogContent::placeholder { flex: 0 0 100%; } } +