Docfile commited on
Commit
ef9d1af
·
verified ·
1 Parent(s): 6404f2c

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +38 -0
templates/index.html CHANGED
@@ -116,6 +116,44 @@
116
  .remove-image:hover {
117
  background-color: rgba(0, 0, 0, 0.7);
118
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
119
  </style>
120
  </head>
121
 
 
116
  .remove-image:hover {
117
  background-color: rgba(0, 0, 0, 0.7);
118
  }
119
+
120
+
121
+ #response {
122
+ white-space: pre-wrap; /* Préserve les espaces et les sauts de ligne */
123
+ word-wrap: break-word; /* Permet le retour à la ligne des mots longs */
124
+ overflow-wrap: break-word; /* Assure la césure des mots très longs */
125
+ }
126
+
127
+ /* Styles pour le contenu markdown */
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
+ #response {
145
+ font-size: 0.95rem;
146
+ padding: 1rem;
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