tweaking of some shortcodes and adding osm
This commit is contained in:
		
							parent
							
								
									35425157b0
								
							
						
					
					
						commit
						309a419d50
					
				
					 7 changed files with 32 additions and 12 deletions
				
			
		| 
						 | 
				
			
			@ -1679,6 +1679,20 @@ select {
 | 
			
		|||
  height: 16rem;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.h-px {
 | 
			
		||||
  height: 1px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.h-max {
 | 
			
		||||
  height: -webkit-max-content;
 | 
			
		||||
  height: -moz-max-content;
 | 
			
		||||
  height: max-content;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.h-32 {
 | 
			
		||||
  height: 8rem;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.max-h-\[5rem\] {
 | 
			
		||||
  max-height: 5rem;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -3687,6 +3701,14 @@ body:has(#menu-controller:checked) {
 | 
			
		|||
    height: 14rem;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  .md\:h-64 {
 | 
			
		||||
    height: 16rem;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  .md\:h-72 {
 | 
			
		||||
    height: 18rem;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  .md\:w-1\/3 {
 | 
			
		||||
    width: 33.333333%;
 | 
			
		||||
  }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -12,3 +12,4 @@ summary: "Northern Valley is hosted at the Long Island Methodist Church at 5:00
 | 
			
		|||
- End Time: 7:30
 | 
			
		||||
- Location: Long Island Methodist Church
 | 
			
		||||
- Ages: 6-8th Grade
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,7 +4,7 @@
 | 
			
		|||
{{ $articleClasses = delimit (slice $articleClasses "border" "border-neutral-200 dark:border-neutral-700 border-2 rounded-xl") " thumbnailshadow " }}
 | 
			
		||||
{{ end }}
 | 
			
		||||
 | 
			
		||||
{{ $articleImageClasses := "object-cover object-top w-full h-64 nozoom" }}
 | 
			
		||||
{{ $articleImageClasses := "object-cover object-top w-full h-96 lg:h-72 md:h-72 nozoom" }}
 | 
			
		||||
{{ if .Site.Params.list.showCards }}
 | 
			
		||||
{{ $articleImageClasses = delimit (slice $articleImageClasses "rounded-lg") " " }}
 | 
			
		||||
{{ else }}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,7 +4,7 @@
 | 
			
		|||
  }
 | 
			
		||||
</style>
 | 
			
		||||
 | 
			
		||||
<iframe id="v-frame" width="100%" frameborder="0" allow="clipboard-write" height="800px" src=https://secure.myvanco.com/L-Z772 scrolling="yes"></iframe>
 | 
			
		||||
<iframe class="h-screen" id="v-frame" width="100%" frameborder="0" allow="clipboard-write" src=https://secure.myvanco.com/L-Z772 scrolling="yes"></iframe>
 | 
			
		||||
 | 
			
		||||
<!-- <script type="application/javascript"> -->
 | 
			
		||||
<!--       window.onmessage=(e=>{const n=document.getElementById("v-frame");https:\/\/secure.myvanco.com===e.origin&&e.data.height&&(n.height=e.data.height,n.overflow="hidden")}); -->
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,5 +1,5 @@
 | 
			
		|||
<iframe
 | 
			
		||||
  class="mt-form w-full h-200"
 | 
			
		||||
  class="mt-form w-full h-screen"
 | 
			
		||||
  src="https://tbl.tfcconnection.org/dashboard/#/nc/form/771dc7dc-9a82-49e4-abfe-0fd7b72281f2?embed"
 | 
			
		||||
  frameborder="0"
 | 
			
		||||
  style="background: transparent; border: 1px solid #ddd">
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										4
									
								
								layouts/shortcodes/osm.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								layouts/shortcodes/osm.html
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,4 @@
 | 
			
		|||
 | 
			
		||||
{{ $osmClasses := "{{ .Get `height` | default `h-96`}} {{.Get `width` | default `w-full`}}" }}
 | 
			
		||||
 | 
			
		||||
<iframe class="{{with .Get `height` }}{{ . }}{{ else }}h-96{{end}} {{with .Get `width` }}{{ . }}{{ else }}w-full{{end}}" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="{{ .Get `src`}}"></iframe><br/><small><a href="{{ .Get `href`}}">View Larger Map</a></small>
 | 
			
		||||
| 
						 | 
				
			
			@ -1,9 +1,2 @@
 | 
			
		|||
{{- $height := .Get "height" | default "100px" -}}
 | 
			
		||||
<style>
 | 
			
		||||
  .space{
 | 
			
		||||
      height: {{ $height }};
 | 
			
		||||
  }
 | 
			
		||||
</style>
 | 
			
		||||
 | 
			
		||||
<div class="space" style="display: flex;">
 | 
			
		||||
</div>
 | 
			
		||||
{{- $height := .Get "height" | default "h-24" -}}
 | 
			
		||||
<div class="{{ $height }}" style="display: flex;"></div>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue