WikiLerni/front/public/themes/wikilerni/css/list-mobile.css

177 lines
2.4 KiB
CSS
Raw Normal View History

#prompt
{
width: 80%;
margin: auto;
border-radius: 5px;
box-shadow: 0px 0px 5px black;
margin-top: -1.5em;
padding-top: 1.5em;
background-color: #FF8800;
border-bottom: 1px solid rgba(0, 0, 0, 0.75);
}
#prompt h1
{
text-align: center;
width: 105%;
background-color: #FF8800;
margin-left: -2.5%;
box-shadow: 0px 0px 5px black;
border-radius: 5px;
border-top: 1px solid rgba(255,255,255,0.5);
border-bottom: 1px solid rgba(0,0,0,0.75);
padding-top: 0.25em;
padding-bottom: 0.25em;
}
#prompt img
{
width: 50%;
margin: auto;
display: block;
}
#prompt h2, h3
{
text-align: center;
font-size: 1.4em;
}
#prompt p
{
text-align: center;
line-height: 1.5em;
font-size: 1.2em;
}
span.postscriptum
{
font-style:italic;
font-size:13px;
}
#explanations img
{
width:inherit;
margin: 0;
}
#zerozozio
{
margin:1em;
text-align:right;
}
#zerozozio a, span
{
padding:0 0.3em;
}
/* Sur tablette la troisième colonne vient se placer en dessous de la première ou de la deuxième (la plus courte des deux) */
#triple-column
{
width: 90%;
margin: auto;
margin-top: 1em;
}
.column-1, .column-3, .column-2
{
width: 48%;
float: left;
margin-left:1.5%;
}
.quiz
{
width: 100%;
margin-bottom: 1em;
background-color: #FF8800;
border-radius: 5px;
border-top: 1px solid rgba(255,255,255,0.66);
border-bottom: 1px solid rgba(0,0,0,0.66);
box-shadow: 0px 0px 5px black;
}
.quiz h3
{
text-align: center;
margin: 1em;
}
.quiz p
{
margin: 2em;
text-align: justify;
}
.quiz p:last-child
{
text-align: center;
}
.quiz-image-wrapper
{
width: 95%;
background-size: cover;
border-radius: 5px;
border-top: 1px solid rgba(0,0,0,0.66);
border-bottom: 1px solid rgba(255,255,255,0.66);
box-shadow: inset 0px 5px 5px rgba(0,0,0,0.33);
background-repeat: no-repeat;
margin: auto;
}
.quiz-image-wrapper img
{
opacity: 0;
width: 100%;
}
h3
{
clear:both;
}
nav#pagination, nav#tagsList
{
clear:both;
display:flex;
flex-wrap: wrap;
margin:0.5em;
}
nav#pagination div
{
flex: 0 0 50%;
text-align:center;
}
nav#tagsList div
{
flex: 0 0 33%;
margin: 1em;
text-align:center;
}
@media screen and (max-width: 520px)
{
/* Sur mobile, les colonnes se placent les unes sous les autres */
#triple-column
{
display: block;
width: 80%;
margin: auto;
margin-top: 1em;
}
.column-1, .column-2, .column-3
{
width: 98%;
float: left;
margin-right: 1%;
}
nav#pagination div, nav#tagsList div
{
flex: 0 0 90%;
margin: 1em;
}
#prompt a.button
{
font-size:11px;
}
}