To make the traditional-style curling scoreboard ticker feel less long and more concise, let's display brief score summaries using a rotating effect with pauses, mimicking how a traditional scoreboard might cycle through smaller sets of information or striking a balance between detail and brevity. Here's a streamlined version:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Curling Match Scores</title>
<style>
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background-color: #f4f4f4;
}
.news-ticker {
position: fixed;
top: 0;
width: 100%;
background-color: #002147; /* Navy Blue */
color: white;
border-bottom: 3px solid #990000; /* Darkish Red */
z-index: 1000;
height: 60px;
display: flex;
align-items: center;
overflow: hidden;
padding: 0 20px;
}
.ticker-inner {
display: flex;
justify-content: space-around;
animation: scroll 20s linear infinite;
width: calc(100% - 40px);
}
@keyframes scroll {
0%, 20%, 100% { transform: translateX(0); }
25%, 45% { transform: translateX(-100%); }
50%, 70% { transform: translateX(-200%); }
75%, 95% { transform: translateX(-300%); }
}
.match {
min-width: 100%;
text-align: center;
}
.team-names {
font-weight: bold;
margin-right: 10px;
}
.scoreboard {
display: inline-block;
}
.ends, .total {
background-color: #f0f0f0;
color: #002147;
border-radius: 4px;
padding: 5px;
margin: 0 2px;
display: inline-block;
}
.total {
background-color: #990000; /* Darkish Red */
color: #ffffff;
font-weight: bold;
}
</style>
</head>
<body>
<div class="news-ticker">
<div class="ticker-inner">
<div class="match">
<span class="team-names">Team A vs Team B:</span>
<div class="scoreboard">
<span class="total">10</span>
<span>vs</span>
<span class="total">5</span>
</div>
</div>
<div class="match">
<span class="team-names">Team C vs Team D:</span>
<div class="scoreboard">
<span class="total">8</span>
<span>vs</span>
<span class="total">3</span>
</div>
</div>
<!-- Add more matches as needed -->
</div>
</div>
<div style="margin-top: 80px; padding: 20px;">
<h1>Main Content</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam.</p>
</div>
</body>
</html>
Simplified Features:
- Brief Summaries: Only the total scores for each match are shown, with team names for context. This focuses on final results rather than detailed ends.
- Rotating Ticker: The ticker rotates through three viewports of match summaries with a slight pause on each display for readability.
- Compact and Clean: Ensures a quick glance gives all the necessary information without overwhelming the user. This format keeps the content concise and visually appealing.
This approach should make the scoreboard ticker simple yet informative, balancing traditional presentation with modern usability for a web page.