Saturday 1 August 2020

Showcase – Markup, Gallery and Hero-Header

Showcase – Markup, Gallery and Hero-Header

Blog template capabilities

To change overall blog appearance Blogger allows its users to choose from various provided blog themes or import custom made blog templates like Gelati Sugarfree

Blogger provides a WYSIWYG blog post-editor which enables its users to express multiple markup elements like headings, paragraph, image, list, quote and video. This blog template expands that feature set with beginner friedly CSS-triggered generation of hero-image variations and Javascript-configurable gallery and carousel components, powered by third-party integrations from menucool.com


Let's start with some Headings

H3 Heading

H4 Heading

The paragraph is the default markup type. It should not have any alignment of any kind. It should just flow like you would normally expect. Nothing fancy. Just straight up text, free flowing, with love.

This paragraph is left aligned.

This italic paragraph is centered.

This paragraph is right aligned.

Lorem ipsum dolor sit amet, consectetur adipiscing elit.
This paragraph is colorful, with a orange background and blue text. Colored content should have a high enough contrast, so that the text is readable.

This paragraph prefers Jazz over Justin Timberlake. It also uses the small font size.

This paragraph has something important to say: It has a large font size, which defaults to 36px. 

The huge text size defaults to 46px, but the size can be customized. 

Neither of these paragraphs care about politics, but this one is bold, medium sized and has a drop cap.

Ordered list
  1. Orderd List Item 1
  2. Orderd List Item 2
  3. Orderd List Item 3
  4. Orderd List Item 4
Unordered list
  • Unorderd List 👀 1
  • Unorderd List 👽 2
  • Unorderd List 👻 3
  • Unorderd List 👍 4


  • 1.) Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer venenatis tincidunt justo non ultrices.
  • 2.) Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer venenatis tincidunt justo non ultrices.
  • 4.) Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer venenatis tincidunt justo non ultrices.
  • 5.) Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer venenatis tincidunt justo non ultrices.
  • 6.) Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer venenatis tincidunt justo non ultrices.
  • 7.) Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer venenatis tincidunt justo non ultrices.
  • 8.) Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer venenatis tincidunt justo non ultrices.
  • 1
  • 2
  • 4
  • 5
  • 6
  • 7
  • 8

  • Supports Youtube, Vimeo and HTML video/audio
  • This video starts from 0:10


Video components have settings for showing and hiding the playback controls. Use autoplay and playback controls responsibly.

Quote

The Verse block

A block for haiku?
Why not?
Blocks for all the things!

Friday 31 July 2020

Showcase – Extensive Markup, Image Handling and Hero-Image

Showcase – Extensive Markup, Image Handling and Hero-Image

Blog post styling

Tacit is a general purpose CSS framework. A customized version is provided along with this blog template, specifically configured to address only blog post-related CSS rules to prevent unintended interactions with blog's overall layout.


You should not use any CSS classes to make your HTML code look nice. Just make sure it is HTML5 compliant and you'll be fine. Again, no classes, just standard HTML elements, like <table> and <input>. Check the source code of this page.


/* b:comment: customize blogtemplate - blogpost css (start) */
body.article-view .post-body .content-item input,body.article-view .post-body .content-item textarea,body.article-view .post-body .content-item select,…
/* b:comment: customize blogtemplate - blogpost css (end) */
]]></b:skin>
<b:template-skin>

By the way, Tacit is compliant with W3C validator requirements: HTML and CSS.


Forms

Here is a simple form with <fieldset>:

This is a one-line form without <fieldset>:


Tables

A simple table would look like this:

Make Price Year
BMW X6 $75,000 2013
Mercedes-Benz E350 $52,700 2014

Headings

Just use standard <h1>...<h6> tags:

This is <h1>

Use a heading of the highest level once per page.

This is <h2>

Use <h2> for sections of the page.

This is <h3>

Use <h3> for sub-sections.

This is <h4>

