0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-02 14:24:19 +01:00
Commit Graph

44 Commits

Author SHA1 Message Date
Russell Beye
e91c9e2898 Document .pos-f-t utility class; fixes #18494
Add documentation to components/utilities to publicly expose the
.pos-f-t utility class to users.

Closes #18799
[skip sauce]
2016-02-18 18:33:16 -08:00
Tobias
bf73425277 Document the possibility of extending the $spacers map
It's very handy to add another spacer size (e.g. `4`) which can easily be done by extending the map.
Example:
```
$spacers: (
  0: (
    x:   0,
    y:   0
  ),
  1: (
    x:   $spacer-x,
    y:   $spacer-y
  ),
  2: (
    x:   ($spacer-x * 1.5),
    y:   ($spacer-y * 1.5)
  ),
  3: (
    x:   ($spacer-x * 3),
    y:   ($spacer-y * 3)
  ),
  4: (
    x:   ($spacer-x * 5),
    y:   ($spacer-y * 5)
  )
);
```

Closes #18706
[skip sauce]
2016-02-18 18:18:47 -08:00
Patrick H. Lauke
40aee9325d - Conveying color meaning to AT as markdown include
- Add/replace callout for color and AT with include
2016-02-17 10:53:50 +00:00
Chris Rebert
8dfd30cc21 Docs: Add "Horizontal centering" subheading for .m-x-auto
Refs #19102
[skip sauce]
2016-02-07 03:00:59 -08:00
Mark Otto
c59dbe56fe Drop .center-block for .m-x-auto
- Both classes do about the same thing, but with different names
- Clarifies docs for .m-x-auto requiring a fixed width block element for it to work
- Add missing heading for clearfix section in docs (unrelated)
2016-02-06 15:40:25 -08:00
Quy
8e00f623b3 Use mixin syntax 2016-01-15 09:49:56 -08:00
Patrick H. Lauke
bac3d68f52 Clarify what text-capitalize actually does
as on first skimming over these, it may not be completely obvious
2015-12-23 14:29:12 +00:00
Patrick H. Lauke
9cf2e50b1e Change italicized to italic
...otherwise, by the same logic, it should be "Bolded text" above. just
looks clunky...
2015-12-23 14:26:29 +00:00
David\ Beitey
7efd6280b4 Fix bulleted lists on Utilities doc 2015-12-23 15:49:51 +10:00
Chris Rebert
1a0f8db796 Add <br>s to fix appearance of responsive float docs example
[skip sauce]
2015-12-12 00:10:29 -08:00
Mark Otto
9a35ccbf73 derp, wrong highlight syntax 2015-12-08 10:23:22 -08:00
Lachlan Campbell
9f31574f17 add extra line before spacing utilities example 2015-12-08 13:11:42 -05:00
Chris Rebert
3b2be4701f Update docs for spacing utilities themselves to account for #18185
/fyi @mdo There might be prettier/better ways of explaining these,
        but for the sake of having accurate docs for tomorrow,
        this should do in a pinch.

[skip sauce]
2015-12-08 04:13:15 -08:00
Chris Rebert
d1a0af8b24 Tweak naming and docs of font utility classes
* `.font-normal` is too generic. Rename it to `.font-weight-normal` for clarity.
* Rename `.font-bold` to `.font-weight-bold` so as to parallel `.font-weight-normal`.
* In docs, gloss "weight" term in relation to fonts for the benefit of non-typographiles.

Refs #18433

[skip sauce]
2015-12-07 00:08:54 -08:00
Mark Otto
26da610bd0 fixes #18433: add three new font utils 2015-12-06 16:39:55 -08:00
Chris Rebert
548834e87f Merge pull request #18340 from twbs/responsive-pulls
Add responsive float classes
2015-11-29 21:47:49 -08:00
Mark Otto
45632894d9 Merge pull request #18317 from twbs/redundant-text-aligns-18300
Remove non-responsive text alignment classes
2015-11-29 19:39:48 -08:00
Chris Rebert
a8dc4812a4 Add responsive float classes; fixes #13690 2015-11-26 22:13:26 -08:00
Richard Kraaijenhagen
c960169807 Add responsive embed class for 1:1 aspect ratio
Closes #18141
2015-11-23 19:54:55 -08:00
Chris Rebert
ade2ab1341 Remove non-responsive text alignment classes
These can be replaced by their `.text-xs-*` parallels.
This also avoids any complications from interactions between the responsive and non-responsive classes.
(e.g. `<div class="text-left text-md-right">`)

