ഉള്ളടക്കത്തിലേക്ക് പോവുക

"മീഡിയവിക്കി:Common.css" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം

Schoolwiki സംരംഭത്തിൽ നിന്ന്
No edit summary
Optimize the css
 
(ഒരേ ഉപയോക്താവ് ചെയ്ത ഇടയ്ക്കുള്ള 6 നാൾപ്പതിപ്പുകൾ പ്രദർശിപ്പിക്കുന്നില്ല)
വരി 1: വരി 1:
/* CSS placed here will be applied to all skins
/* CSS placed here will be applied to all skins */
   <source lang="css"> */
 
/* ─────────────────────────────────────────────
   BASE TYPOGRAPHY
  ───────────────────────────────────────────── */
 
html, body { font-size: 1.1em !important; }


/*Total Website Font control*/
html, body {font-size:1.1em !important;}
p {
p {
font-size:1.1em;  
  font-size: 1.1em;
line-height:1.6;
  line-height: 1.6;
-webkit-hyphens: auto;
  -webkit-hyphens: auto;
-moz-hyphens: auto;
  hyphens: auto;
-ms-hyphens: auto;
-o-hyphens: auto;
hyphens: auto;
}
}


/* പ്രധാന താളിലെ “പ്രധാന താൾ“ എന്ന തലക്കെട്ട് ഒഴിവാകാൻ - To remove Main page title */
img {
.page-പ്രധാന_താൾ .firstHeading {
  max-width: 100%;
display: none !important;
  height: auto;
}
}


/* പ്രധാന താളിലെ “സ്കൂൾ വിക്കി“ എന്ന തലക്കെട്ട് ഒഴിവാകാൻ
/* ─────────────────────────────────────────────
   To remove Main page title */
   HIDE MAIN PAGE TITLE
body.page-പ്രധാനതാൾ h1.firstHeading { display:none; }
  ───────────────────────────────────────────── */
body.page-പ്രധാനതാൾ #breadcrumbs2 {display: none !important;}
 
span.Uniq1234 a { color: #fff !important; font-size:0.9em; font-weight:normal; }
.page-പ്രധാന_താൾ .firstHeading { display: none !important; }
/*add a nice bar on header*/
body.page-പ്രധാനതാൾ h1.firstHeading { display: none; }
.vector-header-container {border-bottom:3px solid #ccc;}
body.page-പ്രധാനതാൾ #breadcrumbs2 { display: none !important; }
/* wikitable/prettytable class for skinning normal tables */
 
span.Uniq1234 a { color: #fff !important; font-size: 0.9em; font-weight: normal; }
 
/* ─────────────────────────────────────────────
  SITE HEADER
  ───────────────────────────────────────────── */
 
.vector-header-container { border-bottom: 3px solid #ccc; }
 
/* ─────────────────────────────────────────────
  TABLES — wikitable / prettytable
  ───────────────────────────────────────────── */


table.wikitable,
table.wikitable,
വരി 34: വരി 45:
   border: 1px #aaa solid;
   border: 1px #aaa solid;
   border-collapse: collapse;
   border-collapse: collapse;
  max-width: 100%;
}
}


വരി 55: വരി 67:
}
}


/* Style for horizontal lists (separator following item) */
/* ─────────────────────────────────────────────
.skin-monobook .hlist dl,
  HORIZONTAL LISTS (hlist)
.skin-modern .hlist dl,
  ───────────────────────────────────────────── */
.skin-vector .hlist dl {
 
    line-height: 1.5em;
.hlist dl, .hlist ol, .hlist ul { margin: 0; }
}
 
.hlist dl,
.hlist dd, .hlist dt, .hlist li {
.hlist ol,
  display: inline;
.hlist ul {
  margin: 0;
    margin: 0;
  white-space: nowrap;
}
.hlist dd,
.hlist dt,
.hlist li {
    display: inline;
    margin: 0;
}
/* Display nested lists inline */
.hlist dl dl,
.hlist ol ol,
.hlist ul ul {
    display: inline;
}
/* Nowrap list items */
.hlist dd,
.hlist dt,
.hlist li {
    white-space: nowrap;
    white-space: normal !ie;  /* IE < 8 no-wraps entire list, so disable it */
}
/* But allow parent list items to be wrapped */
.hlist dd dl,
.hlist dt dl,
.hlist li ol,
.hlist li ul {
    white-space: normal;
}
/* Generate interpuncts */
.hlist dt:after {
    content: ":";
}
.hlist dd:after,
.hlist li:after {
    content: " ·";
    font-weight: bold;
}
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
    content: none;
}
}


/* Add parens around nested lists */
.hlist dl dl, .hlist ol ol, .hlist ul ul { display: inline; }
.hlist dl dl dd:first-child:before,
 
.hlist ol ol li:first-child:before,
.hlist dd dl, .hlist dt dl, .hlist li ol, .hlist li ul { white-space: normal; }
.hlist ul ul li:first-child:before {
 
    content: "(";
.hlist dt::after { content: ":"; }
}
 
.hlist dl dl dd:last-child:after,
.hlist dd::after,
.hlist ol ol li:last-child:after,
.hlist li::after { content: " ·"; font-weight: bold; }
.hlist ul ul li:last-child:after {
 
    content: ")";
.hlist dd:last-child::after,
    font-weight: normal;
.hlist dt:last-child::after,
}
.hlist li:last-child::after { content: none; }
 
.hlist dl dl dd:first-child::before,
.hlist ol ol li:first-child::before,
.hlist ul ul li:first-child::before { content: "("; }
 
.hlist dl dl dd:last-child::after,
.hlist ol ol li:last-child::after,
.hlist ul ul li:last-child::after { content: ")"; font-weight: normal; }
 
.hlist.hnum ol li { counter-increment: level1; }
.hlist.hnum ol li::before { content: counter(level1) " "; }
.hlist.hnum ol ol li { counter-increment: level2; }
.hlist.hnum ol ol li:first-child::before { content: "(" counter(level2) " "; }
.hlist.hnum ol ol li::before { content: counter(level2) " "; }
 
/* ─────────────────────────────────────────────
  UNBULLETED LISTS
  ───────────────────────────────────────────── */
 
.plainlist ul { line-height: inherit; list-style: none; margin: 0; }
.plainlist ul li { margin-bottom: 0; }


/* Put numbers in ordered lists */
/* ─────────────────────────────────────────────
.hlist.hnum ol li {
  NAVBOX
    counter-increment: level1;
  ───────────────────────────────────────────── */
}
.hlist.hnum ol li:before {
    content: counter(level1) " ";
}
.hlist.hnum ol ol li {
    counter-increment: level2;
}
.hlist.hnum ol ol li:first-child:before {
    content: "(" counter(level2) " ";
}
.hlist.hnum ol ol li:before {
    content: counter(level2) " ";
}


