práce na titulce, hlavně novinky
This commit is contained in:
		
							parent
							
								
									6df9cf6beb
								
							
						
					
					
						commit
						26346e174d
					
				
					 2 changed files with 23 additions and 7 deletions
				
			
		|  | @ -102,7 +102,6 @@ h6 { | |||
| } | ||||
| 
 | ||||
| .button { | ||||
| 	height: 40px; | ||||
| 	margin: 10px 0px 10px 0px; | ||||
| 	padding: 4px 0; /*vertikální centování textu*/ | ||||
| 	text-align: center; | ||||
|  | @ -973,12 +972,20 @@ div.cislo_odkazy ul { | |||
| 
 | ||||
| .titulnistrana { | ||||
| 	display: flex; | ||||
| 	text-align: justify; | ||||
| } | ||||
| 
 | ||||
| .titulnistrana h1 { | ||||
| 	text-align: center; | ||||
| } | ||||
| 
 | ||||
| /* | ||||
| .temata_titulka .button { | ||||
| 	color: #6f2509; | ||||
| 	/*background-color: #fdedd5;* | ||||
| 	background-color: #fffbf6; | ||||
| }*/ | ||||
| 
 | ||||
| .zjistit_vic{ | ||||
|   text-align: center; | ||||
| } | ||||
|  | @ -1007,6 +1014,15 @@ div.cislo_odkazy ul { | |||
| 	width: 100%; | ||||
| } | ||||
| 
 | ||||
| .novinka_datum { | ||||
| 	font-weight: bold; | ||||
| } | ||||
| 
 | ||||
| .novinka_autor { | ||||
| 	text-align: right; | ||||
| 	font-style: italic; | ||||
| } | ||||
| 
 | ||||
| div.org-text { | ||||
|     font-style: italic; | ||||
| } | ||||
|  |  | |||
|  | @ -7,7 +7,7 @@ | |||
|   {% endif %} | ||||
|   {% if novinka.zverejneno or user.is_staff %} | ||||
|   {# datum #} | ||||
|   <div><b>{{novinka.datum}}</b></div> | ||||
|   <div class=novinka_datum>{{novinka.datum}}</div> | ||||
|   {# text #} | ||||
|   {{ novinka.text | safe }} | ||||
|   {# obrazek #} | ||||
|  | @ -23,12 +23,12 @@ | |||
|     </div> | ||||
|   {% endif %} | ||||
|   {# autor #} | ||||
|   <div class=novinky_name><p>{{novinka.autor.first_name}} | ||||
|     {% if novinka.autor.organizator.prezdivka%} | ||||
|       „{{novinka.autor.organizator.prezdivka}}“ | ||||
|   <div class=novinka_autor> | ||||
|     {{novinka.autor.osoba.jmeno}} | ||||
|     {% if novinka.autor.osoba.prezdivka%} | ||||
|       „{{novinka.autor.osoba.prezdivka}}“ | ||||
|     {% endif %} | ||||
|     {{novinka.autor.last_name}} | ||||
|       </p> | ||||
|     {{novinka.autor.osoba.prijmeni}} | ||||
|   </div> | ||||
|   {% endif %} | ||||
|   {% if not novinka.zverejneno and user.is_staff %} | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Kateřina Č
						Kateřina Č