header align problem fix
This commit is contained in:
		
							parent
							
								
									a447d1561c
								
							
						
					
					
						commit
						6e80fe903f
					
				|  | @ -20,4 +20,11 @@ | |||
|   @include flexbox(); | ||||
|   @include align-items(center); | ||||
|   @include justify-content(center); | ||||
| } | ||||
| 
 | ||||
| .basicflex-column { | ||||
|   @include flexbox(); | ||||
|   @include align-items(center); | ||||
|   @include justify-content(center); | ||||
|   @include flex-direction(column); | ||||
| } | ||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							|  | @ -1,6 +1,6 @@ | |||
| {{ define "main" }} | ||||
| {{ $title := .Title }} | ||||
| <header class="header"> | ||||
| <header class="header basicflex-column"> | ||||
|   <h3 class="terms__title capitalize h3">{{ $title }}</h3> | ||||
| </header> | ||||
| <main class="terms main">   | ||||
|  |  | |||
|  | @ -1,5 +1,5 @@ | |||
| {{ define "main" }} | ||||
| <header class="header"> | ||||
| <header class="header basicflex-column"> | ||||
|   <h3 class="h3 terms__title"> | ||||
|     {{ .Title }} | ||||
|   </h3> | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| {{ define "main" }} | ||||
| {{ $titleWrap := $.Param "titleWrap" }} | ||||
| 
 | ||||
| <header class="header"> | ||||
| <header class="header basicflex-column"> | ||||
|   <h3 class="h3 terms__title"> | ||||
|     {{ .Title }} | ||||
|   </h3> | ||||
|  |  | |||
|  | @ -1,5 +1,5 @@ | |||
| {{ define "main" }} | ||||
| <header class="header"> | ||||
| <header class="header basicflex-column"> | ||||
|   <h3 class="h3 terms__title"> | ||||
|     {{ .Title }} | ||||
|   </h3> | ||||
|  |  | |||
|  | @ -1,5 +1,5 @@ | |||
| {{ define "main" }} | ||||
| <header class="header"> | ||||
| <header class="header basicflex-column"> | ||||
|   <h3 class="terms__title h3">{{ .Title }}</h3> | ||||
|   <div class="gallery__contents"> | ||||
|     {{ .Content }} | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| {{ if $.Params.header }}   | ||||
|   {{ range $.Params.header }} | ||||
|     {{ if eq .type "img" }} | ||||
|     <div class="site-header site-header__align-{{ .align }}" style="background-image: url('{{ .imageSrc | relURL }}'); background-size: {{ .imageSize }}; | ||||
|     <div class="site-header basicflex-column site-header__align-{{ .align }}" style="background-image: url('{{ .imageSrc | relURL }}'); background-size: {{ .imageSize }}; | ||||
|     background-repeat: {{ .imageRepeat }}; background-position: {{ .imagePosition }}; width: 100%; height: {{ .height }}px; padding: {{ .paddingY }}px {{ .paddingX }}px;"> | ||||
|       {{ $header := . }} | ||||
|       {{ if .title }} | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| {{ if $.Params.header }}   | ||||
|   {{ range $.Params.header }} | ||||
|     {{ if eq .type "text" }} | ||||
|       <div class="site-header site-header__align-{{ .align }}" style="width: 100%; height: {{ .height }}px; padding: {{ .paddingY }}px {{ .paddingX }}px;"> | ||||
|       <div class="site-header basicflex-column site-header__align-{{ .align }}" style="width: 100%; height: {{ .height }}px; padding: {{ .paddingY }}px {{ .paddingX }}px;"> | ||||
|         {{ $header := . }} | ||||
|         {{ if .title }}             | ||||
|           {{ range .title }} | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| {{ define "main" }} | ||||
| {{ $titleWrap := .Params.titleWrap }} | ||||
| 
 | ||||
| <header class="header"> | ||||
| <header class="header basicflex-column"> | ||||
|   <h3 class="h3 terms__title"> | ||||
|     {{ .Title }} | ||||
|   </h3> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 zzossig
						zzossig