Commit Graph

39 Commits

Author SHA1 Message Date
XhmikosR
64a864075c
examples: add the version number in title (#32198) 2020-11-19 13:38:48 +02:00
Tiger Oakes
4c9597ef7e Add baseof layout 2020-11-17 15:54:47 +02:00
Tiger Oakes
933b6510ca Move redirect layout into partial 2020-11-17 15:54:47 +02:00
XhmikosR
bdf534df59
masthead: add newlines in the snippets and reindent (#32129)
* Update masthead-followup.html

* Update single.html
2020-11-11 18:18:47 +02:00
XhmikosR
d4c3dc5351
docs.html: replace backslashes with forward slashes (#32102)
This resulted in wrong links when building the docs on Windows.
2020-11-09 20:47:55 +02:00
XhmikosR
e8f1709adf Drop Legacy Edge support.
This allows us to move forward without being held back. Microsoft already replaces the Legacy Edge with the new one on supported Windows versions.
2020-11-05 15:37:34 +02:00
Mark Otto
d1dcc1e5e6 Update instances of .font-weight to .fw 2020-10-31 19:19:52 +01:00
Mark Otto
74279460c2
v5: Adjust docs sidebar and navbar (#31119)
* Hide the docs nav on mobile, redesign it for two columns on narrow devices

* Tweak spacing on ToC

* Redesign sidebar and subnav

* Revamp subnav mobile layout so everything's on one line

* Tighten up masthead a little

* Switch the icon for the subnav and do a little icon toggling

* Fix mobile overflow since we changed guters stuff

* Add the widths

* make the subnav icon purple
2020-09-25 09:35:24 -07:00
XhmikosR
b5fb84a91d
docs: fix a few redirects (#31689)
* Fix GitHub's permanent redirects

* Fix a11yproject redirects

* Update postcss-loader repo URL to the current  one
2020-09-17 20:01:04 +03:00
Gaël Poupard
28a92234e5
docs(layout): ensure content sits in main (#31610)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-10 12:33:11 +03:00
Gaël Poupard
cbe4daff6f
docs(home): wrap all content in <main> & use <section> (#31580)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-09-10 12:26:26 +03:00
Mark Otto
2d2b6759b6
Add view on GitHub links for easier content editing from the docs (#31339)
* Add view on GitHub links for easier content editing from the docs

* Update docs.html

* Move to .btn-bd-light

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-08-04 08:09:45 +03:00
Mark Otto
6ca54573a9 Update v5 homepage to match v4.5's changes 2020-06-16 21:19:32 +03:00
XhmikosR
358d637d1c Read validate-forms.js from assets. 2020-06-03 15:57:20 +03:00
Gaël Poupard
ad518e2097
Apply utilities in docs styles (#30866)
* docs(theming): apply utilities where possible

* Update docs-sidebar.html

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-26 19:02:19 +03:00
XhmikosR
2bd3bd842d Use safeHTMLAttr in the integrity attributes. 2020-05-07 20:53:21 +03:00
XhmikosR
df88748eb7
Add a script to zip the built examples (#30130) 2020-04-29 21:03:26 +03:00
Mark Otto
7dedccfb9a Update docs for new XXL grid tier
- Updates mentions of number and exact tiers
- Updates grid example to include xxl container
- Adds some scss-docs references
- Cleans up other grid mentions and docs
- Updates navbar example to include an expand at XXL variant
2020-04-13 14:40:47 -07:00
Mark Otto
bb3e5f712a Move table of contents to new sidebar, restyle it to be simpler 2020-04-13 13:55:34 -07:00
Martijn Cuppens
4448856038 Simplify sidebar styles 2020-03-28 17:57:22 +02:00
XhmikosR
018a94c9c1 Remove Internet Explorer leftovers 2020-03-18 20:59:27 +02:00
XhmikosR
b8ffcdf9a4
Use hugo.Environment instead of getenv (#29240)
This is set automatically to "development" when the local server is running, and to "production" when Hugo builds the site.
2020-02-22 08:54:43 +02:00
Mark Otto
22062ed9d7
Docs table of contents list style fix (#30176)
* Fix missing bullets from table of contents top level

* Add .text-muted to toc for lighter bullets
2020-02-15 09:40:27 +02:00
XhmikosR
d7a62b505c
Don't add the crossorigin attribute unless we pass integrity. (#29112) 2019-07-23 17:47:33 +03:00
XhmikosR
4ba4cc2e79 Simplify code. 2019-07-22 16:08:58 +03:00
Martijn Cuppens
3b73dfc44b Allow to pass integrity & async attribute to extra js 2019-07-22 16:08:58 +03:00
Mark Otto
e7890d1562 Move search styles, prep for responsive containers in docs 2019-07-21 21:44:32 -07:00
Mark Otto
39e4615763 remove subnav from home and examples 2019-07-21 21:44:32 -07:00
Mark Otto
5027a8086a Move subnav to partial, take first pass at conditionalizing breadcrumb links 2019-07-21 21:44:32 -07:00
Martijn Cuppens
4634fd7c1a Fix ads alignment 2019-07-17 16:21:47 +03:00
Mark Otto
aaf03bdc9e
v5: Forms update (#28450)
* Initial spike of consolidated form checks

* Stub out forms rearrangement

- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS

* Move input group Sass file to forms subdir

* Start to split and move the docs around

* Simpler imports

* Copyediting

* delete overview file

* Remove commented out code

* remove the custom-forms import

* rewrite flex-check as form-check, replace all custom properties

* Remove old forms doc

* stub out new subpage link section

* update migration guide

* Update nav, forms overview in page nav, and descriptions

* fix check bg position

* fix margin-top calculation

* rename .custom-select to .form-select

* Update validation styles for new checks

* add some vertical margin, fix inline checks

* fix docs examples

* better way to do this contents stuff, redo the toc while i'm at it

* page restyle for docs while here

* un-callout that, edit text

* redo padding on toc

* fix toc

* start to cleanup checks docs

* Rewrite Markdown tables into HTML

* Redesign tables, redo their docs

* Replace Open Iconic icons with custom Bootstrap icons

* Redesign the docs navbar, add a subheader, redo the sidebar

* Redesign docs homepage a bit

* Simplify table style overrides for docs tables

* Simplify docs typography for page titles and reading line length

* Stub out icons page

* Part of sidebar update, remove migration from nav.yml

* Move toc CSS to separate partial

* Change appearance of overview page

* fix sidebar arrow direction

* Add footer to docs layout

* Update descriptions

* Drop the .form-group class for margin utilities

* Remove lingering form-group-margin-bottom var

* improve footer spacing

* add headings to range page

* uncomment form range css

* Rename .custom-range to .form-range

* Drop unused docs var

* Uncomment the comment

* Remove unused variable

* Fix radio image sizing

* Reboot update: reset horizontal ul and ol padding

* de-dupe IDs

* tweak toc styles

* nvm, fix dropdown versions stuff

* remove sidebar nav toggle for now

* broken html

* fix more broken html, move css

* scss linting

* comment out broken helper docs

* scope styles

* scope styles

* Fixes #25540 and fixes #26407 for v5 only

* Update sidebar once more

* Match new sidenav order

* fix syntax error

* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696

* rename back

* fix size and alignment

* rename that back too
2019-07-12 16:52:33 -05:00
Martijn Cuppens
a827934f13 Documentation tweaks (#28679)
* Documentation tweaks

* Remove redundant col-12 classes
2019-05-08 19:58:29 +03:00
XhmikosR
336778f463
Examples: include favicons. (#28504) 2019-05-02 10:47:48 +03:00
XhmikosR
80dfee9dc1
Update hugo-bin to v0.43.1 (Hugo 0.55.1). (#28631) 2019-04-15 11:49:24 +03:00
Martijn Cuppens
28ad7a901e Push footer to the bottom of the page 2019-03-13 19:22:59 +02:00
XhmikosR
913f290e3d Fix 404 layout. 2019-03-13 19:22:59 +02:00
XhmikosR
e58b587a72 Add support for meta robots. 2019-03-13 19:22:59 +02:00
XhmikosR
d948a3f9cb Work around the docs/ redirects.
This happens because we have the section kind enabled (needed for examples).
2019-03-13 19:22:59 +02:00
XhmikosR
d95d30029f Switch to Hugo.
No more Ruby dependency and most important more than 10 times less build time (at least on Windows)!
2019-03-13 19:22:59 +02:00