updates
This commit is contained in:
		| @@ -1,5 +1,5 @@ | ||||
| :root { | ||||
|     --light-background: #f9f9f9; | ||||
|     --light-background: #f0f0f0; | ||||
|     --dark-background: #121212; | ||||
|     --light-title-text: #e0e0e0; | ||||
|     --light-icons: #333; | ||||
| @@ -112,4 +112,11 @@ body { | ||||
| .dark-mode .settings-menu .fa { | ||||
|     color: var(--dark-icons); | ||||
| } | ||||
| .router svg { | ||||
|     font-size: 26px; | ||||
|     color: var(--light-router-title); | ||||
| } | ||||
|  | ||||
| .dark-mode .router svg { | ||||
|     color: var(--dark-router-title); | ||||
| } | ||||
|   | ||||
| @@ -41,30 +41,75 @@ | ||||
| } | ||||
|  | ||||
| .group { | ||||
|     margin-bottom: 40px; | ||||
|     margin-bottom: 20px;  /* Reduced margin between groups */ | ||||
| } | ||||
|  | ||||
| .group-title { | ||||
|     display: inline-block; | ||||
|     cursor: pointer; | ||||
|     margin-top: 10px;  /* Reduced margin above group title */ | ||||
| } | ||||
|  | ||||
| .group-icon { | ||||
|     margin-right: 8px; | ||||
| } | ||||
|  | ||||
| .router-container { | ||||
|     display: flex; | ||||
|     flex-wrap: wrap; | ||||
|     justify-content: flex-start; | ||||
| } | ||||
|  | ||||
| .router { | ||||
|     border-radius: 8px; | ||||
|     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | ||||
|     padding: 20px 15px;  /* Added padding top and bottom */ | ||||
|     margin: 15px;  /* Added margin between boxes */ | ||||
|     flex: 1 1 calc(33.333% - 40px);  /* Adjusted for new margin */ | ||||
|     max-width: calc(33.333% - 40px);  /* Adjusted for new margin */ | ||||
|     text-align: left; | ||||
|     cursor: pointer; | ||||
|     transition: box-shadow 0.3s ease; | ||||
|     box-sizing: border-box; | ||||
|     display: flex; | ||||
|     align-items: center; | ||||
| } | ||||
|  | ||||
| .router svg { | ||||
|     font-size: 32px;  /* Made the icon bigger */ | ||||
|     margin-right: 15px;  /* Added padding between icon and text */ | ||||
| } | ||||
|  | ||||
| .router:hover { | ||||
|     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); | ||||
| } | ||||
|  | ||||
| .router h2 { | ||||
|     font-size: 18px; | ||||
|     margin: 0; | ||||
| } | ||||
|  | ||||
| .router p { | ||||
|     font-size: 14px; | ||||
|     margin: 5px 0 0; | ||||
| } | ||||
|  | ||||
| .content { | ||||
|     padding: 20px;  /* Added padding to the left and right of the webpage */ | ||||
| } | ||||
|  | ||||
| /* Responsive Design */ | ||||
| @media (max-width: 1024px) { | ||||
|     .router { | ||||
|         flex: 1 1 calc(50% - 20px); | ||||
|         max-width: calc(50% - 20px); | ||||
|         flex: 1 1 calc(50% - 40px);  /* Adjusted for new margin */ | ||||
|         max-width: calc(50% - 40px);  /* Adjusted for new margin */ | ||||
|     } | ||||
| } | ||||
|  | ||||
| @media (max-width: 768px) { | ||||
|     .router { | ||||
|         flex: 1 1 calc(50% - 20px); | ||||
|         max-width: calc(50% - 20px); | ||||
|         flex: 1 1 calc(50% - 40px);  /* Adjusted for new margin */ | ||||
|         max-width: calc(50% - 40px);  /* Adjusted for new margin */ | ||||
|     } | ||||
| } | ||||
|  | ||||
|   | ||||
							
								
								
									
										6044
									
								
								static/js/fontawesome.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6044
									
								
								static/js/fontawesome.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @@ -8,6 +8,16 @@ document.addEventListener("DOMContentLoaded", function() { | ||||
|         document.getElementById('theme-icon').classList.add('fa-moon'); | ||||
|     } | ||||
|  | ||||
|     document.querySelectorAll('.group').forEach(group => { | ||||
|         const groupName = group.id; | ||||
|         const collapsed = group.dataset.collapsed === 'true'; | ||||
|         if (collapsed) { | ||||
|             group.classList.add('collapsed'); | ||||
|         } else if (localStorage.getItem(`collapsed-${groupName}`) === 'true') { | ||||
|             group.classList.add('collapsed'); | ||||
|         } | ||||
|     }); | ||||
|  | ||||
|     document.addEventListener("click", function(event) { | ||||
|         const settingsMenu = document.getElementById('settings-menu'); | ||||
|         if (!settingsMenu.contains(event.target) && !event.target.closest('.icon-button')) { | ||||
| @@ -33,6 +43,8 @@ function toggleDarkMode() { | ||||
| function toggleGroup(group) { | ||||
|     const groupElement = document.getElementById(group); | ||||
|     groupElement.classList.toggle("collapsed"); | ||||
|     const isCollapsed = groupElement.classList.contains("collapsed"); | ||||
|     localStorage.setItem(`collapsed-${group}`, isCollapsed); | ||||
| } | ||||
|  | ||||
| function toggleSettings() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user