I would recommend to avoid this type of heading at all.

This is <h5>

I would recommend to avoid this type of heading at all.

This is <h6>

I would recommend to avoid this type of heading at all.

Sup® and Sub® Elements


Lists

Just use standard <ul>, <ol> and <dl> tags:

  • Orange
  • Apple
    1. First
    2. Second
      • Blue
      • Yellow
      • Green
      • Red
    3. Third
  • Apricot
Banana
A yellow fruit that is easy to peel.
Which also grows on a tree.
Cashew
A tan nut without a peel.
Cherry
A red fruit that is hard to peel.

Blockquote

Use this to emphasize a quote
— Author Name, Publication

Aside

main content

Keyboard

Sometimes you want to let people know they should press a keyboard command like ctrl + l.


Media

It's recommended to add .content-block css-class to image, video and embedded elements to acquire a better responsive behavior.

To scale images, append an additional css-class to provide aligned and floating images a coherent layout, including mobile views.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer venenatis tincidunt justo non ultrices.

.content-block.full-width


Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer venenatis tincidunt justo non ultrices.

.content-block.small-width

As an alternative use Blogger's standard sizinig method, e.g. img-attribute. Hint: Blogger adapts image width and alignment for mobile requests.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer venenatis tincidunt justo non ultrices.

.content-block img:not([width])


Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer venenatis tincidunt justo non ultrices.

.content-block img[width="400"]

Thursday 30 July 2020

Image Handling – Basic Usage

Image Handling – Basic Usage

This is a paragraph. It should not have any alignment of any kind. It should just flow like you would normally expect. Nothing fancy. Just straight up text, free flowing, with love. Completely neutral and not picking a side or sitting on the fence.

Lists are an interesting beast

.content-block.content-spacer

style="padding-right: 1em"
It's a corner case to make sure that:
  • Floating elements align and space correct next to bullet items
  • Lists within lists do not break the ordered list numbering order
  • Your list styles go deep enough

Ordered - Unordered - Ordered

  1. ordered item
  2. ordered item
    • unordered
    • unordered
      1. ordered item
      2. ordered item
  3. ordered item
  4. ordered item

Ordered - Unordered - Unordered

  1. ordered item
  2. ordered item
    • unordered
    • unordered
      • unordered item
      • unordered item
  3. ordered item
  4. ordered item
.content-block.content-spacer

Now to compose a text Lorem Ipsum is much more fun!

With the online text generator you can process your personal Lorem Ipsum enriching it with html elements that define its structure, with the possibility to insert external links, but not only.

Be original, test your imagination... our Lorem Ipsum generator will amaze you. Try it now!

In fact, inserting any fantasy text or a famous text, be it a poem, a speech, a literary passage, a song's text, etc., our text generator will provide the random extraction of terms and steps to compose your own exclusive Lorem Ipsum.

Unordered - Ordered - Unordered

  • unordered item
  • unordered item
    1. ordered
    2. ordered
      • unordered item
      • unordered item
  • unordered item
  • unordered item

Unordered - Unordered - Ordered

  • unordered item
  • unordered item
    • unordered
    • unordered
      1. ordered item
      2. ordered item
  • unordered item
  • unordered item

Wednesday 29 July 2020

Image Handling – Advanced Usage

Image Handling – Advanced Usage

Welcome to image positioning and sizing! The best way to demonstrate the ebb and flow of the various image positioning options is to nestle them snuggly among an ocean of words. Grab a paddle and let's get started.

On the topic of alignment, it should be noted that users can choose from the options of None, Left, Right, and Center. In addition, they also get the options of Small, Medium, Large, X-Large & Fullsize.
The image above happens to be centered.

The rest of this paragraph is filler for the sake of seeing the text wrap around the 150x150 image, which is left aligned.

