galerie | vylepseni css
This commit is contained in:
		
							parent
							
								
									9defd0ef68
								
							
						
					
					
						commit
						ec020bd5e8
					
				
					 2 changed files with 17 additions and 7 deletions
				
			
		|  | @ -5,14 +5,16 @@ | ||||||
| {% endblock %}{% endblock %} | {% endblock %}{% endblock %} | ||||||
| 
 | 
 | ||||||
| {% block content %} | {% block content %} | ||||||
|   <h1><a title="Zpět na náhled fotek" href="../#obsah">{{galerie.nazev}}</a></h1> |   <div id="popis"> | ||||||
|  |     <h2><a title="Zpět na náhled fotek" href="../#obsah">{{galerie.nazev}}</a></h2> | ||||||
|  |   </div> | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|   {# TODO šipky na přecházeni dodelat ve stylech #} |   {# TODO šipky na přecházeni dodelat ve stylech #} | ||||||
|   <div class="galerie"> |   <div class="galerie"> | ||||||
|     {% if obrazky_predchozi %} |     {% if obrazky_predchozi %} | ||||||
|       {% with obrazky_predchozi|last as predchozi_obrazek %} |       {% with obrazky_predchozi|last as predchozi_obrazek %} | ||||||
|         <div id="popis"> |         <div> | ||||||
|           <a title="Předchozí" class="predchozi_obrazek" href="../{{predchozi_obrazek.pk}}#popis"></a> |           <a title="Předchozí" class="predchozi_obrazek" href="../{{predchozi_obrazek.pk}}#popis"></a> | ||||||
|         </div> |         </div> | ||||||
|       {% endwith %} |       {% endwith %} | ||||||
|  |  | ||||||
|  | @ -470,13 +470,17 @@ div.zadani_azad_termin { | ||||||
| .galerie{ | .galerie{ | ||||||
|   position: relative; |   position: relative; | ||||||
|   text-align: center; |   text-align: center; | ||||||
|   width: 620px; |   width: 630px; | ||||||
|   margin: 0 auto 0 auto; |   margin: 0 auto 0 auto; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | .galerie h2{ | ||||||
|  |   text-align: center; | ||||||
|  | } | ||||||
|  | 
 | ||||||
| .popis{ | .popis{ | ||||||
|   text-align: center; |   text-align: center; | ||||||
|   margin: 10px; |   margin: 10px 10px 30px 10px; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .galerie_nahledy{ | .galerie_nahledy{ | ||||||
|  | @ -485,6 +489,10 @@ div.zadani_azad_termin { | ||||||
|   text-align: center; |   text-align: center; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | .galerie_nahledy img{ | ||||||
|  |   margin: 0 10px 0 10px; | ||||||
|  | } | ||||||
|  | 
 | ||||||
| .galerie_nahledy a{ | .galerie_nahledy a{ | ||||||
|   height: 100%; |   height: 100%; | ||||||
|   width: 100%; |   width: 100%; | ||||||
|  | @ -496,12 +504,12 @@ div.zadani_azad_termin { | ||||||
|   height: 190px; |   height: 190px; | ||||||
|   text-align: center; |   text-align: center; | ||||||
|   border: solid; |   border: solid; | ||||||
|   border-width: 4px; |   border-width: 2px; | ||||||
|   border-radius: 5px; |   border-radius: 5px; | ||||||
|   border-color: #ffa500; |   border-color: #ffa500; | ||||||
|   background-color: #ffa500; |   background-color: #ffb52d; | ||||||
|   margin: 10px; |  | ||||||
|   white-space: nowrap; |   white-space: nowrap; | ||||||
|  |   margin: 10px; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .vystredeno{ /* helper */ | .vystredeno{ /* helper */ | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Bc. Petr Pecha
						Bc. Petr Pecha