MediaWiki:Mobile.css: Difference between revisions

Mostly sync with MediaWiki:Common.css
m (Mobile css. This needs to be cleaned up, removing anything not used in mobile.)
(Mostly sync with MediaWiki:Common.css)
Tags: Mobile edit Mobile web edit
Line 1: Line 1:
/* Create a class for GR Sidebar tables */
.sidebar {
padding:2px;
width:max-content;
margin-left:10px;
border-spacing:0px;
border:1px solid gray;
position:relative;
background:white;
}
.sidebar p {
line-height: 1em;
}
.sidebar-heading {
text-align:center;
background: #DCDAD1;
font-size:12pt;
}
/* Create a blue gradient */
.gradient {
padding-left:20px;
padding-right:20px;
margin-left:-20px;
margin-right:-20px;
background: linear-gradient(to bottom, White 35%,  #9EB4F9 100%);
}
/* The following readjusts the popup box that appears when hovering over links in GuidedResearch.  */
.tooltip .tooltiptext {
    left: unset;
    width: max-content;
}
/* Override Bootstrap's definition of container for the FAQ Pages */
#FAQPage.container {
margin-left: 0;
}
/* Bootstrap overrides */
legend {
width: auto;
}
.tooltip {
opacity:100 !important;
}
table {
border-collapse: separate;
}
caption {
caption-side: top;
}
th {
text-align: center;
}
/* end Bootstrap overrides */
  /* landing page mobile specific features */
  /* landing page mobile specific features */
  .map-mobile {
  .map-mobile {
Line 17: Line 76:
.tooltip .tooltiptext {
.tooltip .tooltiptext {
     left: unset;
     left: unset;
    width: max-content;
}
}


Line 159: Line 219:
     text-align:center;
     text-align:center;
}
}
.search-mobile {
  display:none !important;
  }
.map-mobile {
  display:none;
  }
/* use id="mobileonly" in order to remove items that
  should not be visible in mobile view. 
  Note: id="nomobile" is defined in
  Mobile.css - use this eliminate mobile items. */
  .mobileonly {
    display:none;
  }


.searchboxContainer {
.searchboxContainer {
53,890

edits