diff --git a/index.html b/index.html index f608212c..d8725c91 100644 --- a/index.html +++ b/index.html @@ -5534,7 +5534,9 @@

Subscribe to Our Newsletter

}); } else { alert('Web Share API is not supported in your browser.'); - + } + }); + -
@@ -5676,16 +5651,10 @@

Follow Us

-
Visitor
+
Visitors Count:
- - - - - @@ -5855,8 +5824,9 @@

Follow Us

font-size: 24px; background: linear-gradient(to right, #913700, #ff6000, #913700); - -webkit-text-fill-color: transparent; - -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + background-clip: text; + -webkit-background-clip: text; text-align: center; margin-bottom: 12px; margin-top: 35px; diff --git a/visi.css b/visi.css index 24e1be1f..50e5381b 100644 --- a/visi.css +++ b/visi.css @@ -1,24 +1,20 @@ .visitor-counter { - - position: fixed; - top: 680px; - left: 1620px; background-color: rgb(244 244 249); /* Slightly opaque background for better visibility */ height: 60px; - width: 100px; + width: 250px; color: #333; /* Darker text for better contrast */ font-weight: 700; - font-size: 18px; + margin-left:45%; + font-size: 20px; text-align: center; display: flex; - flex-direction: column; + /* flex-direction: column; */ justify-content: center; align-items: center; border-radius: 12px; /* Softer corners */ backdrop-filter: blur(10px); /* Increased blur for a modern touch */ box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), /* Slightly more pronounced shadow */ 0 2px 4px rgba(0, 0, 0, 0.1); - z-index: 1000; transition: all 0.3s ease; /* Smooth transition for hover effect */ } @@ -33,7 +29,7 @@ .visitor-counter div:first-child { margin-bottom: -5px; - font-size: 14px; /* Adjusted for clarity */ + font-size: 22px; /* Adjusted for clarity */ letter-spacing: 1px; /* Increased spacing for readability */ } @@ -81,22 +77,14 @@ } - .dark-mode .visitor-counter div { - - color: #f0f0f0; /* Lighter text for dark mode */ - - } - - .dark-mode .visitor-counter .website-counter { - - color: #f0f0f0; /* Lighter color for consistency */ - + [data-theme="dark"] .visitor-counter div, + [data-theme="dark"] .visitor-counter .website-counter + { + color: #f0f0f0; } - .dark-mode .visitor-counter { - + [data-theme="dark"] .visitor-counter{ background-color: rgba(0, 0, 0, 0.7); /* Darker background for dark mode */ - box-shadow: 0 6px 12px rgba(255, 255, 255, 0.1), - 0 2px 4px rgba(255, 255, 255, 0.05); - - } \ No newline at end of file + box-shadow: 0 6px 12px grey, + 0 2px 4px grey; + }