Spaces:
Sleeping
Sleeping
Update templates/index.html
Browse files- templates/index.html +10 -30
templates/index.html
CHANGED
@@ -118,42 +118,22 @@
|
|
118 |
}
|
119 |
|
120 |
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
|
|
125 |
}
|
126 |
|
127 |
-
/*
|
128 |
-
#response p {
|
129 |
-
margin-bottom: 1em;
|
130 |
-
line-height: 1.6;
|
131 |
-
}
|
132 |
-
|
133 |
-
#response ul, #response ol {
|
134 |
-
padding-left: 1.5em;
|
135 |
-
margin-bottom: 1em;
|
136 |
-
}
|
137 |
-
|
138 |
-
#response li {
|
139 |
-
margin-bottom: 0.5em;
|
140 |
-
}
|
141 |
-
|
142 |
-
/* Ajustements responsives pour mobile */
|
143 |
@media (max-width: 640px) {
|
144 |
-
|
145 |
font-size: 0.95rem;
|
146 |
-
|
147 |
-
}
|
148 |
-
|
149 |
-
#response p, #response li {
|
150 |
-
line-height: 1.7;
|
151 |
-
}
|
152 |
-
|
153 |
-
#response ul, #response ol {
|
154 |
-
padding-left: 1.2em;
|
155 |
}
|
156 |
}
|
|
|
|
|
157 |
</style>
|
158 |
</head>
|
159 |
|
|
|
118 |
}
|
119 |
|
120 |
|
121 |
+
/* Style pour préserver les espaces dans le markdown */
|
122 |
+
.prose {
|
123 |
+
white-space: pre-wrap; /* preserve line breaks and spaces */
|
124 |
+
word-wrap: break-word; /* break long words */
|
125 |
+
overflow-wrap: break-word; /* allow words to break */
|
126 |
}
|
127 |
|
128 |
+
/* Style optionnel pour améliorer la lisibilité sur mobile */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
129 |
@media (max-width: 640px) {
|
130 |
+
.prose {
|
131 |
font-size: 0.95rem;
|
132 |
+
line-height: 1.6;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
133 |
}
|
134 |
}
|
135 |
+
|
136 |
+
|
137 |
</style>
|
138 |
</head>
|
139 |
|