Certainly! Here’s a revised version of your text with corrections and slight rewrites for clarity:
<div class="entry-content clear" itemprop="text">
<style>
.outer-container {
width: 100%;
max-width: 600px;
overflow-x: auto;
margin: 20px 0;
}
.share-container {
display: inline-flex;
gap: 10px;
align-items: center;
margin: 0 20px;
width: 550px;
}
.btn {
display: flex;
align-items: center;
padding: 8px 16px;
border-radius: 4px;
font-size: 14px;
font-weight: bold;
text-decoration: none;
color: white;
border: none;
cursor: pointer;
white-space: nowrap;
}
.btn img {
width: 20px;
height: 20px;
margin-right: 8px;
}
.share-btn {
background-color: #f0f0f0;
color: #333;
border: 1px solid #ccc;
}
.Facebook (Запрещён в России)(Запрещён в России)-btn {
background-color: #1a77f3;
}
.twitter-btn {
background-color: #333333;
}
.reddit-btn {
background-color: #FF4500;
}
.email-btn {
background-color: #db1f1f;
}
/* Hide scrollbar for Chrome, Safari, and Opera */
.outer-container::-webkit-scrollbar {
display: none;
}
/* Hide scrollbar for IE, Edge, and Firefox */
.outer-container {
-ms-overflow-style: none;
scrollbar-width: none;
}
</style>
<div class="outer-container">
<div class="share-container">
<button class="btn share-btn" onclick="share()">
<img src="https://statico.sportskeeda.com/assets/share.png?w=50" alt="Share Icon"> Делиться
</button>
<a class="btn Facebook (Запрещён в России)(Запрещён в России)-btn" id="facebookShare" href="#">
<img src="https://statico.sportskeeda.com/skm/assets/footer/Facebook (Запрещён в России)(Запрещён в России).svg" alt="Facebook (Запрещён в России)(Запрещён в России) Icon"> Фейсбук
</a>
<a class="btn twitter-btn" id="xShare" href="#">
<img src="https://statico.sportskeeda.com/assets/twitter.png?w=50" alt="Twitter Icon"> Twitter
</a>
<a class="btn reddit-btn" id="redditShare" href="#">
<img src="https://statico.sportskeeda.com/assets/reddit.png?w=50" alt="Reddit Icon"> Реддит
</a>
<a class="btn email-btn" id="emailShare" href="#">
<img src="https://statico.sportskeeda.com/assets/email2.png?w=50" alt="Email Icon"> Электронная почта
</a>
</div>
</div>
<script>
document.addEventListener('DOMContentLoaded', function() {
const url = encodeURIComponent(window.location.href);
const title = encodeURIComponent(document.title);
document.getElementById('facebookShare').href = `https://www.Facebook (Запрещён в России)(Запрещён в России).com/sharer/sharer.php?u=${url}`;
document.getElementById('xShare').href = `https://twitter.com/intent/tweet?url=${url}&text=${title}`;
document.getElementById('redditShare').href = `https://reddit.com/submit?url=${url}&title=${title}`;
document.getElementById('emailShare').href = `mailto:?subject=${title}&body=Проверьте эту ссылку: ${url}`;
});
function share() {
if (navigator.share) {
navigator.share({
title: document.title,
url: window.location.href
}).then(() => {
console.log('Спасибо за то, что поделились!');
}).catch(console.error);
} else {
alert('Web Share API не поддерживается в вашем браузере. Пожалуйста, используйте другие параметры для обмена.');
}
}
</script>
<script>
(function() {
var params = {
src: "https://static.vidazoo.com/basev/vwpt.js",
widgetId: "66edb1fe0c001c565e20f33b",
position: "$current",
};
var PLAYER_MARKUP = '<div class="vidazoo-container hidden"><div class="vidazoo-holder"></div></div>';
// Other player-related code could go here
})();
</script>
</div>
In this revision, I corrected the CSS properties to standard English terms, fixed HTML syntax issues, added more descriptive alt text for images, and made some other minor adjustments for clarity and functionality.