Main Page: Difference between revisions
mNo edit summary |
Super Admin (talk | contribs) mNo edit summary |
||
| Line 50: | Line 50: | ||
</div> | </div> | ||
<!DOCTYPE html> | |||
<html lang="en"> | |||
<head> | |||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |||
<style> | |||
body { font-family: sans-serif; line-height: 1.6; margin: 0; padding: 20px; background: #f6f6f6; } | |||
.main-container { | |||
display: flex; | |||
gap: 20px; | |||
max-width: 1200px; | |||
margin: auto; | |||
} | |||
/* Left Column - 70% */ | |||
.content-area { flex: 70%; background: white; padding: 20px; border: 1px solid #a2a9b1; } | |||
{ | /* Right Column (Info Box) - 30% */ | ||
.info-sidebar { | |||
flex: 30%; | |||
background: #f8f9fa; | |||
border: 1px solid #a2a9b1; | |||
padding: 10px; | |||
font-size: 0.9em; | |||
align-self: flex-start; | |||
} | |||
{ | .info-header { background: #cedff2; padding: 5px; text-align: center; font-weight: bold; border-bottom: 1px solid #a2a9b1; } | ||
.info-image { width: 100%; height: auto; margin: 10px 0; } | |||
/* Mobile Adjustments */ | |||
@media (max-width: 768px) { | |||
.main-container { flex-direction: column; } | |||
.info-sidebar { | |||
order: -1; /* Moves info box to top on mobile */ | |||
width: 100%; | |||
box-sizing: border-box; | |||
} | |||
{ | .collapsible-content { display: none; margin-top: 10px; } | ||
.toggle-btn { | |||
display: block; | |||
width: 100%; | |||
padding: 10px; | |||
background: #3366cc; | |||
color: white; | |||
border: none; | |||
cursor: pointer; | |||
} | |||
} | |||
< | @media (min-width: 769px) { | ||
.toggle-btn { display: none; } | |||
.collapsible-content { display: block !important; } | |||
} | |||
</style> | |||
</head> | |||
<body> | |||
<div class="main-container"> | |||
<article class="content-area"> | |||
<h1>Welcome to Citypedia</h1> | |||
<p>This is where your main header and city descriptions go. You can talk about the history, geography, and culture of the location here.</p> | |||
<hr> | |||
<h3>History</h3> | |||
<p>The city was founded in...</p> | |||
</article> | |||
< | <aside class="info-sidebar"> | ||
<div class="info-header">City Quick Facts</div> | |||
<button class="toggle-btn" onclick="toggleSidebar()">Show/Hide Info</button> | |||
<div id="sidebar-content" class="collapsible-content"> | |||
<img src="https://via.placeholder.com/250x150" alt="City Image" class="info-image"> | |||
<p><strong>Country:</strong> Example Land</p> | |||
<p><strong>Population:</strong> 1.2 Million</p> | |||
<p><strong>Links:</strong> <a href="#">Official Site</a></p> | |||
</div> | |||
</aside> | |||
< | </div> | ||
{ | <script> | ||
function toggleSidebar() { | |||
var x = document.getElementById("sidebar-content"); | |||
x.style.display = (x.style.display === "block") ? "none" : "block"; | |||
} | |||
</script> | |||
</ | </body> | ||
</html> | |||
Revision as of 16:24, 9 January 2026
A collaborative encyclopedia documenting the cities, towns, and urban heritage of Maharashtra
🏙️ Explore Maharashtra’s Cities, Citypedia Online: The Encyclopedia of Cities in Maharashtra 🌆
महाराष्ट्रातील शहरांसाठी एक अभिनव संकल्पना.. शहरातील व्यक्ति, संस्था आणि घडामोडी यांचा नागरिकांनी घेतलेला वेध म्हणजे सिटिपीडिया
Citypedia is a collaborative encyclopedia dedicated to documenting the Wiki-Portal for the cities of Maharashtra.
Explore detailed information on: * Personalities & Institutions | * History, Geography & heritage | * Infrastructure & Civic Issues | * Also the important News & Events, Documented by you & me, online
सिटीपीडिया वर आपला सक्रिय सहभाग अपेक्षित आहे. सिटीपीडिया हे शहरात राहणाऱ्या प्रत्येकासाठी उपयोगी पडेल असा ज्ञानकोश बनावा असा आमचा प्रयत्न आहे. आपण कशा प्रकारे यात सामील होऊ शकता ? प्रथम सिटीपीडिया या संकेत-स्थळावर सदस्य व्हा त्यानंतर सहभागी व्हा आणि आपल्या आवडीच्या विषयावर लिखाण करा (प्रकाशित झालेल्या लेखांमध्ये बदल करा किंवा नवीन लेख लिहा).
Citypedia Wiki-Portals are available for following cities
<!DOCTYPE html> <html lang="en"> <head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body { font-family: sans-serif; line-height: 1.6; margin: 0; padding: 20px; background: #f6f6f6; }
.main-container {
display: flex;
gap: 20px;
max-width: 1200px;
margin: auto;
}
/* Left Column - 70% */
.content-area { flex: 70%; background: white; padding: 20px; border: 1px solid #a2a9b1; }
/* Right Column (Info Box) - 30% */
.info-sidebar {
flex: 30%;
background: #f8f9fa;
border: 1px solid #a2a9b1;
padding: 10px;
font-size: 0.9em;
align-self: flex-start;
}
.info-header { background: #cedff2; padding: 5px; text-align: center; font-weight: bold; border-bottom: 1px solid #a2a9b1; }
.info-image { width: 100%; height: auto; margin: 10px 0; }
/* Mobile Adjustments */
@media (max-width: 768px) {
.main-container { flex-direction: column; }
.info-sidebar {
order: -1; /* Moves info box to top on mobile */
width: 100%;
box-sizing: border-box;
}
.collapsible-content { display: none; margin-top: 10px; }
.toggle-btn {
display: block;
width: 100%;
padding: 10px;
background: #3366cc;
color: white;
border: none;
cursor: pointer;
}
}
@media (min-width: 769px) {
.toggle-btn { display: none; }
.collapsible-content { display: block !important; }
}
</style>
</head> <body>
<article class="content-area">
Welcome to Citypedia
This is where your main header and city descriptions go. You can talk about the history, geography, and culture of the location here.
History
The city was founded in...
</article>
<aside class="info-sidebar">
<button class="toggle-btn" onclick="toggleSidebar()">Show/Hide Info</button>
</aside>
<script>
function toggleSidebar() {
var x = document.getElementById("sidebar-content");
x.style.display = (x.style.display === "block") ? "none" : "block";
}
</script>
</body> </html>
