Documentation
Hallo semua, pada halaman ini saya akan membuat dokumentasi tentang semua typography dan tata letak penulisan pada template Median UI V1.5 Jadi bagi kalian yang menggunakan template yang sama mungkin ini akan cukup membantu.
Image with Grid Layout
Writting Code:
<!--[ Grid Image ]-->
<div class='gridImage'>
<img alt='image_title_here' src='https://4.bp.blogspot.com/.../name.png'/>
<img alt='image_title_here' src='https://4.bp.blogspot.com/.../name.png'/>
<img alt='image_title_here' src='https://4.bp.blogspot.com/.../name.png'/>
<img alt='image_title_here' src='https://4.bp.blogspot.com/.../name.png'/>
</div>
Image with Show All Function
Writting Code:
<!--[ Show All Image ]-->
<input class='imageInput hidden' id='for-hideImage' type='checkbox'>
<div class='hideImage'>
<img alt='image_title_here' src='https://4.bp.blogspot.com/.../name.png'/>
<img alt='image_title_here' src='https://4.bp.blogspot.com/.../name.png'/>
<img alt='image_title_here' src='https://4.bp.blogspot.com/.../name.png'/>
<div class='buttonImage'>
<img alt='image_title_here' src='https://4.bp.blogspot.com/.../name.png'/>
<!--[ Button image to activate ]-->
<label for='for-hideImage' aria-label='Show all image'>Show All</label>
</div>
<!--[ Hide the rest image here ]-->
<div class='showImage'>
<img alt='image_title_here' src='https://4.bp.blogspot.com/.../name.png'/>
<img alt='image_title_here' src='https://4.bp.blogspot.com/.../name.png'/>
<img alt='image_title_here' src='https://4.bp.blogspot.com/.../name.png'/>
<img alt='image_title_here' src='https://4.bp.blogspot.com/.../name.png'/>
</div>
</div>
Image with Scroll Layout
Writting Code:
<!--[ Scroll Image ]-->
<div class='scrollImage'>
<img alt='image_title_here' src='https://4.bp.blogspot.com/.../name.png'/>
<img alt='image_title_here' src='https://4.bp.blogspot.com/.../name.png'/>
<img alt='image_title_here' src='https://4.bp.blogspot.com/.../name.png'/>
<img alt='image_title_here' src='https://4.bp.blogspot.com/.../name.png'/>
</div>
Post Break
Writting Code:
<!--[ To break paragraphs apart ]-->
<i class="separate"></i>
Paragraph with Text Indent
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin vestibulum dignissim diam, et efficitur felis commodo et. Mauris vel diam pellentesque lorem lacinia luctus.
Writting Code:
<p class='textIndent'>Your_paragraph_is_here.</p>
Paragraph with Drop cap
This is a paragraph with dropcap. Is a large capital letter used as a decorative element at the beginning of a paragraph or section. The size of the descending limit is usually two or more lines.
Writting Code:
<p><span class='dropCap'>L</span>orem ipsum dolor sit amet, consectetur
adipiscing elit, sed do eiusmod tempor incididunt ut
labore et dolore magna aliqua. Id faucibus nisl tincidunt
eget nullam non. Diam vulputate ut pharetra sit amet
aliquam id. Phasellus vestibulum lorem sed risus. </p>
Blockquote
Live as if you were to die tomorrow. Learn as if you were to live forever.—Mahatma Gandhi
Another Blockquote Style You Can Use:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin vestibulum dignissim diam, et efficitur felis commodo et. Mauris vel diam pellentesque lorem lacinia luctus. Nulla quam magna, pharetra in ultrices at, condimentum id tellus.
- Sed suscipit sapien sed turpis ultrices viverra. Ut quis dui sed odio sollicitudin fermentum.
- Aliquam vitae metus laoreet, dapibus enim sit amet, feugiat lorem. Sed in dui purus.
Writting Code:
<!-- Style 1 -->
<blockquote><i>YOUR-QUOTE<br/><br/>
—NAME</i></blockquote>
<!-- Style 2 -->
<blockquote class='style-1 notranslate'>
<div>YOUR-QUOTE
<ul>
<li>LINE</li>
<li>LINE</li>
</ul>
</div>
</blockquote>
Table
Column_1 | Column_2 |
---|---|
Data_table_1 | 00.000.000 |
Data_table_2 | 00.000.000 |
Data_table_3 | 00.000.000 |
Data_table_4 | 00.000.000 |
Data_table_5 | 00.000.000 |
Writting Code:
<div class="table">
<table style="min-width: 100%; white-space: nowrap;">
<thead>
<tr>
<th>Column_1</th>
<th>Column_2</th>
</tr>
</thead>
<tbody>
<tr><td>Data_table_1</td><td>00.000.000</td></tr>
<tr><td>Data_table_2</td><td>00.000.000</td></tr>
<tr><td>Data_table_3</td><td>00.000.000</td></tr>
<tr><td>Data_table_4</td><td>00.000.000</td></tr>
<tr><td>Data_table_5</td><td>00.000.000</td></tr>
</tbody>
</table>
</div>
Syntax Highlighter
<!--[ Change html to css, js or any language ]-->
<pre class='html'>
<code>Your_code_is_here</code>
</pre>
Manual Related Post
Writting Code:
<div class='postRelated'>
<!--[ Related title ]-->
<b>Related post :</b>
<ul>
<li><a href='#'>Your_post_title_here</a></li>
<li><a href='#'>Your_post_title_here</a></li>
<li><a href='#'>Your_post_title_here</a></li>
</ul>
</div>
Show Hide Button
Epcot is a theme park at Walt Disney World Resort featuring exciting attractions, international pavilions, award-winning fireworks and seasonal special events.
Writting Code:
<div class='spoiler'>
<input class='spoilerInput hidden' id='spoiler-01' type='checkbox' />
<div class='spoilerTitle'>
<!--[ Show/hide Title ]-->
<b>Answer</b>
<label for='spoiler-01'>
</label>
</div>
<!--[ Show/hide content ]-->
<div class='spoilerContent'>
<p>Epcot is a theme park at Walt Disney World Resort featuring exciting attractions, international pavilions, award-winning fireworks and seasonal special events.</p>
</div>
</div>
Accordion or Toggle Menu
Accordion First Title
Epcot is a theme park at Walt Disney World Resort featuring exciting attractions, international pavilions, award-winning fireworks and seasonal special events.
Accordion Second Title
Epcot is a theme park at Walt Disney World Resort featuring exciting attractions, international pavilions, award-winning fireworks and seasonal special events.
Accordion Third Title
Epcot is a theme park at Walt Disney World Resort featuring exciting attractions, international pavilions, award-winning fireworks and seasonal special events.
Accordion Fourth Title
Epcot is a theme park at Walt Disney World Resort featuring exciting attractions, international pavilions, award-winning fireworks and seasonal special events.
Writting Code:
<div class='showH'>
<!--[ Accordion line 1 ]-->
<details class='ac'>
<summary>Accordion First Title</summary>
<div class='aC'>
<p>Epcot is a theme park at Walt Disney World Resort featuring exciting attractions, international pavilions, award-winning fireworks and seasonal special events.</p>
</div>
</details>
<!--[ Accordion line 2 ]-->
<details class='ac'>
<summary>Accordion Second Title</summary>
<div class='aC'>
<p>Epcot is a theme park at Walt Disney World Resort featuring exciting attractions, international pavilions, award-winning fireworks and seasonal special events.</p>
</div>
</details>
<!--[ Accordion line 3 ]-->
<details class='ac'>
<summary>Accordion Third Title</summary>
<div class='aC'>
<p>Epcot is a theme park at Walt Disney World Resort featuring exciting attractions, international pavilions, award-winning fireworks and seasonal special events.</p>
</div>
</details>
<!--[ Accordion line 4 ]-->
<details class='ac'>
<summary>Accordion Fourth Title</summary>
<div class='aC'>
<p>Epcot is a theme park at Walt Disney World Resort featuring exciting attractions, international pavilions, award-winning fireworks and seasonal special events.</p>
</div>
</details>
</div>
Icon Pack
<svg class='line' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><g><rect x='2' y='2' width='20' height='20' rx='5'></rect><path d='M175.376,181.85188c1.11615-2.25844,2.38586-3.16,3.49436-3.49435,1.91917-.57878,3.21384.58547,5.12781,0a6.13147,6.13147,0,0,0,3.42179-3.4218' transform='translate(-169.39801 -166.39381)'></path></g></svg>
<svg class='line' viewBox='0 0 24 24'><path d='M179.38391,179.442a5.02556,5.02556,0,0,0,7.5831.5436l3.01715-3.02a5.031,5.031,0,0,0-7.11042-7.1173l-1.72983,1.72145' transform='translate(-169.39568 -166.4353)'></path><path d='M183.40745,177.42863a5.02556,5.02556,0,0,0-7.5831-.5436l-3.01715,3.02a5.031,5.031,0,0,0,7.11042,7.1173l1.71976-1.72145' transform='translate(-169.39568 -166.4353)'></path></svg>
<svg class='line' viewBox='0 0 24 24'><rect x='2' y='4' width='20' height='18' rx='5'></rect><line x1='16.59341' y1='5.84619' x2='16.59341' y2='2'></line><line x1='7.40659' y1='5.84619' x2='7.40659' y2='2'></line><line x1='2' y1='9' x2='22' y2='9'></line></svg>
<svg class='line' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><g><path d='M185.404,189.43193h-8.01673a5.98982,5.98982,0,0,1-5.88763-7.09154l.86727-4.63469a5.98982,5.98982,0,0,1,5.88763-4.8881h6.28219a5.98983,5.98983,0,0,1,5.88763,4.8881l.86727,4.63469A5.98982,5.98982,0,0,1,185.404,189.43193Z' transform='translate(-169.39562 -167.43193)'></path><line x1='14.71978' y1='16.69283' x2='9.28022' y2='16.69283'></line><line x1='15.97802' y1='7.64835' x2='14.71978' y2='2'></line><line x1='8.02198' y1='7.64835' x2='9.28022' y2='2'></line></g></svg>
<svg class='line' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><g><circle cx='17.47857' cy='17.49096' r='4.5'></circle><circle cx='6.50904' cy='6.52143' r='4.5'></circle><circle cx='5.00904' cy='18.99096' r='3'></circle><circle cx='18.99096' cy='5.00904' r='3'></circle></g></svg>
Writting Code:
<!--[ Activity ]-->
<div class="rekis">
<div class="rekisP">
<svg class="line" viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<g>
<rect height="20" rx="5" width="20" x="2" y="2">
</rect>
<path d="M175.376,181.85188c1.11615-2.25844,2.38586-3.16,3.49436-3.49435,1.91917-.57878,3.21384.58547,5.12781,0a6.13147,6.13147,0,0,0,3.42179-3.4218" transform="translate(-169.39801 -166.39381)">
</path>
</g>
</svg>
</div>
<div class="rkisP" data-text="Activity">
<pre><svg class='line' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><g><rect x='2' y='2' width='20' height='20' rx='5'></rect><path d='M175.376,181.85188c1.11615-2.25844,2.38586-3.16,3.49436-3.49435,1.91917-.57878,3.21384.58547,5.12781,0a6.13147,6.13147,0,0,0,3.42179-3.4218' transform='translate(-169.39801 -166.39381)'></path></g></svg></pre>
</div>
</div>
<!--[ Attachment ]-->
<div class="rekis">
<div class="rekisP">
<svg class="line" viewbox="0 0 24 24">
<path d="M179.38391,179.442a5.02556,5.02556,0,0,0,7.5831.5436l3.01715-3.02a5.031,5.031,0,0,0-7.11042-7.1173l-1.72983,1.72145" transform="translate(-169.39568 -166.4353)">
</path>
<path d="M183.40745,177.42863a5.02556,5.02556,0,0,0-7.5831-.5436l-3.01715,3.02a5.031,5.031,0,0,0,7.11042,7.1173l1.71976-1.72145" transform="translate(-169.39568 -166.4353)">
</path>
</svg>
</div>
<div class="rkisP" data-text="Attachment">
<pre><svg class='line' viewBox='0 0 24 24'><path d='M179.38391,179.442a5.02556,5.02556,0,0,0,7.5831.5436l3.01715-3.02a5.031,5.031,0,0,0-7.11042-7.1173l-1.72983,1.72145' transform='translate(-169.39568 -166.4353)'></path><path d='M183.40745,177.42863a5.02556,5.02556,0,0,0-7.5831-.5436l-3.01715,3.02a5.031,5.031,0,0,0,7.11042,7.1173l1.71976-1.72145' transform='translate(-169.39568 -166.4353)'></path></svg></pre>
</div>
</div>
<!--[ Calendar ]-->
<div class="rekis">
<div class="rekisP">
<svg class="line" viewbox="0 0 24 24">
<rect height="18" rx="5" width="20" x="2" y="4">
</rect>
<line x1="16.59341" x2="16.59341" y1="5.84619" y2="2">
</line>
<line x1="7.40659" x2="7.40659" y1="5.84619" y2="2">
</line>
<line x1="2" x2="22" y1="9" y2="9">
</line>
</svg>
</div>
<div class="rkisP" data-text="Calendar">
<pre><svg class='line' viewBox='0 0 24 24'><rect x='2' y='4' width='20' height='18' rx='5'></rect><line x1='16.59341' y1='5.84619' x2='16.59341' y2='2'></line><line x1='7.40659' y1='5.84619' x2='7.40659' y2='2'></line><line x1='2' y1='9' x2='22' y2='9'></line></svg></pre>
</div>
</div>
<!--[ Bag ]-->
<div class="rekis">
<div class="rekisP">
<svg class="line" viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<g>
<path d="M185.404,189.43193h-8.01673a5.98982,5.98982,0,0,1-5.88763-7.09154l.86727-4.63469a5.98982,5.98982,0,0,1,5.88763-4.8881h6.28219a5.98983,5.98983,0,0,1,5.88763,4.8881l.86727,4.63469A5.98982,5.98982,0,0,1,185.404,189.43193Z" transform="translate(-169.39562 -167.43193)">
</path>
<line x1="14.71978" x2="9.28022" y1="16.69283" y2="16.69283">
</line>
<line x1="15.97802" x2="14.71978" y1="7.64835" y2="2">
</line>
<line x1="8.02198" x2="9.28022" y1="7.64835" y2="2">
</line>
</g>
</svg>
</div>
<div class="rkisP" data-text="Bag">
<pre><svg class='line' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><g><path d='M185.404,189.43193h-8.01673a5.98982,5.98982,0,0,1-5.88763-7.09154l.86727-4.63469a5.98982,5.98982,0,0,1,5.88763-4.8881h6.28219a5.98983,5.98983,0,0,1,5.88763,4.8881l.86727,4.63469A5.98982,5.98982,0,0,1,185.404,189.43193Z' transform='translate(-169.39562 -167.43193)'></path><line x1='14.71978' y1='16.69283' x2='9.28022' y2='16.69283'></line><line x1='15.97802' y1='7.64835' x2='14.71978' y2='2'></line><line x1='8.02198' y1='7.64835' x2='9.28022' y2='2'></line></g></svg></pre>
</div>
</div>
<!--[ Category ]-->
<div class="rekis">
<div class="rekisP">
<svg class="line" viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<g>
<circle cx="17.47857" cy="17.49096" r="4.5">
</circle>
<circle cx="6.50904" cy="6.52143" r="4.5">
</circle>
<circle cx="5.00904" cy="18.99096" r="3">
</circle>
<circle cx="18.99096" cy="5.00904" r="3">
</circle>
</g>
</svg>
</div>
<div class="rkisP" data-text="Category">
<pre><svg class='line' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><g><circle cx='17.47857' cy='17.49096' r='4.5'></circle><circle cx='6.50904' cy='6.52143' r='4.5'></circle><circle cx='5.00904' cy='18.99096' r='3'></circle><circle cx='18.99096' cy='5.00904' r='3'></circle></g></svg></pre>
</div>
</div>
Note Block
This is a note paragraph.
Warning!
This is a note paragraph with warning status!
Writting Code:
<p class='notes notranslate'>This is a note paragraph.</p>
<p class='notes wr notranslate'><b>Warning!</b><br> This is a note paragraph with warning status!</p>
External Link
Notifies users if the link will lead to another site.
Sample_external_linkWritting Code:
<a class='extL' href='#' rel='noreferrer' target='_blank'>Sample_external_link</a>
All Button Style
Writting Code:
<a class='button' href='#'>Standard_button</a>
Writting Code:
<a class='button outline' href='#'><i class='icon download'></i>Download</a>
Writting Code:
<a class='button' href='#'><i class='icon download'></i>Download</a>
Writting Code:
<a class='button' href='#'><i class='icon download'></i>Download</a>
Writting Code:
<div class='btnF'>
<a class='button outline' href='YOUR-LINK-HERE'>Demo</a>
<a class='button' href='YOUR-LINK-HERE'><i class='icon download'></i>Download</a>
</div>
Writting Code:
<div class='btnF'>
<a class='button' href='YOUR-LINK-HERE'><i class='icon demo'></i>Demo</a>
<a class='button' href='YOUR-LINK-HERE'><i class='icon dl'></i>Download</a>
</div>
Writting Code:
<div class='downloadInfo'>
<span class='fileType' data-text='zip'></span>
<div class='fileName'>
<span class='textd'>file_name.zip</span>
<span class='fileSize'>200kb</span>
</div>
<a href='fileLink' aria-label='Download'><i class='icon download'></i></a>
</div>
Countdown Download Box
This feature will show a countdown before the user downloads any file.
With Image:
Writting Code:
<div class='download-box'
data-link='#'
data-image='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-MJfJjegO4N7txAwyFBfNJMEUNLV4aaADlXmR8ZdOspFNqbx2UR2GsRW_g4rtdpAf39rvwooMe1n1IHD_7eP32nKqpkq8tnZ_HwWAhuLVfDWQv045PLMCa_-LXccLUkeiG7dPp7YycZ2nQj2uY2QqeQm-QsbARoQfaj_4EkEl3DrEB3Soc0ZPAO1tUQ/s160-rw-e30/fd_logo.webp'
data-timeout='10'
data-name='Example Image'
data-category='Image'
data-size='879KB'
data-resolution='1980x1080'></div>
Without Image:
Writting Code:
<div class='download-box'
data-link='#'
data-placeholder='.png'
data-name='Example Image'
data-category='Image'
data-size='879KB'
data-resolution='1980x1080'></div>
Post Reference
To write a list of references or footnotes below the post
Source:
www.example.com
Writting Code:
<p class='pRef'>Source:<br> www.example.com</p>
3 comments