MediaWiki:Common.css: Difference between revisions
From Sanatan Hindu Dharma
No edit summary |
No edit summary |
||
| (209 intermediate revisions by 2 users not shown) | |||
| Line 107: | Line 107: | ||
font-family: "Font Awesome 6 Free"!important; content: '\f004'; border:none !important; font-weight: 900;} | font-family: "Font Awesome 6 Free"!important; content: '\f004'; border:none !important; font-weight: 900;} | ||
.navbar-nav > . | .navbar-nav > .mw-list-item:nth-child(3) { order: 7;} | ||
.navbar-nav > .nav-item.dropdown:nth-child(4) { order: | .navbar-nav > .nav-item.dropdown:nth-child(4) { order: 2;} | ||
.navbar-nav > .nav-item.dropdown:nth-child(5) { order: | .navbar-nav > .nav-item.dropdown:nth-child(5) { order: 3;} | ||
.navbar-nav > .nav-item.dropdown:nth-child(6) { order: | .navbar-nav > .nav-item.dropdown:nth-child(6) { order: 4;} | ||
.navbar-nav > .nav-item.dropdown:nth-child(7) { order: | .navbar-nav > .nav-item.dropdown:nth-child(7) { order: 5;} | ||
.navbar-nav > .nav-item. | .navbar-nav > .nav-item.dropdown:nth-child(8) { order: 8;} | ||
.p-navbar.collapsible .navbar-nav .nav-link { padding-right: .7rem; padding-left: .7rem;} | |||
| Line 190: | Line 191: | ||
.iconText5 {left: 88px; top:18px; width: 250px;} | .iconText5 {left: 88px; top:18px; width: 250px;} | ||
.iconText6 {left:90px; top:40px; width: 320px;} | .iconText6 {left:90px; top:40px; width: 320px;} | ||
@media screen and (max-width:400px) { | @media screen and (max-width:400px) { | ||
| Line 300: | Line 302: | ||
.footer .footerBottom ul{ margin: 0; display: flex; justify-content: center; flex-wrap: wrap; gap:10px; line-height: 1;} | .footer .footerBottom ul{ margin: 0; display: flex; justify-content: center; flex-wrap: wrap; gap:10px; line-height: 1;} | ||
.footer .footerBottom ul li:not(:last-child) {border-right: 1px solid #fff; padding-right: 10px;} | .footer .footerBottom ul li:not(:last-child) {border-right: 1px solid #fff; padding-right: 10px;} | ||
.my-createaccount-custom-box{display: flex; gap: 50px;} | |||
div.mw-ui-container { display: flex; flex-direction: column-reverse; align-items: center; } | |||
.mw-ui-container #userloginForm {position: relative; width: 100%; padding: 0; margin: 0 auto !important; max-width:580px; padding: 20px; border: 1px solid #aaa; border-radius: 10px;} | |||
.mw-ui-vform{ width:100% !important;} | |||
/* .mw-ui-vform > div { display: flex; flex-wrap: wrap; gap: 15px 20px; } */ | |||
/* .mw-htmlform-field-HTMLInfoField { width: 100% !important; position: absolute; top: -10px; transform: translate(-50%, 0px); left: 50%;} */ | |||
/* .mw-ui-vform > div .mw-ui-vform-field{ width: calc(50% - 10px)} */ | |||
.mw-ui-vform > div .mw-ui-input {line-height:2rem !important;} | |||
.mw-ui-button:not(.mw-ui-icon-element){max-width:100% !important} | |||
.mw-htmlform-field-HTMLSubmitField{margin: 0;} | |||
.footercontainer.container {padding:0 15px !important} | |||
.mw-ui-button.mw-ui-progressive:not(:disabled) { | |||
background-color: #ff7500; | |||
color: #fff; | |||
border-color: #ff6b00; | |||
padding: 10px 30px; | |||
display: table; | |||
width: auto; | |||
border-radius: 5px; | |||
margin: 20px auto ; | |||
/* position: absolute; | |||
left: 50%; | |||
transform: translate(-50%, 30px); */ | |||
} | |||
.mw-ui-button.mw-ui-progressive:not(:disabled):hover{ | |||
background-color: #da670f; | |||
color: #fff; | |||
border-color: #da670f; | |||
} | |||
#mw-createaccount-join { | |||
background-color: #f8f9fa; | |||
color: #ff6b00; | |||
} | |||
#mw-createaccount-cta{padding-top: 3.5em; text-align: center;} | |||
@media (max-width: 767px) { | @media (max-width: 767px) { | ||
| Line 311: | Line 353: | ||
.navbar-nav { align-items:flex-start; width: 100%; padding: 0 15px;} | .navbar-nav { align-items:flex-start; width: 100%; padding: 0 15px;} | ||
.navbar-nav > .mw-list-item:nth-child(1), .navbar-nav > .mw-list-item:nth-child(2) | .navbar-nav > .mw-list-item:nth-child(1), .navbar-nav > .mw-list-item:nth-child(2), .navbar-nav > .mw-list-item:nth-child(3), | ||
.navbar-nav #n-Home, .navbar-nav #n-Donate, .navbar-nav .nav-item {width:100%} | .navbar-nav #n-Home, .navbar-nav #n-Donate, .navbar-nav #n-Submit-Useful-Content, .navbar-nav .nav-item {width:100%} | ||
#n-Donate a {padding-left:15px; padding-right:15px;} | #n-Donate a {padding-left:15px; padding-right:15px;} | ||
| Line 324: | Line 366: | ||
.featured-and-highlights-section{margin: 0;} | .featured-and-highlights-section{margin: 0;} | ||
.discover-Learn-Live-section,.explore-sanatan-wisdom-section, .latest-articles-section, .featured-and-highlights-section, .join-and-collaborate-section{padding: 0 0 40px 0;} | .discover-Learn-Live-section,.explore-sanatan-wisdom-section, .latest-articles-section, .featured-and-highlights-section, .join-and-collaborate-section{padding: 0 0 40px 0;} | ||
.home-featured-content{ padding: 0; max-height: | .home-featured-content{ padding: 0; max-height: 65px; height: auto;} | ||
.latest-articles-section h2.section-heading{padding-top:0 !important;} | .latest-articles-section h2.section-heading{padding-top:0 !important;} | ||
.join-and-collaborate .btn-coin-collaborate-block a{ padding: 1rem 2rem; width: 100%;} | .join-and-collaborate .btn-coin-collaborate-block a{ padding: 1rem 2rem; width: 100%;} | ||
.my-createaccount-custom-box{ gap:0; flex-direction: column;} | |||
.mw-ui-vform > div .mw-ui-vform-field {width:100% !important;} | |||
} | |||
/* Templates: State pages only*/ | |||
.templesIntro {padding:0 0 20px 0; width:auto !important;} | |||
.templesIntro .templeImg {height: 100%; max-height: 400px; border: 2px solid #5d0900; border-radius: 20px; overflow: hidden;} | |||
.templesIntro img{width: 100%; height: 100%; object-fit: cover;} | |||
.templesIntro .templeContentBlock {height: 100%; max-height: 400px; padding: 10px 15px 15px 15px; border:2px solid #5d0900; border-radius: 20px;} | |||
.templesIntro h2 {width:100%; color:#ff7500; margin:0; padding:0; margin: 0 0 10px 0; font-size: 1.5rem; text-align: center;} | |||
.templesIntro ul { margin: 0 !important; padding: 0; height: 100%; max-height: 320px; overflow: auto; list-style: none;} | |||
.templesIntro ul li {margin:0 !important; padding:10px 0; border-top:1px solid #cccccc; display: flex; flex-wrap: wrap; gap: 5px 10px;} | |||
.templesIntro b {font-weight: 600; width:100% !important; min-width: 160px;} | |||
.templesIntro a {position: relative; white-space:nowrap;} | |||
.templesIntro a:after {content:"|"; color:#ccc; margin-left: 7px;} | |||
.templesIntro a:last-child::after{ display: none} | |||
.templesIntro .templeHead { font-size:1rem; font-weight: 600; width:100%; max-width: 160px; } | |||
.templesIntro .templeContent { font-size: 1rem; display: flex; flex-wrap: wrap; gap: 5px 7px;} | |||
.templesIntro .templeContent a {position: relative;} | |||
.templesIntro .templeContent a:after {content:"|"; color:#ccc; margin-left: 7px;} | |||
.templesIntro .templeContent a:last-child::after{ display: none} | |||
/* Aarti: page*/ | |||
.rootpage-Aartis h3{ text-align: center; border-bottom: 1px solid #eee !important; margin-bottom: 20px;} | |||
.aartisFilterBlock {padding:0 0 20px 0;} | |||
.aartisFilterBlock ul { margin: 0 !important; padding: 0; display: flex; flex-wrap:wrap; justify-content: center; gap:20px; list-style: none; } | |||
.aartisFilterBlock > ul > li{width: calc(50% - 10px); margin-bottom:0 !important; border:0; display: flex; gap: 10px; background: #fbfbfb; box-shadow: 0 1px 2px rgba(0, 0, 0, .3); padding: 10px;} | |||
.aartisFilterBlock .aartiItemImg .center,.aartisFilterBlock .aartiItemImg .center .floatnone,.aartisFilterBlock .aartiItemImg a {height:100%; display: block} | |||
.aartisFilterBlock .aartiItemImg { width: 80px;height: 80px;border: 1px solid #ccc;border-radius: 5px;overflow: hidden; box-sizing: border-box;} | |||
.aartisFilterBlock .aartiItemImg .thumb {float: none !important; width: 100%; margin: 0; padding: 0;} | |||
.aartisFilterBlock .aartiItemImg .thumb .thumbinner {border: 0; width: 100%; max-width: 100%; box-sizing: border-box;} | |||
.aartisFilterBlock .aartiItemImg img{width: 100%; height: 100%; max-height:78px; object-fit: cover; border:0 !important} | |||
.aartisFilterBlock > ul .aartiHeadingLInks {width: calc(100% - 110px);} | |||
.aartisFilterBlock > ul .aartiHeadingLInks .itemHeading{margin: 0; font-size: 1rem; font-weight:600; width:100%; center; color:#ff7500;} | |||
.aartisFilterBlock > ul ul {display: block; list-style: none;} | |||
.aartisFilterBlock > ul ul li{ margin: 0 !important; padding: 0; font-size: 1rem;} | |||
.aartisFilterBlock > ul ul a {display:block; margin-top:5px;} | |||
/* Other Related Aartis */ | |||
.otherRelatedAartisBlock { background:#fffcf5; padding:15px 15px 30px 15px;} | |||
.otherRelatedAartisBlock h3 { padding-top:0 !important; margin-top:0 !important; text-align:center} | |||
.otherRelatedAartisBlock ul {display: flex; flex-wrap: wrap; justify-content: center; gap:15px; width: 100%; margin: 0 !important; padding:0; list-style: none; } | |||
.otherRelatedAartisBlock ul li { width: calc(100% / 5 - 12px); padding-left: 0; margin-bottom: 0px !important; background: #f9f9f9; border: 1px solid #ccc; border-radius: 7px; overflow: hidden;} | |||
.otherRelatedAartisBlock ul li:hover{background: #fff; border: 1px solid #999;} | |||
.otherRelatedAartisBlock ul li a, .otherRelatedAartisBlock ul li:hover a {text-decoration: none; color:#000;} | |||
.otherRelatedAartisBlock ul li img {width:100%; height:100%; max-height:150px; border-radius:5px; object-fit: cover;} | |||
.otherRelatedAartisBlock ul li h3{ margin:0 0 10px 0; padding:10px !important; font-size: 1rem; background:#fffaec; font-weight:600; width:100%; center; color:#ff7500; } | |||
.otherRelatedAartisBlock ul li p { padding:0 10px; font-size:.9rem} | |||
.beforeMenuTagline { text-align: center;font-size: 16px;padding: 20px 0 0 0;display: inline-table;color: #ff7500;font-weight: 600; } | |||
.beforeMenuTagline .hi{ font-size: 18px; } | |||
@media (max-width: 767px) { | |||
.templesIntro .templeContentBlock { margin-top:20px; max-height: inherit; height: inherit;} | |||
.templesIntro .templeHead,.templesIntro b {max-width: inherit; } | |||
.templesIntro ul li{display: block;} | |||
.otherRelatedAartisBlock ul li { width: calc(100% / 3 - 12px);} | |||
} | |||
@media (max-width: 475px) { | |||
.pa-related-box {margin: 12px 0 24px 0 !important;} | |||
.aartisFilterBlock > ul > li{width: 100%;} | |||
.otherRelatedAartisBlock ul li { width: 100%;} | |||
} | } | ||
/* End Pushkar Dayal Code */ | /* End Pushkar Dayal Code */ | ||
| Line 351: | Line 461: | ||
display: none !important; | display: none !important; | ||
} | } | ||
.htmlform-tip { | .htmlform-tip { | ||
| Line 468: | Line 579: | ||
/* Hide Tools dropdown on Create Account and Login pages */ | |||
body.page-Special_CreateAccount .p-tb-dropdown, | |||
body.page-Special_UserLogin .p-tb-dropdown { | |||
display: none !important; | |||
} | |||
#footer, | |||
#mw-footer, | |||
.footercontainer, | |||
.footercontainer.container, | |||
#footer-info, | |||
#footer-places, | |||
.footer-info, | |||
.footer-places, | |||
footer, | |||
.mw-footer-container { | |||
display: none !important; | |||
visibility: hidden !important; | |||
height: 0 !important; | |||
padding: 0 !important; | |||
margin: 0 !important; | |||
} | |||
/* ---------------------------------------- | |||
Hide Tools for everyone by default | |||
----------------------------------------- */ | |||
.p-tb, | |||
.p-tb-dropdown, | |||
.p-tb-toggle { | |||
display: none; | |||
} | |||
/* ---------------------------------------- | |||
Show Tools ONLY for admins | |||
----------------------------------------- */ | |||
body.show-tools-admin .p-tb, | |||
body.show-tools-admin .p-tb-dropdown, | |||
body.show-tools-admin .p-tb-toggle { | |||
display: block; | |||
} | |||
body.page-Special_AdminDashboard h1.firstHeading { | |||
display: none !important; | |||
} | |||
#contentSub { | |||
font-size: 16px; /* increase overall size */ | |||
font-weight: 500; | |||
margin-bottom: 12px; | |||
} | |||
#contentSub a { | |||
font-size: 16px; | |||
font-weight: 600; | |||
} | |||
#toc .toctogglelabel { | |||
border: none !important; | |||
outline: none !important; | |||
background: transparent !important; | |||
box-shadow: none !important; | |||
padding: 0 !important; | |||
} | |||
/* Control actual VisualEditor inspector content height */ | |||
.oo-ui-menuLayout-content { | |||
max-height: calc(100vh - 220px); /* toolbar + actions */ | |||
overflow-y: auto; | |||
overflow-x: hidden; | |||
} | |||
/* Keep link inspector above footer */ | |||
.ve-ui-fragmentInspector-container { | |||
position: relative; | |||
z-index: 10060; | |||
} | |||
#catlinks{ | |||
display: none !important; | |||
} | |||
.mw-search-profile-tabs, | |||
#mw-searchoptions | |||
{ | |||
display: none !important; | |||
} | |||
#mw-fulltext-results | |||
{ | |||
display: none !important; | |||
} | |||
End (Balaji) */ | End (Balaji) */ | ||
Latest revision as of 16:47, 9 February 2026
/* CSS placed here will be applied to all skins */
/* Hide the entire page tools section (content navigation) for users not logged in */
body:not(.mw-editable) #p-contentnavigation {
display: none !important;
}
/* body:not(.group-sysop) #mw-navigation {
display: none !important;
} */
/* Hide "Page", "Discussion", "View source", "View history" bar for anonymous visitors */
body:not(.logged-in) .page-tools,
body:not(.logged-in) .chameleon-page-tools,
body:not(.logged-in) .mw-portlet-page-tools {
display: none !important;
}
.mw-body a,
.mw-body a:visited,
.mw-body a:hover,
.mw-body a:active,
.mw-body a:focus,
.mw-body a.external:visited{color:#1B599B;}
.mw-parser-output > .mw-empty-elt {display: none;}
/* Start Pushkar Dayal Code */
body {font-family: "Poppins", sans-serif; font-weight: 400; font-style: normal; font-size: 1rem;}
body.skin-chameleon .col > #content.mw-body{padding: 0px !important}
.container.flex-fill{ max-width: 1351px !important; width: 100% !important; margin: 0 auto !important; padding: 0 15px !important; /* overflow:hidden; */}
.container.flex-fill > .row:last-child{ overflow: hidden; padding-bottom:20px;}
.p-navbar .navbar-brand.p-logo { height: 3rem; }
.p-navbar .navbar-brand img { height: 3rem; }
.p-logo a {display: block;}
.p-logo a:hover,
.p-logo a:focus,
.p-logo a:active,
.p-logo a:focus-visible { outline: 0;}
.p-logo img {height: 6.5rem; padding: 5px 0;}
#p-personal {padding:5px 0}
#p-personal .p-personal-tools > *,
.p-personal .p-personal-tools > * { margin-left: 0.35rem !important; margin-right: 0.35rem !important; display: flex ; align-items: center ;}
#p-personal.pull-right .p-personal-tools, .p-personal.pull-right .p-personal-tools{ align-items:center; }
#mw-navigation { padding-right: 0.7rem !important; background: #fff;}
#mw-navigation a.dropdown-toggle,
#p-personal #pt-createaccount a,
#p-personal #pt-login a,
#p-personal #pt-logout a{ background: #f87d22 !important; border: none!important; padding: 10px 15px !important; color: #fff; border-radius:5px; display: flex; align-items: center; gap: 5px; height: 41px; }
#mw-navigation .nav-link::before, a.pt-createaccount:before { margin-right: 0;}
#mw-navigation a.dropdown-toggle::after {font-family: "Font Awesome 6 Free" !important; content: '\f078'; border: none !important; font-weight: 900;}
#mw-navigation a.dropdown-toggle:hover,
#mw-navigation a.dropdown-toggle:focus,
#mw-navigation a.dropdown-toggle:active,
#p-personal #pt-createaccount a:hover,
#p-personal #pt-createaccount a:focus,
#p-personal #pt-createaccount a:active,
#p-personal #pt-login a:hover,
#p-personal #pt-login a:focus,
#p-personal #pt-login a:active,
#p-personal #pt-logout a a:hover,
#p-personal #pt-logout a a:focus,
#p-personal #pt-logout a a:active{background: #da670f !important; box-shadow: none !important; text-decoration: none !important; color: #fff;}
#p-personal #pt-login a::before,
#p-personal #pt-logout a::before { margin-right: 0; font-family: "Font Awesome 6 Free"!important; content: '\f007'; border:none !important; font-weight: 400;}
/* === Custom Navbar Styling === */
.navbar-light .navbar-toggler, .p-navbar .navbar-toggler {color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.main-navbar {background: #531101; padding: 8px 5px; margin:0 -15px !important }
.main-navbar a { color: #fff !important; font-weight: 400; }
.main-navbar a:hover, .main-navbar a:active { color: #fefefe !important;}
.main-navbar .dropdown-menu { background-color: #fff !important; border: 1px solid #ccc; border-radius: 5px; }
.main-navbar .dropdown-menu .dropdown-item, .main-navbar .dropdown-menu a { color: #000 !important; padding: .35rem 1.5rem !important; }
.main-navbar .dropdown-menu .dropdown-item, .main-navbar .dropdown-menu a:hover,
.main-navbar .dropdown-menu .dropdown-item, .main-navbar .dropdown-menu a:active{ color: #000 !important; background: #e9ecef !important; }
.main-navbar .dropdown-toggle{ display:flex}
.main-navbar .dropdown-toggle::after{
font-family: "Font Awesome 6 Free"!important; content: '\f078'; border:none !important; font-weight: 900;}
.navbar-nav > .mw-list-item:nth-child(1) { order: 1;}
.navbar-nav > .mw-list-item:nth-child(2) { order: 6;}
.navbar-nav > .mw-list-item:nth-child(2) a{ display: flex; background: #f87d22; border-radius: 5px; gap: 5px; align-items: center; color: #fff;}
.navbar-nav > .mw-list-item:nth-child(2) a::before{
font-family: "Font Awesome 6 Free"!important; content: '\f004'; border:none !important; font-weight: 900;}
.navbar-nav > .mw-list-item:nth-child(3) { order: 7;}
.navbar-nav > .nav-item.dropdown:nth-child(4) { order: 2;}
.navbar-nav > .nav-item.dropdown:nth-child(5) { order: 3;}
.navbar-nav > .nav-item.dropdown:nth-child(6) { order: 4;}
.navbar-nav > .nav-item.dropdown:nth-child(7) { order: 5;}
.navbar-nav > .nav-item.dropdown:nth-child(8) { order: 8;}
.p-navbar.collapsible .navbar-nav .nav-link { padding-right: .7rem; padding-left: .7rem;}
/* -- Slick Core Styles -- */
@import url('https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css');
@import url('https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick-theme.css');
.p-search { margin-bottom:7px;}
.p-search .input-group > .form-control{ height:40px;}
.p-search .searchGoButton {background: #f87d22 !important; border: none!important; padding: 8px 15px !important; margin-left: auto; color: #fff !important; border-radius: 0 .25rem .25rem 0 !important;}
.p-search .searchGoButton:hover,.p-search .searchGoButton:focus,.p-search .searchGoButton:focus:active{background: #da670f !important; box-shadow: none !important; text-decoration: none !important; color: #fff !important;}
.btn{padding: 15px 40px;}
.btn-primary,.btn-donate { background: #f87d22 !important; color:#fff !important; border: none!important;}
.btn-primary{width: 100%;}
.btn-primary:hover,.btn-primary:focus,
.btn-primary:focus:active,
.btn-donate:hover,.btn-donate:focus,
.btn-donate:focus:active {background: #da670f !important; color:#fff !important; box-shadow: none !important; text-decoration: none !important;}
.btn-donate span{ display: flex !important; align-items: center !important; gap: 5px !important;}
.mw-body .mw-indicators{ display: none !important; position: absolute !important; z-index: -1;}
body.page-Main_Page #firstHeading{display: none}
#p-contentnavigation{ margin-top: 15px;}
.hero-banner-section{margin: 0 -15px;}
.hero-banner-section .container{max-width: 1351px !important; padding: 0 !important;}
.hero-banner-section .adsBannerSliderHero {position: relative;} /* -- Slick Wisdom Slider -- */
.hero-banner-section .slick-track{display: flex;}
.hero-banner-section .adsBannerSliderHero .slick-slide{position: relative; display: inline-block; width:1351px !important}
.hero-banner-section img{ width: 100%; height: 450px; object-fit: cover;}
.hero-banner-block { position: absolute; background: rgba(0,0,0,.5); text-align: center; max-width: 1000px; width: 100%; color: #fff; bottom: 0; left: 50%; transform: translate(-50%,-150px); padding: 20px; border-radius: 5px}
.hero-banner-heading {font-size: 2.6rem; font-weight: 700; margin-bottom: 10px;}
.hero-banner-subheading {font-size: 1.8rem; font-weight: 600}
h2.section-heading{ font-size: 2.5rem; font-weight: 700; color: #531101; padding-top:25px; margin-top:0; margin-bottom: 30px !important; text-align: center; border:0;}
.discover-Learn-Live-section{padding: 40px 40px 10px 40px; background: #ffffff; color:#000;}
.discover-Learn-Live-section .section-heading{ text-align: left; margin-bottom: 30px; margin-top: 0; padding-top: 5px;}
.discover-Learn-Live-section img {width: 100%; max-width: 539px;}
.discover-Learn-Live-btn{ background: #531101; width: 200px; border-radius: .5rem; display: table; padding: 1rem; margin: 20px auto 0 auto; text-align: center; text-decoration: none; color: #fff !important; font-size: 1rem; white-space: nowrap;}
.discover-Learn-Live-btn:visited{ color: #fff !important;}
.discover-Learn-Live-btn:hover{ color: #fff; background: #410d01;}
.sanatan-circle { position: relative; width: 520px; height: 488px; margin: 0px auto 30px auto; font-family: "Poppins", sans-serif;}
.center-text {position: absolute; top: 50%; left: 0%; width: 175px; height: 175px; transform: translate(-0%, -50%); border-radius: 50%; background: #fff; color: #333; font-size: 14px; font-weight: 500; line-height: 1.4; text-align: center; display: flex; align-items: center; justify-content: center; padding: 15px; box-shadow: 0 0 15px rgba(0, 0, 0, 0.15); z-index: 2;}
.dotted-arc {position: absolute; top: 50%; left: 0%; width: 245px; height: 245px; transform: translate(-12%, -50%); border: 2px dashed #531101; border-radius: 50%; clip-path: inset(0 0 0 50%); /* show only right half */ z-index: 1;}
.icon {position: absolute; width: 77px; height: 77px; box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, .15); border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; z-index: 3;}
.icon img { width: 40px; height: 40px;}
.icon1 { top: 20px; left: 10%; }
.icon2 { top: 50px; left: 30%;}
.icon3 {top: 135px; left: 44%;}
.icon4 { top: 245px; left: 45%;}
.icon5 {top: 345px; left: 35%;}
.icon6 {top: 393px; left: 15%;}
.roundbullet{ position: absolute; width: 8px; height: 8px; border-radius: 4px; background-color: #531101;}
.roundbullet1 {left: 36px; top: 99px;}
.roundbullet2 {left: 6px; top: 92px;}
.roundbullet3 {left: -25px; top: 65px;}
.roundbullet4 {left: -28px; top: 30px;}
.roundbullet5 {left: -20px; top: -8px;}
.roundbullet6 {left: 14px; top: -31px;}
.iconTextBlock { position: absolute;}
.iconText1 {left:83px; top:-25px; width: 305px;}
.iconText2 {left:87px; top:13px; width: 300px; }
.iconText3 {left:87px; top:10px; width: 250px; }
.iconText4 {left:87px; top:10px; width: 280px;}
.iconText5 {left: 88px; top:18px; width: 250px;}
.iconText6 {left:90px; top:40px; width: 320px;}
@media screen and (max-width:400px) {
.sanatan-circle {margin: 20px 0 30px 0; width: 100%; height: 360px; }
.center-text {width: 145px; height: 145px; font-size: 12px;}
.dotted-arc {width: 185px; height: 185px; border: 1px dashed #531101;}
.icon {width: 45px; height: 45px;}
.icon img { width: 24px; height: 24px;}
.icon1 {top: 28px; left: 14%;}
.icon2 {top: 48px; left: 34%;}
.icon3 {top: 105px; left: 49%;}
.icon4 {top: 180px; left: 52%;}
.icon5 {top: 249px;left: 42%;}
.icon6 {top: 287px; left: 22%;}
.roundbullet {width: 6px; height: 6px; border-radius: 3px;}
.roundbullet1 {left: 23px; top: 56px;}
.roundbullet2 {left: 7px; top: 52px;}
.roundbullet3 {left: -8px; top: 40px;}
.roundbullet4 {left: -15px; top: 21px;}
.roundbullet5 {left: -10px; top: -3px;}
.roundbullet6 {left: 0px; top: -18px;}
.iconTextBlock{font-size: 11px;}
.iconText1 {left: 50px;top: -30px; width: 200px;}
.iconText2 {left: 56px; top: 5px; width: 165px;}
.iconText3 {left: 55px; top: -5px; width: 118px;}
.iconText4 {left: 55px; top: 0;width: 110px;}
.iconText5 {left: 58px;top: 12px; width: 135px;}
.iconText6 {left: 56px; top: 20px; width: 200px;}
}
.explore-sanatan-wisdom-section{/*padding: 0px 40px 0 40px;*/ padding: 0px; background: #ffffff;}
.sanatanWisdomSlider {position: relative;} /* -- Slick Wisdom Slider -- */
.sanatanWisdomSlider .slick-track{display: flex; gap:30px;}
.sanatanWisdomSlider .slick-track div{display: inline-block;}
.sanatanWisdomSlider a{background: #fff !important; display: block; text-decoration: none; color: #000; border-radius: 10px; overflow: hidden; box-shadow: 0px 0px 10px 0px rgba(0,0,0,.2); margin-bottom: 20px;}
.sanatanWisdomSlider a .sanatan-wisdom-title{ padding: 15px; color:#000000; display: block; text-align: center; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; text-overflow: ellipsis; height:54px; line-height:32px;}
.sanatanWisdomSlider img {width: 100%;height: auto; display: block;}
.latest-articles-section { padding: 0px 40px 40px 40px; background: #ffffff;}
.latestArticlesSlider {position: relative;} /* -- Latest Articles Slider -- */
.latestArticlesSlider .slick-track{display: flex; gap:20px;}
.latestArticlesSlider .slick-track div{display: inline-block;}
.latestArticlesSlider a{white-space: nowrap; text-align: center; background: #f87d22 !important; padding: 8px 20px; display: block; text-decoration: none; color: #fff; border-radius: 5px;}
.latestArticlesSlider a:hover{ color: #fff; background: #531101 !important}
.slick-arrow { position: absolute; z-index: 999; color: #fff; top: 50%; width: 25px; height: 30px; border: 0; background: rgba(0, 0, 0, .3); transform: translate(0, -50%);}
.prev-arrow {left: 0; border-radius: 5px; padding: 0;}
.next-arrow {right: 0; border-radius: 5px; padding: 0;}
.featured-and-highlights-section{padding: 0px 40px 40px 40px; margin: 0 -15px; background: #fff4f2;}
.featured-and-highlights-section img {width: 100%; overflow: hidden; border-radius: 15px; object-fit: cover; height: 345px;}
.home-featured-content{margin: 20px 0; padding: 0 20px; text-align: center; color: #000; height: 45px; line-height: 22px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; text-overflow: ellipsis;}
.home-featured-btn{ background: #531101; width: 200px; border-radius: .5rem; display: table; padding: 1rem 2rem; margin: 0 auto; text-align: center; text-decoration: none; color: #fff !important; font-size: 1rem;}
.home-featured-btn:hover,
.home-featured-btn:active{color: #fff; background: #410d01 !important;}
.home-featured-btn:visited{color: #fff !important;}
.join-and-collaborate-section {padding: 0px 40px 40px 40px; text-align: center; background: #ffffff;}
.join-and-collaborate-section .btn-coin-collaborate-block { display: flex; gap: 30px; flex-wrap: wrap; justify-content: center;}
.join-and-collaborate-section .btn-coin-collaborate-block a{background: #f87d22 !important; border: none !important; padding: 1rem 2rem; color: #fff; font-size: 1.5rem; font-weight: 600; text-decoration: none; width: 325px; border-radius: .5rem; display: flex; align-items: center; justify-content: center; gap:20px;}
.join-and-collaborate-section .btn-coin-collaborate-block a:hover,
.join-and-collaborate-section .btn-coin-collaborate-block a:active{color: #fff; background: #da670f !important;}
.join-and-collaborate-section .btn-coin-collaborate-block a:visited{color: #fff !important;}
.firstHeading, h1, h2, h3, h4{font-weight: 700; }
h2, h3, h4{ border-bottom:0 !important}
#bodyContent ul,#bodyContent ol{margin-bottom: 1rem;}
#bodyContent ul li,#bodyContent ol li{margin-bottom: 1rem;}
.right-template-category-block{float:right; width:300px; border:1px solid #ccc; background-color:#f9f9f9; padding:10px; margin-bottom:20px; border-radius:8px;}
.right-template-category-block h2{ font-weight: bold;
margin-bottom: 8px;
background: #e9e9e9;
padding: 15px 10px;
border-radius: 4px;
margin: 0 0 15px 0;
font-size: 1.4rem;}
.right-template-category-block ul li,
.right-template-category-block ol li { margin-bottom: .5rem; font-size: 1rem;}
.right-template-category-block a { font-weight: 400;}
.panchang_block,.panchangimg { display: flex; gap:15px; flex-direction: column; align-items: center;}
#mw-custom-footer { background-color: #531101;}
.footer{ clear:both; background-color: #531101; color: #fff; font-size: .9rem; font-weight: 300; line-height: 1.8; margin:0 auto; max-width:1351px !important; padding: 15px 15px 0 15px !important;}
.footer h3{ font-size: 1rem; font-weight: 600; margin-top: 10px; margin-bottom: 15px; color: #fff;}
.footer ul { margin: 0; padding: 0; list-style: none;}
.footer ul.need-help li {display: flex; align-items: baseline; gap:10px; margin-bottom: 5px;}
.footer a { text-decoration: none; color:#fff !important;}
.footer a:hover{ color: #fff; text-decoration: underline;}
.footer .form-text{ color: #fff;}
.footer .form-control,
.footer .form-control:hover,
.footer .form-control:focus,
.footer .form-control:active{ height: 50px; border: none; box-shadow: none;}
.footer ul.social-media{display: flex; gap:15px; margin-top: 10px; font-size: 1.6rem;}
.footer .footerBottom {padding:30px 0; border-top: 1px solid #fff;margin-top: 20px;}
.footer .footerBottom ul{ margin: 0; display: flex; justify-content: center; flex-wrap: wrap; gap:10px; line-height: 1;}
.footer .footerBottom ul li:not(:last-child) {border-right: 1px solid #fff; padding-right: 10px;}
.my-createaccount-custom-box{display: flex; gap: 50px;}
div.mw-ui-container { display: flex; flex-direction: column-reverse; align-items: center; }
.mw-ui-container #userloginForm {position: relative; width: 100%; padding: 0; margin: 0 auto !important; max-width:580px; padding: 20px; border: 1px solid #aaa; border-radius: 10px;}
.mw-ui-vform{ width:100% !important;}
/* .mw-ui-vform > div { display: flex; flex-wrap: wrap; gap: 15px 20px; } */
/* .mw-htmlform-field-HTMLInfoField { width: 100% !important; position: absolute; top: -10px; transform: translate(-50%, 0px); left: 50%;} */
/* .mw-ui-vform > div .mw-ui-vform-field{ width: calc(50% - 10px)} */
.mw-ui-vform > div .mw-ui-input {line-height:2rem !important;}
.mw-ui-button:not(.mw-ui-icon-element){max-width:100% !important}
.mw-htmlform-field-HTMLSubmitField{margin: 0;}
.footercontainer.container {padding:0 15px !important}
.mw-ui-button.mw-ui-progressive:not(:disabled) {
background-color: #ff7500;
color: #fff;
border-color: #ff6b00;
padding: 10px 30px;
display: table;
width: auto;
border-radius: 5px;
margin: 20px auto ;
/* position: absolute;
left: 50%;
transform: translate(-50%, 30px); */
}
.mw-ui-button.mw-ui-progressive:not(:disabled):hover{
background-color: #da670f;
color: #fff;
border-color: #da670f;
}
#mw-createaccount-join {
background-color: #f8f9fa;
color: #ff6b00;
}
#mw-createaccount-cta{padding-top: 3.5em; text-align: center;}
@media (max-width: 767px) {
.container.flex-fill .row:nth-child(1) {justify-content:center;}
.container.flex-fill .row:nth-child(1) .align-items-center {flex-direction: column;}
.p-personal.pull-right {float:inherit !important}
#p-personal.pull-right .p-personal-tools, .p-personal.pull-right .p-personal-tools {justify-content:center}
.top-head{ justify-content: center; gap: 10px;}
.navbar-nav { align-items:flex-start; width: 100%; padding: 0 15px;}
.navbar-nav > .mw-list-item:nth-child(1), .navbar-nav > .mw-list-item:nth-child(2), .navbar-nav > .mw-list-item:nth-child(3),
.navbar-nav #n-Home, .navbar-nav #n-Donate, .navbar-nav #n-Submit-Useful-Content, .navbar-nav .nav-item {width:100%}
#n-Donate a {padding-left:15px; padding-right:15px;}
.hero-banner-section img{ height: 350px;}
.hero-banner-block {transform: translate(-50%, -90px);}
.hero-banner-heading {font-size: 1.6rem;}
.hero-banner-subheading {font-size: 1.2rem;}
.discover-Learn-Live-section .section-heading{ margin-top:1rem; padding-top:0.5rem; }
h2.section-heading{font-size: 1.9rem;}
.featured-and-highlights-section{margin: 0;}
.discover-Learn-Live-section,.explore-sanatan-wisdom-section, .latest-articles-section, .featured-and-highlights-section, .join-and-collaborate-section{padding: 0 0 40px 0;}
.home-featured-content{ padding: 0; max-height: 65px; height: auto;}
.latest-articles-section h2.section-heading{padding-top:0 !important;}
.join-and-collaborate .btn-coin-collaborate-block a{ padding: 1rem 2rem; width: 100%;}
.my-createaccount-custom-box{ gap:0; flex-direction: column;}
.mw-ui-vform > div .mw-ui-vform-field {width:100% !important;}
}
/* Templates: State pages only*/
.templesIntro {padding:0 0 20px 0; width:auto !important;}
.templesIntro .templeImg {height: 100%; max-height: 400px; border: 2px solid #5d0900; border-radius: 20px; overflow: hidden;}
.templesIntro img{width: 100%; height: 100%; object-fit: cover;}
.templesIntro .templeContentBlock {height: 100%; max-height: 400px; padding: 10px 15px 15px 15px; border:2px solid #5d0900; border-radius: 20px;}
.templesIntro h2 {width:100%; color:#ff7500; margin:0; padding:0; margin: 0 0 10px 0; font-size: 1.5rem; text-align: center;}
.templesIntro ul { margin: 0 !important; padding: 0; height: 100%; max-height: 320px; overflow: auto; list-style: none;}
.templesIntro ul li {margin:0 !important; padding:10px 0; border-top:1px solid #cccccc; display: flex; flex-wrap: wrap; gap: 5px 10px;}
.templesIntro b {font-weight: 600; width:100% !important; min-width: 160px;}
.templesIntro a {position: relative; white-space:nowrap;}
.templesIntro a:after {content:"|"; color:#ccc; margin-left: 7px;}
.templesIntro a:last-child::after{ display: none}
.templesIntro .templeHead { font-size:1rem; font-weight: 600; width:100%; max-width: 160px; }
.templesIntro .templeContent { font-size: 1rem; display: flex; flex-wrap: wrap; gap: 5px 7px;}
.templesIntro .templeContent a {position: relative;}
.templesIntro .templeContent a:after {content:"|"; color:#ccc; margin-left: 7px;}
.templesIntro .templeContent a:last-child::after{ display: none}
/* Aarti: page*/
.rootpage-Aartis h3{ text-align: center; border-bottom: 1px solid #eee !important; margin-bottom: 20px;}
.aartisFilterBlock {padding:0 0 20px 0;}
.aartisFilterBlock ul { margin: 0 !important; padding: 0; display: flex; flex-wrap:wrap; justify-content: center; gap:20px; list-style: none; }
.aartisFilterBlock > ul > li{width: calc(50% - 10px); margin-bottom:0 !important; border:0; display: flex; gap: 10px; background: #fbfbfb; box-shadow: 0 1px 2px rgba(0, 0, 0, .3); padding: 10px;}
.aartisFilterBlock .aartiItemImg .center,.aartisFilterBlock .aartiItemImg .center .floatnone,.aartisFilterBlock .aartiItemImg a {height:100%; display: block}
.aartisFilterBlock .aartiItemImg { width: 80px;height: 80px;border: 1px solid #ccc;border-radius: 5px;overflow: hidden; box-sizing: border-box;}
.aartisFilterBlock .aartiItemImg .thumb {float: none !important; width: 100%; margin: 0; padding: 0;}
.aartisFilterBlock .aartiItemImg .thumb .thumbinner {border: 0; width: 100%; max-width: 100%; box-sizing: border-box;}
.aartisFilterBlock .aartiItemImg img{width: 100%; height: 100%; max-height:78px; object-fit: cover; border:0 !important}
.aartisFilterBlock > ul .aartiHeadingLInks {width: calc(100% - 110px);}
.aartisFilterBlock > ul .aartiHeadingLInks .itemHeading{margin: 0; font-size: 1rem; font-weight:600; width:100%; center; color:#ff7500;}
.aartisFilterBlock > ul ul {display: block; list-style: none;}
.aartisFilterBlock > ul ul li{ margin: 0 !important; padding: 0; font-size: 1rem;}
.aartisFilterBlock > ul ul a {display:block; margin-top:5px;}
/* Other Related Aartis */
.otherRelatedAartisBlock { background:#fffcf5; padding:15px 15px 30px 15px;}
.otherRelatedAartisBlock h3 { padding-top:0 !important; margin-top:0 !important; text-align:center}
.otherRelatedAartisBlock ul {display: flex; flex-wrap: wrap; justify-content: center; gap:15px; width: 100%; margin: 0 !important; padding:0; list-style: none; }
.otherRelatedAartisBlock ul li { width: calc(100% / 5 - 12px); padding-left: 0; margin-bottom: 0px !important; background: #f9f9f9; border: 1px solid #ccc; border-radius: 7px; overflow: hidden;}
.otherRelatedAartisBlock ul li:hover{background: #fff; border: 1px solid #999;}
.otherRelatedAartisBlock ul li a, .otherRelatedAartisBlock ul li:hover a {text-decoration: none; color:#000;}
.otherRelatedAartisBlock ul li img {width:100%; height:100%; max-height:150px; border-radius:5px; object-fit: cover;}
.otherRelatedAartisBlock ul li h3{ margin:0 0 10px 0; padding:10px !important; font-size: 1rem; background:#fffaec; font-weight:600; width:100%; center; color:#ff7500; }
.otherRelatedAartisBlock ul li p { padding:0 10px; font-size:.9rem}
.beforeMenuTagline { text-align: center;font-size: 16px;padding: 20px 0 0 0;display: inline-table;color: #ff7500;font-weight: 600; }
.beforeMenuTagline .hi{ font-size: 18px; }
@media (max-width: 767px) {
.templesIntro .templeContentBlock { margin-top:20px; max-height: inherit; height: inherit;}
.templesIntro .templeHead,.templesIntro b {max-width: inherit; }
.templesIntro ul li{display: block;}
.otherRelatedAartisBlock ul li { width: calc(100% / 3 - 12px);}
}
@media (max-width: 475px) {
.pa-related-box {margin: 12px 0 24px 0 !important;}
.aartisFilterBlock > ul > li{width: 100%;}
.otherRelatedAartisBlock ul li { width: 100%;}
}
/* End Pushkar Dayal Code */
#floatingCreateBtn { animation: floatUp 0.3s ease-in-out; }
@keyframes floatUp { from { transform: scale(0.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
#createPopupBox input:focus { border-color: #0078D7; outline: none;
}
/* Balaji code (Dont change it) starting */
.mw-editsection {
display: none !important;
}
body.page-Special_TeamDashboard #firstHeading,
body.page-Special_TeamDashboard #contentSub {
display: none !important;
}
.htmlform-tip {
display: none !important;
}
.mw-createacct-benefits-container {
display: none !important;
}
/* ================================
LATEST ARTICLES BLOCK FRONTEND
================================ */
/* Outer wrapper */
.latestArticlesSlider {
width: 100%;
overflow-x: auto;
overflow-y: hidden;
white-space: nowrap;
padding: 20px 0;
scroll-behavior: smooth;
}
/* Inner flex container */
.latestArticlesInner,
#LatestArticlesOutput {
display: inline-flex;
gap: 18px;
padding-left: 10px;
}
/* Article Button Styling */
.latestArticleBtn {
background: #ff8a2a;
color: #ffffff !important;
padding: 14px 28px;
font-weight: 600;
border-radius: 10px;
display: inline-block;
white-space: nowrap;
text-decoration: none !important;
box-shadow: 0px 3px 8px rgba(0,0,0,0.12);
transition: all 0.2s ease-in-out;
}
/* Hover effect */
.latestArticleBtn:hover {
background: #ff7a0c;
box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
transform: translateY(-2px);
}
/* Scrollbar styling for webkit */
.latestArticlesSlider::-webkit-scrollbar {
height: 8px;
}
.latestArticlesSlider::-webkit-scrollbar-thumb {
background-color: #ff8a2a;
border-radius: 10px;
}
.latestArticlesSlider::-webkit-scrollbar-track {
background-color: #ffe0c2;
}
/* Responsive (Mobile) */
@media (max-width: 600px) {
.latestArticleBtn {
padding: 12px 20px;
font-size: 14px;
}
}
/* ====== AUTO-SCROLL MARQUEE SYSTEM ====== */
.latestArticlesMarquee {
width: 100%;
overflow: hidden;
position: relative;
padding: 20px 0;
}
.latestArticlesTrack {
display: flex;
flex-wrap: nowrap;
gap: 18px;
animation: marqueeLoop 30s linear infinite;
will-change: transform;
}
/* Pause on hover */
.latestArticlesMarquee:hover .latestArticlesTrack {
animation-play-state: paused;
}
/* Buttons */
.latestArticleBtn {
background:#ff8a2a;
color:#fff !important;
padding:12px 24px;
border-radius:10px;
font-weight:600;
text-decoration:none !important;
white-space:nowrap;
box-shadow:0 3px 10px rgba(0,0,0,0.15);
}
/* Smooth Infinite Loop */
@keyframes marqueeLoop {
from {
transform: translateX(0);
}
to {
transform: translateX(-50%);
}
}
/* Hide Tools dropdown on Create Account and Login pages */
body.page-Special_CreateAccount .p-tb-dropdown,
body.page-Special_UserLogin .p-tb-dropdown {
display: none !important;
}
#footer,
#mw-footer,
.footercontainer,
.footercontainer.container,
#footer-info,
#footer-places,
.footer-info,
.footer-places,
footer,
.mw-footer-container {
display: none !important;
visibility: hidden !important;
height: 0 !important;
padding: 0 !important;
margin: 0 !important;
}
/* ----------------------------------------
Hide Tools for everyone by default
----------------------------------------- */
.p-tb,
.p-tb-dropdown,
.p-tb-toggle {
display: none;
}
/* ----------------------------------------
Show Tools ONLY for admins
----------------------------------------- */
body.show-tools-admin .p-tb,
body.show-tools-admin .p-tb-dropdown,
body.show-tools-admin .p-tb-toggle {
display: block;
}
body.page-Special_AdminDashboard h1.firstHeading {
display: none !important;
}
#contentSub {
font-size: 16px; /* increase overall size */
font-weight: 500;
margin-bottom: 12px;
}
#contentSub a {
font-size: 16px;
font-weight: 600;
}
#toc .toctogglelabel {
border: none !important;
outline: none !important;
background: transparent !important;
box-shadow: none !important;
padding: 0 !important;
}
/* Control actual VisualEditor inspector content height */
.oo-ui-menuLayout-content {
max-height: calc(100vh - 220px); /* toolbar + actions */
overflow-y: auto;
overflow-x: hidden;
}
/* Keep link inspector above footer */
.ve-ui-fragmentInspector-container {
position: relative;
z-index: 10060;
}
#catlinks{
display: none !important;
}
.mw-search-profile-tabs,
#mw-searchoptions
{
display: none !important;
}
#mw-fulltext-results
{
display: none !important;
}
End (Balaji) */
