WikiLerni/front/public/themes/wikilerni/css/home.css

131 lines
2.1 KiB
CSS

#home
{width: 50%;
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);}
#home h1,
#home h2
{text-align: center;}
#home p
{margin-left:1em;
margin-right: 1em;}
#home form
{border-top: 1px solid rgba(0, 0, 0, 0.5);
border-bottom: 1px solid rgba(0, 0, 0, 0.5);
box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.5), 0px 1px 0px rgba(255, 255, 255, 0.5);
width: 80%;
margin: auto;
padding-bottom: 1em;
display: block;
padding-top: 1em;
text-align: center;
margin-bottom: 1em;}
#home form input[type=text]
{width: calc(66% - 20px);
margin-right: 1%;}
#home form input[type=submit]
{width: 32%;}
#home form input[type=submit]
{width: 32%;}
#home form .line
{
margin-top:0.5em;
width: 100%;
}
#logo
{width: 33%;
margin: auto;
display: block;}
#home .error, #home .info, #home .success
{
margin: 1em;
width: auto;
border-radius: 5px;
}
/* Les colonnes de l'enfer ! */
#triple-column
{
width: 95%;
margin: auto;
margin-top: 1em;
}
.column-1,
.column-2,
.column-3
{
float: left;
width: 32%;
margin-bottom: 1em;
}
.column-1, .column-2
{
margin-right: 1.33%;
}
.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: left;
}
.quiz p:last-child
{
text-align: center;
}
.quiz-image-wrapper
{
width: 95%;
background-size: cover;
background-repeat: no-repeat;
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);
margin: auto;
}
.quiz-image-wrapper img
{
opacity: 0;
width: 100%;
}
nav#pagination
{
clear:both;
display:flex;
flex-wrap: wrap;
margin:0.5em;
}
nav#pagination div
{
flex: 0 0 50%;
text-align:center;
}