archinsa/css/ens.css
2024-09-13 15:37:50 +02:00

177 lines
2.5 KiB
CSS

@media only screen and (orientation: portrait){
.gros-titre{
width: 90vw;
overflow-x: hidden;
font-weight: bolder;
font-size: small;
}
}
@media only screen and (min-width: 1000px){
.gros-titre {
font-size: larger;
font-weight: bolder;
}
}
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;
}
.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: #f6f3f3;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
margin-bottom: 20px;
padding: 20px;
}
.card img {
width: 100%;
height: auto;
margin-bottom: 10px;
border-radius: 7px;
}
.card textarea{
width: 100%;
height: 100vh;
margin-bottom: 10px;
border-radius: 7px;
}
.card embed{
width: 100%;
height: 50vh;
margin-bottom: 10px;
}
.card iframe {
width: 100%;
height: 50vh;
}
.card video {
width: 100%;
height: auto;
}
.card div {
margin-bottom: 10px;
line-height: 1.5;
}
.card ul {
padding-left: 20px;
margin-bottom: 10px;
}
.card a{
width: fit-content;
grid-column: auto;
}
/* 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;
}