Games website created
This commit is contained in:
		
							parent
							
								
									7a99d4b1eb
								
							
						
					
					
						commit
						873d26fe93
					
				
					 13 changed files with 497 additions and 86 deletions
				
			
		|  | @ -28,19 +28,19 @@ | |||
|                     <a class="folder-link" href="games/fps.html">FPS</a> | ||||
|                 </li> | ||||
|                 <li class="folder-list-item"> | ||||
|                     <a class="folder-link" href="">General</a> | ||||
|                     <a class="folder-link" href="games/general.html">General</a> | ||||
|                 </li> | ||||
|                 <li class="folder-list-item"> | ||||
|                     <a class="folder-link" href="">Platformer</a> | ||||
|                     <a class="folder-link" href="games/platformer.html">Platformer</a> | ||||
|                 </li> | ||||
|                 <li class="folder-list-item"> | ||||
|                     <a class="folder-link" href="">Sandbox</a> | ||||
|                     <a class="folder-link" href="games/sandbox.html">Sandbox</a> | ||||
|                 </li> | ||||
|                 <li class="folder-list-item"> | ||||
|                     <a class="folder-link" href="">Strategy</a> | ||||
|                     <a class="folder-link" href="games/strategy.html">Strategy</a> | ||||
|                 </li> | ||||
|                 <li class="folder-list-item"> | ||||
|                     <a class="folder-link" href="">Vehicle</a> | ||||
|                     <a class="folder-link" href="games/vehicle.html">Vehicle</a> | ||||
|                 </li> | ||||
|             </ul> | ||||
|         </nav> | ||||
|  |  | |||
|  | @ -7,6 +7,21 @@ | |||
|     <link rel="stylesheet" href="../list.css"> | ||||
| </head> | ||||
| <body> | ||||
|     <header> | ||||
|         <div class="header-content"> | ||||
|            <div class="project-name"><a href="../index.html">FOSS alternative</a></div> | ||||
|             <button class="burger-menu" onclick="toggleMenu()">☰</button> | ||||
|             <ul class="menu"> | ||||
|             <li><a href="../games.html">Games</a></li> | ||||
|             <li><a href="../general.html">General</a></li> | ||||
|             <li><a href="../tools.html">Tools</a></li> | ||||
|             <li><a href="../media.html">Multimedia</a></li> | ||||
|             <li><a href="../os.html">OS</a></li> | ||||
|             <li><a href="../social-media.html">Social media</a></li> | ||||
|             </ul> | ||||
|         </div> | ||||
|     </header> | ||||
|     <article> | ||||
|         <h1>Game List</h1> | ||||
|         <h2>Fully Free</h2> | ||||
|         <ul class="fully-free"> | ||||
|  | @ -22,5 +37,12 @@ | |||
|             <li>Cube 2: Sauerbraten</li> | ||||
|             <li>Doom</li> | ||||
|         </ul> | ||||
|     </article> | ||||
|     <script> | ||||
|       function toggleMenu() { | ||||
|         const menu = document.querySelector(".menu"); | ||||
|         menu.classList.toggle("active"); | ||||
|       } | ||||
|     </script> | ||||
| </body> | ||||
| </html> | ||||
|  |  | |||
|  | @ -1,11 +0,0 @@ | |||
| fully free | ||||
| 
 | ||||
| KDE Games | ||||
| GNOME Games | ||||
| Friday Night Funkin' | ||||
| 
 | ||||
| non-free assets | ||||
| 
 | ||||
