feat: implemented context class
This commit is contained in:
		| @@ -0,0 +1,22 @@ | ||||
| <!DOCTYPE html> | ||||
| <html> | ||||
|   <head> | ||||
|     <meta charset="utf-8" /> | ||||
|     <meta name="viewport" content="width=device-width, initial-scale=1" /> | ||||
|     <title>Hello Bulma!</title> | ||||
|     <link | ||||
|       rel="stylesheet" | ||||
|       href="https://cdn.jsdelivr.net/npm/bulma@1.0.2/css/bulma.min.css" | ||||
|     /> | ||||
|   </head> | ||||
|   <body> | ||||
|     <section class="section"> | ||||
|       <div class="container"> | ||||
|         <h1 class="title">Hello World</h1> | ||||
|         <p class="subtitle">My first website with <strong>Bulma</strong>!</p> | ||||
|  | ||||
|         <content /> | ||||
|       </div> | ||||
|     </section> | ||||
|   </body> | ||||
| </html> | ||||
|   | ||||
| @@ -1 +0,0 @@ | ||||
|   | ||||
| @@ -1,66 +0,0 @@ | ||||
| /* styles.css */ | ||||
|  | ||||
| /* Reset some default styles */ | ||||
| * { | ||||
|   margin: 0; | ||||
|   padding: 0; | ||||
|   box-sizing: border-box; | ||||
| } | ||||
|  | ||||
| /* Body styles */ | ||||
| body { | ||||
|   font-family: Arial, sans-serif; | ||||
|   line-height: 1.6; | ||||
|   background-color: #f5f5f5; | ||||
|   color: #333; | ||||
|   padding: 20px; | ||||
| } | ||||
|  | ||||
| /* Header styles */ | ||||
| header { | ||||
|   background-color: #4a90e2; | ||||
|   color: white; | ||||
|   padding: 20px 0; | ||||
|   text-align: center; | ||||
|   border-radius: 8px; | ||||
| } | ||||
|  | ||||
| /* Navigation */ | ||||
| nav ul { | ||||
|   list-style: none; | ||||
|   display: flex; | ||||
|   justify-content: center; | ||||
|   padding: 10px 0; | ||||
| } | ||||
|  | ||||
| nav ul li { | ||||
|   margin: 0 15px; | ||||
| } | ||||
|  | ||||
| nav ul li a { | ||||
|   text-decoration: none; | ||||
|   color: white; | ||||
|   font-weight: bold; | ||||
| } | ||||
|  | ||||
| /* Main content */ | ||||
| main { | ||||
|   margin: 20px 0; | ||||
| } | ||||
|  | ||||
| /* Section styling */ | ||||
| section { | ||||
|   margin-bottom: 20px; | ||||
|   padding: 20px; | ||||
|   background-color: white; | ||||
|   border-radius: 8px; | ||||
|   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); | ||||
| } | ||||
|  | ||||
| /* Footer styles */ | ||||
| footer { | ||||
|   text-align: center; | ||||
|   margin-top: 40px; | ||||
|   padding: 10px; | ||||
|   color: #777; | ||||
| } | ||||
| @@ -1 +0,0 @@ | ||||
| test | ||||
		Reference in New Issue
	
	Block a user