logo as button, see #18
This commit is contained in:
		| @@ -49,6 +49,20 @@ body { | ||||
| 	background-repeat: no-repeat; | ||||
| } | ||||
|  | ||||
| .logo { | ||||
| 	width: 128px; | ||||
| 	height: 55px; | ||||
| 	background-size: 128px; | ||||
| 	background-repeat: no-repeat; | ||||
| 	background-image:  url('../images/logo.png'); | ||||
| 	margin-left: 8px; | ||||
| 	display: inline-block; | ||||
| } | ||||
|  | ||||
| .logo:hover { | ||||
| 	background-image: url('../images/logo_hover.png'); | ||||
| } | ||||
|  | ||||
| a { | ||||
| 	font-family: 'Fira Sans'; | ||||
| } | ||||
|   | ||||
							
								
								
									
										
											BIN
										
									
								
								src/main/resources/static/images/logo_hover.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								src/main/resources/static/images/logo_hover.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 22 KiB | 
| @@ -8,8 +8,8 @@ | ||||
| <link th:rel="stylesheet" type="text/css" media="all" th:href="@{/webjars/font-awesome/6.5.2/css/all.min.css} " /> | ||||
| <link th:rel="stylesheet" type="text/css" media="all" th:href="@{/webjars/datatables/1.13.5/css/jquery.dataTables.min.css}" /> | ||||
| <link th:rel="stylesheet" type="text/css" media="all" th:href="@{/webjars/select2/4.0.13/css/select2.min.css}" /> | ||||
| <link th:rel="stylesheet" type="text/css" media="all" th:href="@{/css/style.css}" /> | ||||
| <link th:rel="stylesheet" type="text/css" media="all" th:href="@{/css/select2-bootstrap-5-theme.min.css}" /> | ||||
| <link th:rel="stylesheet" type="text/css" media="all" th:href="@{/css/style.css}" /> | ||||
| <script th:src="@{/webjars/jquery/3.7.1/jquery.min.js}"></script> | ||||
| <script th:src="@{/webjars/bootstrap/5.3.3/js/bootstrap.bundle.min.js}"></script> | ||||
| <script th:src="@{/webjars/datatables/1.13.5/js/jquery.dataTables.min.js}"></script> | ||||
| @@ -21,7 +21,7 @@ | ||||
| </head> | ||||
| <body> | ||||
| 	<nav class="navbar sticky-top navbar-expand-lg navbar-light bg-light headerlayout navbar-background"> | ||||
| 		<span class="navbar-brand"><img th:src="@{/images/logo.png}" width="128px" style="margin-left: 8px" /></span> | ||||
| 		<span class="navbar-brand"><a th:href="@{/}"><span class="logo"></span></a></span> | ||||
| 		<button class="navbar-toggler" style="margin-right: 40px" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" | ||||
| 			aria-expanded="false"> | ||||
| 			<span class="navbar-toggler-icon"></span> | ||||
| @@ -29,7 +29,6 @@ | ||||
| 		<div class="collapse navbar-collapse" id="navbarSupportedContent" style="margin-right: 20px"> | ||||
| 			<ul class="navbar-nav mb-2 mb-lg-0"> | ||||
| 				<li class="nav-item"><a th:href="@{/ical}" class="btn btn-secondary btn-icon-silent" target="_blank" title="Freizeitdaten als ical herunterladen"><i class="far fa-calendar-alt"></i></a></li> | ||||
| 				<li class="nav-item"><a class="btn btn-icon-silent menufont" th:href="@{/}">Startseite</a></li> | ||||
| 				<li class="nav-item"><a class="btn btn-icon-silent menufont" th:href="@{/nachruf}">Nachruf</a></li> | ||||
| 				<li class="nav-item"><a class="btn btn-icon-silent menufont" th:href="@{/allgemeines}">Allgemeines</a></li> | ||||
| 				<li class="nav-item"><a class="btn btn-icon-silent menufont" th:href="@{/camplist}">Freizeiten</a></li> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user