[Docs] Update the docs for the text module

This commit is contained in:
Chris Eppstein 2010-05-01 23:54:30 -07:00
parent 2754f2df48
commit e13026b8a0
5 changed files with 17 additions and 14 deletions

View File

@ -13,4 +13,4 @@ classnames:
--- ---
- render 'reference' do - render 'reference' do
%p %p
Lorem ipsum dolor sit amet. Utilities for managing text.

View File

@ -1,15 +1,19 @@
--- ---
title: Compass Ellipsis title: Truncating Text with Ellipses
crumb: Ellipsis crumb: Ellipsis
framework: compass framework: compass
stylesheet: compass/utilities/text/_ellipsis.scss stylesheet: compass/utilities/text/_ellipsis.scss
layout: core layout: core
nav_stylesheet: compass/_utilities.scss nav_stylesheet: compass/_utilities.scss
meta_description: Text truncation with ellipsis.
classnames: classnames:
- reference - reference
- core - core
- utilities - utilities
--- ---
- render 'reference' do - render 'reference' do
%p :markdown
Lorem ipsum dolor sit amet. There is an XML file that must be installed into your stylesheet
directory in order for this utility to work correctly. To install it:
compass install compass/ellipsis

View File

@ -1,9 +1,10 @@
--- ---
title: Compass Nowrap title: Compass No Wrap
crumb: Nowrap crumb: No Wrap
framework: compass framework: compass
stylesheet: compass/utilities/text/_nowrap.scss stylesheet: compass/utilities/text/_nowrap.scss
layout: core layout: core
meta_description: Remembering whether or not there's a hyphen in white-space is too hard.
nav_stylesheet: compass/_utilities.scss nav_stylesheet: compass/_utilities.scss
classnames: classnames:
- reference - reference
@ -12,4 +13,4 @@ classnames:
--- ---
- render 'reference' do - render 'reference' do
%p %p
Lorem ipsum dolor sit amet. Remembering whether or not there's a hyphen in white-space is too hard.

View File

@ -1,15 +1,14 @@
--- ---
title: Compass Replacement title: Compass Text Replacement
crumb: Replacement crumb: Text Replacement
framework: compass framework: compass
stylesheet: compass/utilities/text/_replacement.scss stylesheet: compass/utilities/text/_replacement.scss
layout: core layout: core
meta_description: Replace text with images.
nav_stylesheet: compass/_utilities.scss nav_stylesheet: compass/_utilities.scss
classnames: classnames:
- reference - reference
- core - core
- utilities - utilities
--- ---
- render 'reference' do = render 'reference'
%p
Lorem ipsum dolor sit amet.

View File

@ -1,3 +1,2 @@
// When remembering whether or not there's a hyphen in white-space is too hard // When remembering whether or not there's a hyphen in white-space is too hard
@mixin nowrap { @mixin nowrap { white-space: nowrap; }
white-space: nowrap; }