-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Content - Text-level Modifiers - Created Example Pages
- Loading branch information
1 parent
36468cf
commit b4d7d61
Showing
3 changed files
with
202 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"@context": { | ||
"@version": 1.1, | ||
"dct": "http://purl.org/dc/terms/", | ||
"title": { "@id": "dct:title", "@container": "@language" }, | ||
"description": { "@id": "dct:description", "@container": "@language" }, | ||
"modified": "dct:modified" | ||
}, | ||
"title": { | ||
"en": "Text-level Modifiers", | ||
"fr": "Modificateurs de niveau de texte" | ||
}, | ||
"description": { | ||
"en": "Text-level modifiers for styling and formatting", | ||
"fr": "Modificateurs de niveau de texte pour le style et le formatage" | ||
}, | ||
"modified": "2023-07-20", | ||
"componentName": "text-level-modifiers", | ||
"status": "stable", | ||
"pages": { | ||
"docs": [ | ||
{ | ||
"title": "Text-level Modifiers", | ||
"language": "en", | ||
"path": "text-level-modifiers-en.html" | ||
}, | ||
{ | ||
"title": "Modificateurs de niveau de texte", | ||
"language": "fr", | ||
"path": "text-level-modifiers-fr.html" | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
--- | ||
{ | ||
"title": "Text-Level Modifiers", | ||
"language":"en", | ||
"altLangPage":"text-level-modifiers-fr.html", | ||
"breadcrumbs": | ||
[ | ||
{ | ||
"title": "GCWeb home", | ||
"link": "https://wet-boew.github.io/themes-dist/GCWeb/index-en.html" | ||
} | ||
], | ||
"secondlevel": false, | ||
"dateModified": "2023-07-20", | ||
"share": "true" | ||
} | ||
--- | ||
|
||
<h3>CSS Class</h3> | ||
<dl class="dl-horizontal"> | ||
<dt><code>.stretched-link</code></dt> | ||
<dd>Works in conjunction with position-relative for its stretch limit</dd> | ||
<dt><code>.small</code></dt> | ||
<dd>Decreases the font size of the element</dd> | ||
<dt><code>mark</code></dt> | ||
<dd>Highlights the text</dd> | ||
<dt><code>.lead</code></dt> | ||
<dd>Increases the font size and line height</dd> | ||
<dt><code>[class*=text-]</code></dt> | ||
<dd>Changes the color of the text</dd> | ||
<dt><code>.no-wrap</code></dt> | ||
<dd>Prevents the text from wrapping</dd> | ||
<dt><code>.fnt-nrml</code></dt> | ||
<dd>Resets the font size to the default</dd> | ||
</dl> | ||
<div class="row"> | ||
<div class="col-md-6"> | ||
<div class="panel panel-default"> | ||
<div class="panel-body"> | ||
<h3 class="mrgn-tp-0">Appearance</h3> | ||
<p class="stretched-link"> | ||
Example 1: Stretched link | ||
</p> | ||
<p class="small"> | ||
Example 2: Small text | ||
</p> | ||
<p class="mark"> | ||
Example 3: Highlighted text | ||
</p> | ||
<p class="lead"> | ||
Example 4: Lead text | ||
</p> | ||
<p class="text-primary"> | ||
Example 5: Primary text color | ||
</p> | ||
<p class="no-wrap"> | ||
Example 6: No wrap | ||
</p> | ||
<p class="fnt-nrml"> | ||
Example 7: Normal font size | ||
</p> | ||
</div> | ||
</div> | ||
<div class="panel panel-default"> | ||
<div class="panel-body"> | ||
<h3 class="mrgn-tp-0">Code</h3> | ||
<pre><code>// Example 1: | ||
<p <strong>class="stretched-link"</strong>>...</p></code></pre> | ||
<pre><code>// Example 2: | ||
<p <strong>class="small"</strong>>...</p></code></pre> | ||
<pre><code>// Example 3: | ||
<p <strong>class="mark"</strong>>...</p></code></pre> | ||
<pre><code>// Example 4: | ||
<p <strong>class="lead"</strong>>...</p></code></pre> | ||
<pre><code>// Example 5: | ||
<p <strong>class="text-primary"</strong>>...</p></code></pre> | ||
<pre><code>// Example 6: | ||
<p <strong>class="no-wrap"</strong>>...</p></code></pre> | ||
<pre><code>// Example 7: | ||
<p <strong>class="fnt-nrml"</strong>>...</p></code></pre> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
--- | ||
{ | ||
"title": "Modificateurs de niveau de texte", | ||
"language": "fr", | ||
"altLangPage": "text-level-modifiers-en.html", | ||
"breadcrumbs": | ||
[ | ||
{ | ||
"title": "Accueil GCWeb", | ||
"link": "https://wet-boew.github.io/themes-dist/GCWeb/index-fr.html" | ||
} | ||
], | ||
"secondlevel": false, | ||
"dateModified": "2023-07-20", | ||
"share": "true" | ||
} | ||
--- | ||
|
||
<h3>Classe CSS</h3> | ||
<dl class="dl-horizontal"> | ||
<dt><code>.stretched-link</code></dt> | ||
<dd>Fonctionne en conjonction avec position-relative pour sa limite d'étirement</dd> | ||
<dt><code>.small</code></dt> | ||
<dd>Diminue la taille de la police de l'élément</dd> | ||
<dt><code>mark</code></dt> | ||
<dd>Met en évidence le texte</dd> | ||
<dt><code>.lead</code></dt> | ||
<dd>Augmente la taille de la police et la hauteur de ligne</dd> | ||
<dt><code>[class*=text-]</code></dt> | ||
<dd>Change la couleur du texte</dd> | ||
<dt><code>.no-wrap</code></dt> | ||
<dd>Empêche le texte de s'enrouler</dd> | ||
<dt><code>.fnt-nrml</code></dt> | ||
<dd>Réinitialise la taille de la police à la valeur par défaut</dd> | ||
</dl> | ||
<div class="row"> | ||
<div class="col-md-6"> | ||
<div class="panel panel-default"> | ||
<div class="panel-body"> | ||
<h3 class="mrgn-tp-0">Apparence</h3> | ||
<p class="stretched-link"> | ||
Exemple 1: Lien étiré | ||
</p> | ||
<p class="small"> | ||
Exemple 2: Texte petit | ||
</p> | ||
<p class="mark"> | ||
Exemple 3: Texte en évidence | ||
</p> | ||
<p class="lead"> | ||
Exemple 4: Texte principal | ||
</p> | ||
<p class="text-primary"> | ||
Exemple 5: Couleur du texte primaire | ||
</p> | ||
<p class="no-wrap"> | ||
Exemple 6: Pas d'enroulement | ||
</p> | ||
<p class="fnt-nrml"> | ||
Exemple 7: Taille de police normale | ||
</p> | ||
</div> | ||
</div> | ||
<div class="panel panel-default"> | ||
<div class="panel-body"> | ||
<h3 class="mrgn-tp-0">Code</h3> | ||
<pre><code>// Exemple 1: | ||
<p <strong>class="stretched-link"</strong>>...</p></code></pre> | ||
<pre><code>// Exemple 2: | ||
<p <strong>class="small"</strong>>...</p></code></pre> | ||
<pre><code>// Exemple 3: | ||
<p <strong>class="mark"</strong>>...</p></code></pre> | ||
<pre><code>// Exemple 4: | ||
<p <strong>class="lead"</strong>>...</p></code></pre> | ||
<pre><code>// Exemple 5: | ||
<p <strong>class="text-primary"</strong>>...</p></code></pre> | ||
<pre><code>// Exemple 6: | ||
<p <strong>class="no-wrap"</strong>>...</p></code></pre> | ||
<pre><code>// Exemple 7: | ||
<p <strong>class="fnt-nrml"</strong>>...</p></code></pre> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |