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

219 lines
3.1 KiB
CSS

/*//////////////////////////////////////////////////////////////////
[ CANDIDATURES ]*/
.content_title
{
text-align: center;
margin: 10px;
font-size:calc(30px + 1vw);
font-weight: bold;
}
.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;
}
.heart1,
.heart2
{
position: absolute;
right: 0;
top: 0;
margin: 10px;
font-size: 0.75em;
cursor: pointer;
}
.heart-hidden
{
display: none;
}
.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
{
display: flex;
flex-flow: row wrap;
justify-content: center;
font-size: 1.25em;
padding: 0 10px 20px 10px;
}
.bubble .divLeft,
.bubble .divRight
{
width: 50%;
}
.bubble .divLeft .title_in_bubble
{
font-size: 1.25em;
font-weight: bold;
margin-bottom: 10px;
}
.bubble .divLeft .title_in_bubble_status
{
font-size: 1em;
font-weight: bold;
margin-bottom: 10px;
}
.bubble .divLeft .text_stat
{
margin-bottom: 10px;
}
.bubble .divRight
{
text-align: left;
}
.bubble .table_title
{
margin: 0 0 10px 45px;
}
.bubble .divRight table
{
margin-left: 50px;
}
.bubble .divRight table td
{
padding: 0 10px 8px 0;
}
.bubble .divLeft .description
{
display: block;
height: auto;
margin: 10px;
padding: 15px;
background-color: lightgray;
border-radius: 20px;
}
.table-container {
display: block;
width: 85%;
max-width: 900px;
margin-left: auto;
margin-right: auto;
}
.flex-table {
display: flex;
flex-flow: row wrap;
}
.flex-row {
width: calc(100% / 4);
text-align: center;
padding: 0.2em 0.2em;
}
.flex-table .name
{
text-align: center;
}
.flex-table .value
{
text-align: center;
}
.bubble .button
{
width: 130px;
height: 40px;
margin-right: 10px;
margin-top: 5px;
font-size: 1em;
}
/*//////////////////////////////////////////////////////////////////
[ Responsive ]*/
@media screen and (max-width: 1200px)
{
.table-container {
width: 100%;
}
}
@media screen and (max-width: 1100px)
{
.table-container {
width: 80%;
}
.flex-row {
width: calc(100% / 2);
}
}
@media screen and (max-width: 900px)
{
.bubble
{
margin: 30px 5px 30px 5px;
}
.table-container {
width: 60%;
}
}
@media screen and (max-width: 500px) {
.table-container {
width: 80%;
}
.flex-row {
width: 100%;
}
.flex-table .name
{
text-align: left;
font-weight: bold ;
}
.flex-table .value
{
text-align: center;
}
.bubble .divLeft,
.bubble .divRight
{
width: 100%;
}
}