/* Unbulleted lists */
.navbox {
.plainlist ul {
  border: 1px solid #aaa;
    line-height: inherit;
  width: 100%;
    list-style: none none;
  margin: auto;
    margin: 0;
  clear: both;
}
  font-size: 88%;
.plainlist ul li {
  text-align: center;
    margin-bottom: 0;
  padding: 1px;
}
}


/* Default style for navigation boxes */
.navbox {                    /* Navbox container style */
    border: 1px solid #aaa;
    width: 100%;
    margin: auto;
    clear: both;
    font-size: 88%;
    text-align: center;
    padding: 1px;
}
.navbox-inner,
.navbox-inner,
.navbox-subgroup {
.navbox-subgroup { width: 100%; }
    width: 100%;
 
}
.navbox th,
.navbox th,
.navbox-title,
.navbox-title,
.navbox-abovebelow {
.navbox-abovebelow {
    text-align: center;       /* Title and above/below styles */
  text-align: center;
    padding-left: 1em;
  padding-left: 1em;
    padding-right: 1em;
  padding-right: 1em;
}
}
th.navbox-group {             /* Group style */
 
    white-space: nowrap;
th.navbox-group {
    /* @noflip */
  white-space: nowrap;
    text-align: right;
  text-align: right; /* @noflip */
}
.navbox,
.navbox-subgroup {
    background: #fdfdfd;      /* Background color */
}
.navbox-list {
    border-color: #fdfdfd;    /* Must match background color */
}
.navbox th,
.navbox-title {
    background: #ccccff;      /* Level 1 color */
}
}
.navbox, .navbox-subgroup { background: #fdfdfd; }
.navbox-list { border-color: #fdfdfd; }
.navbox th, .navbox-title { background: #ccccff; }
.navbox-abovebelow,
.navbox-abovebelow,
th.navbox-group,
th.navbox-group,
.navbox-subgroup .navbox-title {
.navbox-subgroup .navbox-title { background: #ddddff; }
    background: #ddddff;     /* Level 2 color */
 
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
.navbox-subgroup .navbox-abovebelow { background: #e6e6ff; }
    background: #e6e6ff;     /* Level 3 color */
 
}
.navbox-even { background: #f7f7f7; }
.navbox-even {
.navbox-odd { background: transparent; }
    background: #f7f7f7;     /* Even row striping */
 
}
table.navbox + table.navbox { margin-top: -1px; }
.navbox-odd {
 
    background: transparent; /* Odd row striping */
}
table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */
    margin-top: -1px;         /* (doesn't work for IE6, but that's okay)      */
}
.navbox .hlist td dl,
.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ol,
വരി 207: വരി 164:
.navbox td.hlist dl,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ol,
.navbox td.hlist ul {
.navbox td.hlist ul { padding: 0.125em 0; }
    padding: 0.125em 0;       /* Adjust hlist padding in navboxes */
 
}
ol + table.navbox,
ol + table.navbox,
ul + table.navbox {
ul + table.navbox { margin-top: 0.5em; }
    margin-top: 0.5em;       /* Prevent lists from clinging to navboxes */
 
}
/* ─────────────────────────────────────────────
  NAVBAR
  ───────────────────────────────────────────── */
 
.navbar { display: inline; font-size: 88%; font-weight: normal; }
.navbar ul { display: inline; white-space: nowrap; }
.navbar li { word-spacing: -0.125em; }
.navbar.mini li span { font-variant: small-caps; }
.navbox .navbar { display: block; font-size: 100%; }


/* Default styling for Navbar template */
.navbar {
    display: inline;
    font-size: 88%;
    font-weight: normal;
}
.navbar ul {
    display: inline;
    white-space: nowrap;
}
.navbar li {
    word-spacing: -0.125em;
}
.navbar.mini li span {
  font-variant: small-caps;
}
/* Navbar styling when nested in navbox */
.navbox .navbar {
    display: block;
    font-size: 100%;
}
.navbox-title .navbar {
.navbox-title .navbar {
    /* @noflip */
  float: left; /* @noflip */
    float: left;
  text-align: left; /* @noflip */
    /* @noflip */
  margin-right: 0.5em; /* @noflip */
    text-align: left;
  width: 6em;
    /* @noflip */
    margin-right: 0.5em;
    width: 6em;
}
}


/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
/* ─────────────────────────────────────────────
   in [[MediaWiki:Common.js]] are styled here so they can be customised. */
  COLLAPSIBLE BUTTONS
   ───────────────────────────────────────────── */
 
.collapseButton {
.collapseButton {
    /* @noflip */
  float: right; /* @noflip */
    float: right;
  font-weight: normal;
    font-weight: normal;
  margin-left: 0.5em; /* @noflip */
    /* @noflip */
  text-align: right; /* @noflip */
    margin-left: 0.5em;
  width: auto;
    /* @noflip */
    text-align: right;
    width: auto;
}
/* In navboxes, the show/hide button balances the v·d·e links
  from [[Template:Navbar]], so they need to be the same width. */
.navbox .collapseButton {
    width: 6em;
}
}


/* Styling for JQuery makeCollapsible, matching that of collapseButton */
.navbox .collapseButton { width: 6em; }
 
.mw-collapsible-toggle {
.mw-collapsible-toggle {
    font-weight: normal;
  font-weight: normal;
    /* @noflip */
  text-align: right; /* @noflip */
    text-align: right;
}
.navbox .mw-collapsible-toggle {
    width: 6em;
}
}


/* Infobox template style */
.navbox .mw-collapsible-toggle { width: 6em; }
 
/* ─────────────────────────────────────────────
  INFOBOX
  ───────────────────────────────────────────── */


.infobox {
.infobox {
  border: 1px solid #aaa;
  border: 1px solid #aaa;
  background-color: #f9f9f9;
  background-color: #f9f9f9;
  color: black;
  color: black;
  margin-bottom: 0.5em;
  margin-bottom: 0.5em;
  margin-left: 1em;
  margin-left: 1em;
  padding: 0.2em;
  padding: 0.2em;
  float: right;
  float: right;
  clear: right;
  clear: right;
  max-width: 25em;
}
}
.infobox th{font-size:0.8em;font-weight:bold;}
 
.infobox th { font-size: 0.8em; font-weight: bold; }
 
.infobox td,
.infobox td,
.infobox th {
.infobox th {
  vertical-align: top;
  vertical-align: top;
  border-top: solid 1px #ccd2d9;
  border-top: solid 1px #ccd2d9;
  text-align: left;
  text-align: left;
  padding-left:6px;
  padding-left: 6px;
  font-size:0.9em;
  font-size: 0.9em;
}
.infobox caption {
  font-size: larger;
  margin-left: inherit;
}
.infobox.bordered {
  border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
  border: 1px solid #aaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
  border: 0;
}
 
.infobox.sisterproject {
  width: 20em;
  font-size: 90%;
}
}


@media print {
.infobox caption { font-size: larger; margin-left: inherit; }
 
.infobox.bordered { border-collapse: collapse; }
#stub {display: none;}
.infobox.bordered td, .infobox.bordered th { border: 1px solid #aaa; }
#footer-places { display: none}  
.infobox.bordered .borderless td, .infobox.bordered .borderless th { border: 0; }
 
.infobox.sisterproject { width: 20em; font-size: 90%; }
    .infobox.sisterproject {
        display: none;
    }
}


/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
.infobox.bordered .mergedtoprow th {
  border: 0;
  border: 0;
  border-top: 1px solid #aaa;
  border-top: 1px solid #aaa;
  border-right: 1px solid #aaa;
  border-right: 1px solid #aaa;
}
}


.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
.infobox.bordered .mergedrow th {
  border: 0;
  border: 0;
  border-right: 1px solid #aaa;
  border-right: 1px solid #aaa;
}
}
/* styles for geography infoboxes, e.g. countries, country subdivisions, cities, etc. */


.infobox.geography {
.infobox.geography {
  text-align: left;
  text-align: left;
  border-collapse: collapse;
  border-collapse: collapse;
  line-height: 1.2em;  
  line-height: 1.2em;
  font-size: 90%;
  font-size: 90%;
}
}


.infobox.geography td,
.infobox.geography td,
.infobox.geography th {
.infobox.geography th { border-top: solid 1px #aaa; padding: 0.4em 0.6em; }
  border-top: solid 1px #aaa;
 
  padding: 0.4em 0.6em 0.4em 0.6em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
.infobox.geography .mergedtoprow th {
  border-top: solid 1px #aaa;
  border-top: solid 1px #aaa;
  padding: 0.4em 0.6em 0.2em 0.6em;
  padding: 0.4em 0.6em 0.2em;
}
}


.infobox.geography .mergedrow td,
.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
.infobox.geography .mergedrow th { border: 0; padding: 0 0.6em 0.2em; }
      border: 0;
      padding: 0 0.6em 0.2em 0.6em;
}


.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
.infobox.geography .mergedbottomrow th {
  border-top: 0;
  border-top: 0;
  border-bottom: solid 1px #aaa;
  border-bottom: solid 1px #aaa;
  padding: 0 0.6em 0.4em 0.6em;
  padding: 0 0.6em 0.4em;
}
}


.infobox.geography .maptable td,
.infobox.geography .maptable td,
.infobox.geography .maptable th {
.infobox.geography .maptable th { border: 0; padding: 0; }
      border: 0;
      padding: 0;
}
 
/* Style for "notices" */
.notice {
    margin: 1em;
    padding: 0.2em;
}
 
#disambig {
    background-color:#f4f4f4;
    font-size:90%;
}
 
#spoiler {
    border-top: 2px solid #ddd;
    border-bottom:2px solid #ddd;
}


/* [[പ്രത്യേകം:എല്ലാതാളുകളും]] എന്ന താളിൽ തിരിച്ചുവിടൽ താളുകളുകളുടെ പേര് ചെരിച്ചെഴുതി ഐക്കൺ സഹിതം കാണുവാൻ  Makes redirects appear in italics on [[Special:Allpages]] */
/* ─────────────────────────────────────────────
.allpagesredirect a { background: url(http://upload.wikimedia.org/wikipedia/ml/5/5c/Allpagesredirect.gif) center left no-repeat; padding-left: 13px; }
  NOTICES
.allpagesredirect {background-color:#F0F0F0;font-style: italic;font-size: 90%}
  ───────────────────────────────────────────── */


.notice { margin: 1em; padding: 0.2em; }
#disambig { background-color: #f4f4f4; font-size: 90%; }
#spoiler { border-top: 2px solid #ddd; border-bottom: 2px solid #ddd; }


/* സേവ് കടുപ്പത്തിൽ കാണിക്കുവാൻ */
/* ─────────────────────────────────────────────
#wpSave {
  REDIRECT STYLING (Special:Allpages)
  font-weight: bold;
  ───────────────────────────────────────────── */
}


