"മീഡിയവിക്കി:Common.css" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം
No edit summary |
No edit summary |
||
| വരി 615: | വരി 615: | ||
right: 10px; | right: 10px; | ||
} | } | ||
/* ===== SchoolWiki Sitenotice Section ===== */ | |||
/* SchoolWiki Sitenotice Section */ | /* ===== OUTER FULL-WIDTH BAR ===== */ | ||
/* | |||
.sw-sitenotice-outer { | .sw-sitenotice-outer { | ||
background: #fff; | background: #fff; | ||
| വരി 624: | വരി 622: | ||
} | } | ||
/* | /* ===== CENTERED RESPONSIVE GRID ===== */ | ||
.sw-sitenotice- | .sw-sitenotice-grid { | ||
max-width: 1100px; | max-width: 1100px; | ||
margin: 0 auto; | margin: 0 auto; | ||
padding: | padding: 10px 12px; | ||
display: grid; | |||
grid-template-columns: 1fr auto; | |||
display: | gap: 12px; | ||
align-items: start; | |||
gap: | |||
} | } | ||
/* ===== LEFT MAIN NOTICE ===== */ | |||
.sw-main-card { | |||
/* ===== | |||
.sw- | |||
display: flex; | display: flex; | ||
gap: 12px; | gap: 12px; | ||
padding: 12px; | |||
border: 2px solid #ff3396; | border: 2px solid #ff3396; | ||
border-radius: 10px; | border-radius: 10px; | ||
} | } | ||
.sw- | .sw-main-title { | ||
font-size: 120%; | font-size: 120%; | ||
font-weight: 700; | font-weight: 700; | ||
| വരി 674: | വരി 649: | ||
} | } | ||
.sw- | .sw-main-links { | ||
font-size: 90%; | font-size: 90%; | ||
line-height: 1.6; | line-height: 1.6; | ||
} | } | ||
/* ===== | /* ===== RIGHT LOGIN BAR ===== */ | ||
.sw-login-box { | |||
background: #fffbd6; | |||
border: 1px solid #e6e0a3; | |||
padding: 6px 10px; | |||
border-radius: 8px; | |||
font-size: 85%; | |||
white-space: nowrap; | |||
} | |||
.sw-login-box a { | |||
text-decoration: none; | |||
color: #0645ad; | |||
padding: 2px 4px; | |||
} | |||
.sw-login-box a:hover { | |||
background: rgba(0,0,0,0.05); | |||
border-radius: 6px; | |||
} | |||
/* ===== MOBILE BEHAVIOR ===== */ | |||
@media (max-width: 720px) { | @media (max-width: 720px) { | ||
.sw- | .sw-sitenotice-grid { | ||
grid-template-columns: 1fr; | |||
} | } | ||
.sw-login- | .sw-login-box { | ||
text-align: center; | |||
font-size: 80%; | |||
} | } | ||
.sw- | .sw-main-card { | ||
flex-direction: column; | |||
text-align: center; | |||
} | } | ||
} | } | ||