Difference between revisions of "MediaWiki:Mobile.css"
From PlantUse English
Maëva Rouxel (Talk | contribs) |
(http/https: general solution trimming of protocol (http or https) of //URL) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | /* 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; | 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; | ||
} | } |
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;
}