/* class hiddenStructure is defunct. See [[Wikipedia:hiddenStructure]] */
.allpagesredirect a {
.hiddenStructure {
  background: url(http://upload.wikimedia.org/wikipedia/ml/5/5c/Allpagesredirect.gif) center left no-repeat;
  display: inline ! important;
  padding-left: 13px;
  color: #f00;  
  background-color: #0f0;
}
}
.allpagesredirect { background-color: #f0f0f0; font-style: italic; font-size: 90%; }


/* Removes underlines from links */
/* ─────────────────────────────────────────────
.nounderlines a {
  EDITOR
  text-decoration: none;
  ───────────────────────────────────────────── */
}


/* Remove underline from IPA links */
#wpSave { font-weight: bold; }
.IPA a:link, .IPA a:visited {
#wikiEditor-0-dialog-summary { max-width: 400px; width: 100%; }
  text-decoration: none;
#wpTextbox1 { font-size: 1.2em; }
}
#t-upload { display: none !important; }


/* Removes useless links from printout */
/* ─────────────────────────────────────────────
@media print {
  MISC HELPERS
    #privacy, #about, #disclaimer {display:none;}
  ───────────────────────────────────────────── */
}


#EnWpMpBook { background-image: url(http://upload.wikimedia.org/wikipedia/en/7/7e/MP-open-book.png); }
.hiddenStructure { display: inline !important; color: #f00; background-color: #0f0; }
#EnWpMpSearch { background: url(http://upload.wikimedia.org/wikipedia/en/a/ae/MP-magnifying-glass.png) no-repeat top right; }
.nounderlines a { text-decoration: none; }
#EnWpMpSearchInner { float: right; width: 20em; text-align: center; }
.IPA a:link, .IPA a:visited { text-decoration: none; }
#EnWpMpBook2 { background-image: url(http://upload.wikimedia.org/wikipedia/commons/8/8e/MP-open-book2.png); }
.nowraplinks a { white-space: nowrap; }


.messagebox.small-talk {
.template-documentation {
  width: 238px;
  font-size: 85%;
  float: right;
   clear: both;
   clear: both;
   margin: 0 0 1em 1em;
   margin: 1em 0 0;
   line-height: 1.25em;  
   border: 1px solid #aaa;
   background: #F8EABA;
   background-color: #ecfcf4;
  padding: 5px;
}
}


/* Standard Navigationsleisten, aka box hiding thingy from .de.  Documentation at [[Wikipedia:NavFrame]]. */
/* ─────────────────────────────────────────────
  NAVFRAME
  ───────────────────────────────────────────── */


div.Boxmerge,
div.NavFrame {
div.NavFrame {
        margin: 0px;
  margin: 0;
        padding: 4px;
  padding: 4px;
        border: 1px solid #aaa;
  border: 1px solid #a2a9b1;
        text-align: center;
  text-align: center;
        border-collapse: collapse;
  border-collapse: collapse;
        font-size: 95%;
  font-size: 95%;
}
div.Boxmerge div.NavFrame {
        border-style: none;
        border-style: hidden;
}
div.NavFrame + div.NavFrame {
        border-top-style: none;
        border-top-style: hidden;
}
div.NavPic {
        background-color: #fff;
        margin: 0px;
        padding: 2px;
        float: left;
}
div.NavFrame div.NavHead {
        height: 1.6em;
        font-weight: bold;
        background-color: #ccccff;
        position:relative;
}
div.NavFrame p {
        font-size: 100%;
}
div.NavFrame div.NavContent {
        font-size: 100%;
}
div.NavFrame div.NavContent p {
        font-size: 100%;
}
div.NavEnd {
        margin: 0px;
        padding: 0px;
        line-height: 1px;
        clear: both;
}
a.NavToggle {
        position:absolute;
        top:0px;
        right:3px;
        font-weight:normal;
        font-size:smaller;
}
}


/* Coloured watchlist numbers */
div.NavFrame + div.NavFrame { border-top: none; }
.mw-plusminus-pos {
  color:darkgreen;
}


/* .mw-plusminus-null currently at developer default */
div.NavPic {
 
  background-color: #fff;
.mw-plusminus-neg {
  margin: 0;
   color:darkred;
  padding: 2px;
   float: left; /* @noflip */
}
}


/* Prevents line breaks in links */
div.NavFrame div.NavHead {
.nowraplinks a {
  line-height: 1.6em;
    white-space: nowrap;
  font-weight: bold;
  background-color: #ccf;
  position: relative;
}
}


div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p { font-size: 100%; }


/* For template documentation */
div.NavEnd { margin: 0; padding: 0; line-height: 1px; clear: both; }
.template-documentation {
    clear: both;
    margin: 1em 0 0 0;
    border: 1px solid #aaa;  
    background-color: #ecfcf4;  
    padding: 5px;
}


/* Standard Navigationsleisten, aka box hiding thingy
  from .de.  Documentation at [[Wikipedia:NavFrame]]. */
div.NavFrame {
    margin: 0;
    padding: 4px;
    border: 1px solid #a2a9b1;
    text-align: center;
    border-collapse: collapse;
    font-size: 95%;
}
div.NavFrame + div.NavFrame {
    border-top-style: none;
    border-top-style: hidden;
}
div.NavPic {
    background-color: #fff;
    margin: 0;
    padding: 2px;
    /* @noflip */
    float: left;
}
div.NavFrame div.NavHead {
    line-height: 1.6em;
    font-weight: bold;
    background-color: #ccf;
    position: relative;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
    font-size: 100%;
}
div.NavEnd {
    margin: 0;
    padding: 0;
    line-height: 1px;
    clear: both;
}
a.NavToggle {
a.NavToggle {
    position: absolute;
  position: absolute;
    top: 0;
  top: 0;
    /* @noflip */
  right: 3px; /* @noflip */
    right: 3px;
  font-weight: normal;
    font-weight: normal;
  font-size: 90%;
    font-size: 90%;
}
}


 
/* ─────────────────────────────────────────────
/* Messagebox templates */
  MESSAGEBOX
  ───────────────────────────────────────────── */


.messagebox {
.messagebox {
  border: 1px solid #aaa;
  border: 1px solid #aaa;
  background-color: #f9f9f9;
  background-color: #f9f9f9;
  width: 80%;
  width: 80%;
  margin: 0 auto 1em auto;
  margin: 0 auto 1em;
  padding: .2em;
  padding: 0.2em;
}
.messagebox.merge {
  border: 1px solid #c0b8cc;
  background-color: #f0e5ff;
  text-align: center;
}
.messagebox.cleanup {
  border: 1px solid #9f9fff;
  background-color: #efefff;
  text-align: center;
}
.messagebox.standard-talk {
  border: 1px solid #c0c090;
  background-color: #f8eaba;
}
}
.messagebox.merge { border: 1px solid #c0b8cc; background-color: #f0e5ff; text-align: center; }
.messagebox.cleanup { border: 1px solid #9f9fff; background-color: #efefff; text-align: center; }
.messagebox.standard-talk { border: 1px solid #c0c090; background-color: #f8eaba; }
.messagebox.nested-talk {
.messagebox.nested-talk {
  border: 1px solid #c0c090;
  border: 1px solid #c0c090;
  background-color: #f8eaba;
  background-color: #f8eaba;
  width: 100%;
  width: 100%;
  margin: 2px 4px 2px 4px;
  margin: 2px 4px;
}
}


div.firstBoxes {font-size:1.6em;margin:0.5em 0;text-align:center;font-weight:bold;width:25%;float:left;min-height:200px;}
.messagebox.small-talk {
div.firstBoxes a {font-size:0.7em; line-height:0.8;}
  width: 238px;
#firstHeading {font-weight:700; font-size:2em;padding:22px 12px !important;}
  font-size: 85%;
#wikiEditor-0-dialog-summary {width:400px !important;}
  float: right;
#wpTextbox1 {font-size:1.2em;}
  clear: both;
#t-upload{display:none !important;}
  margin: 0 0 1em 1em;
 
  line-height: 1.25em;
/* For showing the location on top of the page */
  background: #f8eaba;
.location {
    position: absolute;
    top: -50px;
    right: 10px;
}
}


/* SchoolWiki Sitenotice Section */
/* ─────────────────────────────────────────────
  MAIN PAGE BOXES
  ───────────────────────────────────────────── */


.sw-sitenotice-wrapper {
div.firstBoxes {
   padding: 4px;
   font-size: 1.6em;
}
   margin: 0.5em 0;
 
.sw-sitenotice-login {
  background: #ffffcc;
  border: 1px solid #aaa;
  padding: 6px;
   margin-bottom: 6px;
   text-align: center;
   text-align: center;
   font-size: 90%;
   font-weight: bold;
  width: 25%;
  float: left;
  min-height: 200px;
}
}


.sw-login-item {
div.firstBoxes a { font-size: 0.7em; line-height: 0.8; }
  margin: 3px 0;
}


.sw-sitenotice-title {
/* ─────────────────────────────────────────────
  font-size: 120%;
  HEADING & LOCATION
  font-weight: bold;
  ───────────────────────────────────────────── */
  margin-bottom: 6px;
}


.sw-sitenotice-links {
#firstHeading { font-weight: 700; font-size: 2em; padding: 22px 12px !important; }
  font-size: 90%;
  line-height: 1.6;
}


/* Mobile overrides */
.location { position: absolute; top: -50px; right: 10px; }
@media (max-width: 720px) {
  .sw-sitenotice-wrapper {
    padding: 2px;
  }


  .ombox {
/* ─────────────────────────────────────────────
    width: 100% !important;
  WATCHLIST COLORS
  }
  ───────────────────────────────────────────── */


  .sw-sitenotice-title big {
.mw-plusminus-pos { color: darkgreen; }
    font-size: 110%;
.mw-plusminus-neg { color: darkred; }
  }
}


/* ─────────────────────────────────────────────
  PRINT
  ───────────────────────────────────────────── */


/* =========================================================
@media print {
  MOBILE OPTIMIZATION LAYER
  #stub,
  ========================================================= */
  #footer-places,
  #privacy,
  #about,
  #disclaimer { display: none; }


/* Improve base readability on small screens */
  .infobox.sisterproject { display: none; }
@media (max-width: 768px) {
}


  html, body {
/* ─────────────────────────────────────────────
    font-size: 1em !important;
  SITENOTICE
  }
  ───────────────────────────────────────────── */


  p {
.sw-sitenotice-outer {
    font-size: 1em;
  background: #ffffff;
    line-height: 1.7;
  border-bottom: 1px solid #dcdcdc;
  }
}


  #firstHeading {
.sw-sitenotice-grid {
    font-size: 1.5em !important;
  max-width: 1100px;
    padding: 12px !important;
  margin: 0 auto;
   }
  padding: 10px 12px;
   display: grid;
  grid-template-columns: 4fr 1fr;
  gap: 16px;
  align-items: start;
}


  /* Disable problematic floats */
.sw-main-card {
   .infobox,
   display: flex;
   .messagebox.small-talk,
   gap: 14px;
   .location {
   padding: 14px;
    float: none !important;
  border: 2px solid #ff3396;
    margin: 0.5em auto !important;
  border-radius: 12px;
    width: 100% !important;
  background: #ffffff;
    position: static !important;
}
  }


  /* Navigation boxes */
.sw-main-image img { max-width: 64px; height: auto; }
  .navbox,
.sw-main-content { flex: 1; }
  .navbox-inner,
  .navbox-subgroup {
    font-size: 95%;
  }


   /* Tables: prevent overflow */
.sw-main-title {
   table.wikitable,
   font-size: 120%;
   table.prettytable,
   font-weight: 700;
  table.infobox {
   margin-bottom: 6px;
    display: block;
  line-height: 1.3;
    overflow-x: auto;
  border-bottom: 2px solid #aaa;
    width: 100% !important;
}
  }


  /* Remove fixed widths */
.sw-main-links { font-size: 90%; line-height: 1.6; }
  .messagebox {
    width: 100% !important;
  }


   /* Hide non-essential elements on mobile */
.sw-login-box {
   #t-upload {
   background: #fffbd6;
    display: none !important;
   border: 1px solid #e6e0a3;
   }
  padding: 10px 14px;
  border-radius: 12px;
   font-size: 85%;
}
}


/* =========================================================
.sw-login-box div { margin: 6px 0; }
  WIKIMEDIA COMMONS GALLERY (RESPONSIVE)
.sw-login-box a { text-decoration: none; color: #0645ad; display: inline-block; }
  ========================================================= */
.sw-login-box a:hover { text-decoration: underline; }


.commons-gallery {
/* ─────────────────────────────────────────────
  width: 100%;
  COMMONS GALLERY
  margin: 1em 0;
  ───────────────────────────────────────────── */
}
 
.commons-gallery { width: 100%; margin: 1em 0; }


.commons-gallery-grid {
.commons-gallery-grid {
വരി 735: വരി 512:
}
}


.commons-gallery-item {
.commons-gallery-item { margin: 0; }
  margin: 0;
}


.commons-gallery-item img {
.commons-gallery-item img {
വരി 744: വരി 519:
   display: block;
   display: block;
   border-radius: 4px;
   border-radius: 4px;
  cursor: pointer;
}
}


വരി 753: വരി 529:
}
}


/* Extra tightening for very small screens */
/* ─────────────────────────────────────────────
@media (max-width: 480px) {
   COMMONS GALLERY LIGHTBOX
 
   ───────────────────────────────────────────── */
  .commons-gallery-grid {
    gap: 6px;
  }
 
  .commons-gallery-item figcaption {
    font-size: 0.7em;
  }
 
  div.firstBoxes {
    width: 100% !important;
    float: none !important;
    min-height: auto;
  }
}
 
