Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: pages/utilities.html

Issue 29592630: Issue 5734 - Add utility classes to website-defaults (Closed) Base URL: https://hg.adblockplus.org/website-defaults
Patch Set: Created Oct. 30, 2017, 4:18 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | static/scss/_utilities.scss » ('j') | static/scss/_utilities.scss » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pages/utilities.html
===================================================================
--- a/pages/utilities.html
+++ b/pages/utilities.html
@@ -1,18 +1,32 @@
title=Utilities
<h1>Utilities</h1>
<p>HTML & SCSS component utilities</p>
<ol>
<li><a href="#backgrounds">Backgrounds</a></li>
+ <li><a href="#text-alignment">Text Alignment</a></li>
</ol>
<h2 id="backgrounds">Backgrounds</h2>
<p class="bg-primary">Primary background</p>
<p class="bg-secondary">Secondary background</p>
<p class="bg-accent">Accent background</p>
<p class="bg-error">Error background</p>
+
+
+<h2 id="text-alignment">Text Alignment</h2>
+
+<p class="text-center">Text aligned center</p>
+
+<p class="text-left">Text aligned left</p>
+
+<p class="text-start">Text aligned to the start of the container</p>
+
+<p class="text-right">Text aligned right</p>
+
+<p class="text-end">Text aligned to the end of the container</p>
« no previous file with comments | « no previous file | static/scss/_utilities.scss » ('j') | static/scss/_utilities.scss » ('J')

Powered by Google App Engine
This is Rietveld