modifyed the css #30
					 3 changed files with 104 additions and 33 deletions
				
			
		|  | @ -252,7 +252,7 @@ header a:hover { | |||
| } | ||||
| 
 | ||||
| /* Form styling */ | ||||
| form { | ||||
| #contactForm { | ||||
|     max-width: 600px; | ||||
|     margin: 0 auto; | ||||
|     background: var(--input-background-color); /* Use the input background color variable */ | ||||
|  | @ -261,14 +261,14 @@ form { | |||
|     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */ | ||||
| } | ||||
| 
 | ||||
| form label { | ||||
| #contactForm label { | ||||
|     color: var(--text-color); /* Use the text color variable */ | ||||
|     display: block; /* Ensure labels are block elements */ | ||||
|     margin-bottom: 5px; /* Add some space below labels */ | ||||
| } | ||||
| 
 | ||||
| form input, | ||||
| form textarea { | ||||
| #contactForm input, | ||||
| #contactForm textarea { | ||||
|     color: var(--text-color); /* Use the text color variable */ | ||||
|     background-color: var(--history-background-color); /* Use a contrasting background */ | ||||
|     border: 1px solid var(--input-button-color); /* Use the input button color for borders */ | ||||
|  | @ -278,7 +278,7 @@ form textarea { | |||
|     margin-bottom: 15px; | ||||
| } | ||||
| 
 | ||||
| form button { | ||||
| #contactForm button { | ||||
|     background-color: var(--input-button-color); /* Use the input button color */ | ||||
|     color: var(--background-color); /* Use the background color for text */ | ||||
|     border: none; | ||||
|  | @ -288,6 +288,49 @@ form button { | |||
|     transition: background-color 0.3s; /* Smooth transition for hover effect */ | ||||
| } | ||||
| 
 | ||||
| form button:hover { | ||||
| #contactForm button:hover { | ||||
|     background-color: var(--input-button-hover-color); /* Use the hover color variable */ | ||||
| } | ||||
| 
 | ||||
| /* FAQ Section */ | ||||
| #faq { | ||||
|     max-width: 800px; | ||||
|     width: 90%; | ||||
|     margin-top: 50px; | ||||
|     padding: 20px; | ||||
|     background-color: #222; | ||||
|     border-radius: 10px; | ||||
|     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); | ||||
| } | ||||
| 
 | ||||
| #faq h2 { | ||||
|     text-align: center; | ||||
|     color: #00ccff; | ||||
|     font-size: 2em; | ||||
|     margin-bottom: 20px; | ||||
| } | ||||
| 
 | ||||
| .faq-item { | ||||
|     margin-bottom: 20px; | ||||
|     padding: 10px; | ||||
|     border-radius: 5px; | ||||
|     background-color: #333; | ||||
| } | ||||
| 
 | ||||
| .faq-item h3 { | ||||
|     color: #00ccff; | ||||
|     margin-bottom: 10px; | ||||
|     font-size: 1.5em; | ||||
| } | ||||
| 
 | ||||
| .faq-item p { | ||||
|     color: #ddd; | ||||
|     font-size: 1.1em; | ||||
|     line-height: 1.5; | ||||
| } | ||||
| 
 | ||||
| /* Add some hover effects for the FAQ items */ | ||||
| .faq-item:hover { | ||||
|     background-color: #444; | ||||
|     transition: background-color 0.3s; | ||||
| } | ||||
|  | @ -1,30 +1,58 @@ | |||
|     <!DOCTYPE html> | ||||
|     <html lang="en"> | ||||
| <!DOCTYPE html> | ||||
| <html lang="en"> | ||||
| 
 | ||||
|     <head> | ||||
|         <meta charset="UTF-8"> | ||||
|         <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||||
|         <link rel="stylesheet" href="/static/styles.css"> | ||||
|         <title>AI Assistant</title> | ||||
|     </head> | ||||
| <head> | ||||
|     <meta charset="UTF-8"> | ||||
|     <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||||
|     <link rel="stylesheet" href="/static/styles.css"> | ||||
|     <title>AI Assistant - FAQ</title> | ||||
| </head> | ||||
| 
 | ||||
|     <body> | ||||
|         <header> | ||||
|             <ul> | ||||
|                 <li> | ||||
|                     <a href="/"> | ||||
|                         <img src="/static/img/logo.png" alt="logo.png"> | ||||
|                     </a> | ||||
|                 </li> | ||||
|                 <li> | ||||
|                     <a href="/contact">Contact</a> | ||||
|                 </li> | ||||
|                 <li> | ||||
|                     <a href="/faq.html">FAQ</a> | ||||
|                 </li> | ||||
|             </ul> | ||||
|         </header> | ||||
| <body> | ||||
|     <header> | ||||
|         <ul> | ||||
|             <li> | ||||
|                 <a href="/"> | ||||
|                     <img src="/static/img/logo.png" alt="logo.png"> | ||||
|                 </a> | ||||
|             </li> | ||||
|             <li> | ||||
|                 <a href="/contact">Contact</a> | ||||
|             </li> | ||||
|             <li> | ||||
|                 <a href="/faq">FAQ</a> | ||||
|             </li> | ||||
|         </ul> | ||||
|     </header> | ||||
| 
 | ||||
|     </body> | ||||
|     <section id="faq"> | ||||
|         <h2>Frequently Asked Questions</h2> | ||||
| 
 | ||||
|     </html> | ||||
|         <div class="faq-item"> | ||||
|             <h3>What is this AI assistant for?</h3> | ||||
|             <p>This AI assistant helps you with various tasks such as answering questions, generating text, and even helping with code or writing tasks.</p> | ||||
|         </div> | ||||
| 
 | ||||
|         <div class="faq-item"> | ||||
|             <h3>How does the AI assistant work?</h3> | ||||
|             <p>The assistant uses machine learning algorithms to understand your input and provide contextually relevant answers or generate content based on the task you've described.</p> | ||||
|         </div> | ||||
| 
 | ||||
|         <div class="faq-item"> | ||||
|             <h3>Can I trust the answers given by the AI assistant?</h3> | ||||
|             <p>While the AI strives to give accurate and helpful answers, it is important to verify critical information, especially for complex or sensitive queries.</p> | ||||
|         </div> | ||||
| 
 | ||||
|         <div class="faq-item"> | ||||
|             <h3>What kind of questions can I ask?</h3> | ||||
|             <p>You can ask a wide range of questions from simple factual queries to more complex requests like generating creative writing or code snippets.</p> | ||||
|         </div> | ||||
| 
 | ||||
|         <div class="faq-item"> | ||||
|             <h3>Is my data secure when using the AI assistant?</h3> | ||||
|             <p>We take privacy seriously. Your data is handled according to our privacy policy, ensuring that any personal information shared is securely processed and not misused.</p> | ||||
|         </div> | ||||
|     </section> | ||||
| </body> | ||||
| 
 | ||||
| </html> | ||||
|  |  | |||
|  | @ -20,7 +20,7 @@ | |||
|                     <a href="/contact">Contact</a> | ||||
|                 </li> | ||||
|                 <li> | ||||
|                     <a href="/faq.html">FAQ</a> | ||||
|                     <a href="/faq">FAQ</a> | ||||
|                 </li> | ||||
|             </ul> | ||||
|         </header> | ||||
|  |  | |||
		Reference in a new issue