"मीडियाविकि:Common.css": अवतरणों में अंतर
No edit summary |
No edit summary |
||
पंक्ति १: | पंक्ति १: | ||
/* मुखपृष्ठ शैलियाँ */ | /* मुखपृष्ठ शैलियाँ */ | ||
/* MediaWiki:Common.css */ | /* MediaWiki:Common.css */ | ||
पंक्ति ४: | पंक्ति ६: | ||
body { | body { | ||
font-family: 'Arial', sans-serif; | font-family: 'Arial', 'Noto Sans Devanagari', sans-serif; | ||
color: #333; | color: #333; | ||
background-color: #f9f9f9; | background-color: #f9f9f9; | ||
पंक्ति १३: | पंक्ति १५: | ||
/* Hero Section */ | /* Hero Section */ | ||
.hero { | .hero { | ||
background: # | background: #ffffff; | ||
color: # | color: #333; | ||
padding: 60px 20px; | padding: 60px 20px; | ||
border-radius: 20px; | border-radius: 20px; | ||
पंक्ति ३२: | पंक्ति ३४: | ||
margin: 20px 0; | margin: 20px 0; | ||
font-weight: 300; | font-weight: 300; | ||
line-height: 1.6; | |||
} | |||
/* Featured Articles Section */ | |||
.featured-articles { | |||
background: #ffffff; | |||
border-radius: 15px; | |||
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); | |||
padding: 20px; | |||
margin-bottom: 40px; | |||
overflow: hidden; | |||
} | |||
.featured-articles h2 { | |||
font-size: 2em; | |||
color: #333; | |||
border-bottom: 3px solid #e0e0e0; | |||
padding-bottom: 10px; | |||
margin-bottom: 20px; | |||
font-weight: 700; | |||
} | |||
.article-carousel { | |||
display: flex; | |||
overflow-x: auto; | |||
scroll-snap-type: x mandatory; | |||
scroll-behavior: smooth; | |||
-webkit-overflow-scrolling: touch; | |||
padding-bottom: 20px; | |||
} | |||
.article-carousel::-webkit-scrollbar { | |||
width: 10px; | |||
height: 10px; | |||
} | |||
.article-carousel::-webkit-scrollbar-thumb { | |||
background: #333; | |||
border-radius: 10px; | |||
} | |||
.article-carousel::-webkit-scrollbar-track { | |||
background: #f1f1f1; | |||
border-radius: 10px; | |||
} | |||
.article-card { | |||
flex: 0 0 300px; | |||
margin-right: 20px; | |||
scroll-snap-align: start; | |||
background: #ffffff; | |||
border-radius: 10px; | |||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | |||
overflow: hidden; | |||
transition: transform 0.3s ease, box-shadow 0.3s ease; | |||
border: 1px solid #e0e0e0; | |||
} | |||
.article-card:hover { | |||
transform: translateY(-5px); | |||
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); | |||
} | |||
.article-card img { | |||
width: 100%; | |||
height: 150px; | |||
object-fit: cover; | |||
} | |||
.article-card h3 { | |||
font-size: 1.2em; | |||
color: #333; | |||
margin: 10px 15px; | |||
} | |||
.article-card p { | |||
font-size: 0.9em; | |||
color: #555; | |||
margin: 0 15px 15px; | |||
line-height: 1.4; | |||
} | } | ||
. | .article-card a { | ||
display: inline-block; | display: inline-block; | ||
background: # | background: #333; | ||
color: # | color: #ffffff; | ||
padding: 15px | padding: 8px 15px; | ||
border-radius: | border-radius: 20px; | ||
text-decoration: none; | text-decoration: none; | ||
font-size: | font-size: 0.9em; | ||
font-weight: 600; | font-weight: 600; | ||
margin | margin: 0 15px 15px; | ||
transition: background 0.3s, color 0.3s; | transition: background 0.3s, color 0.3s; | ||
} | } | ||
. | .article-card a:hover { | ||
background: # | background: #555; | ||
} | } | ||
पंक्ति ६५: | पंक्ति १४५: | ||
.card h2 { | .card h2 { | ||
font-size: 2em; | font-size: 2em; | ||
color: # | color: #333; | ||
border-bottom: 3px solid #e0e0e0; | border-bottom: 3px solid #e0e0e0; | ||
padding-bottom: 10px; | padding-bottom: 10px; | ||
पंक्ति ९२: | पंक्ति १७२: | ||
font-size: 2.2em; | font-size: 2.2em; | ||
font-weight: 700; | font-weight: 700; | ||
color: # | color: #333; | ||
margin: 0; | margin: 0; | ||
} | } | ||
पंक्ति १०२: | पंक्ति १८२: | ||
.cta a { | .cta a { | ||
color: # | color: #333; | ||
font-weight: 600; | font-weight: 600; | ||
text-decoration: underline; | text-decoration: underline; | ||
transition: color 0.3s; | transition: color 0.3s; | ||
} | } | ||
१९:३५, ५ अक्टूबर २०२४ का अवतरण
/* मुखपृष्ठ शैलियाँ */ /* MediaWiki:Common.css */ /* Main Page*/ body { font-family: 'Arial', 'Noto Sans Devanagari', sans-serif; color: #333; background-color: #f9f9f9; margin: 0; padding: 0; } /* Hero Section */ .hero { background: #ffffff; color: #333; padding: 60px 20px; border-radius: 20px; box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15); text-align: center; margin-bottom: 40px; } .hero h1 { font-size: 2.5em; font-weight: 700; margin: 0; } .hero p { font-size: 1.25em; margin: 20px 0; font-weight: 300; line-height: 1.6; } /* Featured Articles Section */ .featured-articles { background: #ffffff; border-radius: 15px; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); padding: 20px; margin-bottom: 40px; overflow: hidden; } .featured-articles h2 { font-size: 2em; color: #333; border-bottom: 3px solid #e0e0e0; padding-bottom: 10px; margin-bottom: 20px; font-weight: 700; } .article-carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; padding-bottom: 20px; } .article-carousel::-webkit-scrollbar { width: 10px; height: 10px; } .article-carousel::-webkit-scrollbar-thumb { background: #333; border-radius: 10px; } .article-carousel::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 10px; } .article-card { flex: 0 0 300px; margin-right: 20px; scroll-snap-align: start; background: #ffffff; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; border: 1px solid #e0e0e0; } .article-card:hover { transform: translateY(-5px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); } .article-card img { width: 100%; height: 150px; object-fit: cover; } .article-card h3 { font-size: 1.2em; color: #333; margin: 10px 15px; } .article-card p { font-size: 0.9em; color: #555; margin: 0 15px 15px; line-height: 1.4; } .article-card a { display: inline-block; background: #333; color: #ffffff; padding: 8px 15px; border-radius: 20px; text-decoration: none; font-size: 0.9em; font-weight: 600; margin: 0 15px 15px; transition: background 0.3s, color 0.3s; } .article-card a:hover { background: #555; } /* Info Cards */ .card { background: #ffffff; border-radius: 15px; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); padding: 20px; border: 1px solid #e0e0e0; margin-bottom: 20px; } .card h2 { font-size: 2em; color: #333; border-bottom: 3px solid #e0e0e0; padding-bottom: 10px; margin-bottom: 20px; font-weight: 700; } .card p { font-size: 1.2em; color: #555; line-height: 1.6; } /* CTA Section */ .cta { background: #f4f4f4; color: #333; padding: 40px; border-radius: 15px; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); text-align: center; margin-top: 40px; } .cta h2 { font-size: 2.2em; font-weight: 700; color: #333; margin: 0; } .cta p { font-size: 1.2em; margin-top: 15px; } .cta a { color: #333; font-weight: 600; text-decoration: underline; transition: color 0.3s; } #ca-viewsource { display: none; }