/* =========================================================
   Commons Gallery Lightbox (FULL, ENHANCED)
   ========================================================= */


#commons-lightbox {
#commons-lightbox {
വരി 780: വരി 538:
   display: none;
   display: none;
   z-index: 9999;
   z-index: 9999;
  /* Enhancements */
   user-select: none;
   user-select: none;
   -webkit-user-select: none;
   -webkit-user-select: none;
  -ms-user-select: none;
}
}


#commons-lightbox.active {
#commons-lightbox.active { display: block; }
  display: block;
}


/* Backdrop */
#commons-lightbox .clb-backdrop {
#commons-lightbox .clb-backdrop {
   position: absolute;
   position: absolute;
വരി 798: വരി 550:
}
}


/* Content container */
#commons-lightbox .clb-content {
#commons-lightbox .clb-content {
   position: absolute;
   position: absolute;
വരി 807: വരി 558:
   align-items: center;
   align-items: center;
   padding: 1em;
   padding: 1em;
  pointer-events: none;
}
}


/* Image */
#commons-lightbox .clb-image {
#commons-lightbox .clb-image {
   max-width: 95vw;
   max-width: 95vw;
വരി 815: വരി 566:
   object-fit: contain;
   object-fit: contain;
   display: block;
   display: block;
  pointer-events: auto;
}
}


