MediaWiki:Common.css: Difference between revisions
Tag: Undo |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 279: | Line 279: | ||
.verse-block .shloka-block { text-align: left; margin: 0; } | .verse-block .shloka-block { text-align: left; margin: 0; } | ||
.verse-block .shloka-line { | .verse-block .shloka-line { | ||
display: block; font-weight: 500; line-height: 1.35; margin: 0; | display: block; font-weight: 500; line-height: 1.35; margin: 0; color: var(--maroon); | ||
} | } | ||
.verse-block + p { display: none !important; margin: 0 !important; } | .verse-block + p { display: none !important; margin: 0 !important; } | ||
| Line 704: | Line 704: | ||
.skin-minerva header.header-container { | .skin-minerva header.header-container { | ||
background: #b5451b !important; | background: #b5451b !important; | ||
position: | position: fixed !important; | ||
top: 0 !important; | top: 0 !important; | ||
z-index: 200 !important; | z-index: 200 !important; | ||
| Line 1,081: | Line 1,081: | ||
cursor: pointer; | cursor: pointer; | ||
} | } | ||
/* from LocalSettings line 393 */ | |||
/* ===== HAMBURGER / SIDEBAR ===== */ | |||
#mw-sidebar-button, | |||
.vector-main-menu, | |||
.vector-main-menu-container, | |||
.vector-main-menu-landmark, | |||
#vector-main-menu-dropdown { | |||
display:none !important; | |||
} | |||
/* ===== FOOTER ===== */ | |||
#footer, | |||
.mw-footer, | |||
footer { | |||
display:none !important; | |||
} | |||
/* ===== LOGIN / SIGNUP PAGE CLEANUP ===== */ | |||
body.page-Special_UserLogin #mw-sidebar-button, | |||
body.page-Special_UserLogin .vector-main-menu, | |||
body.page-Special_UserLogin .vector-page-toolbar, | |||
body.page-Special_UserLogin .vector-page-tools, | |||
body.page-Special_CreateAccount #mw-sidebar-button, | |||
body.page-Special_CreateAccount .vector-main-menu, | |||
body.page-Special_CreateAccount .vector-page-toolbar, | |||
body.page-Special_CreateAccount .vector-page-tools, | |||
body.page-Special_PasswordReset #mw-sidebar-button, | |||
body.page-Special_PasswordReset .vector-main-menu, | |||
body.page-Special_PasswordReset .vector-page-toolbar, | |||
body.page-Special_PasswordReset .vector-page-tools { | |||
display:none !important; | |||
} | |||
/* from LocalSettings line 436 */ | |||
/* Kill every possible appearance container */ | |||
#vector-appearance, | |||
#vector-appearance-dropdown, | |||
#vector-appearance-pinned-container, | |||
#vector-appearance-unpinned-container, | |||
[id*="appearance-dropdown"], | |||
[id*="appearance"][class*="vector"], | |||
.vector-dropdown[title*="Appearance"], | |||
.vector-dropdown[title*="appearance"] { | |||
display:none !important; | |||
visibility:hidden !important; | |||
width:0 !important; | |||
height:0 !important; | |||
overflow:hidden !important; | |||
margin:0 !important; | |||
padding:0 !important; | |||
} | |||
/* Remove empty slot in header */ | |||
.vector-page-tools, | |||
.vector-page-toolbar, | |||
.vector-header-end { | |||
gap:0 !important; | |||
} | |||
/* from LocalSettings line 469 */ | |||
/* Login page only */ | |||
body.page-Special_UserLogin .vector-search-box, | |||
body.page-Special_UserLogin #p-search, | |||
body.page-Special_UserLogin .search-toggle, | |||
body.page-Special_UserLogin .vector-search-box-vue { | |||
display:none !important; | |||
} | |||
/* Show site wordmark/logo if hidden */ | |||
body.page-Special_UserLogin .mw-logo, | |||
body.page-Special_UserLogin .vector-logo, | |||
body.page-Special_UserLogin .vector-header-start { | |||
display:flex !important; | |||
visibility:visible !important; | |||
} | |||
/* Cleaner top bar */ | |||
body.page-Special_UserLogin .vector-header { | |||
justify-content:space-between !important; | |||
padding:0 16px !important; | |||
} | |||
/* Match Main_Page branded header bar */ | |||
body.page-Special_UserLogin .vector-header-container .mw-header { | |||
background: #b5451b !important; | |||
} | |||
body.page-Special_UserLogin .mw-logo-wordmark, | |||
body.page-Special_UserLogin .mw-logo-wordmark strong { | |||
color: #fff !important; | |||
} | |||
body.page-Special_UserLogin .mw-logo-container { | |||
color: #fff !important; | |||
} | |||
/* Single logo: favicon only (no quill gr-header-icon) */ | |||
body.page-Special_UserLogin .gr-header-icon { | |||
display: none !important; | |||
} | |||
body.page-Special_UserLogin .mw-logo-icon { | |||
display: inline-block !important; | |||
width: 36px !important; | |||
height: 36px !important; | |||
object-fit: contain !important; | |||
} | |||
/* Hide Create Account and Login Links in header starts */ | |||
body.page-Special_UserLogin .vector-header-end { | |||
display: none !important; | |||
} | |||
/* Hide Create Account and Login Links in header end */ | |||
/* from LocalSettings line 530 */ | |||
body.page-Special_PasswordReset .vector-search-box, | |||
body.page-Special_PasswordReset #p-search, | |||
body.page-Special_PasswordReset .search-toggle, | |||
body.page-Special_PasswordReset .vector-search-box-vue { | |||
display:none !important; | |||
} | |||
body.page-Special_PasswordReset .mw-logo, | |||
body.page-Special_PasswordReset .vector-logo, | |||
body.page-Special_PasswordReset .vector-header-start { | |||
display:flex !important; | |||
visibility:visible !important; | |||
} | |||
body.page-Special_PasswordReset .vector-header { | |||
justify-content:space-between !important; | |||
padding:0 16px !important; | |||
} | |||
body.page-Special_PasswordReset .vector-header-container .mw-header { | |||
background: #b5451b !important; | |||
} | |||
body.page-Special_PasswordReset .mw-logo-wordmark, | |||
body.page-Special_PasswordReset .mw-logo-wordmark strong { | |||
color: #fff !important; | |||
} | |||
body.page-Special_PasswordReset .mw-logo-container { | |||
color: #fff !important; | |||
} | |||
body.page-Special_PasswordReset .gr-header-icon { | |||
display: none !important; | |||
} | |||
body.page-Special_PasswordReset .mw-logo-icon { | |||
display: inline-block !important; | |||
width: 36px !important; | |||
height: 36px !important; | |||
object-fit: contain !important; | |||
} | |||
body.page-Special_PasswordReset .vector-header-end { | |||
display: none !important; | |||
} | |||
body.page-Special_PasswordReset .vector-page-toolbar { | |||
display: none !important; | |||
} | |||
/* from LocalSettings line 584 */ | |||
body.page-Special_CreateAccount .vector-search-box, | |||
body.page-Special_CreateAccount #p-search, | |||
body.page-Special_CreateAccount .search-toggle, | |||
body.page-Special_CreateAccount .vector-search-box-vue { | |||
display:none !important; | |||
} | |||
body.page-Special_CreateAccount .mw-logo, | |||
body.page-Special_CreateAccount .vector-logo, | |||
body.page-Special_CreateAccount .vector-header-start { | |||
display:flex !important; | |||
visibility:visible !important; | |||
} | |||
body.page-Special_CreateAccount .vector-header { | |||
justify-content:space-between !important; | |||
padding:0 16px !important; | |||
} | |||
body.page-Special_CreateAccount .vector-header-container .mw-header { | |||
background: #b5451b !important; | |||
} | |||
body.page-Special_CreateAccount .mw-logo-wordmark, | |||
body.page-Special_CreateAccount .mw-logo-wordmark strong { | |||
color: #fff !important; | |||
} | |||
body.page-Special_CreateAccount .mw-logo-container { | |||
color: #fff !important; | |||
} | |||
body.page-Special_CreateAccount .gr-header-icon { | |||
display: none !important; | |||
} | |||
body.page-Special_CreateAccount .mw-logo-icon { | |||
display: inline-block !important; | |||
width: 36px !important; | |||
height: 36px !important; | |||
object-fit: contain !important; | |||
} | |||
body.page-Special_CreateAccount .vector-header-end { | |||
display: none !important; | |||
} | |||
/* from LocalSettings line 635 */ | |||
body.page-Special_UserLogin { | |||
background: #FAF6EE !important; | |||
} | |||
body.page-Special_UserLogin .mw-page-container, | |||
body.page-Special_UserLogin .mw-page-container-inner, | |||
body.page-Special_UserLogin .mw-body { | |||
background: transparent !important; | |||
} | |||
body.page-Special_UserLogin .mw-body-header, | |||
body.page-Special_UserLogin .vector-page-titlebar, | |||
body.page-Special_UserLogin #firstHeading { | |||
display: none !important; | |||
} | |||
body.page-Special_UserLogin #content { | |||
max-width: 440px !important; | |||
margin: 28px auto 48px !important; | |||
padding: 0 16px !important; | |||
float: none !important; | |||
} | |||
body.page-Special_UserLogin #bodyContent, | |||
body.page-Special_UserLogin .mw-body-content { | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
} | |||
body.page-Special_UserLogin #userloginprompt:empty { | |||
display: none !important; | |||
} | |||
body.page-Special_UserLogin .mw-body-content > .mw-ui-container { | |||
background: #fff; | |||
border-radius: 16px; | |||
box-shadow: 0 10px 40px rgba(45, 35, 72, 0.1); | |||
padding: 32px 32px 28px; | |||
box-sizing: border-box; | |||
} | |||
body.page-Special_UserLogin .mw-body-content > .mw-ui-container::before { | |||
content: "Login/Signup"; | |||
display: block; | |||
text-align: center; | |||
font-size: 24px; | |||
color: #1C1A17; | |||
margin-bottom: 22px; | |||
font-family: "Noto Sans Devanagari", system-ui, -apple-system, BlinkMacSystemFont, sans-serif; | |||
} | |||
body.page-Special_UserLogin #userloginForm, | |||
body.page-Special_UserLogin #userloginForm form { | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
} | |||
body.page-Special_UserLogin .mw-htmlform { | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
} | |||
body.page-Special_UserLogin .mw-htmlform-field { | |||
margin-bottom: 18px; | |||
} | |||
body.page-Special_UserLogin .cdx-label, | |||
body.page-Special_UserLogin .mw-htmlform-field > label { | |||
display: block; | |||
font-size: 0.875rem; | |||
color: #1C1A17; | |||
margin-bottom: 6px; | |||
font-family: Noto Sans Devanagari UI, system-ui, -apple-system, sans-serif; | |||
} | |||
/* Codex: border on wrapper only (inner input has its own border = double line) */ | |||
body.page-Special_UserLogin .cdx-text-input { | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
box-sizing: border-box !important; | |||
border-radius: 10px !important; | |||
border: 1px solid #e5e7eb !important; | |||
background: #fff !important; | |||
min-height: 46px; | |||
} | |||
body.page-Special_UserLogin .cdx-text-input__input { | |||
width: 100% !important; | |||
box-sizing: border-box !important; | |||
border: none !important; | |||
border-radius: 0 !important; | |||
box-shadow: none !important; | |||
outline: none !important; | |||
background: transparent !important; | |||
padding: 12px 14px !important; | |||
font-size: 1rem !important; | |||
min-height: 44px; | |||
} | |||
body.page-Special_UserLogin .cdx-text-input:focus-within { | |||
border-color: #ffffff !important; | |||
box-shadow: rgba(177, 74, 46, 0.1) !important; | |||
} | |||
body.page-Special_UserLogin .cdx-text-input__input:focus { | |||
outline: none !important; | |||
border: none !important; | |||
box-shadow: none !important; | |||
} | |||
/* Fallback if inputs are not wrapped in Codex */ | |||
body.page-Special_UserLogin input#wpName1, | |||
body.page-Special_UserLogin input#wpPassword1 { | |||
width: 100% !important; | |||
box-sizing: border-box !important; | |||
border-radius: 10px !important; | |||
border: 1px solid #e5e7eb !important; | |||
padding: 12px 14px !important; | |||
font-size: 1rem !important; | |||
min-height: 46px; | |||
} | |||
body.page-Special_UserLogin input#wpName1:focus, | |||
body.page-Special_UserLogin input#wpPassword1:focus { | |||
outline: none !important; | |||
border-color: #b5451b !important; | |||
box-shadow: rgba(177, 74, 46, 0.1) !important; | |||
} | |||
body.page-Special_UserLogin .mw-userlogin-rememberme { | |||
display: none !important; | |||
} | |||
body.page-Special_UserLogin .gr-login-forgot-password { | |||
text-align: left; | |||
margin: 2px 0 14px; | |||
padding: 0; | |||
} | |||
body.page-Special_UserLogin .gr-login-forgot-password a { | |||
color: #b5451b !important; | |||
font-weight: 600 !important; | |||
font-size: 0.9rem; | |||
text-decoration: none !important; | |||
font-family: system-ui, -apple-system, sans-serif; | |||
} | |||
body.page-Special_UserLogin .gr-login-forgot-password a:hover { | |||
text-decoration: underline !important; | |||
} | |||
body.page-Special_UserLogin .mw-htmlform-field:has(#wpLoginAttempt), | |||
body.page-Special_UserLogin .mw-htmlform-submit { | |||
margin-top: 8px; | |||
margin-bottom: 0; | |||
} | |||
body.page-Special_UserLogin #wpLoginAttempt, | |||
body.page-Special_UserLogin #wpLoginAttempt.cdx-button { | |||
width: 100% !important; | |||
display: flex !important; | |||
justify-content: center; | |||
align-items: center; | |||
background: #b5451b !important; | |||
border: none !important; | |||
border-radius: 10px !important; | |||
color: #fff !important; | |||
font-weight: 600 !important; | |||
font-size: 1rem !important; | |||
padding: 14px 20px !important; | |||
min-height: 48px; | |||
cursor: pointer; | |||
font-family: system-ui, -apple-system, sans-serif; | |||
} | |||
body.page-Special_UserLogin #wpLoginAttempt:hover { | |||
background: #A33C20 !important; | |||
} | |||
body.page-Special_UserLogin .mw-userlogin-help, | |||
body.page-Special_UserLogin .mw-form-related-link-container, | |||
body.page-Special_UserLogin #mw-createaccount, | |||
body.page-Special_UserLogin #mw-createaccount-cta { | |||
font-size: 0.9rem; | |||
margin-top: 12px; | |||
} | |||
body.page-Special_UserLogin .mw-userlogin-help a, | |||
body.page-Special_UserLogin .mw-form-related-link-container a, | |||
body.page-Special_UserLogin #mw-createaccount a, | |||
body.page-Special_UserLogin #mw-createaccount-cta a { | |||
color: #b5451b !important; | |||
font-weight: 600 !important; | |||
text-decoration: none !important; | |||
} | |||
body.page-Special_UserLogin .mw-userlogin-help a:hover, | |||
body.page-Special_UserLogin .mw-form-related-link-container a:hover, | |||
body.page-Special_UserLogin #mw-createaccount a:hover, | |||
body.page-Special_UserLogin #mw-createaccount-cta a:hover { | |||
text-decoration: underline !important; | |||
} | |||
body.page-Special_UserLogin .cdx-message, | |||
body.page-Special_UserLogin .mw-message-box { | |||
border-radius: 10px; | |||
margin-bottom: 16px; | |||
} | |||
body.page-Special_UserLogin .gr-google-login { | |||
margin: 20px 0 4px; | |||
padding: 0; | |||
} | |||
body.page-Special_UserLogin .gr-google-login-icon { | |||
display: inline-flex; | |||
flex-shrink: 0; | |||
line-height: 0; | |||
margin-top: -3px; | |||
} | |||
body.page-Special_UserLogin .gr-google-login-icon svg { | |||
display: block; | |||
} | |||
body.page-Special_UserLogin .gr-google-login-btn { | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
gap: 8px; | |||
width: 100%; | |||
box-sizing: border-box; | |||
padding: 12px; | |||
min-height: 44px; | |||
border-radius: 12px; | |||
border: 1px solid #e5e7eb; | |||
background: #F3F4F6; | |||
color: #1C1A17; | |||
font-size: 14px; | |||
text-decoration: none !important; | |||
font-family: "Noto Sans Devanagari", system-ui, -apple-system, sans-serif; | |||
} | |||
body.page-Special_UserLogin .gr-google-login-btn:hover { | |||
background: #f9fafb; | |||
border-color: #d1d5db; | |||
} | |||
body.page-Special_UserLogin .gr-google-login-divider { | |||
display: flex; | |||
align-items: center; | |||
gap: 12px; | |||
margin: 18px 0 16px; | |||
color: #F4ECDF; | |||
font-size: 14px; | |||
font-family: "Noto Sans Devanagari", system-ui, -apple-system, sans-serif; | |||
} | |||
body.page-Special_UserLogin .gr-google-login-divider::before, | |||
body.page-Special_UserLogin .gr-google-login-divider::after { | |||
content: ""; | |||
flex: 1; | |||
height: 1px; | |||
background: #F4ECDF; | |||
} | |||
.gr-phone-row { margin-bottom: 12px; } | |||
.gr-phone-label { | |||
display: block; | |||
font-weight: 700; | |||
font-size: 0.875rem; | |||
margin-bottom: 6px; | |||
} | |||
.gr-phone-inputs { | |||
display: flex; | |||
gap: 8px; | |||
align-items: stretch; | |||
height: 48px; | |||
position: relative; | |||
font-family: "Noto Sans Devanagari", system-ui, -apple-system, BlinkMacSystemFont, sans-serif; | |||
} | |||
.gr-phone-country { width: 101px; border-radius: 12px; padding: 12px; gap: 8px; border: 1px solid #CED4DA;} | |||
.gr-phone-national { flex: 1; border-radius: 12px; padding: 12px; border: 1px solid #CED4DA;} | |||
/* ── Country trigger button ── */ | |||
.gr-country-trigger { | |||
display: flex; | |||
align-items: center; | |||
gap: 8px; | |||
width: 101px; | |||
border-radius: 12px; | |||
padding: 12px; | |||
border: 1px solid #CED4DA; | |||
white-space: nowrap; | |||
background: #fff; | |||
} | |||
.gr-country-trigger:hover { border-color: #72777d; } | |||
.gr-trigger-flag { font-size: 1.3rem; line-height: 1; } | |||
.gr-trigger-dial { font-size: 0.9rem; color: #54595d; } | |||
.gr-trigger-caret { font-size: 0.7rem; color: #54595d; } | |||
/* ── Dropdown ── */ | |||
.gr-country-dropdown { | |||
position: absolute; | |||
top: calc(100% + 4px); left: 0; | |||
z-index: 9999; | |||
width: 280px; | |||
background: #fff; | |||
border: 1px solid #a2a9b1; | |||
border-radius: 4px; | |||
box-shadow: 0 4px 16px rgba(0,0,0,0.12); | |||
} | |||
.gr-country-search { | |||
width: 100%; box-sizing: border-box; | |||
padding: 8px 12px; | |||
border: none; border-bottom: 1px solid #eee; | |||
font-size: 0.9rem; outline: none; | |||
} | |||
.gr-country-list { max-height: 240px; overflow-y: auto; } | |||
.gr-country-option { | |||
display: flex; align-items: center; gap: 8px; | |||
padding: 8px 12px; cursor: pointer; font-size: 0.9rem; | |||
} | |||
.gr-country-option:hover { background: #f8f9fa; } | |||
.gr-country-flag { font-size: 1.2rem; flex-shrink: 0; } | |||
.gr-country-name { flex: 1; color: #202122; } | |||
.gr-country-dial { color: #54595d; font-size: 0.85rem; } | |||
.gr-phone-national:focus { | |||
outline: none; border-color: #4A433A; | |||
} | |||
/* OTP verification screen */ | |||
#gr-otp-screen { padding: 8px 0; } | |||
.gr-otp-title { font-size: 24px; font-family: "Noto Sans Devanagari", system-ui, -apple-system, sans-serif; text-align: center; margin-bottom: 12px; color: #1C1A17} | |||
.gr-otp-desc { font-size: 16px; text-align: center; color: #1C1A17; margin-bottom: 20px; line-height: 1.5; font-family: "Noto Sans Devanagari" } | |||
.gr-otp-label { display: block; font-size: 16px; margin-bottom: 8px; font-family: "Noto Sans Devanagari"; color: #1C1A17} | |||
.gr-otp-boxes { | |||
display: flex; | |||
gap: 8px; | |||
margin-bottom: 20px; | |||
justify-content: center; | |||
} | |||
.gr-otp-box { | |||
flex: 1; | |||
min-width: 0; | |||
max-width: 52px; | |||
width: 52px; | |||
height: 52px; | |||
text-align: center; | |||
font-size: 20px; | |||
font-weight: 500; | |||
border: 1px solid #CED4DA; | |||
border-radius: 12px; | |||
outline: none; | |||
padding: 0; | |||
box-sizing: border-box; | |||
} | |||
.gr-otp-box:focus { border-color: #4A433A; } | |||
.gr-continue-btn:not(:disabled):hover { background: #B14A2E; } | |||
.gr-continue-btn:disabled { opacity: 0.6; cursor: not-allowed; } | |||
.gr-resend-row { text-align: center; font-size: 14px; color: #54595d; } | |||
.gr-link-btn { | |||
background: none; border: none; padding: 0; | |||
color: #B14A2E; cursor: pointer; font-size: inherit; | |||
text-decoration: none; | |||
} | |||
.gr-link-btn:hover { text-decoration: underline; } | |||
/* Login button on phone screen */ | |||
.gr-login-btn, .gr-continue-btn { | |||
width: 100%; padding: 16px 8px; border: none; gap: 8px; | |||
border-radius: 12px; background: #B14A2E; | |||
color: #fff; font-size: 16px; font-weight: 500; | |||
cursor: pointer; font-family: "Noto Sans Devanagari", system-ui, -apple-system, sans-serif; | |||
} | |||
.gr-login-btn:hover { background: #993C1D; } | |||
.gr-otp-hidden-field { | |||
position: absolute !important; | |||
width: 1px !important; | |||
height: 1px !important; | |||
overflow: hidden !important; | |||
clip: rect(0,0,0,0) !important; | |||
white-space: nowrap !important; | |||
} | |||
.gr-otp-error { | |||
background: #fce8e8; | |||
border: 1px solid #e57373; | |||
border-radius: 6px; | |||
color: #b71c1c; | |||
padding: 10px 14px; | |||
margin-bottom: 12px; | |||
font-size: 14px; | |||
text-align: center; | |||
} | |||
.gr-login-checks{display:flex;justify-content: space-between; gap:8px;margin:12px 0;} | |||
.gr-check-label{display:flex;align-items:center;gap:8px;font-size:14px;color:#1C1A17;cursor:pointer; font-family: "Noto Sans Devanagari"} | |||
.gr-check-label input{width:16px;height:16px;accent-color:#B14A2E;cursor:pointer; font-family: "Noto Sans Devanagari"} | |||
@media (max-width: 480px) { | |||
body.page-Special_UserLogin .mw-body-content > .mw-ui-container { | |||
padding: 24px 20px 20px; | |||
border-radius: 12px; | |||
} | |||
body.page-Special_UserLogin #content { | |||
margin: 16px auto 32px !important; | |||
padding: 0 12px !important; | |||
} | |||
} | |||
/* from LocalSettings line 1021 */ | |||
body.page-Special_PasswordReset { | |||
background: #FAF6EE !important; | |||
} | |||
body.page-Special_PasswordReset .mw-page-container, | |||
body.page-Special_PasswordReset .mw-page-container-inner, | |||
body.page-Special_PasswordReset .mw-body { | |||
background: transparent !important; | |||
} | |||
body.page-Special_PasswordReset .mw-body-header, | |||
body.page-Special_PasswordReset .vector-page-titlebar, | |||
body.page-Special_PasswordReset #firstHeading { | |||
display: none !important; | |||
} | |||
body.page-Special_PasswordReset #content { | |||
max-width: 440px !important; | |||
margin: 28px auto 48px !important; | |||
padding: 0 16px !important; | |||
float: none !important; | |||
} | |||
body.page-Special_PasswordReset #bodyContent, | |||
body.page-Special_PasswordReset .mw-body-content { | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
} | |||
body.page-Special_PasswordReset .mw-body-content > .mw-htmlform-ooui-wrapper { | |||
background: #fff; | |||
border-radius: 16px; | |||
box-shadow: 0 10px 40px rgba(45, 35, 72, 0.1); | |||
padding: 32px 32px 28px; | |||
box-sizing: border-box; | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
} | |||
body.page-Special_PasswordReset .mw-body-content > .mw-htmlform-ooui-wrapper::before { | |||
content: "Reset password"; | |||
display: block; | |||
text-align: center; | |||
font-size: 1.65rem; | |||
font-weight: 700; | |||
color: #2d2348; | |||
margin-bottom: 16px; | |||
font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif; | |||
} | |||
body.page-Special_PasswordReset .mw-htmlform-ooui-header { | |||
margin-bottom: 18px; | |||
font-size: 0.9rem; | |||
color: #6b7280; | |||
line-height: 1.5; | |||
font-family: system-ui, -apple-system, sans-serif; | |||
} | |||
body.page-Special_PasswordReset .mw-htmlform-ooui-header p { | |||
margin: 0; | |||
} | |||
body.page-Special_PasswordReset .mw-htmlform-ooui-wrapper .oo-ui-fieldLayout { | |||
margin-bottom: 18px; | |||
} | |||
body.page-Special_PasswordReset .oo-ui-fieldLayout-header .oo-ui-labelElement-label { | |||
font-size: 0.875rem; | |||
font-weight: 500; | |||
color: #6b7280; | |||
font-family: system-ui, -apple-system, sans-serif; | |||
} | |||
body.page-Special_PasswordReset .oo-ui-textInputWidget .oo-ui-inputWidget-input { | |||
width: 100% !important; | |||
box-sizing: border-box !important; | |||
border-radius: 10px !important; | |||
border: 1px solid #e5e7eb !important; | |||
padding: 12px 14px !important; | |||
font-size: 1rem !important; | |||
min-height: 46px; | |||
background: #fff !important; | |||
} | |||
body.page-Special_PasswordReset .oo-ui-textInputWidget.oo-ui-widget-focus .oo-ui-inputWidget-input { | |||
border-color: #b5451b !important; | |||
box-shadow: rgba(177, 74, 46, 0.1) !important; | |||
} | |||
body.page-Special_PasswordReset .oo-ui-fieldLayout-field { | |||
width: 100% !important; | |||
} | |||
body.page-Special_PasswordReset .oo-ui-textInputWidget { | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
} | |||
body.page-Special_PasswordReset .mw-htmlform-submit-buttons { | |||
margin-top: 8px; | |||
width: 100% !important; | |||
} | |||
body.page-Special_PasswordReset .mw-htmlform-submit-buttons .oo-ui-buttonElement, | |||
body.page-Special_PasswordReset .mw-htmlform-submit-buttons .oo-ui-buttonInputWidget { | |||
width: 100% !important; | |||
display: block !important; | |||
} | |||
body.page-Special_PasswordReset .mw-htmlform-submit-buttons .oo-ui-buttonElement-button { | |||
width: 100% !important; | |||
justify-content: center; | |||
background: #b5451b !important; | |||
border-color: #b5451b !important; | |||
border-radius: 10px !important; | |||
color: #fff !important; | |||
font-weight: 600 !important; | |||
font-size: 1rem !important; | |||
padding: 14px 20px !important; | |||
min-height: 48px; | |||
font-family: system-ui, -apple-system, sans-serif; | |||
} | |||
body.page-Special_PasswordReset .mw-htmlform-submit-buttons .oo-ui-buttonElement-button:hover { | |||
background: #A33C20 !important; | |||
border-color: #A33C20 !important; | |||
} | |||
body.page-Special_PasswordReset .gr-passwordreset-footer { | |||
text-align: center; | |||
margin-top: 18px; | |||
padding-top: 16px; | |||
border-top: 1px solid #f0eef5; | |||
font-size: 0.9rem; | |||
color: #6b7280; | |||
font-family: system-ui, -apple-system, sans-serif; | |||
} | |||
body.page-Special_PasswordReset .gr-passwordreset-footer a { | |||
color: #b5451b !important; | |||
font-weight: 600 !important; | |||
text-decoration: none !important; | |||
} | |||
body.page-Special_PasswordReset .gr-passwordreset-footer a:hover { | |||
text-decoration: underline !important; | |||
} | |||
body.page-Special_PasswordReset .cdx-message, | |||
body.page-Special_PasswordReset .mw-message-box, | |||
body.page-Special_PasswordReset .successbox, | |||
body.page-Special_PasswordReset .warningbox, | |||
body.page-Special_PasswordReset .errorbox { | |||
border-radius: 10px; | |||
margin-bottom: 16px; | |||
} | |||
@media (max-width: 480px) { | |||
body.page-Special_PasswordReset .mw-body-content > .mw-htmlform-ooui-wrapper { | |||
padding: 24px 20px 20px; | |||
border-radius: 12px; | |||
} | |||
body.page-Special_PasswordReset #content { | |||
margin: 16px auto 32px !important; | |||
padding: 0 12px !important; | |||
} | |||
} | |||
/* from LocalSettings line 1197 */ | |||
body.page-Special_CreateAccount { | |||
background: #FAF6EE !important; | |||
} | |||
body.page-Special_CreateAccount .mw-page-container, | |||
body.page-Special_CreateAccount .mw-page-container-inner, | |||
body.page-Special_CreateAccount .mw-body { | |||
background: transparent !important; | |||
} | |||
body.page-Special_CreateAccount .mw-body-header, | |||
body.page-Special_CreateAccount .vector-page-titlebar, | |||
body.page-Special_CreateAccount #firstHeading { | |||
display: none !important; | |||
} | |||
body.page-Special_CreateAccount #content { | |||
max-width: 440px !important; | |||
margin: 28px auto 48px !important; | |||
padding: 0 16px !important; | |||
float: none !important; | |||
} | |||
body.page-Special_CreateAccount #bodyContent, | |||
body.page-Special_CreateAccount .mw-body-content { | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
} | |||
body.page-Special_CreateAccount .vector-page-toolbar { | |||
display: none !important; | |||
} | |||
body.page-Special_CreateAccount .mw-body-content > .mw-ui-container { | |||
background: #fff; | |||
border-radius: 16px; | |||
box-shadow: 0 10px 40px rgba(45, 35, 72, 0.1); | |||
padding: 32px 32px 28px; | |||
box-sizing: border-box; | |||
} | |||
body.page-Special_CreateAccount .mw-body-content > .mw-ui-container::before { | |||
content: "Create account"; | |||
display: block; | |||
text-align: center; | |||
font-size: 1.65rem; | |||
font-weight: 700; | |||
color: #2d2348; | |||
margin-bottom: 22px; | |||
font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif; | |||
} | |||
body.page-Special_CreateAccount #signupstart { | |||
font-size: 0.9rem; | |||
color: #6b7280; | |||
margin-bottom: 16px; | |||
font-family: system-ui, -apple-system, sans-serif; | |||
} | |||
body.page-Special_CreateAccount .mw-createacct-benefits-container { | |||
display: none !important; | |||
} | |||
body.page-Special_CreateAccount #userloginForm, | |||
body.page-Special_CreateAccount #userloginForm form { | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
} | |||
body.page-Special_CreateAccount .mw-htmlform { | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
} | |||
body.page-Special_CreateAccount .mw-htmlform-field { | |||
margin-bottom: 18px; | |||
} | |||
body.page-Special_CreateAccount .cdx-label, | |||
body.page-Special_CreateAccount .mw-htmlform-field > label { | |||
display: block; | |||
font-size: 0.875rem; | |||
color: #1C1A17; | |||
margin-bottom: 6px; | |||
font-family: Noto Sans Devanagari UI, system-ui, -apple-system, sans-serif; | |||
} | |||
body.page-Special_CreateAccount .cdx-text-input { | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
box-sizing: border-box !important; | |||
border-radius: 10px !important; | |||
border: 1px solid #e5e7eb !important; | |||
background: #fff !important; | |||
min-height: 46px; | |||
} | |||
body.page-Special_CreateAccount .cdx-text-input__input { | |||
width: 100% !important; | |||
box-sizing: border-box !important; | |||
border: none !important; | |||
border-radius: 0 !important; | |||
box-shadow: none !important; | |||
outline: none !important; | |||
background: transparent !important; | |||
padding: 12px 14px !important; | |||
font-size: 1rem !important; | |||
min-height: 44px; | |||
} | |||
body.page-Special_CreateAccount .cdx-field__help-text, | |||
body.page-Special_CreateAccount .htmlform-tip { | |||
font-size: 0.8rem; | |||
color: #9ca3af; | |||
margin-top: 6px; | |||
line-height: 1.4; | |||
} | |||
body.page-Special_CreateAccount .cdx-text-input:focus-within { | |||
border-color: #b5451b !important; | |||
box-shadow: rgba(177, 74, 46, 0.1) !important; | |||
} | |||
body.page-Special_CreateAccount .cdx-text-input__input:focus { | |||
outline: none !important; | |||
border: none !important; | |||
box-shadow: none !important; | |||
} | |||
body.page-Special_CreateAccount input#wpName2, | |||
body.page-Special_CreateAccount input#wpPassword2, | |||
body.page-Special_CreateAccount input#wpRetype, | |||
body.page-Special_CreateAccount input#wpEmail { | |||
width: 100% !important; | |||
box-sizing: border-box !important; | |||
border-radius: 10px !important; | |||
border: 1px solid #e5e7eb !important; | |||
padding: 12px 14px !important; | |||
font-size: 1rem !important; | |||
min-height: 46px; | |||
} | |||
body.page-Special_CreateAccount input#wpName2:focus, | |||
body.page-Special_CreateAccount input#wpPassword2:focus, | |||
body.page-Special_CreateAccount input#wpRetype:focus, | |||
body.page-Special_CreateAccount input#wpEmail:focus { | |||
outline: none !important; | |||
border-color: #b5451b !important; | |||
box-shadow: rgba(177, 74, 46, 0.1) !important; | |||
} | |||
body.page-Special_CreateAccount .mw-htmlform-field:has(#wpCreateaccount), | |||
body.page-Special_CreateAccount .mw-htmlform-submit { | |||
margin-top: 8px; | |||
margin-bottom: 0; | |||
} | |||
body.page-Special_CreateAccount #wpCreateaccount, | |||
body.page-Special_CreateAccount #wpCreateaccount.cdx-button { | |||
width: 100% !important; | |||
display: flex !important; | |||
justify-content: center; | |||
align-items: center; | |||
background: #b5451b !important; | |||
border: none !important; | |||
border-radius: 10px !important; | |||
color: #fff !important; | |||
font-weight: 600 !important; | |||
font-size: 1rem !important; | |||
padding: 14px 20px !important; | |||
min-height: 48px; | |||
cursor: pointer; | |||
font-family: system-ui, -apple-system, sans-serif; | |||
} | |||
body.page-Special_CreateAccount #wpCreateaccount:hover { | |||
background: #A33C20 !important; | |||
} | |||
body.page-Special_CreateAccount .gr-login-signup-footer { | |||
text-align: center; | |||
margin-top: 18px; | |||
padding-top: 16px; | |||
border-top: 1px solid #f0eef5; | |||
} | |||
body.page-Special_CreateAccount .gr-login-signup-text { | |||
font-size: 0.9rem; | |||
color: #6b7280; | |||
font-family: system-ui, -apple-system, sans-serif; | |||
} | |||
body.page-Special_CreateAccount .gr-login-signup-link { | |||
color: #b5451b !important; | |||
font-weight: 600 !important; | |||
text-decoration: none !important; | |||
} | |||
body.page-Special_CreateAccount .gr-login-signup-link:hover { | |||
text-decoration: underline !important; | |||
} | |||
body.page-Special_CreateAccount #signupend, | |||
body.page-Special_CreateAccount .mw-form-related-link-container { | |||
font-size: 0.9rem; | |||
color: #6b7280; | |||
margin-top: 14px; | |||
line-height: 1.5; | |||
font-family: system-ui, -apple-system, sans-serif; | |||
} | |||
body.page-Special_CreateAccount #signupend a, | |||
body.page-Special_CreateAccount .mw-form-related-link-container a { | |||
color: #b5451b !important; | |||
font-weight: 600 !important; | |||
text-decoration: none !important; | |||
} | |||
body.page-Special_CreateAccount #signupend a:hover, | |||
body.page-Special_CreateAccount .mw-form-related-link-container a:hover { | |||
text-decoration: underline !important; | |||
} | |||
body.page-Special_CreateAccount .cdx-message, | |||
body.page-Special_CreateAccount .mw-message-box { | |||
border-radius: 10px; | |||
margin-bottom: 16px; | |||
} | |||
body.page-Special_CreateAccount .gr-google-login { | |||
margin: 20px 0 4px; | |||
padding: 0; | |||
} | |||
body.page-Special_CreateAccount .gr-google-login-icon { | |||
display: inline-flex; | |||
flex-shrink: 0; | |||
line-height: 0; | |||
} | |||
body.page-Special_CreateAccount .gr-google-login-icon svg { | |||
display: block; | |||
} | |||
body.page-Special_CreateAccount .gr-google-login-btn { | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
gap: 10px; | |||
width: 100%; | |||
box-sizing: border-box; | |||
padding: 12px 16px; | |||
min-height: 48px; | |||
border-radius: 10px; | |||
border: 1px solid #e5e7eb; | |||
background: #fff; | |||
color: #2d2348; | |||
font-weight: 600; | |||
font-size: 1rem; | |||
text-decoration: none !important; | |||
font-family: system-ui, -apple-system, sans-serif; | |||
} | |||
body.page-Special_CreateAccount .gr-google-login-btn:hover { | |||
background: #f9fafb; | |||
border-color: #d1d5db; | |||
} | |||
body.page-Special_CreateAccount .gr-google-login-divider { | |||
display: flex; | |||
align-items: center; | |||
gap: 12px; | |||
margin: 18px 0 16px; | |||
color: #9ca3af; | |||
font-size: 0.85rem; | |||
font-family: system-ui, -apple-system, sans-serif; | |||
} | |||
body.page-Special_CreateAccount .gr-google-login-divider::before, | |||
body.page-Special_CreateAccount .gr-google-login-divider::after { | |||
content: ""; | |||
flex: 1; | |||
height: 1px; | |||
background: #e5e7eb; | |||
} | |||
.page-Special_UserLogin #mw-mf-page-center, | |||
.page-Special_UserLogin .mw-mf-page-center { | |||
display: flex !important; | |||
align-items: center !important; | |||
justify-content: center !important; | |||
min-height: 100vh !important; | |||
padding: 16px !important; | |||
box-sizing: border-box !important; | |||
} | |||
.page-Special_UserLogin .mw-ui-container { | |||
width: 100% !important; | |||
max-width: 400px !important; | |||
margin: 0 auto !important; | |||
} | |||
@media (max-width: 480px) { | |||
body.page-Special_CreateAccount .mw-body-content > .mw-ui-container { | |||
padding: 24px 20px 20px; | |||
border-radius: 12px; | |||
} | |||
body.page-Special_CreateAccount #content { | |||
margin: 16px auto 32px !important; | |||
padding: 0 12px !important; | |||
} | |||
} | |||
/* from LocalSettings line 1484 */ | |||
.vector-page-toolbar, | |||
.vector-page-toolbar-container, | |||
.mw-page-container { | |||
border-top: 0 !important; | |||
box-shadow: none !important; | |||
} | |||
.vector-page-toolbar { | |||
display:none !important; | |||
} | |||
.mw-body { | |||
margin-top:0 !important; | |||
padding-top:0 !important; | |||
} | |||
/* from LocalSettings line 1525 */ | |||
.mw-logo-wordmark, | |||
.vector-header-start a.mw-wiki-title { | |||
display: flex !important; | |||
flex-direction: column !important; | |||
} | |||
.mw-logo-wordmark::after, | |||
.vector-header-start a.mw-wiki-title::after { | |||
content: "A Digital Archive of Dvaita Vedanta Literature"; | |||
display: block; | |||
font-size: 11px; | |||
font-weight: 400; | |||
color: #ffffff; | |||
letter-spacing: 0.3px; | |||
margin-top: 1px; | |||
font-family: sans-serif; | |||
} | |||
/* ===== namespace toolbar hiding (was BeforePageDisplay line 1484) ===== | |||
Original: hide top toolbar on all namespaces EXCEPT Special, Template, MediaWiki. | |||
MediaWiki adds body classes ns-0, ns-10 (Template), ns-8 (MediaWiki), ns--1 (Special). | |||
So: hide globally, then re-show on the allowed namespaces. */ | |||
.vector-page-toolbar, | |||
.vector-page-toolbar-container, | |||
.mw-page-container { border-top: 0 !important; box-shadow: none !important; } | |||
.vector-page-toolbar { display: none !important; } | |||
.mw-body { margin-top: 0 !important; padding-top: 0 !important; } | |||
/* re-show toolbar on Special / Template / MediaWiki namespaces */ | |||
body.ns--1 .vector-page-toolbar, | |||
body.ns-10 .vector-page-toolbar, | |||
body.ns-8 .vector-page-toolbar { display: block !important; } | |||