Difference between revisions of "MediaWiki:Mobile.css"

From Virtual Reality, Augmented Reality Wiki
Jump to: navigation, search
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
/* CSS placed here will affect users of the mobile site */
 
/* CSS placed here will affect users of the mobile site */
 +
 +
 +
/* center the infobox on mobile */
 +
table.infobox tr th{
 +
  text-align:center!important;
 +
}
 +
 +
/* give some padding to the infobox field names on mobile */
 +
table.infobox tr td:nth-child(1) {
 +
  padding: 5px!important;
 +
  padding-left: 10px!important;
 +
  padding-right: 10px!important;
 +
}
 +
 +
/*Remove the empty space from below the infobox */
 +
table.infobox {
 +
  margin-bottom: 0px!important;
 +
}
 +
 
table.sweet1 td{
 
table.sweet1 td{
 
   border: 1px solid white;
 
   border: 1px solid white;

Latest revision as of 02:48, 15 September 2023

/* CSS placed here will affect users of the mobile site */


/* center the infobox on mobile */
table.infobox tr th{
   text-align:center!important;
}

/* give some padding to the infobox field names on mobile */
table.infobox tr td:nth-child(1) {
  padding: 5px!important;
  padding-left: 10px!important;
  padding-right: 10px!important;
}

/*Remove the empty space from below the infobox */
table.infobox {
  margin-bottom: 0px!important;
}

table.sweet1 td{
  border: 1px solid white;

}

.XinReality1 {
    background:#939aa4;
    background:linear-gradient(to bottom, #939aa4 0%, #bbc2ca  100%);
}
 
.XinReality2 {
    background:#254b72;
    background:linear-gradient(to bottom, #254b72 0%, #6f97b0  100%);
}
 
.XinReality3 {
    background:#eab267;
    background:linear-gradient(to bottom, #e5a145 0%, #f8d281  100%);
}
 
p.white {
   color:#FFFFFF;
}

.superheader {
    border: 3px double #bbc2ca;
    padding: 7px;
}

table.sweet1 {
  margin: 0 0 0 0;

}

/* Stub template style */
.stub {
    margin: 1px;
    text-align: center;
    border-collapse: collapse;
    border: 1px solid #aaa;
    background: #DFE8FF;
}

/*we don't want disqus on the main page*/
.page-Main_Page #disqus-wrapper {
    display:none!important;
}

/*Show only mobile ad code on mobile*/
.nomobile{
display:none!important;
}