Spaces:
Runtime error
Runtime error
Create prj.css
Browse files
prj.css
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
body {
|
| 2 |
+
font-family: 'Montserrat', sans-serif !important; /* Police plus élégante */
|
| 3 |
+
margin: 0;
|
| 4 |
+
padding: 0;
|
| 5 |
+
background: url("assete/collage-langues-internationales-ecole-langues-medias-mixtes-foule-mains-levees-tenant-bulles-parole-salutations-dans-plusieurs-langues-illustration-vectorielle-communication-mondiale_229548-5363 (1).png") no-repeat center center fixed;
|
| 6 |
+
background-size: cover;
|
| 7 |
+
backdrop-filter: blur(2px);
|
| 8 |
+
text-align: center;
|
| 9 |
+
}
|
| 10 |
+
|
| 11 |
+
.container {
|
| 12 |
+
max-width: 500px;
|
| 13 |
+
margin: 60px auto;
|
| 14 |
+
background: #f8dede; /* rose clair inspiré des bulles de texte */
|
| 15 |
+
padding: 25px;
|
| 16 |
+
border-radius: 20px;
|
| 17 |
+
box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
|
| 18 |
+
transition: transform 0.3s ease-in-out;
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
.container:hover {
|
| 22 |
+
transform: scale(1.02);
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
h2 {
|
| 26 |
+
color: #2c3e50; /* même bleu foncé que les boutons */
|
| 27 |
+
font-weight: bold;
|
| 28 |
+
margin-bottom: 25px;
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
.btn {
|
| 32 |
+
background: #2c3e50; /* bleu foncé */
|
| 33 |
+
color: white;
|
| 34 |
+
border: none;
|
| 35 |
+
padding: 12px 24px;
|
| 36 |
+
font-size: 16px;
|
| 37 |
+
border-radius: 10px;
|
| 38 |
+
cursor: pointer;
|
| 39 |
+
transition: all 0.3s ease-in-out;
|
| 40 |
+
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
|
| 41 |
+
display: flex;
|
| 42 |
+
align-items: center;
|
| 43 |
+
justify-content: center;
|
| 44 |
+
gap: 8px;
|
| 45 |
+
margin-top: 15px;
|
| 46 |
+
width: 100%;
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
.btn:hover {
|
| 50 |
+
background: #e65550;
|
| 51 |
+
transform: translateY(-3px);
|
| 52 |
+
box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
/* Masquer l'input natif pour fichier */
|
| 56 |
+
.file-input-hidden {
|
| 57 |
+
display: none;
|
| 58 |
+
}
|
| 59 |
+
|
| 60 |
+
/* Affichage nom du fichier */
|
| 61 |
+
#file-name-display {
|
| 62 |
+
margin-top: 10px;
|
| 63 |
+
font-size: 14px;
|
| 64 |
+
color: #444;
|
| 65 |
+
}
|
| 66 |
+
|
| 67 |
+
/* Boutons de sélection de langue */
|
| 68 |
+
.lang-options {
|
| 69 |
+
display: none;
|
| 70 |
+
margin-top: 10px;
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
+
.lang-btn {
|
| 74 |
+
background: #ffffff;
|
| 75 |
+
color: #333;
|
| 76 |
+
border: 1px solid #ddd;
|
| 77 |
+
padding: 10px;
|
| 78 |
+
border-radius: 5px;
|
| 79 |
+
cursor: pointer;
|
| 80 |
+
transition: all 0.3s ease;
|
| 81 |
+
width: 100%;
|
| 82 |
+
margin-top: 5px;
|
| 83 |
+
}
|
| 84 |
+
|
| 85 |
+
.lang-btn:hover {
|
| 86 |
+
background: #ff6f61;
|
| 87 |
+
color: white;
|
| 88 |
+
}
|
| 89 |
+
|
| 90 |
+
.result-title {
|
| 91 |
+
margin-top: 20px;
|
| 92 |
+
color: #2c3e50;
|
| 93 |
+
font-weight: 600;
|
| 94 |
+
font-size: 18px;
|
| 95 |
+
}
|
| 96 |
+
|
| 97 |
+
.resultat-box {
|
| 98 |
+
background: #f8f9fa;
|
| 99 |
+
padding: 15px;
|
| 100 |
+
border-radius: 10px;
|
| 101 |
+
min-height: 50px;
|
| 102 |
+
box-shadow: inset 0px 4px 10px rgba(0, 0, 0, 0.1);
|
| 103 |
+
transition: background 0.3s ease-in-out;
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
.resultat-box:hover {
|
| 107 |
+
background: #eef0f2;
|
| 108 |
+
}
|
| 109 |
+
.file-label {
|
| 110 |
+
width: 100%;
|
| 111 |
+
display: flex;
|
| 112 |
+
justify-content: center;
|
| 113 |
+
align-items: center;
|
| 114 |
+
background: #2c3e50;
|
| 115 |
+
color: white;
|
| 116 |
+
border: none;
|
| 117 |
+
padding: 12px 24px;
|
| 118 |
+
font-size: 16px;
|
| 119 |
+
border-radius: 10px;
|
| 120 |
+
cursor: pointer;
|
| 121 |
+
transition: all 0.3s ease-in-out;
|
| 122 |
+
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
|
| 123 |
+
margin-top: 15px;
|
| 124 |
+
}
|
| 125 |
+
.file-label:hover {
|
| 126 |
+
background: #e65550;
|
| 127 |
+
transform: translateY(-3px);
|
| 128 |
+
box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
|
| 129 |
+
}
|
| 130 |
+
.container button, .file-label {
|
| 131 |
+
margin: 15px auto;
|
| 132 |
+
width: calc(100% - 48px); /* Même largeur que les autres boutons */
|
| 133 |
+
}
|