MediaWiki:Mobile.css: Difference between revisions

m
(Sync with Common.css)
m (Sync with MediaWiki:Common.css)
 
(4 intermediate revisions by the same user not shown)
Line 35: Line 35:
.mw-body h1, .mw-body h2 {
.mw-body h1, .mw-body h2 {
   font-family: "Baloo2", sans-serif;
   font-family: "Baloo2", sans-serif;
  font-weight: 500;
  border-bottom: 2px solid #000000b0;
}
}


Line 44: Line 46:


.infobox {
.infobox {
   width: 256px;
   width: 272px;
   background-color: #f9f9f9;
   background-color: #f9f9f9;
   border: 2px solid #808080;
   border: 2px solid #808080 !important; /* This flag is set to make the boxes appear consistent across all skins */
   border-radius: 10px;
   border-radius: 10px;
  box-sizing: border-box;
   box-shadow: 0px -6px #0004 inset;
   box-shadow: 0px -6px #0004 inset;
   padding: 0.4em 0.4em 1em;
   padding: 0.4em 0.4em 1em;
Line 77: Line 80:


.infobox-table {
.infobox-table {
  display: table !important;
   width: 100%;
   width: 100%;
   border-collapse: collapse;
   border-collapse: collapse;
Line 91: Line 95:
.infobox-row td {
.infobox-row td {
   padding: 2px 5px;
   padding: 2px 5px;
   border-bottom: 1px solid #f2f2f2;
   border-bottom: 1px solid #bdbdbd; /* Color slightly differs on mobile */
}
}