/* Caption */
#commons-lightbox .clb-caption {
#commons-lightbox .clb-caption {
   color: #ffffff;
   color: #ffffff;
വരി 825: വരി 576:
   line-height: 1.4;
   line-height: 1.4;
   max-width: 90vw;
   max-width: 90vw;
  pointer-events: auto;
}
}


/* Close button */
#commons-lightbox .clb-close {
#commons-lightbox .clb-close {
   position: absolute;
   position: absolute;
   top: 10px;
   top: 10px;
   right: 14px;
   right: 14px;
   font-size: 28px;
   font-size: 2rem;
   color: #ffffff;
   color: #ffffff;
   background: none;
   background: none;
വരി 838: വരി 589:
   cursor: pointer;
   cursor: pointer;
   z-index: 2;
   z-index: 2;
  padding: 8px;
  line-height: 1;
  pointer-events: auto;
}
}


/* Navigation buttons */
#commons-lightbox .clb-prev,
#commons-lightbox .clb-prev,
#commons-lightbox .clb-next {
#commons-lightbox .clb-next {
വരി 846: വരി 599:
   top: 50%;
   top: 50%;
   transform: translateY(-50%);
   transform: translateY(-50%);
   font-size: 36px;
   font-size: 2.25rem;
   color: #ffffff;
   color: #ffffff;
   background: none;
   background: none;
   border: none;
   border: none;
   cursor: pointer;
   cursor: pointer;
   padding: 0 12px;
   padding: 12px;
   z-index: 2;
   z-index: 2;
  pointer-events: auto;
}
}


#commons-lightbox .clb-prev {
#commons-lightbox .clb-prev { left: 10px; }
  left: 10px;