| osu! | ||||
| OpenMW | ||||
| Daggerfall Unity | ||||
							
								
								
									
										47
									
								
								FOOS_ALT_WEBSITE/games/general.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								FOOS_ALT_WEBSITE/games/general.html
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,47 @@ | |||
| <!DOCTYPE html> | ||||
| <html lang="en"> | ||||
| <head> | ||||
|     <meta charset="UTF-8"> | ||||
|     <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||||
|     <title>Game List</title> | ||||
|     <link rel="stylesheet" href="../list.css"> | ||||
| </head> | ||||
| <body> | ||||
|     <header> | ||||
|         <div class="header-content"> | ||||
|             <div class="project-name"><a href="../index.html">FOSS alternative</a></div> | ||||
|             <button class="burger-menu" onclick="toggleMenu()">☰</button> | ||||
|             <ul class="menu"> | ||||
|                 <li><a href="../games.html">Games</a></li> | ||||
|                 <li><a href="../general.html">General</a></li> | ||||
|                 <li><a href="../tools.html">Tools</a></li> | ||||
|                 <li><a href="../media.html">Multimedia</a></li> | ||||
|                 <li><a href="../os.html">OS</a></li> | ||||
|                 <li><a href="../social-media.html">Social media</a></li> | ||||
|             </ul> | ||||
|         </div> | ||||
|     </header> | ||||
|     <article> | ||||
|         <h1>Game List</h1> | ||||
|         <h2>Fully Free</h2> | ||||
|         <ul class="fully-free"> | ||||
|             <li>KDE Games</li> | ||||
|             <li>GNOME Games</li> | ||||
|             <li>Friday Night Funkin'</li> | ||||
|         </ul> | ||||
|          | ||||
|         <h2>Non-Free Assets</h2> | ||||
|         <ul class="non-free-assets"> | ||||
|             <li>osu!</li> | ||||
|             <li>OpenMW</li> | ||||
|             <li>Daggerfall Unity</li> | ||||
|         </ul> | ||||
|     </article> | ||||
|     <script> | ||||
|       function toggleMenu() { | ||||
|         const menu = document.querySelector(".menu"); | ||||
|         menu.classList.toggle("active"); | ||||
|       } | ||||
|     </script> | ||||
| </body> | ||||
| </html> | ||||
|  | @ -1,5 +0,0 @@ | |||
| fully free | ||||
| 
 | ||||
| SuperTux | ||||
| 
 | ||||
| non-free assets | ||||
							
								
								
									
										45
									
								
								FOOS_ALT_WEBSITE/games/platformer.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										45
									
								
								FOOS_ALT_WEBSITE/games/platformer.html
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,45 @@ | |||
| <!DOCTYPE html> | ||||
| <html lang="en"> | ||||
| <head> | ||||
|     <meta charset="UTF-8"> | ||||
|     <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||||
|     <title>Game List</title> | ||||
|     <link rel="stylesheet" href="../list.css"> | ||||
| </head> | ||||
| <body> | ||||
|     <header> | ||||
|         <div class="header-content"> | ||||
|             <div class="project-name"><a href="../index.html">FOSS alternative</a></div> | ||||
|             <button class="burger-menu" onclick="toggleMenu()">☰</button> | ||||
|             <ul class="menu"> | ||||
|                 <li><a href="../games.html">Games</a></li> | ||||
|                 <li><a href="../general.html">General</a></li> | ||||
|                 <li><a href="../tools.html">Tools</a></li> | ||||
|                 <li><a href="../media.html">Multimedia</a></li> | ||||
|                 <li><a href="../os.html">OS</a></li> | ||||
|                 <li><a href="../social-media.html">Social media</a></li> | ||||
|             </ul> | ||||
|         </div> | ||||
|     </header> | ||||
|     <article> | ||||
|         <h1>Game List</h1> | ||||
|         <h2>Fully Free</h2> | ||||
|         <ul class="fully-free"> | ||||
|             <li>SuperTux</li> | ||||
|         </ul> | ||||
|          | ||||
|         <h2>Non-Free Assets</h2> | ||||
|         <ul class="non-free-assets"> | ||||
|             <li>osu!</li> | ||||
|             <li>OpenMW</li> | ||||
|             <li>Daggerfall Unity</li> | ||||
|         </ul> | ||||
|     </article> | ||||
|     <script> | ||||
|       function toggleMenu() { | ||||
|         const menu = document.querySelector(".menu"); | ||||
|         menu.classList.toggle("active"); | ||||
|       } | ||||
|     </script> | ||||
| </body> | ||||
| </html> | ||||
|  | @ -1,6 +0,0 @@ | |||
| fully free | ||||
| 
 | ||||
| Minetest | ||||
| The Powder Toy | ||||
| 
 | ||||
