2022-03-30 08:53:45 +02:00

125 lines
2.1 KiB
CSS

/*//////////////////////////////////////////////////////////////////
[ FONT ]*/
@font-face {
font-family: Kano;
src: url('../fonts/Fredoka-Regular.ttf');
}
/*//////////////////////////////////////////////////////////////////
[ ACCUEIL ]*/
*
{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Kano, sans-serif;
}
:root
{
--black3: #e6e6e6;
--blue1: #4272a0;
--blue2: #5393ce;
}
.bubble {
position: relative;
text-align: center;
margin: 30px;
background-color: var(--black3);
border-radius: 20px;
}
.title_bubble {
position: relative;
display: block;
padding: 10px;
font-size: 2em;
font-weight: bold;
}
.bubble img {
width: 100%;
height: 100%;
border-radius: 20px;
}
.bubble .centered {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size:calc(12px + 2vw);
font-weight: bold;
color: white;
width: 100%;
}
.bubble .text_content {
text-align: center;
font-size: 1.25em;
padding: 0 10px 20px 10px;
}
.btnvoir {
display: block;
background-color: var(--blue1);
border-radius: 10px;
border: 4px double #cccccc;
color: var(--black1);
text-align: center;
font-size: 21px;
padding: 10px;
width: 250px;
transition: all 0.5s;
cursor: pointer;
margin: 5px;
position: relative;
bottom: 0;
margin-left: auto;
margin-right: auto;
margin-bottom: 20px;
}
.btnvoir span {
cursor: pointer;
display: inline-block;
position: relative;
transition: 0.5s;
}
.btnvoir span:after {
content: "\00bb";
position: absolute;
opacity: 0;
top: 0;
right: -20px;
transition: 0.5s;
}
.btnvoir:hover {
background-color: var(--blue2);
}
.btnvoir:hover span {
padding-right: 25px;
}
.btnvoir:hover span:after {
opacity: 1;
right: 0;
}
/*//////////////////////////////////////////////////////////////////
[ Responsive ]*/
@media screen and (max-width: 900px)
{
.bubble
{
margin: 30px 5px 30px 5px;
}
}