#commons-lightbox .clb-next { right: 10px; }
}
 
#commons-lightbox .clb-next {
  right: 10px;
}


/* Hover feedback (desktop only) */
@media (hover: hover) {
@media (hover: hover) {
   #commons-lightbox .clb-prev:hover,
   #commons-lightbox .clb-prev:hover,
   #commons-lightbox .clb-next:hover,
   #commons-lightbox .clb-next:hover,
   #commons-lightbox .clb-close:hover {
   #commons-lightbox .clb-close:hover { opacity: 0.75; }
    opacity: 0.75;
}
 
/* ═══════════════════════════════════════════════
  RESPONSIVE — MOBILE FIRST
  ═══════════════════════════════════════════════ */
 
/* ── Tablet (≤ 900px) ── */
@media screen and (max-width: 900px) {
  th.navbox-group {
    white-space: normal;
    text-align: left;
  }
 
  div.firstBoxes {
    width: 33%;
    min-height: auto;
   }
   }
}
}


/* Mobile adjustments */
/* ── Mobile (≤ 768px) ── */
@media (max-width: 600px) {
@media screen and (max-width: 768px) {
 
  html, body { font-size: 1em !important; }
  p { font-size: 1em; line-height: 1.7; }
 
  #firstHeading {
    font-size: 1.4em !important;
    padding: 12px 8px !important;
  }
 
  /* Tables: horizontal scroll instead of overflow */
  table.wikitable,
  table.prettytable {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0.5em 0;
  }
 
  /* Infobox: full-width, no float */
  .infobox {
    float: none !important;
    margin: 0.75em auto !important;
    width: 100% !important;
    max-width: 100%;
  }
 
  /* Messageboxes */
  .messagebox {
    width: 100% !important;
    margin: 0.5em 0 !important;
    box-sizing: border-box;
  }
 
  .messagebox.small-talk {
    float: none !important;
    width: 100% !important;
    margin: 0.5em 0 !important;
  }
 
  /* Main-page boxes: 2-column */
  div.firstBoxes {
    width: 50%;
    min-height: auto;
    font-size: 1.3em;
  }
 
  /* Location: remove absolute positioning */
  .location {
    position: static !important;
    top: auto;
    right: auto;
    margin: 0.5em 0;
  }
 
  /* Sitenotice: stack columns */
  .sw-sitenotice-grid { grid-template-columns: 1fr; }
 
  .sw-main-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
 
  .sw-main-image img { max-width: 56px; }
 
  .sw-login-box { text-align: center; font-size: 80%; }
  .sw-login-box div { margin: 4px 0; }
 
  /* Lightbox nav buttons */
   #commons-lightbox .clb-prev,
   #commons-lightbox .clb-prev,
   #commons-lightbox .clb-next {
   #commons-lightbox .clb-next { font-size: 1.75rem; padding: 16px; }
     font-size: 28px;
}
 
/* ── Small Mobile (≤ 480px) ── */
@media screen and (max-width: 480px) {
 
  html, body { font-size: 0.95em !important; }
 
  /* Stack all firstBoxes */
  div.firstBoxes {
    width: 100% !important;
    float: none !important;
    min-height: auto;
     font-size: 1.2em;
    display: block;
   }
   }
}


@media (max-width: 480px) {
  .navbox { font-size: 82%; }
   #commons-lightbox .clb-caption {
 
     font-size: 0.8em;
   .commons-gallery-grid {
     grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 6px;
   }
   }
  .commons-gallery-item figcaption { font-size: 0.7em; }
  #commons-lightbox .clb-caption { font-size: 0.8em; }
}
}

23:25, 29 മേയ് 2026-നു നിലവിലുള്ള രൂപം

/* CSS placed here will be applied to all skins */

/* ─────────────────────────────────────────────
   BASE TYPOGRAPHY
   ───────────────────────────────────────────── */

html, body { font-size: 1.1em !important; }

p {
  font-size: 1.1em;
  line-height: 1.6;
  -webkit-hyphens: auto;
  hyphens: auto;
}

img {
  max-width: 100%;
  height: auto;
}

/* ─────────────────────────────────────────────
   HIDE MAIN PAGE TITLE
   ───────────────────────────────────────────── */

.page-പ്രധാന_താൾ .firstHeading { display: none !important; }
body.page-പ്രധാനതാൾ h1.firstHeading { display: none; }
body.page-പ്രധാനതാൾ #breadcrumbs2 { display: none !important; }

span.Uniq1234 a { color: #fff !important; font-size: 0.9em; font-weight: normal; }

/* ─────────────────────────────────────────────
   SITE HEADER
   ───────────────────────────────────────────── */

.vector-header-container { border-bottom: 3px solid #ccc; }

/* ─────────────────────────────────────────────
   TABLES — wikitable / prettytable
   ───────────────────────────────────────────── */

table.wikitable,
table.prettytable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #aaa solid;
  border-collapse: collapse;
  max-width: 100%;
}

table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
  border: 1px #aaa solid;
  padding: 0.2em;
}

table.wikitable th,
table.prettytable th {
  background: #f2f2f2;
  text-align: center;
}

table.wikitable caption,
table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
  font-weight: bold;
}

/* ─────────────────────────────────────────────
   HORIZONTAL LISTS (hlist)
   ───────────────────────────────────────────── */

.hlist dl, .hlist ol, .hlist ul { margin: 0; }

.hlist dd, .hlist dt, .hlist li {
  display: inline;
  margin: 0;
  white-space: nowrap;
}

.hlist dl dl, .hlist ol ol, .hlist ul ul { display: inline; }

.hlist dd dl, .hlist dt dl, .hlist li ol, .hlist li ul { white-space: normal; }

.hlist dt::after { content: ":"; }

.hlist dd::after,
.hlist li::after { content: " ·"; font-weight: bold; }

.hlist dd:last-child::after,
.hlist dt:last-child::after,
.hlist li:last-child::after { content: none; }

.hlist dl dl dd:first-child::before,
.hlist ol ol li:first-child::before,
.hlist ul ul li:first-child::before { content: "("; }

.hlist dl dl dd:last-child::after,
.hlist ol ol li:last-child::after,
.hlist ul ul li:last-child::after { content: ")"; font-weight: normal; }

.hlist.hnum ol li { counter-increment: level1; }
.hlist.hnum ol li::before { content: counter(level1) " "; }
.hlist.hnum ol ol li { counter-increment: level2; }
.hlist.hnum ol ol li:first-child::before { content: "(" counter(level2) " "; }
.hlist.hnum ol ol li::before { content: counter(level2) " "; }

/* ─────────────────────────────────────────────
   UNBULLETED LISTS
   ───────────────────────────────────────────── */

.plainlist ul { line-height: inherit; list-style: none; margin: 0; }
.plainlist ul li { margin-bottom: 0; }

/* ─────────────────────────────────────────────
   NAVBOX
   ───────────────────────────────────────────── */