As you can see the should be some space above, below, and to the right of the image. The text should not be creeping on the image. Creeping is just not right. Images need breathing room too. Let them speak like you words. Let them do their jobs without any hassle from the text. In about one more sentence here, we'll see that the text moves from the right of the image down below the image in seamless transition. Again, letting the do it's thang. Mission accomplished!

And now for a massively large image

It also has no alignment.
The image above, though 1200px wide, should not overflow the content area. It should remain contained with no visible disruption to the flow of content.

And we try the large image again, but this time scaled down


floating image

.content-width.small-width

Scale Methode 1

css-class

Keeps a rational and coherent layout to floating and aligned images, including mobile views.
aligned image

.content-width.small-width


floating image

.content-width img[width="400"]

Scale Methode 2

img-attribute

Hint: Blogger adapts image width and alignment for mobile requests.
aligned image

.content-width img[width="400"]


And now we're going to shift things to the right align. Again, there should be plenty of room above, below, and to the left of the image. Just look at him there... Hey guy! Way to rock that right side. I don't care what the left aligned image says, you look great. Don't let anyone else tell you differently.

In just a bit here, you should see the text start to wrap below the right aligned image and settle in nicely. There should still be plenty of room and everything should be sitting pretty. Yeah... Just like that. It never felt so good to be right.

And just when you thought we were done, we're going to do them all over again with captions!
Look at 580x300 getting some captionlove.
The image above happens to be centered. The caption also has a link in it, just to see if it does anything funky.

Bigger caption than the image usually is.

The rest of this paragraph is filler for the sake of seeing the text wrap around the 150x150 image, which is left aligned.

As you can see the should be some space above, below, and to the right of the image. The text should not be creeping on the image. Creeping is just not right. Images need breathing room too. Let them speak like you words. Let them do their jobs without any hassle from the text. In about one more sentence here, we'll see that the text moves from the right of the image down below the image in seamless transition. Again, letting the do it's thang. Mission accomplished!

And now for a massively large image

It also has no alignment.
The image above, though 1200px wide, should not overflow the content area. It should remain contained with no visible disruption to the flow of content.

And we try the large image again, but this time scaled down


floating image

.content-width.small-width

Scale Methode 1

css-class

Keeps a rational and coherent layout to aligned and floating images, including mobile views.
aligned image

.content-width.small-width


floating image

.content-width img[width="400"]

Scale Methode 2

img-attribute

Hint: Blogger adapts image width and alignment for mobile requests.
aligned image

.content-width img[width="400"]


Feels good to be right all the time.

And now we're going to shift things to the right align. Again, there should be plenty of room above, below, and to the left of the image. Just look at him there... Hey guy! Way to rock that right side. I don't care what the left aligned image says, you look great. Don't let anyone else tell you differently.

In just a bit here, you should see the text start to wrap below the right aligned image and settle in nicely. There should still be plenty of room and everything should be sitting pretty. Yeah... Just like that. It never felt so good to be right.

And that's a wrap, yo! You survived the tumultuous waters of alignment. Image alignment achievement unlocked! One last thing: The last item in this post's content is a thumbnail floated right. Make sure any elements after the content are clearing properly.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Praesent elementum facilisis leo vel. Ipsum faucibus vitae aliquet nec ullamcorper sit amet risus nullam. Morbi tincidunt augue interdum velit euismod in pellentesque massa. Sed euismod nisi porta lorem mollis.

Tuesday 28 July 2020

Article HowTo – Hero-Image

Article HowTo – Hero-Image


Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Praesent elementum facilisis leo vel. Ipsum faucibus vitae aliquet nec ullamcorper sit amet risus nullam. Morbi tincidunt augue interdum velit euismod in pellentesque massa. Sed euismod nisi porta lorem mollis.


