Update styles.css
This commit is contained in:
		
							parent
							
								
									6c055af045
								
							
						
					
					
						commit
						20646730fc
					
				
					 1 changed files with 129 additions and 104 deletions
				
			
		
							
								
								
									
										233
									
								
								styles.css
									
										
									
									
									
								
							
							
						
						
									
										233
									
								
								styles.css
									
										
									
									
									
								
							|  | @ -1,6 +1,6 @@ | ||||||
| body { | body { | ||||||
|   font-family: 'Arial', sans-serif; |   font-family: 'Arial', sans-serif; | ||||||
|   background-color: #FCFCEB; |   background-color: #FCFCEB; /* Light background */ | ||||||
|   color: #000000; |   color: #000000; | ||||||
|   margin: 0; |   margin: 0; | ||||||
|   padding: 0; |   padding: 0; | ||||||
|  | @ -8,37 +8,23 @@ body { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| header { | header { | ||||||
|   background-color: #474D22; |   background-color: #474D22; /* Dark header for contrast */ | ||||||
|   color: #FCFCEB; |   color: #FCFCEB; /* Light text */ | ||||||
|   padding: 40px 20px; |   padding: 40px 20px; | ||||||
|   text-align: center; |   text-align: center; | ||||||
|   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); |   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .hero h1 { | .hero h1 { | ||||||
|   font-size: 3rem; |   font-size: 3rem; | ||||||
|   margin: 0; |   margin: 0; | ||||||
|  |   font-weight: bold; /* Bolder text */ | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .hero p { | .hero p { | ||||||
|   font-size: 1.2rem; |   font-size: 1.2rem; | ||||||
|   margin: 10px 0; |   margin: 10px 0; | ||||||
| } |   font-style: italic; /* Italicized for a playful feel */ | ||||||
| 
 |  | ||||||
| .cta-button { |  | ||||||
|   background-color: #8B9635; |  | ||||||
|   color: #FCFCEB; |  | ||||||
|   padding: 10px 20px; |  | ||||||
|   text-decoration: none; |  | ||||||
|   border-radius: 5px; |  | ||||||
|   font-weight: bold; |  | ||||||
|   margin-top: 20px; |  | ||||||
|   display: inline-block; |  | ||||||
|   transition: background-color 0.3s ease; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .cta-button:hover { |  | ||||||
|   background-color: #6E7629; |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .container { | .container { | ||||||
|  | @ -48,15 +34,22 @@ header { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| h1, h2 { | h1, h2 { | ||||||
|   color: #8B9635; |   color: #8B9635; /* Primary color for headings */ | ||||||
|  |   margin: 20px 0; | ||||||
|  |   padding: 10px; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .features { | .features, .how-it-works, .download { | ||||||
|   margin: 40px 0; |   margin: 40px 0; | ||||||
|   background-color: #f0f3da; |   background-color: #f0f3da; /* Light feature background */ | ||||||
|   padding: 20px; |   padding: 20px; | ||||||
|   border-radius: 10px; |   border-radius: 15px; /* More rounded corners */ | ||||||
|   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); |   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); | ||||||
|  |   transition: transform 0.3s; /* Add hover effect */ | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | .features:hover, .how-it-works:hover, .download:hover { | ||||||
|  |   transform: translateY(-5px); /* Lift effect on hover */ | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .feature-list { | .feature-list { | ||||||
|  | @ -67,77 +60,25 @@ h1, h2 { | ||||||
| 
 | 
 | ||||||
| .feature-item { | .feature-item { | ||||||
|   flex: 1 1 calc(30% - 20px); |   flex: 1 1 calc(30% - 20px); | ||||||
|   background-color: #FCFCEB; |   background-color: #FCFCEB; /* Light background for feature items */ | ||||||
|   border: 1px solid #8B9635; |   border: 1px solid #8B9635; /* Consistent border */ | ||||||
|   padding: 20px; |   padding: 20px; | ||||||
|   border-radius: 5px; |   border-radius: 10px; /* Rounded corners */ | ||||||
|   margin: 10px; |   margin: 10px; | ||||||
|   text-align: center; |   text-align: center; | ||||||
|  |   transition: transform 0.3s, box-shadow 0.3s; /* Hover effect */ | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .testimonial { | .feature-item:hover { | ||||||
|   margin: 40px 0; |   transform: scale(1.05); /* Slight scaling on hover */ | ||||||
| } |   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Shadow effect */ | ||||||
| 
 |  | ||||||
| .testimonial-item { |  | ||||||
|   background-color: #474D22; |  | ||||||
|   color: #FCFCEB; |  | ||||||
|   padding: 20px; |  | ||||||
|   border-radius: 5px; |  | ||||||
|   margin: 10px 0; |  | ||||||
|   font-style: italic; |  | ||||||
|   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .author { |  | ||||||
|   font-weight: bold; |  | ||||||
|   margin-top: 10px; |  | ||||||
|   text-align: right; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .how-it-works { |  | ||||||
|   margin: 40px 0; |  | ||||||
|   background-color: #f7f9e8; |  | ||||||
|   padding: 20px; |  | ||||||
|   border-radius: 10px; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .download { |  | ||||||
|   margin: 40px 0; |  | ||||||
|   padding: 30px; |  | ||||||
|   text-align: center; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .download-button { |  | ||||||
|   background-color: #8B9635; |  | ||||||
|   color: #FCFCEB; |  | ||||||
|   padding: 15px 30px; |  | ||||||
|   margin: 2em; |  | ||||||
|   text-decoration: none; |  | ||||||
|   border-radius: 5px; |  | ||||||
|   font-size: 1.2rem; |  | ||||||
|   transition: background-color 0.3s ease; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .download-button:hover { |  | ||||||
|   background-color: #6E7629; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| footer { |  | ||||||
|   background-color: #474D22; |  | ||||||
|   color: #FCFCEB; |  | ||||||
|   padding: 20px; |  | ||||||
|   text-align: center; |  | ||||||
|   position: relative; |  | ||||||
|   bottom: 0; |  | ||||||
|   width: 100%; |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .faq-container { | .faq-container { | ||||||
|   display: flex; |   display: flex; | ||||||
|  |   flex-direction: column; | ||||||
|   justify-content: center; |   justify-content: center; | ||||||
|   align-items: center; |   align-items: flex-start; | ||||||
|   height: 100vh; |  | ||||||
|   padding: 0 10px; |   padding: 0 10px; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | @ -145,41 +86,125 @@ footer { | ||||||
|   max-width: 800px; |   max-width: 800px; | ||||||
|   width: 90%; |   width: 90%; | ||||||
|   padding: 20px; |   padding: 20px; | ||||||
|   background-color: #FCFCEB; /* Set a static color instead of a variable */ |   background-color: #FCFCEB; /* Light background for FAQ */ | ||||||
|   border-radius: 10px; |   border-radius: 15px; /* Rounded corners */ | ||||||
|   box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); |   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); | ||||||
|   overflow-y: auto; /* Allow vertical scrolling if content overflows */ |  | ||||||
|   margin: 2rem auto; |   margin: 2rem auto; | ||||||
|   height: 80vh; |   height: auto; | ||||||
| } |  | ||||||
| 
 |  | ||||||
| #faq h2 { |  | ||||||
|   text-align: center; |  | ||||||
|   color: #8B9635; /* Use a static color instead of a variable */ |  | ||||||
|   font-size: 2em; |  | ||||||
|   margin-bottom: 20px; |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .faq-item { | .faq-item { | ||||||
|   margin-bottom: 20px; |   margin-bottom: 20px; | ||||||
|   padding: 10px; |   padding: 15px; /* Increased padding for better readability */ | ||||||
|   border-radius: 5px; |   border-radius: 10px; | ||||||
|   background-color: #f0f3da; /* Use a specific background color */ |   background-color: #f0f3da; /* Light background for FAQ items */ | ||||||
|   transition: background-color 0.3s ease-in-out; |   transition: background-color 0.3s ease-in-out; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .faq-item h3 { | .faq-item h3 { | ||||||
|   color: #8B9635; /* Static color */ |   color: #8B9635; | ||||||
|   margin-bottom: 10px; |   margin-bottom: 10px; | ||||||
|   font-size: 1.5em; |   font-size: 1.5em; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .faq-item p { | .faq-item p { | ||||||
|   color: #000000; /* Static text color */ |   color: #000000; | ||||||
|   font-size: 1.1em; |   font-size: 1.1em; | ||||||
|   line-height: 1.5; |   line-height: 1.5; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .faq-item:hover { | .faq-item:hover { | ||||||
|   background-color: #d1e0b6; /* Change to a lighter shade on hover */ |   background-color: #d1e0b6; /* Lighter background on hover */ | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | .download { | ||||||
|  |   text-align: center; | ||||||
|  |   padding-bottom: 1em; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | .download-button { | ||||||
|  |   background-color: #8B9635; /* Primary button color */ | ||||||
|  |   color: #FCFCEB; | ||||||
|  |   padding: 15px 30px; | ||||||
|  |   margin: 1em; | ||||||
|  |   text-decoration: none; | ||||||
|  |   border-radius: 5px; | ||||||
|  |   font-size: 1.2rem; | ||||||
|  |   transition: background-color 0.3s ease, transform 0.2s; /* Hover effects */ | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | .download-button:hover { | ||||||
|  |   background-color: #6E7629; /* Darker button color on hover */ | ||||||
|  |   transform: translateY(-2px); /* Lift effect */ | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | footer { | ||||||
|  |   background-color: #474D22; /* Dark footer */ | ||||||
|  |   color: #FCFCEB; /* Light footer text */ | ||||||
|  |   padding: 20px; | ||||||
|  |   text-align: center; | ||||||
|  |   position: relative; | ||||||
|  |   bottom: 0; | ||||||
|  |   width: 100%; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | /* Responsive Styles */ | ||||||
|  | @media (max-width: 768px) { | ||||||
|  |   .hero h1 { | ||||||
|  |     font-size: 2.5rem; | ||||||
|  |   } | ||||||
|  | 
 | ||||||
|  |   .hero p { | ||||||
|  |     font-size: 1rem; | ||||||
|  |   } | ||||||
|  | 
 | ||||||
|  |   .feature-list { | ||||||
|  |     flex-direction: column; | ||||||
|  |     align-items: center; | ||||||
|  |   } | ||||||
|  | 
 | ||||||
|  |   .feature-item { | ||||||
|  |     flex: 1 1 100%; | ||||||
|  |     margin: 10px 0; | ||||||
|  |   } | ||||||
|  | 
 | ||||||
|  |   .faq-item h3 { | ||||||
|  |     font-size: 1.2em; | ||||||
|  |   } | ||||||
|  | 
 | ||||||
|  |   .faq-item p { | ||||||
|  |     font-size: 1em; | ||||||
|  |   } | ||||||
|  | 
 | ||||||
|  |   .download-button { | ||||||
|  |     font-size: 1rem; | ||||||
|  |     padding: 10px 20px; | ||||||
|  |   } | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | @media (max-width: 480px) { | ||||||
|  |   .hero h1 { | ||||||
|  |     font-size: 2rem; | ||||||
|  |   } | ||||||
|  | 
 | ||||||
|  |   .hero p { | ||||||
|  |     font-size: 0.9rem; | ||||||
|  |   } | ||||||
|  | 
 | ||||||
|  |   .faq-item h3 { | ||||||
|  |     font-size: 1.1em; | ||||||
|  |   } | ||||||
|  | 
 | ||||||
|  |   .faq-item p { | ||||||
|  |     font-size: 0.9em; | ||||||
|  |   } | ||||||
|  | 
 | ||||||
|  |   h1, h2 { | ||||||
|  |     font-size: 1.5rem; | ||||||
|  |   } | ||||||
|  | 
 | ||||||
|  |   .download-button { | ||||||
|  |     padding: 10px 15px; | ||||||
|  |     font-size: 0.9rem; | ||||||
|  |   } | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue