Difference between revisions of "MediaWiki:Mobile.css"

From PlantUse English
Jump to: navigation, search
(http/https: general solution trimming of protocol (http or https) of //URL)
 
Line 29: Line 29:
 
.Blue
 
.Blue
 
{
 
{
   background-image: url(http://species-id.net/o/thumb.php?f=Blue-bg_rounded.svg&width=700);
+
   background-image: url(//species-id.net/o/thumb.php?f=Blue-bg_rounded.svg&width=700);
 
   background-repeat: repeat-y;
 
   background-repeat: repeat-y;
 
}
 
}
Line 35: Line 35:
 
.Orange
 
.Orange
 
{
 
{
   background-image: url(http://species-id.net/o/thumb.php?f=Orange-bg_rounded.svg&width=850);
+
   background-image: url(//species-id.net/o/thumb.php?f=Orange-bg_rounded.svg&width=850);
 
   background-repeat: repeat-y;
 
   background-repeat: repeat-y;
 
}
 
}
Line 41: Line 41:
 
.Green
 
.Green
 
{
 
{
   background-image: url(http://species-id.net/o/thumb.php?f=green-bg_rounded.svg&width=700);
+
   background-image: url(//species-id.net/o/thumb.php?f=green-bg_rounded.svg&width=700);
 
   background-repeat: repeat-y;
 
   background-repeat: repeat-y;
 
}
 
}
Line 47: Line 47:
 
.green
 
.green
 
{
 
{
   background-image: url(http://species-id.net/o/thumb.php?f=green-bg_rounded.svg&width=500);
+
   background-image: url(//species-id.net/o/thumb.php?f=green-bg_rounded.svg&width=500);
 
   background-repeat: repeat-y;
 
   background-repeat: repeat-y;
 
}
 
}
Line 53: Line 53:
 
.purple
 
.purple
 
{
 
{
   background-image: url(http://species-id.net/o/thumb.php?f=purple-bg_rounded.svg&width=700);
+
   background-image: url(//species-id.net/o/thumb.php?f=purple-bg_rounded.svg&width=700);
 
   background-repeat: repeat-y;
 
   background-repeat: repeat-y;
 
}
 
}

Latest revision as of 17:11, 12 November 2018

/* Le CSS placé ici n’affectera que les utilisateurs du site mobile */

.cadre .titre {
        text-align:center; 
        position:relative; 
        left:2px; top:2px; 
        margin:1;
}

.cadre .cadre_contenu {
        text-align:center; 
}

.cadre-titre
{
       padding : 1em;
}

table.usages > * > tr > td
{
  padding: 0 5px 0 5px;
}

#bodyContent > div > div:nth-child(5) {
  display : none;

}

.Blue
{
  background-image: url(//species-id.net/o/thumb.php?f=Blue-bg_rounded.svg&width=700);
  background-repeat: repeat-y;
}

.Orange
{
  background-image: url(//species-id.net/o/thumb.php?f=Orange-bg_rounded.svg&width=850);
  background-repeat: repeat-y;
}

.Green
{
  background-image: url(//species-id.net/o/thumb.php?f=green-bg_rounded.svg&width=700);
  background-repeat: repeat-y;
}

.green
{
  background-image: url(//species-id.net/o/thumb.php?f=green-bg_rounded.svg&width=500);
  background-repeat: repeat-y;
}

.purple
{
  background-image: url(//species-id.net/o/thumb.php?f=purple-bg_rounded.svg&width=700);
  background-repeat: repeat-y;
}