Ramlaoui's picture
More responsive
901176a
raw
history blame
1.92 kB
h1 {
font-size: 24px;
font-weight: 700;
color: #333;
}
.body {
background-color: #4a4a4a;
}
.header-container {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
padding: 20px;
margin-bottom: 20px;
}
.container {
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
border-radius: 10px;
background-color: rgb(249, 249, 249);
padding: 20px;
margin-left: 10px;
margin-right: 10px;
max-height: 600px;
justify-content: center;
}
.container-visu {
width: 45%;
align-items: center;
}
.container-table {
width: 50%;
align-items: center;
overflow: auto;
}
/* remove background in periodical table */
.periodic-table {
background-color: transparent;
box-shadow: none;
}
.container-row {
width: 100%;
display: flex;
flex-direction: row;
justify-content: space-between;
padding: 10px;
margin-bottom: 10px;
margin-top: 10px;
}
.container-row-periodic {
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
}
.container-col {
width: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 10px;
margin-bottom: 10px;
margin-top: 10px;
}
body {
font-family: "Arial", sans-serif;
font-size: 16px;
}
@media (max-width: 800px) {
.container {
width: 100%;
margin: 5px;
margin-top: 10px;
margin-bottom: 10px;
}
.container-row {
flex-direction: column;
}
.container-row-periodic {
flex-direction: column;
}
.container-visu {
width: 100%;
}
.container-table {
width: 100%;
}
}
@media (max-width: 1000px) and (min-width: 800px) {
.container-visu {
width: 60%;
}
.container-table {
width: 39%;
}
}
footer {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
margin-top: 40px;
background-color: #ffffff;
border-top: "1px solid #ddd";
width: 100%;
}