.navbox {
  border: 1px solid #aaa;
  width: 100%;
  margin: auto;
  clear: both;
  font-size: 88%;
  text-align: center;
  padding: 1px;
}

.navbox-inner,
.navbox-subgroup { width: 100%; }

.navbox th,
.navbox-title,
.navbox-abovebelow {
  text-align: center;
  padding-left: 1em;
  padding-right: 1em;
}

th.navbox-group {
  white-space: nowrap;
  text-align: right; /* @noflip */
}

.navbox, .navbox-subgroup { background: #fdfdfd; }
.navbox-list { border-color: #fdfdfd; }
.navbox th, .navbox-title { background: #ccccff; }

.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title { background: #ddddff; }

.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow { background: #e6e6ff; }

.navbox-even { background: #f7f7f7; }
.navbox-odd { background: transparent; }

table.navbox + table.navbox { margin-top: -1px; }

.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul { padding: 0.125em 0; }

ol + table.navbox,
ul + table.navbox { margin-top: 0.5em; }

/* ─────────────────────────────────────────────
   NAVBAR
   ───────────────────────────────────────────── */

.navbar { display: inline; font-size: 88%; font-weight: normal; }
.navbar ul { display: inline; white-space: nowrap; }
.navbar li { word-spacing: -0.125em; }
.navbar.mini li span { font-variant: small-caps; }
.navbox .navbar { display: block; font-size: 100%; }

.navbox-title .navbar {
  float: left; /* @noflip */
  text-align: left; /* @noflip */
  margin-right: 0.5em; /* @noflip */
  width: 6em;
}

/* ─────────────────────────────────────────────
   COLLAPSIBLE BUTTONS
   ───────────────────────────────────────────── */

.collapseButton {
  float: right; /* @noflip */
  font-weight: normal;
  margin-left: 0.5em; /* @noflip */
  text-align: right; /* @noflip */
  width: auto;
}

.navbox .collapseButton { width: 6em; }

.mw-collapsible-toggle {
  font-weight: normal;
  text-align: right; /* @noflip */
}

.navbox .mw-collapsible-toggle { width: 6em; }

/* ─────────────────────────────────────────────
   INFOBOX
   ───────────────────────────────────────────── */

.infobox {
  border: 1px solid #aaa;
  background-color: #f9f9f9;
  color: black;
  margin-bottom: 0.5em;
  margin-left: 1em;
  padding: 0.2em;
  float: right;
  clear: right;
  max-width: 25em;
}

.infobox th { font-size: 0.8em; font-weight: bold; }

.infobox td,
.infobox th {
  vertical-align: top;
  border-top: solid 1px #ccd2d9;
  text-align: left;
  padding-left: 6px;
  font-size: 0.9em;
}

.infobox caption { font-size: larger; margin-left: inherit; }
.infobox.bordered { border-collapse: collapse; }
.infobox.bordered td, .infobox.bordered th { border: 1px solid #aaa; }
.infobox.bordered .borderless td, .infobox.bordered .borderless th { border: 0; }
.infobox.sisterproject { width: 20em; font-size: 90%; }

.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
  border: 0;
  border-top: 1px solid #aaa;
  border-right: 1px solid #aaa;
}

.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
  border: 0;
  border-right: 1px solid #aaa;
}

.infobox.geography {
  text-align: left;
  border-collapse: collapse;
  line-height: 1.2em;
  font-size: 90%;
}

.infobox.geography td,
.infobox.geography th { border-top: solid 1px #aaa; padding: 0.4em 0.6em; }

.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
  border-top: solid 1px #aaa;
  padding: 0.4em 0.6em 0.2em;
}

.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th { border: 0; padding: 0 0.6em 0.2em; }

.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
  border-top: 0;
  border-bottom: solid 1px #aaa;
  padding: 0 0.6em 0.4em;
}

.infobox.geography .maptable td,
.infobox.geography .maptable th { border: 0; padding: 0; }

/* ─────────────────────────────────────────────
   NOTICES
   ───────────────────────────────────────────── */

.notice { margin: 1em; padding: 0.2em; }
#disambig { background-color: #f4f4f4; font-size: 90%; }
#spoiler { border-top: 2px solid #ddd; border-bottom: 2px solid #ddd; }

/* ─────────────────────────────────────────────
   REDIRECT STYLING (Special:Allpages)
   ───────────────────────────────────────────── */

.allpagesredirect a {
  background: url(http://upload.wikimedia.org/wikipedia/ml/5/5c/Allpagesredirect.gif) center left no-repeat;
  padding-left: 13px;
}
.allpagesredirect { background-color: #f0f0f0; font-style: italic; font-size: 90%; }

/* ─────────────────────────────────────────────
   EDITOR
   ───────────────────────────────────────────── */

#wpSave { font-weight: bold; }
#wikiEditor-0-dialog-summary { max-width: 400px; width: 100%; }
#wpTextbox1 { font-size: 1.2em; }
#t-upload { display: none !important; }

/* ─────────────────────────────────────────────
   MISC HELPERS
   ───────────────────────────────────────────── */

.hiddenStructure { display: inline !important; color: #f00; background-color: #0f0; }
.nounderlines a { text-decoration: none; }
.IPA a:link, .IPA a:visited { text-decoration: none; }
.nowraplinks a { white-space: nowrap; }

.template-documentation {
  clear: both;
  margin: 1em 0 0;
  border: 1px solid #aaa;
  background-color: #ecfcf4;
  padding: 5px;
}

/* ─────────────────────────────────────────────
   NAVFRAME
   ───────────────────────────────────────────── */

div.NavFrame {
  margin: 0;
  padding: 4px;
  border: 1px solid #a2a9b1;
  text-align: center;
  border-collapse: collapse;
  font-size: 95%;
}

div.NavFrame + div.NavFrame { border-top: none; }

div.NavPic {
  background-color: #fff;
  margin: 0;
  padding: 2px;
  float: left; /* @noflip */
}

div.NavFrame div.NavHead {
  line-height: 1.6em;
  font-weight: bold;
  background-color: #ccf;
  position: relative;
}

div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p { font-size: 100%; }

div.NavEnd { margin: 0; padding: 0; line-height: 1px; clear: both; }

a.NavToggle {
  position: absolute;
  top: 0;
  right: 3px; /* @noflip */
  font-weight: normal;
  font-size: 90%;
}

/* ─────────────────────────────────────────────
   MESSAGEBOX
   ───────────────────────────────────────────── */

.messagebox {
  border: 1px solid #aaa;
  background-color: #f9f9f9;
  width: 80%;
  margin: 0 auto 1em;
  padding: 0.2em;
}

.messagebox.merge { border: 1px solid #c0b8cc; background-color: #f0e5ff; text-align: center; }
.messagebox.cleanup { border: 1px solid #9f9fff; background-color: #efefff; text-align: center; }
.messagebox.standard-talk { border: 1px solid #c0c090; background-color: #f8eaba; }

.messagebox.nested-talk {
  border: 1px solid #c0c090;
  background-color: #f8eaba;
  width: 100%;
  margin: 2px 4px;
}

.messagebox.small-talk {
  width: 238px;
  font-size: 85%;
  float: right;
  clear: both;
  margin: 0 0 1em 1em;
  line-height: 1.25em;
  background: #f8eaba;
}

/* ─────────────────────────────────────────────
   MAIN PAGE BOXES
   ───────────────────────────────────────────── */

div.firstBoxes {
  font-size: 1.6em;
  margin: 0.5em 0;
  text-align: center;
  font-weight: bold;
  width: 25%;
  float: left;
  min-height: 200px;
}

div.firstBoxes a { font-size: 0.7em; line-height: 0.8; }

/* ─────────────────────────────────────────────
   HEADING & LOCATION
   ───────────────────────────────────────────── */

#firstHeading { font-weight: 700; font-size: 2em; padding: 22px 12px !important; }

.location { position: absolute; top: -50px; right: 10px; }

/* ─────────────────────────────────────────────
   WATCHLIST COLORS
   ───────────────────────────────────────────── */

.mw-plusminus-pos { color: darkgreen; }
.mw-plusminus-neg { color: darkred; }

/* ─────────────────────────────────────────────
   PRINT
   ───────────────────────────────────────────── */

@media print {
  #stub,
  #footer-places,
  #privacy,
  #about,
  #disclaimer { display: none; }

  .infobox.sisterproject { display: none; }
}

/* ─────────────────────────────────────────────
   SITENOTICE
   ───────────────────────────────────────────── */

.sw-sitenotice-outer {
  background: #ffffff;
  border-bottom: 1px solid #dcdcdc;
}

.sw-sitenotice-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 4fr 1fr;
  gap: 16px;
  align-items: start;
}

.sw-main-card {
  display: flex;
  gap: 14px;
  padding: 14px;
  border: 2px solid #ff3396;
  border-radius: 12px;
  background: #ffffff;
}

.sw-main-image img { max-width: 64px; height: auto; }
.sw-main-content { flex: 1; }

.sw-main-title {
  font-size: 120%;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
  border-bottom: 2px solid #aaa;
}

.sw-main-links { font-size: 90%; line-height: 1.6; }

.sw-login-box {
  background: #fffbd6;
  border: 1px solid #e6e0a3;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 85%;
}

.sw-login-box div { margin: 6px 0; }
.sw-login-box a { text-decoration: none; color: #0645ad; display: inline-block; }
.sw-login-box a:hover { text-decoration: underline; }

/* ─────────────────────────────────────────────
   COMMONS GALLERY
   ───────────────────────────────────────────── */

.commons-gallery { width: 100%; margin: 1em 0; }

.commons-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
}

.commons-gallery-item { margin: 0; }

.commons-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  cursor: pointer;
}

.commons-gallery-item figcaption {
  font-size: 0.75em;
  line-height: 1.3;
  text-align: center;
  padding-top: 4px;
}

/* ─────────────────────────────────────────────
   COMMONS GALLERY LIGHTBOX
   ───────────────────────────────────────────── */

#commons-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
  user-select: none;
  -webkit-user-select: none;
}

#commons-lightbox.active { display: block; }

#commons-lightbox .clb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

#commons-lightbox .clb-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1em;
  pointer-events: none;
}

#commons-lightbox .clb-image {
  max-width: 95vw;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  pointer-events: auto;
}

#commons-lightbox .clb-caption {
  color: #ffffff;
  font-size: 0.85em;
  text-align: center;
  margin-top: 0.5em;
  line-height: 1.4;
  max-width: 90vw;
  pointer-events: auto;
}

#commons-lightbox .clb-close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 2rem;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
  padding: 8px;
  line-height: 1;
  pointer-events: auto;
}

#commons-lightbox .clb-prev,
#commons-lightbox .clb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.25rem;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  z-index: 2;
  pointer-events: auto;
}

#commons-lightbox .clb-prev { left: 10px; }
#commons-lightbox .clb-next { right: 10px; }

@media (hover: hover) {
  #commons-lightbox .clb-prev:hover,
  #commons-lightbox .clb-next:hover,
  #commons-lightbox .clb-close:hover { opacity: 0.75; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — MOBILE FIRST
   ═══════════════════════════════════════════════ */

/* ── Tablet (≤ 900px) ── */
@media screen and (max-width: 900px) {
  th.navbox-group {
    white-space: normal;
    text-align: left;
  }

  div.firstBoxes {
    width: 33%;
    min-height: auto;
  }
}

/* ── Mobile (≤ 768px) ── */
@media screen and (max-width: 768px) {

  html, body { font-size: 1em !important; }
  p { font-size: 1em; line-height: 1.7; }

  #firstHeading {
    font-size: 1.4em !important;
    padding: 12px 8px !important;
  }

  /* Tables: horizontal scroll instead of overflow */
  table.wikitable,
  table.prettytable {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0.5em 0;
  }

  /* Infobox: full-width, no float */
  .infobox {
    float: none !important;
    margin: 0.75em auto !important;
    width: 100% !important;
    max-width: 100%;
  }

  /* Messageboxes */
  .messagebox {
    width: 100% !important;
    margin: 0.5em 0 !important;
    box-sizing: border-box;
  }

  .messagebox.small-talk {
    float: none !important;
    width: 100% !important;
    margin: 0.5em 0 !important;
  }

  /* Main-page boxes: 2-column */
  div.firstBoxes {
    width: 50%;
    min-height: auto;
    font-size: 1.3em;
  }

  /* Location: remove absolute positioning */
  .location {
    position: static !important;
    top: auto;
    right: auto;
    margin: 0.5em 0;
  }

  /* Sitenotice: stack columns */
  .sw-sitenotice-grid { grid-template-columns: 1fr; }

  .sw-main-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sw-main-image img { max-width: 56px; }

  .sw-login-box { text-align: center; font-size: 80%; }
  .sw-login-box div { margin: 4px 0; }

  /* Lightbox nav buttons */
  #commons-lightbox .clb-prev,
  #commons-lightbox .clb-next { font-size: 1.75rem; padding: 16px; }
}

/* ── Small Mobile (≤ 480px) ── */
@media screen and (max-width: 480px) {

  html, body { font-size: 0.95em !important; }

  /* Stack all firstBoxes */
  div.firstBoxes {
    width: 100% !important;
    float: none !important;
    min-height: auto;
    font-size: 1.2em;
    display: block;
  }

  .navbox { font-size: 82%; }

  .commons-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 6px;
  }

  .commons-gallery-item figcaption { font-size: 0.7em; }
  #commons-lightbox .clb-caption { font-size: 0.8em; }
}
"https://schoolwiki.in/index.php?title=മീഡിയവിക്കി:Common.css&oldid=2989106" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്