images

package
v1.6.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2022 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	IMAGE_CONTAINER  = "image-container-" // + string
	COLOR_BLACK      = csscolors.COLOR_BLACK
	COLOR_MAIN       = csscolors.COLOR_MAIN
	COLOR_DARK_GRAY  = csscolors.COLOR_DARK_GRAY
	COLOR_SIX        = csscolors.COLOR_SIX
	BACKGROUND_COLOR = csscolors.BACKGROUND_COLOR
)

General colors for use in CSS. Can be overridden.

Functions

func LayeredImage added in v1.0.4

func LayeredImage(URL, imageURL, name, title string) *elems.Element

func LayeredImageCss added in v1.0.4

func LayeredImageCss(widthPX int) *elems.Element

func TextOnHover

func TextOnHover(src, caption, text string) *elems.Element

func TextOnHoverCss

func TextOnHoverCss(sideSizePX int) *elems.Element

func TextWithLinkBtn added in v1.1.8

func TextWithLinkBtn(src, href, buttontext, caption, text string) (*elems.Element, *elems.Element)

func TextWithLinkBtnCss

func TextWithLinkBtnCss(widthPX int, src string) *elems.Element

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL