"മീഡിയവിക്കി:Common.css" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം
No edit summary |
No edit summary |
||
| വരി 618: | വരി 618: | ||
/* SchoolWiki Sitenotice Section */ | /* SchoolWiki Sitenotice Section */ | ||
.sw-sitenotice- | /* Outer full-width sitenotice */ | ||
.sw-sitenotice-outer { | |||
background: #fff; | |||
border-bottom: 1px solid #ddd; | |||
} | } | ||
.sw-sitenotice-login { | /* Centered content container */ | ||
background: # | .sw-sitenotice-inner { | ||
border: 1px solid # | max-width: 1100px; | ||
padding: 6px; | margin: 0 auto; | ||
padding: 8px 12px; | |||
} | |||
/* ===== Login bar ===== */ | |||
.sw-login-bar { | |||
display: flex; | |||
justify-content: center; | |||
align-items: center; | |||
gap: 10px; | |||
flex-wrap: wrap; | |||
background: #fffbd6; | |||
border: 1px solid #e6e0a3; | |||
padding: 6px 10px; | |||
border-radius: 6px; | |||
font-size: 90%; | font-size: 90%; | ||
margin-bottom: 8px; | |||
} | |||
.sw-login-link { | |||
text-decoration: none; | |||
color: #0645ad; | |||
padding: 3px 8px; | |||
border-radius: 14px; | |||
white-space: nowrap; | |||
} | |||
.sw-login-link:hover { | |||
background: rgba(0,0,0,0.05); | |||
} | } | ||
.sw- | /* ===== Campaign card ===== */ | ||
.sw-notice-card { | |||
display: flex; | |||
align-items: center; | |||
gap: 12px; | |||
border: 2px solid #ff3396; | |||
border-radius: 10px; | |||
padding: 10px; | |||
} | } | ||
.sw- | .sw-notice-title { | ||
font-size: 120%; | font-size: 120%; | ||
font-weight: | font-weight: 700; | ||
margin-bottom: 6px; | margin-bottom: 6px; | ||
} | } | ||
.sw- | .sw-notice-links { | ||
font-size: 90%; | font-size: 90%; | ||
line-height: 1.6; | line-height: 1.6; | ||
} | } | ||
/* Mobile | /* ===== Mobile adjustments ===== */ | ||
@media (max-width: 720px) { | @media (max-width: 720px) { | ||
.sw- | .sw-notice-card { | ||
flex-direction: column; | |||
text-align: center; | |||
} | } | ||
. | .sw-login-bar { | ||
font-size: 85%; | |||
gap: 6px; | |||
} | } | ||
.sw- | .sw-login-link { | ||
padding: 3px 6px; | |||
} | } | ||
} | } | ||