mirror of
				https://github.com/DerTyp7/explainegy-nextjs.git
				synced 2025-10-31 05:37:12 +01:00 
			
		
		
		
	search
This commit is contained in:
		| @@ -112,6 +112,10 @@ | ||||
| 				} | ||||
| 			} | ||||
|  | ||||
| 			&:focus-within + .searchResults { | ||||
| 				display: block; | ||||
| 			} | ||||
|  | ||||
| 			input { | ||||
| 				width: 300px; | ||||
| 				height: 30px; | ||||
| @@ -134,6 +138,44 @@ | ||||
| 				} | ||||
| 			} | ||||
| 		} | ||||
|  | ||||
| 		.searchResults { | ||||
| 			display: none; | ||||
| 			position: absolute; | ||||
| 			top: 48px; | ||||
|  | ||||
| 			&:hover { | ||||
| 				display: block; | ||||
| 			} | ||||
|  | ||||
| 			@media (max-width: $nav-breakpoint-2) { | ||||
| 				top: 94px; | ||||
| 			} | ||||
|  | ||||
| 			.content { | ||||
| 				background-color: rgb(18, 18, 18); | ||||
| 				width: 335px; | ||||
| 				a { | ||||
| 					text-decoration: none; | ||||
| 					display: block; | ||||
| 					width: 100%; | ||||
| 					padding: 5px 10px 5px 10px; | ||||
| 					float: none; | ||||
| 					border-left: 2px solid transparent; | ||||
| 					transition: all 50ms linear; | ||||
| 					text-overflow: ellipsis; | ||||
| 					font-size: 0.8em; | ||||
|  | ||||
| 					&:hover { | ||||
| 						border-color: var(--color-accent); | ||||
| 						background-color: rgba(41, 41, 41, 0.2); | ||||
| 					} | ||||
| 				} | ||||
| 				@media (max-width: $nav-breakpoint-4) { | ||||
| 					width: 235px; | ||||
| 				} | ||||
| 			} | ||||
| 		} | ||||
| 	} | ||||
|  | ||||
| 	.containerRight { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Janis
					Janis