Refs #18300
[skip sauce]
2015-11-22 21:33:42 -08:00
Mark Otto
2102ab4775 document links with text emphasis classes, fixes #18223 2015-11-14 21:12:41 -08:00
Chris Rebert
be5e223177 Move [hidden] style from _utilities.scss to _reboot.scss; fixes #18230
[skip sauce]
2015-11-12 19:15:54 -08:00
David Beitey
c88d40dc5c Minor wording tidy-up on Utilities doc page 2015-10-27 11:12:19 +10:00
Patrick H. Lauke
68189e2269 Add "keyboard users" to heading for sr-only-focusable 2015-10-16 00:57:49 +01:00
Patrick H. Lauke
9302fd4fd4 Remove redundant .sr-only text for Close buttons
Since `aria-label` is used, it's not necessary anymore.
2015-10-16 00:56:59 +01:00
Chris Rebert
684300058e Tweak .text-capitalize example to show what happens to interior capital letters; refs #17893
[ci skip]
2015-10-12 11:18:11 -07:00
Chris Rebert
c91e4f5162 Clarify [hidden] attr docs; closes #17169
[ci skip]
2015-09-23 18:58:40 -07:00
Chris Rebert
6f025183d5 Move v3 .hidden note into Migration docs 2015-09-23 18:32:10 -07:00
Zearin
8e29c43c46 Fix usage of “its” and “it’s” 2015-09-07 10:07:35 -04:00
petetnt
6aebac8e38 Document .bg-inverse 2015-08-26 16:01:34 +03:00
Chris Rebert
fd72dfe6cf Rephrase/copyedit IE [hidden] compatibility docs
Fixes grammatical erratum from cf7819d8d5
2015-08-23 00:44:54 -07:00
Mark Otto
cf7819d8d5 mention the IE compatability for hidden attr per #17169 2015-08-22 23:17:46 -07:00
Heinrich Fenkart
66be25917a Docs: various fixes
Mostly links.
Fixes #17056.
2015-08-21 02:15:17 +02:00
Mark Otto
c064eef67b Massive cleanup
- Simpler main nav on all pages
- Back to purple masthead on homepage instead of dark graphite
- Active link styles on the main nav
- Cleaned up sidebar nav
- New docs layout name
- Homepage copy edits
- Updated bright purple docs color
2015-08-14 22:45:55 -07:00
Mark Otto
43e1678bf3 update utils, use important 2015-08-14 00:36:26 -07:00
Mark Otto
fed0d8a2d4 restore page headers, use partial and page frontmatter to organize it 2015-08-05 17:47:45 -07:00
Mark Otto
331b8d2250 Add 21x9 responsive embed modifier
- Credit: @adammacias
- Fixes #16499
2015-06-18 16:01:52 -07:00
Mark Otto
9863eb75d2 move spacing utils to separate file, document them a bit 2015-06-01 01:19:02 -07:00
Mark Otto
7c552d70fc fix utils ToC listing by unnesting headings 2015-05-29 14:05:31 -07:00
Mark Otto
b455ed8def add markdown toc stuff 2015-05-29 01:58:52 -07:00
Mark Otto
663576a7ae Merge branch 'v4' of https://github.com/twbs/derpstrap into v4
Conflicts:
	dist/css/bootstrap.css
	dist/css/bootstrap.css.map
	docs/assets/css/docs.min.css
2015-05-27 15:49:55 -07:00
Mark Otto
81fb03406e move responsive embed to utilities docs, update the nav to dedupe things 2015-04-17 21:07:09 -07:00
Mark Otto
a73946b08d move text utilities docs from type to utilities 2015-04-17 01:31:09 -07:00
Mark Otto
e782a9b580 rename helpers to utilities in docs, matching the scss file 2015-04-17 01:03:16 -07:00