| non-free assets | ||||
							
								
								
									
										46
									
								
								FOOS_ALT_WEBSITE/games/sandbox.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										46
									
								
								FOOS_ALT_WEBSITE/games/sandbox.html
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,46 @@ | |||
| <!DOCTYPE html> | ||||
| <html lang="en"> | ||||
| <head> | ||||
|     <meta charset="UTF-8"> | ||||
|     <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||||
|     <title>Game List</title> | ||||
|     <link rel="stylesheet" href="../list.css"> | ||||
| </head> | ||||
| <body> | ||||
|     <header> | ||||
|         <div class="header-content"> | ||||
|             <div class="project-name"><a href="index.html">FOSS alternative</a></div> | ||||
|             <button class="burger-menu" onclick="toggleMenu()">☰</button> | ||||
|             <ul class="menu"> | ||||
|                 <li><a href="../games.html">Games</a></li> | ||||
|                 <li><a href="../general.html">General</a></li> | ||||
|                 <li><a href="../tools.html">Tools</a></li> | ||||
|                 <li><a href="../media.html">Multimedia</a></li> | ||||
|                 <li><a href="../os.html">OS</a></li> | ||||
|                 <li><a href="../social-media.html">Social media</a></li> | ||||
|             </ul> | ||||
|         </div> | ||||
|     </header> | ||||
|     <article> | ||||
|         <h1>Game List</h1> | ||||
|         <h2>Fully Free</h2> | ||||
|         <ul class="fully-free"> | ||||
|             <li>Minetest</li> | ||||
|             <li>The Powder Toy</li> | ||||
|         </ul> | ||||
|          | ||||
|         <h2>Non-Free Assets</h2> | ||||
|         <ul class="non-free-assets"> | ||||
|             <li>osu!</li> | ||||
|             <li>OpenMW</li> | ||||
|             <li>Daggerfall Unity</li> | ||||
|         </ul> | ||||
|     </article> | ||||
|     <script> | ||||
|       function toggleMenu() { | ||||
|         const menu = document.querySelector(".menu"); | ||||
|         menu.classList.toggle("active"); | ||||
|       } | ||||
|     </script> | ||||
| </body> | ||||
| </html> | ||||
|  | @ -1,11 +0,0 @@ | |||
| fully free | ||||
| 
 | ||||
| 0 A.D. | ||||
| Freeciv | ||||
| OpenCity | ||||
| OpenTTD | ||||
| 
 | ||||
| non-free assets | ||||
| 
 | ||||
| OpenAge | ||||
| OpenRA | ||||
							
								
								
									
										47
									
								
								FOOS_ALT_WEBSITE/games/strategy.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								FOOS_ALT_WEBSITE/games/strategy.html
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,47 @@ | |||
| <!DOCTYPE html> | ||||
| <html lang="en"> | ||||
| <head> | ||||
|     <meta charset="UTF-8"> | ||||
|     <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||||
|     <title>Game List</title> | ||||
|     <link rel="stylesheet" href="../list.css"> | ||||
| </head> | ||||
| <body> | ||||
|     <header> | ||||
|         <div class="header-content"> | ||||
|             <div class="project-name"><a href="index.html">FOSS alternative</a></div> | ||||
|             <button class="burger-menu" onclick="toggleMenu()">☰</button> | ||||
|             <ul class="menu"> | ||||
|                 <li><a href="../games.html">Games</a></li> | ||||
|                 <li><a href="../general.html">General</a></li> | ||||
|                 <li><a href="../tools.html">Tools</a></li> | ||||
|                 <li><a href="../media.html">Multimedia</a></li> | ||||
|                 <li><a href="../os.html">OS</a></li> | ||||
|                 <li><a href="../social-media.html">Social media</a></li> | ||||
|             </ul> | ||||
|         </div> | ||||
|     </header> | ||||
|     <article> | ||||
|         <h1>Game List</h1> | ||||
|         <h2>Fully Free</h2> | ||||
|         <ul class="fully-free"> | ||||
|             <li>0 A.D.</li> | ||||
|             <li>Freeciv</li> | ||||
|             <li>OpenCity</li> | ||||
|             <li>OpenTTD</li> | ||||
|         </ul> | ||||
|          | ||||
|         <h2>Non-Free Assets</h2> | ||||
|         <ul class="non-free-assets"> | ||||
|             <li>OpenAge</li> | ||||
|             <li>OpenRA</li> | ||||
|         </ul> | ||||
|     </article> | ||||
|     <script> | ||||
|       function toggleMenu() { | ||||
|         const menu = document.querySelector(".menu"); | ||||
|         menu.classList.toggle("active"); | ||||
|       } | ||||
|     </script> | ||||
| </body> | ||||
| </html> | ||||
|  | @ -1,6 +0,0 @@ | |||
| fully free | ||||
| 
 | ||||
| Rigs of Rods | ||||
| FlightGear | ||||
| 
 | ||||