<div class="separator cover-item full-cover center-text-align" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh51OmBG4ek9JhkqzX2AlmLNxzsiuhNV5uLugQqTcdqLFpsjTXxQe_a9kCYILsBotkLL-Smqn-XdGxcbaMM_8f6WUd2AhOnHybvbgGc0JQQMfmj1CUP6vfX5YPEwkR9U9AZVBRz8m3dn_eI/s1600/landscape_color_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;">
<img border="0" data-original-height="512" data-original-width="1024" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh51OmBG4ek9JhkqzX2AlmLNxzsiuhNV5uLugQqTcdqLFpsjTXxQe_a9kCYILsBotkLL-Smqn-XdGxcbaMM_8f6WUd2AhOnHybvbgGc0JQQMfmj1CUP6vfX5YPEwkR9U9AZVBRz8m3dn_eI/w800-h400-p-k-no-nu/landscape_color_1.png" />
</a>
</div>

cover-item full-cover center-text-align

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Praesent elementum facilisis leo vel. Ipsum faucibus vitae aliquet nec ullamcorper sit amet risus nullam. Morbi tincidunt augue interdum velit euismod in pellentesque massa. Sed euismod nisi porta lorem mollis.

Monday 27 July 2020

Article HowTo – Hero-Header

Article HowTo – Hero-Header


Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Praesent elementum facilisis leo vel. Ipsum faucibus vitae aliquet nec ullamcorper sit amet risus nullam. Morbi tincidunt augue interdum velit euismod in pellentesque massa. Sed euismod nisi porta lorem mollis.


<div class="separator cover-item small-cover light-text-color" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRxS4I7r0hD_Tmk_-inNcPClnv4Mw_rx9HRLkdHXWNBe1pd52DrNLX8iWugWIMQRXKiX2h_vcuA193C3_BmFCVuBvYZUZtkFYQAxUe4PEtXSepdCpLJhHTnflJksH0xs4Zo8X74QFhbBJq/s1600/landscape_color_5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;">
<img border="0" data-original-height="512" data-original-width="1024" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRxS4I7r0hD_Tmk_-inNcPClnv4Mw_rx9HRLkdHXWNBe1pd52DrNLX8iWugWIMQRXKiX2h_vcuA193C3_BmFCVuBvYZUZtkFYQAxUe4PEtXSepdCpLJhHTnflJksH0xs4Zo8X74QFhbBJq/w800-h400-p-k-no-nu/landscape_color_5.png" />
</a>
</div>

cover-item small-cover light-text-color

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Praesent elementum facilisis leo vel. Ipsum faucibus vitae aliquet nec ullamcorper sit amet risus nullam. Morbi tincidunt augue interdum velit euismod in pellentesque massa. Sed euismod nisi porta lorem mollis.

Sunday 26 July 2020

Index HowTo – Post-Thumbnail

Index HowTo – Post-Thumbnail


Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Praesent elementum facilisis leo vel. Ipsum faucibus vitae aliquet nec ullamcorper sit amet risus nullam. Morbi tincidunt augue interdum velit euismod in pellentesque massa. Sed euismod nisi porta lorem mollis.

Situation

Following we have text content only, no media content available.


<div class="separator cover-item none-cover" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEias-6VyGlNnrUlD21D24jW2FdOtOY-XIh31obgN1He1W_h7GCgYkF1NiRPosDqKV2_9kIvHaKYWYR61SNF02x_rZetH9HHwYeqn9vY87t_9zEXPQFiNKqinzgbCOsJScr9vnDciKGp_GSo/s1600/landscape_gray_2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;">
<img border="0" data-original-height="512" data-original-width="1024" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEias-6VyGlNnrUlD21D24jW2FdOtOY-XIh31obgN1He1W_h7GCgYkF1NiRPosDqKV2_9kIvHaKYWYR61SNF02x_rZetH9HHwYeqn9vY87t_9zEXPQFiNKqinzgbCOsJScr9vnDciKGp_GSo/w800-h534-p-k-no-nu/landscape_gray_2.png" />
</a>
</div>

cover-item none-cover

By the way, there are nested comments too…