archinsa/css/index.css
thaaoblues 895a45f9f9 rhooo
2024-09-13 15:22:35 +02:00

258 lines
No EOL
4.2 KiB
CSS

@media only screen and (orientation: portrait){
/* For mobile phones: */
.floating-action-btn{
width: auto;
text-align: left;
border-radius: 5px;
border-width: 2px;
font-weight:bolder;
text-decoration: none;
color: black;
background-color: rgba(224, 54, 54, 0.482);
border-bottom: 3px solid rgba(224, 54, 54, 0.482);
position: fixed;
bottom: 2vh;
margin-top: 50vh;
right: 1vw;
padding-left: 10px;
padding-right: 10px;
padding-bottom: 9px;
}
.gros-titre{
width: 100vw;
overflow-x: hidden;
font-weight: bolder;
font-size: small;
}
.ligne-boutons{
display: grid;
}
.ligne-boutons #lien{
grid-row: auto;
}
.card{
width: 85vw;
}
}
@media only screen and (min-width: 1000px) {
/* For desktop: */
.floating-action-btn{
position: fixed;
margin-left:1%;
padding: 10px;
padding-top: 0px;
width: fit-content;
text-align: left;
border-radius: 5px;
border-width: 2px;
font-weight:bolder;
text-decoration: none;
color: black;
border-bottom: 3px solid rgba(224, 54, 54, 0.482);
right: 1vw;
padding-left: 10px;
padding-right: 10px;
padding-bottom: 9px;
bottom:2vh;
}
.gros-titre{
font-size: larger;
font-weight: bolder;
}
.card {
width: 70vw;
}
}
.centre-vertical{
margin-top: auto;
margin-bottom: auto;
}
.centre-horizontal{
margin: auto;
justify-content: center;
display: flex;
}
.centre-txt{
text-align: center;
}
.etaler{
width: 100%;
}
.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);
}
.button{
margin-top: 10px;
width: fit-content;
padding-top: 1%;
padding-left: 1%;
padding-right: 1%;
padding-bottom: 1%;
border-radius: 5px;
font-weight:bolder;
text-decoration: none;
color: black;
border-bottom: 3px solid rgba(224, 54, 54, 0.482);
border-top: 0px;
border-left: 0px;
border-right: 0px;
}
.color-red-tr{
background-color: rgba(224, 54, 54, 0.482);
border-color: rgba(224, 54, 54, 0.482);
}
.barre-recherche{
margin-top: 10px;
width: 80vw;
max-width: 800px;
border-radius: 15px;
border-width: 5px;
border-bottom: 3px solid rgba(224, 54, 54, 0.482);
background-color: rgba(224, 54, 54, 0.482);
padding: 20px;
}
#recherche_input{
width: 80vw;
max-width: 800px;
}
.champ{
border-radius: 3px;
border: 0px;
background-color: transparent;
font-size: larger;
width: fit-content;
}
.champ:focus{
outline: none;
}
.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 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;
margin-left: 2vw;
margin-top: 2vh;
}
.lien:hover {
text-decoration: underline;
}
/* Styles pour les informations secondaires */
.secondary-text {
font-size: 14px;
color: #777;
}
#recherche_input{
height: 4vw;
}
.checkbox{
height: 20px;
width: 20px;
}
.ascii-art {
font-family: monospace;
white-space: pre;
}
textarea{
width: 40vw;
height: 40vh;
}