Fix fotek na pozadí na mobilu, #header je kekel!
This commit is contained in:
		
							parent
							
								
									796e32db7f
								
							
						
					
					
						commit
						a3ca33841e
					
				
					 2 changed files with 7 additions and 1 deletions
				
			
		|  | @ -581,6 +581,10 @@ div.org-text { | |||
| /* malý tablet, mobil */ | ||||
| @media (max-width: 650px) { | ||||
| 
 | ||||
| 	.no-mobile{ | ||||
| 		display: none; | ||||
| 	} | ||||
| 
 | ||||
|   #hide-if-small.login-bar-flatpage { | ||||
| 		display: none; | ||||
| 	} | ||||
|  |  | |||
|  | @ -56,9 +56,11 @@ | |||
| 		<div class='col-md-12'> | ||||
|           <a href='/'> | ||||
| 	    <div id="title" >M&M - korespondenční seminář a časopis MFF UK</div> | ||||
|             <div id="header" style="background-image: url('{{ fotka }}')"> | ||||
|             <div id="header"> | ||||
|                 <div class="no-mobile" style="background-image: url('{{ fotka }}')"> | ||||
|                 {# TODO style=… není fancy řešení, ale u <img> se bojím, že mi to rozbije vzhled #} | ||||
| 		{% sitetree_menu from "main_menu" include "trunk" template "logo.html" %} | ||||
|                 </div> | ||||
| 		<img class="logo-mobile" src="{% static 'images/logo-mobile.svg' %}" /> | ||||
|             </div> | ||||
|             </a> | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Jonas Havelka
						Jonas Havelka