| non-free assets | ||||
							
								
								
									
										43
									
								
								FOOS_ALT_WEBSITE/games/vehicle.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										43
									
								
								FOOS_ALT_WEBSITE/games/vehicle.html
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,43 @@ | |||
| <!DOCTYPE html> | ||||
| <html lang="en"> | ||||
| <head> | ||||
|     <meta charset="UTF-8"> | ||||
|     <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||||
|     <title>Game List</title> | ||||
|     <link rel="stylesheet" href="../list.css"> | ||||
| </head> | ||||
| <body> | ||||
|     <header> | ||||
|         <div class="header-content"> | ||||
|             <div class="project-name"><a href="index.html">FOSS alternative</a></div> | ||||
|             <button class="burger-menu" onclick="toggleMenu()">☰</button> | ||||
|             <ul class="menu"> | ||||
|                 <li><a href="../games.html">Games</a></li> | ||||
|                 <li><a href="../general.html">General</a></li> | ||||
|                 <li><a href="../tools.html">Tools</a></li> | ||||
|                 <li><a href="../media.html">Multimedia</a></li> | ||||
|                 <li><a href="../os.html">OS</a></li> | ||||
|                 <li><a href="../social-media.html">Social media</a></li> | ||||
|             </ul> | ||||
|         </div> | ||||
|     </header> | ||||
|     <article> | ||||
|         <h1>Game List</h1> | ||||
|         <h2>Fully Free</h2> | ||||
|         <ul class="fully-free"> | ||||
|             <li>Rigs of Rods</li> | ||||
|             <li>FlightGear</li> | ||||
|         </ul> | ||||
|          | ||||
|         <h2>Non-Free Assets</h2> | ||||
|         <ul class="non-free-assets"> | ||||
|         </ul> | ||||
|     </article> | ||||
|     <script> | ||||
|       function toggleMenu() { | ||||
|         const menu = document.querySelector(".menu"); | ||||
|         menu.classList.toggle("active"); | ||||
|       } | ||||
|     </script> | ||||
| </body> | ||||
| </html> | ||||
|  | @ -1,24 +1,171 @@ | |||
| body { | ||||
|     font-family: Arial, sans-serif; | ||||
| /* Reset and global styles */ | ||||
| * { | ||||
|   box-sizing: border-box; | ||||
|   margin: 0; | ||||
|   padding: 0; | ||||
|     background-color: #f9f9f9; | ||||
|   font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; | ||||
|   transition: 1s; | ||||
| } | ||||
| 
 | ||||
| h1, h2 { | ||||
| /* Body styles */ | ||||
| body { | ||||
|   background-color: #f5f5f5; | ||||
|   background-image: url("assets/"); | ||||
|   background-repeat: no-repeat; | ||||
|   background-size: cover; | ||||
|   background-position: center; | ||||
|   background-attachment: fixed; | ||||
|   display: flex; | ||||
|   flex-direction: column; | ||||
|   align-items: center; | ||||
|   min-height: 100vh; | ||||
| } | ||||
| 
 | ||||
| /* Header styles */ | ||||
| header { | ||||
|   background-color: rgba(0, 0, 0, 0.7); | ||||
|   padding: 10px; | ||||
|   width: 100%; | ||||
|   position: fixed; | ||||
|   top: 0; | ||||
|   left: 0; | ||||
|   z-index: 1000; | ||||
| } | ||||
| 
 | ||||
| .header-content { | ||||
|   display: flex; | ||||
|   justify-content: space-between; | ||||
|   align-items: center; | ||||
|   max-width: 1200px; | ||||
|   margin: 0 auto; | ||||
| } | ||||
| 
 | ||||
| .project-name { | ||||
|   color: white; | ||||
|   font-size: 1.5em; | ||||
| } | ||||
| 
 | ||||
| .burger-menu { | ||||
|   background: none; | ||||
|   border: none; | ||||
|   color: white; | ||||
|   font-size: 1.5em; | ||||
|   cursor: pointer; | ||||
|   display: none; | ||||
| } | ||||
| 
 | ||||
| .menu { | ||||
|   list-style: none; | ||||
|   display: flex; | ||||
|   justify-content: space-around; | ||||
|   flex-grow: 1; | ||||
| } | ||||
| 
 | ||||
| header li { | ||||
|   margin: 0 10px; | ||||
| } | ||||
| 
 | ||||
| header a { | ||||
|   color: white; | ||||
|   text-decoration: none; | ||||
|   padding: 10px; | ||||
|   border-radius: 5px; | ||||
|   transition: background-color 0.3s ease; | ||||
| } | ||||
| 
 | ||||
| header a:hover { | ||||
|   background-color: rgba(255, 255, 255, 0.2); | ||||
| } | ||||
| 
 | ||||
| /* Article styles */ | ||||
| article { | ||||
|   margin-top: 100px; | ||||
|   padding: 20px; | ||||
|   width: 90%; | ||||
|   max-width: 800px; | ||||
|   background: rgba(255, 255, 255, 0.9); | ||||
|   border-radius: 10px; | ||||
|   box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); | ||||
|   text-align: center; | ||||
|     color: #333; | ||||
| } | ||||
| 
 | ||||
| h1 { | ||||
|   color: #333; | ||||
|   margin-bottom: 20px; | ||||
|   font-size: 2em; | ||||
| } | ||||
| 
 | ||||
| p.text { | ||||
|   color: #666; | ||||
|   line-height: 1.2; | ||||
|   margin-bottom: 20px; | ||||
|   font-size: 1em; | ||||
| } | ||||
| 
 | ||||
| img { | ||||
|   max-width: 100%; | ||||
|   height: auto; | ||||
|   margin-bottom: 20px; | ||||
| } | ||||
| 
 | ||||
| button { | ||||
|   padding: 10px 20px; | ||||
|   margin: 2em; | ||||
|   border: none; | ||||
|   background-color: #333; | ||||
|   color: white; | ||||
|   border-radius: 5px; | ||||
|   cursor: pointer; | ||||
|   transition: background-color 0.3s ease; | ||||
| } | ||||
| 
 | ||||
| button:hover { | ||||
|   background-color: #555; | ||||
| } | ||||
| 
 | ||||
| .flex { | ||||
|   display: flex; | ||||
|   align-items: center; | ||||
| } | ||||
| 
 | ||||
| nav { | ||||
|     margin-top: 20px; | ||||
| } | ||||
| 
 | ||||
| h2 { | ||||
|     margin-top: 40px; | ||||
| .folder-list { | ||||
|     list-style-type: none; | ||||
|     padding: 0; | ||||
| } | ||||
| 
 | ||||
| ul { | ||||
| .folder-list-item { | ||||
|     margin-bottom: 10px; | ||||
| } | ||||
| 
 | ||||
| .folder-link { | ||||
|   text-decoration: none; | ||||
|   color: #eee8e8; | ||||
|   font-weight: bold; | ||||
|   display: block; | ||||
|   padding: 10px; | ||||
|   border-radius: 5px; | ||||
|   background: linear-gradient(to right, #000000, #707070); /* Gradient background */ | ||||
| } | ||||
| 
 | ||||
| .folder-link:hover { | ||||
|   background: linear-gradient(to right, #707070, #000000); /* Gradient change on hover */ | ||||
| } | ||||
| 
 | ||||
| .folder-link:active { | ||||
|   transform: scale(0.98); /* Slight scale down on click */ | ||||
| } | ||||
| 
 | ||||
| /* Styles for the game lists */ | ||||
| h2 { | ||||
|   margin-top: 40px; | ||||
|   color: #333; | ||||
| } | ||||
| 
 | ||||
| article ul { | ||||
|   list-style-type: none; | ||||
|   padding: 0; | ||||
|   width: 50%; | ||||
|  | @ -54,3 +201,56 @@ ul.fully-free li { | |||
| ul.non-free-assets li { | ||||
|   background-color: #ffebee; | ||||
| } | ||||
| 
 | ||||
| /* Mobile Styles */ | ||||
| @media (max-width: 1000px) { | ||||
|   .burger-menu { | ||||
|     display: block; | ||||
|   } | ||||
| 
 | ||||
|   .menu { | ||||
|     display: none; | ||||
|     flex-direction: column; | ||||
|     background-color: rgba(0, 0, 0, 0.7); | ||||
|     position: absolute; | ||||
|     top: 100%; /* Adjusted position */ | ||||
|     left: 0; | ||||
|     width: 100%; | ||||
|     z-index: 999; | ||||
|   } | ||||
| 
 | ||||
|   .menu.active { | ||||
|     display: flex; | ||||
|   } | ||||
|    | ||||
|   header { | ||||
|     padding: 5px; | ||||
|     height: auto; | ||||
|   } | ||||
| 
 | ||||
|   .header-content { | ||||
|     flex-direction: row; | ||||
|     justify-content: space-between; | ||||
|     align-items: center; | ||||
|   } | ||||
| 
 | ||||
|   .project-name { | ||||
|     font-size: 1.2em; | ||||
|   } | ||||
| 
 | ||||
|   header li { | ||||
|     margin: 0; | ||||
|     width: 100%; | ||||
|   } | ||||
| 
 | ||||
|   header a { | ||||
|     padding: 10px; | ||||
|     width: 100%; | ||||
|     display: block; | ||||
|   } | ||||
| 
 | ||||
|   article { | ||||
|     margin-top: 190px; | ||||
|     padding-top: 20px; | ||||
|   } | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Sage The DM
						Sage The DM