Date block Complete
All the details related to a calendar event, including the date, title, and a description.
Default date block orc-c-date-block
All the details related to a calendar event, including the date, title, and a description.
Dark date block orc-c-date-block--dark
Replaces the standard white background with a dark background.
-
<div class="orc-c-date-block "> <div class="orc-c-date-block__date"> <h3 class="orc-c-date-block__month">mon</h3> <span class="orc-c-date-block__day">26</span> </div> <!-- end orc-c-date-block__date --> <div class="orc-c-date-block__body"> <h2 class="orc-c-date-block__heading"> <a href="#" class="orc-c-date-block__link"> Heading ipsum dolor sit (39 characters) </a> </h2> <p class="orc-c-date-block__desc">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam</p> </div> <!-- end orc-c-date-block__body --> </div> <!-- end orc-c-date-block -->
-
<div class="orc-c-date-block orc-c-date-block--dark"> <div class="orc-c-date-block__date"> <h3 class="orc-c-date-block__month">mon</h3> <span class="orc-c-date-block__day">26</span> </div> <!-- end orc-c-date-block__date --> <div class="orc-c-date-block__body"> <h2 class="orc-c-date-block__heading"> <a href="#" class="orc-c-date-block__link"> Heading ipsum dolor sit (39 characters) </a> </h2> <p class="orc-c-date-block__desc">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam</p> </div> <!-- end orc-c-date-block__body --> </div> <!-- end orc-c-date-block -->
Usage
When to use
Use on event pages and elsewhere to list or announce events.
When to consider an alternative
To promote content that isn’t event-based, a media block offers a similar visual layout without focusing on a specific date.
Class Name | Description |
---|---|
Required
|
Default class for the date block. Set to |
Modifier
|
Add to the |
Required
|
Container around the |
|
Used for the 3-letter month name (i.e. the Apr in Apr 26) |
|
Used for the number of day in the month (i.e. the 26 in Apr 26) |
Required
|
Container around the body of text within the |
|
Optional smaller text above |
|
The main headline of text of the date block |
|
Optional wrapper around the |
|
Optional auxiliary subtitle below the heading |
|
Short passage of text that adds additional detail to the date block |