MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 1,039: Line 1,039:
body.page-My_wiki_About #se-docnav-btn,
body.page-My_wiki_About #se-docnav-btn,
body.page-My_wiki_About #gr-static-bar { display: none; }
body.page-My_wiki_About #gr-static-bar { display: none; }


/* Welcome Page */
/* Welcome Page */
Line 2,335: Line 2,334:
.gr-mob-item {
.gr-mob-item {
   display: flex; align-items: center; width: 100%; box-sizing: border-box; margin: 0;
   display: flex; align-items: center; width: 100%; box-sizing: border-box; margin: 0;
   padding: 15px 20px; border-bottom: 1px solid #f0ebe6; background: #fff;
   padding: 15px 20px; border-bottom: 1px solid #f0ebe6; border-left: 3px solid transparent; background: #fff;
   font-size: 16px; font-family: system-ui, sans-serif; color: #2c1810 !important;
   font-size: 16px; font-family: system-ui, sans-serif; color: #2c1810 !important;
   text-decoration: none !important;
   text-decoration: none !important;
}
}
.gr-mob-item.is-current { border-left-color: #c0392b; background: #fdf8f5; color: #c0392b !important; font-weight: 600; }
#gr-header-user-menu a.is-current { background: #f5efe9; font-weight: 600; }


/* Updates page (My_wiki:Updates) */
/* Updates page (My_wiki:Updates) */
Line 2,357: Line 2,358:
.gr-upd-group:first-child { margin-top: 8px; }
.gr-upd-group:first-child { margin-top: 8px; }
.gr-upd-list {
.gr-upd-list {
   list-style: none; margin: 0 !important; padding: 0;
   margin: 0; padding: 0;
   background: #fff; border: 1px solid #efe4df; border-radius: 10px; overflow: hidden;
   background: #fff; border: 1px solid #efe4df; border-radius: 10px; overflow: hidden;
   box-shadow: 0 1px 3px rgba(60, 20, 10, 0.06);
   box-shadow: 0 1px 3px rgba(60, 20, 10, 0.06);
}
}
.gr-upd-item {
.gr-upd-item {
   display: flex; align-items: baseline; gap: 16px; list-style: none;
   display: flex; align-items: baseline; gap: 16px;
   margin: 0; padding: 12px 18px; border-top: 1px solid #f6efec; border-left: 3px solid transparent;
   margin: 0; padding: 12px 18px; border-top: 1px solid #f6efec; border-left: 3px solid transparent;
}
}
Line 2,370: Line 2,371:
.gr-upd-main { flex: 1; min-width: 0; }
.gr-upd-main { flex: 1; min-width: 0; }
.gr-upd-title {
.gr-upd-title {
   font-family: 'Adishila', 'Noto Serif Devanagari', serif; font-size: 1.05em; font-weight: 600; line-height: 1.45;
   font-family: 'Adishila', 'Noto Serif Devanagari', serif; font-size: 1em; font-weight: 600; line-height: 1.45;
   color: #c0392b !important; text-decoration: none !important; overflow-wrap: anywhere;
   color: #c0392b !important; text-decoration: none !important; overflow-wrap: anywhere;
}
}
Line 2,414: Line 2,415:
   .gr-bulletin { order: -1; }  /* announcements first on small screens */
   .gr-bulletin { order: -1; }  /* announcements first on small screens */
}
}
.skin-minerva .gr-upd-item { padding: 12px 14px; gap: 10px; }
/* Phones: title on its own line, tag + date underneath */
.skin-minerva .gr-upd-date { font-size: 12px; }
@media (max-width: 600px) {
  .gr-updates-intro { font-size: 14px; margin-bottom: 18px; }
  .gr-upd-item { flex-direction: column; align-items: stretch; gap: 2px; padding: 11px 14px; }
  .gr-upd-title { font-size: 0.9em; }
  .gr-upd-date { font-size: 12px; }
  .gr-bulletin-heading { padding: 10px 14px; }
  .gr-bulletin-item { padding: 12px 14px; }
}
 
/* Minerva menu panel: our list replaces the skin's; the skin's lists are
  kept (hidden) because Minerva's own script looks them up. */
#mw-mf-page-left > .gr-mf-native-menu { display: none !important; }
.gr-mob-menu { width: 100%; margin-top: 8px; background: #fff; }