<!DOCTYPE html>
<html lang="te">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>తెలుగు న్యూస్ 360 - తాజా వార్తలు</title>
<style>
/* General Styles */
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
color: #333;
}
a { text-decoration: none; color: inherit; }
/* Header Section */
header {
background-color: #cc0000; /* News Red Color */
color: white;
padding: 15px 0;
text-align: center;
}
header h1 { margin: 0; font-size: 2.5rem; }
header p { margin: 5px 0 0; font-size: 1rem; }
/* Navigation Bar */
nav {
background-color: #333;
overflow: hidden;
display: flex;
justify-content: center;
}
nav a {
color: white;
padding: 14px 20px;
display: block;
text-align: center;
}
nav a:hover { background-color: #ddd; color: black; }
/* Breaking News Ticker (Scrolling Header) */
.ticker-wrap {
width: 100%;
background-color: #222;
overflow: hidden;
border-bottom: 4px solid #cc0000;
}
.ticker {
display: inline-block;
white-space: nowrap;
padding-right: 100%;
animation: ticker 30s linear infinite;
}
.ticker-item {
display: inline-flex;
align-items: center;
color: white;
padding: 10px 20px;
font-size: 1.1rem;
}
.ticker-item img {
height: 40px;
width: 60px;
object-fit: cover;
margin-right: 10px;
border-radius: 4px;
border: 1px solid #fff;
}
@keyframes ticker {
0% { transform: translate3d(100%, 0, 0); }
100% { transform: translate3d(-100%, 0, 0); }
}
/* Main Layout (Grid) */
.container {
display: flex;
flex-wrap: wrap;
max-width: 1200px;
margin: 20px auto;
gap: 20px;
padding: 0 15px;
}
/* Sidebars (Ads) */
.sidebar {
flex: 1;
min-width: 200px;
display: flex;
flex-direction: column;
gap: 20px;
}
/* Main Content */
.main-content {
flex: 3; /* Wider center */
min-width: 300px;
}
/* Ad Boxes Styling */
.ad-box {
background-color: #ddd;
height: 250px;
display: flex;
align-items: center;
justify-content: center;
border: 1px dashed #999;
color: #666;
font-weight: bold;
position: relative;
}
.ad-box::after { content: "Advertisement / ప్రకటన"; font-size: 0.8rem; position: absolute; bottom: 5px; }
/* Weather Widget Styling */
.weather-widget {
background: linear-gradient(135deg, #00f260 0%, #0575e6 100%);
color: white;
padding: 20px;
border-radius: 8px;
text-align: center;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.weather-temp { font-size: 3rem; font-weight: bold; margin: 10px 0; }
.weather-city { font-size: 1.2rem; text-transform: uppercase; }
/* News Article Cards */
.news-card {
background: white;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
margin-bottom: 20px;
overflow: hidden;
transition: transform 0.2s;
}
.news-card:hover { transform: translateY(-5px); }
.news-card img {
width: 100%;
height: 250px;
object-fit: cover;
}
.news-content { padding: 20px; }
.news-title { font-size: 1.5rem; margin: 0 0 10px; color: #cc0000; }
.news-date { color: #888; font-size: 0.9rem; margin-bottom: 10px; }
.news-excerpt { line-height: 1.6; }
.read-more {
display: inline-block;
margin-top: 10px;
padding: 8px 15px;
background-color: #333;
color: white;
border-radius: 4px;
}
/* Footer */
footer {
background-color: #222;
color: white;
text-align: center;
padding: 20px;
margin-top: 20px;
}
/* Mobile Responsiveness */
@media (max-width: 768px) {
.container { flex-direction: column; }
.sidebar { order: 2; } /* Move sidebars below content on mobile */
.main-content { order: 1; }
.ticker-item { font-size: 0.9rem; }
}
</style>
</head>
<body>
<header>
<h1>తెలుగు న్యూస్ 360</h1>
<p>నిజమైన వార్తలు.. క్షణాల్లో మీ ముందు</p>
</header>
<nav>
<a href="#">హోమ్</a>
<a href="#">రాజకీయం</a>
<a href="#">సినిమా</a>
<a href="#">క్రీడలు</a>
<a href="#">ఆరోగ్యం</a>
</nav>
<div class="ticker-wrap">
<div class="ticker">
<div class="ticker-item">
<img src="https://via.placeholder.com/60x40/cc0000/ffffff?text=News" alt="News Icon">
<span>బ్రేకింగ్ న్యూస్: ఈరోజు రాష్ట్రంలో భారీ వర్ష సూచన! | </span>
</div>
<div class="ticker-item">
<img src="https://via.placeholder.com/60x40/0000cc/ffffff?text=Cricket" alt="Cricket Icon">
<span>క్రీడలు: భారత్ vs ఆస్ట్రేలియా మ్యాచ్ హైలైట్స్ చూడండి. | </span>
</div>
<div class="ticker-item">
<img src="https://via.placeholder.com/60x40/009900/ffffff?text=Tech" alt="Tech Icon">
<span>టెక్నాలజీ: కొత్త ఐఫోన్ ఫీచర్లు విడుదల అయ్యాయి.</span>
</div>
</div>
</div>
<div class="container">
<aside class="sidebar" id="left-sidebar">
<div class="ad-box">Left Ad Space (160x600)</div>
<div class="ad-box">Left Ad Space 2</div>
</aside>
<main class="main-content">
<article class="news-card">
<img src="https://via.placeholder.com/800x400/333/fff?text=Main+News+Image" alt="News Image">
<div class="news-content">
<h2 class="news-title">రాష్ట్రంలో కొత్త పథకాలు ప్రారంభం</h2>
<div class="news-date">పోస్ట్ చేసింది: అడ్మిన్ | తేదీ: <span id="today-date"></span></div>
<p class="news-excerpt">రాష్ట్ర ప్రభుత్వం ఈరోజు పేదల కోసం సరికొత్త పథకాలను ప్రవేశపెట్టింది. దీనికి సంబంధించిన పూర్తి వివరాలు మరియు అర్హతలు ఇక్కడ చదవండి...</p>
<a href="#" class="read-more">పూర్తిగా చదవండి →</a>
</div>
</article>
<article class="news-card">
<img src="https://via.placeholder.com/800x400/555/fff?text=Cinema+News" alt="Cinema News">
<div class="news-content">
<h2 class="news-title">సంక్రాంతికి రాబోతున్న పెద్ద సినిమాలు</h2>
<div class="news-date">పోస్ట్ చేసింది: రిపోర్టర్ | వర్గం: సినిమా</div>
<p class="news-excerpt">ఈ సంక్రాంతికి బాక్సాఫీస్ వద్ద పెద్ద పోటీ నెలకొంది. స్టార్ హీరోల సినిమాలు విడుదలకు సిద్ధంగా ఉన్నాయి...</p>
<a href="#" class="read-more">పూర్తిగా చదవండి →</a>
</div>
</article>
</main>
<aside class="sidebar" id="right-sidebar">
<div class="weather-widget">
<h3>వాతావరణం</h3>
<div class="weather-city">హైదరాబాద్</div>
<div class="weather-temp">28°C</div>
<p>పాక్షికంగా మేఘావృతం</p>
<small id="weather-date"></small>
</div>
<div class="ad-box">Right Ad Space (Square)</div>
<div class="ad-box">Right Ad Space 2</div>
</aside>
</div>
<footer>
<p>© 2025 తెలుగు న్యూస్ 360. All Rights Reserved.</p>
</footer>
<script>
// Script to set current date automatically
const dateOptions = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' };
const today = new Date();
// Update Weather Date
document.getElementById('weather-date').innerText = today.toLocaleDateString('te-IN', dateOptions);
// Update Article Date (Example)
document.getElementById('today-date').innerText = today.toLocaleDateString('te-IN');
</script>
</body>
</html>
Comments
Post a Comment