archinsa/css/ens.css
2024-04-09 16:22:47 +02:00

156 lines
2.3 KiB
CSS

body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
}
table {
border-collapse: collapse;
width: 100%;
margin-bottom: 20px;
}
th,
td {
border: 1px solid #ddd;
padding: 8px;
text-align: left;
}
th {
background-color: #f2f2f2;
font-weight: bold;
color: #333;
}
tr:nth-child(even) {
background-color: #f2f2f2;
}
tr:hover {
background-color: #ddd;
}
/* Add some spacing around the table */
#data-container {
padding: 20px;
}
.gros-titre {
font-size: larger;
font-weight: bolder;
}
.bulle-rouge{
width: fit-content;
padding-top: 5px;
padding-left: 5px;
padding-right: 5px;
padding-bottom: 5px;
background-color: rgba(255, 0, 0, 0.283);
border-radius: 5px;
border-width: 2px;
border-color: rgba(255, 0, 0, 0.283);
}
.centre-txt{
text-align: center;
}
.color-red-tr{
background-color: rgba(224, 54, 54, 0.482);
border-color: rgba(224, 54, 54, 0.482);
}
.centre-horizontal{
margin: auto;
justify-content: center;
}
.card {
background-color: #fff;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
margin-bottom: 20px;
padding: 20px;
}
.card img {
max-width: 100%;
height: auto;
margin-bottom: 10px;
}
.card iframe {
width: 100%;
height: 50vw;
margin-bottom: 10px;
}
.card embed{
width: 100%;
height: 500px;
margin-bottom: 10px;
}
.card video {
width: 100%;
height: auto;
}
.card div {
margin-bottom: 10px;
line-height: 1.5;
}
.card ul {
padding-left: 20px;
margin-bottom: 10px;
}
/* Responsive styles */
@media only screen and (max-width: 600px) {
.card {
padding: 15px;
}
.card div {
font-size: 14px;
}
}
/* Styles pour les titres importants */
.title {
font-size: 20px;
font-weight: bold;
color: #333;
margin-top: 10px;
}
/* Styles pour le texte principal */
.main-text {
margin-top: 10px;
font-size: 16px;
color: #555;
}
/* Styles pour les liens */
.lien {
color: #007bff;
text-decoration: none;
padding: 10px;
background-color: rgba(224, 54, 54, 0.482);
border-bottom: 2px solid rgba(224, 54, 54, 0.482);
border-radius: 5px;
margin-bottom: 30px;
}
.lien:hover {
text-decoration: underline;
}
/* Styles pour les informations secondaires */
.secondary-text {
margin-top: 10px;
font-size: 14px;
color: #777;
}