0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00
Commit Graph

63 Commits

Author SHA1 Message Date
XhmikosR
fbd42af6ca Reduce whitespace liquid outputs. (#24470) 2017-10-22 14:53:06 +03:00
Mark Otto
2bd09e5b72 Remove class and scrollspy attributes from layouts 2017-10-17 20:15:55 -07:00
XhmikosR
ee574b76a7 Switch to lowercase doctype. (#24217)
Having it uppercase doesn't offer anything and the lowercase version slightly improves gzip compression.
2017-10-03 19:34:59 +03:00
XhmikosR
f67805c6c0 Update redirect.html 2017-08-20 11:31:30 -07:00
Mark Otto
7de266d4dd fewer inline styles, more styles in head; flexbox it 2017-08-13 17:50:29 -07:00
Jason Etcovitch
0a65b059bf Style redirect page 2017-08-13 00:04:19 -07:00
XhmikosR
61e8aa2a55 Fix HTML validation errors. 2017-08-11 12:43:17 +03:00
Mark Otto
da3185ee0a new homepage, new assets, clean out old stuff 2017-08-07 21:35:43 -07:00
Mark Otto
2a579e546c use flexbox order property to change order of content for screenreaders 2017-06-17 13:13:13 -07:00
Mark Otto
92cfca79b1 rename files 2017-05-30 13:25:26 -07:00
Mark Otto
6ee35ced86 move scripts to separate include so we can include them across layouts even if the footer isn't there 2017-05-29 23:32:28 -07:00
Mark Otto
3e76d65656 Rearrange all the docs to allow for a docs/major.minor/ setup 2017-05-29 23:32:28 -07:00
Mark Otto
a9c829bc0c Rearrange repository contents because muahahahahahaha 2013-12-28 22:47:03 -08:00
Mark Otto
86e6c869a3 remove some unintional code 2013-12-21 09:59:24 -08:00
Mark Otto
66c280c855 Sass docs; LESS to Less because fuck caps 2013-12-20 21:02:25 -08:00
Chris Rebert
07da1d731a mention core team maintenance & community contributors 2013-12-18 18:54:07 -08:00
Mark Otto
27697ef7e3 another apache mention 2013-12-18 15:12:30 -08:00
Mark Otto
202f395b2f Merge branch 'docs_welcome' 2013-10-13 23:19:17 -07:00
Mark Otto
a8f21b5ae9 merge in new ads 2013-10-05 11:44:41 -05:00
Chris Rebert
af4d102767 Use "Skip to main content" phrasing consistently; further #10786 fixes 2013-09-24 18:02:18 -07:00
Mark Otto
ba818bc4e3 Remove unneeded comment in layouts 2013-09-11 21:12:58 -07:00
Mark Otto
c69092a176 move to separate about page 2013-09-11 12:30:46 -07:00
Mark Otto
48d929d69e Use jekyll var for current version in docs; update banner in gruntfile to match .less banner 2013-08-23 22:38:51 -07:00
Mark Otto
acb338766e fixes #10087: add version number to all docs pages in footer 2013-08-23 13:46:28 -07:00
Mark Otto
3318a98229 add blog link to homepage 2013-08-22 23:18:45 -07:00
Mark Otto
1a8d1b7586 docs cleanup around alignment on homepage and footers 2013-08-18 21:15:07 -07:00
Mark Otto
9dcae610e9 Merge branch '3.0.0-wip' into bs3_homepage
Conflicts:
	customize.html
	examples/justified-nav/justified-nav.css
2013-08-18 19:02:42 -07:00
vsn4ik
d721c61d99 Fix examples url in _layouts/home.html 2013-08-18 23:06:56 +04:00
Mark Otto
6b24297c5b update urls 2013-08-18 02:11:57 -07:00
Mark Otto
18766db634 Merge branch '3.0.0-wip' into bs3_homepage
Conflicts:
	dist/css/bootstrap.min.css
2013-08-17 22:39:07 -07:00
Mark Otto
b3e06aea01 Delete the customizer layout (again?) 2013-08-17 17:26:05 -07:00
Mark Otto
441e04c84a Merge branch '3.0.0-wip' into bs3_homepage
Conflicts:
	dist/css/bootstrap.min.css
	getting-started.html
2013-08-17 14:16:40 -07:00
Mark Otto
d2e2ec0985 increase spacing on homepage links and social buttons (fixes #9706) 2013-08-16 14:04:11 -07:00
Chris Rebert
9464489720 fix Examples link on docs homepages; fixes #9693 2013-08-16 11:03:28 -07:00
Mark Otto
ffbec23c98 Docs cleanup for v3 prep 2013-08-16 00:54:19 -07:00
Mark Otto
b2f6268372 more docs updates for new examples 2013-08-15 21:09:25 -07:00
Mark Otto
2002045b7f fuck aside and main elements, use divs so IE8 doesn't shit the bed 2013-08-14 14:59:08 -07:00
ggam
72785644bd Added hidden-print class to docs sidebar 2013-08-14 17:09:13 +02:00
Mark Otto
a2b9988eb9 Media query (grid and responsive utilities) overhaul
Grid classes have been changed to account for a fourth set of classes,
meaning we now have XS, S, M, and L options. Specifically, we made the
following changes:

* Renames `.col-` to `.col-xs-`
* Adds `.col-md-` for devices 992px wide and up
* Remaps `.col-lg-` for devices 1200px wide and up

Alongside that, we've updated our media queries to better handle
advanced grid layouts:

* All column classes now kick in when they hit a `min-width`, undoing
the #9128 fix in
https://github.com/twbs/bootstrap/commit/db45a60cc86190a060f0baf0b3961cb
c690f3a65
* All column offsets, pushes, and pulls are scoped to an appropriate
range, meaning a `min-width` and `max-width` (thanks for the idea,
@eratzlaff)

We've also modified the widths of our grid containers for the small
device grid (now a max 720px instead of 728px) and large device grid
(now a max 1140px instead of 1170px) to avoid horizontal scrollbar
problems in Firefox (likely due to box-sizing, which is why we didn't
see it in 2.x).

Similarly, we've updated the responsive ultility classes to match the
new four media query approach of the grid system. That means we've:

* Added new `.visible-xs` and `.hidden-xs` classes
* Reassigns visible and hidden classes for small, medium, and large to
matching grid system media queries
* Updates docs examples to match grid system and account for fourth
utility range

-----

Fixes the following:

* #9135: fourth grid tier
* #9302: undoes previous range change for small grid system, so no need
to update any docs here
* #8755: consistent grid and responsive utilities schemas)
* #9195, #9216, and #9227: no more horizontal scrollbars
2013-08-12 00:28:50 -07:00
Kevin Suttle
9d5473255b Map 'role="complementary"' to proper aside element
http://blog.paciellogroup.com/2013/02/using-wai-aria-landmarks-2013/#tablex

http://www.w3.org/TR/wai-aria/roles#complementary
2013-08-11 23:40:22 -04:00
Kevin Suttle
1355c58cf2 Map "contentinfo" role to HTML5 footer element
http://blog.paciellogroup.com/2013/02/using-wai-aria-landmarks-2013/#tablex

http://www.w3.org/TR/wai-aria/roles#contentinfo
2013-08-11 22:26:40 -04:00
fat
8bdffecf8f rebuild + first bit of customizer urls 2013-08-11 18:42:13 -07:00
Kevin Suttle
f38241d77e Ensure proper use and location of role="banner"
http://blog.paciellogroup.com/2013/02/using-wai-aria-landmarks-2013/#tablex

http://www.w3.org/TR/wai-aria/roles#banner
2013-08-11 16:34:48 -04:00
Mark Otto
d5290c61d8 fixes #9217 manually--use main element instead of div in home and default layouts 2013-08-10 16:11:34 -07:00
Mark Otto
308d40a729 remove customize layout now that we're bringing it back for rc2 2013-08-10 16:11:10 -07:00
Jacob Thornton
89b69ed770 Merge branch '3.0.0-wip' of github.com:twbs/bootstrap into 3.0.0-wip
Conflicts:
	_layouts/customize.html
2013-08-07 23:10:11 -07:00
Jacob Thornton
b35b65d0b3 first prototype of new customizer 2013-08-07 23:06:29 -07:00
adamjacobbecker
a8d95d4721 Improve accessibility (Section 508, WCAG)
This PR significantly improves Bootstrap's accessibility for users of assistive technology, such as screen readers. Some of the these changes add additional markup to the source examples, but we believe that the sacrifice in readability is worth achieving more widespread usage of accessibility best-practices.

What was done
- Added lots of [WAI-ARIA attributes](http://www.w3.org/WAI/intro/aria)
- Added `.sr-only` helper class, that is only readable by screen readers (and invisible for all other users). This lets us - make progress bars and paginations accessible to screen reading users.
- Advised users to always use label elements. For inline forms, they can hide them with `.sr-only`
- Added 'Skip navigation' link
- Added "Accessibility" section to getting-started.html.

What *wasn't* done
- Contrast issues (twbs#3572)
- Tooltips (twbs#8469)
- Documentation re: usage of icons, since they now live in a separate repo

Major props to all that contributed: @bensheldon, @jasonlally, @criscristina, and @louh. Feel free to chime in, guys, if I've left anything out.
2013-08-06 21:58:09 -07:00
Mark Otto
7b6f85c179 Remove back to top link from docs 2013-07-27 19:50:33 -07:00
Mark Otto
80123fc039 mo links, fix ads and analytics in gh pages 2013-07-27 00:35:26 -07:00