Commit graph

54 commits

Author SHA1 Message Date
Limon Monte
858b6f347f Fix body height by changing CSS height property to min-height (#556) 2018-04-13 08:40:58 -07:00
Elian Ibaj
c437f7be37 Use markdown-toc (#524) 2018-04-04 10:19:03 -07:00
Ujjwal Sharma
d16d2aa4b3 Fix problems with a horizontal scrollbar (#518) 2018-03-19 08:45:53 -07:00
Ujjwal Sharma
a7acc7d794 Make sure the sitemap in footer is left aligned (#509)
* Make sure the sitemap in footer is left align

Fixes: https://github.com/facebook/Docusaurus/issues/485

* Restore original max-width and change width inside media query
2018-03-18 20:40:24 -07:00
Elian Ibaj
56bae1d70c Fix on-page nav height css bug (#505) 2018-03-14 12:42:38 -07:00
Elian Ibaj
48ee457ec9 Add active link classes to site navigation menu (#463) 2018-03-04 08:53:31 -08:00
Elian Ibaj
4ff2fe280e Add separate on-page navigation sidebar (#475) 2018-03-03 21:23:59 -08:00
Maaz Syed Adeeb
0dad6d562f Adding scrollbar to header, only on mobile (#452) 2018-02-14 16:39:41 -08:00
Joel Marcey
69603c968e Revert "Adding scrollbar to header when it overflows (#444)"
This reverts commit 5e39b2e01f.
2018-02-12 07:30:37 -08:00
Maaz Syed Adeeb
5e39b2e01f Adding scrollbar to header when it overflows (#444) 2018-02-11 16:39:10 -08:00
Rick Hanlon II
4c2558e8bd Fix margin for right-aligned images (#398)
Update so imageAlign* has a class for all directions
2018-01-17 19:04:03 -08:00
Joel Marcey
2e17953199 Revert "Issue 254 (#343)"
This reverts commit c921b8a38c.

The search ended up misaligned on Chrome
2018-01-11 21:08:33 -08:00
Richard Zhang
c921b8a38c Issue 254 (#343) 2018-01-11 19:38:54 -08:00
neilsutcliffe
b374391446 Ensured that any H1 elements in content appear correct size (#306) 2017-12-18 10:17:15 -08:00
Richard Zhang
2f860ecfe7 Issue 245 fix (#299)
* without having having to worry about site design.

Let me know if double having is intentional

* sitemap display flex with direction as column on mobile
2017-12-17 16:35:39 -08:00
Joel Marcey
8481791221 Update the Docusaurus help page 2017-12-13 15:26:24 -08:00
Ricky Vetter
c22203523f use faded primaryColor background for inline code snippets instead of link color (#276) 2017-12-12 12:46:52 -08:00
Héctor Ramos
80fc8169b7 Fix background css (#261) 2017-12-05 13:35:15 -08:00
Ricky Vetter
71dec39c3b Change pointer events on language dropdown (#233)
The dropdown positioning makes it overlay the main menu on mobile layout. This means that clicking the language button a second time doesn't close the menu.
2017-11-16 09:23:54 -08:00
Christopher Chedeau
f19bd80d80 Center iframes and make them responsive (#209)
So if you add an image and an iframe (youtube embed), they behave the same at all resolutions.
2017-11-01 13:40:11 -07:00
Ricky Vetter
1ba37f857c More breakpoint consolidation fixes 2017-10-30 22:50:51 -07:00
Ricky Vetter
b59b58af0d
Consolidate break points
These 900 break points were always triggered with the mobile nav. They don't make sense with the desktop navigation. See photo.
2017-10-30 22:37:07 -07:00
Joel Marcey
47c955c7b0
Mobile nav at 736px instead of 1024px (#179)
* Mobile nav at 736px instead of 1024px

I was not totally clear on the issue here, but I assumed is that you wanted normal navigation to begin at 736px instead of 1024px. I think this does it.

Tested 735px was mobile, 736px was normal

Fixes #102

* 735 and 736 in more places
2017-10-30 11:00:04 -07:00
Ricky Vetter
10e8c7cba3 enforce 70% width on mainContainer (#196) 2017-10-30 09:51:44 -07:00
Héctor Ramos
73b9a1128b Switch to GFM-style heading anchors (#164) 2017-10-26 16:12:17 -07:00
Ricky Vetter
3017554616 Delete unused styles (#180) 2017-10-26 12:10:53 -07:00
Héctor Ramos
fb294ab845 [markdown] Remove client-side syntax highlighting (#189)
* Remove client side highlighting

* Update CSS rules to render plain code blocks with expected left border

* Add back codeColor background color config

* Ensure all pre code blocks use Highlight.js classes
2017-10-26 12:07:02 -07:00
Héctor Ramos
b832176dc6 [markdown] Switch to Remarkable (#153)
* Switch to Remarkable
* Clean up references to custom code blocks
* Remove valdiateDOMNesting warning
* Add syntax highlighting
* Add Reason support
* Breaking change: prismColor to codeColor, remove CompLibrary.Prism, expose hljs
* Completely remove Prism and associated CSS rules
* Support loading plugins and scripts
* Remove CSS rules, allowing Highlight.js theme to be used entirely
* Remove unnecessary webplayer script
2017-10-24 09:45:21 -07:00
Ricky Vetter
65a5e02ec2 Remove animation on anchor hover (#156) 2017-10-23 06:31:11 -07:00
Ricky Vetter
fd05bb3239 More consistent headers (#140)
* More consistent headers

* Clean up mobile blog posts styles
2017-10-18 13:04:29 -07:00
Ricky Vetter
30eea17a24 upstream small screen header changes (#141) 2017-10-18 12:44:28 -07:00
Ricky Vetter
967d0b7f3c Make some changes to font size/spacing (#134) 2017-10-18 10:01:06 -07:00
Ricky Vetter
e85e0822e5 Use fixed position on mobile nav (#133) 2017-10-18 09:58:41 -07:00
Ricky Vetter
e723d21113 normalize header padding (#132) 2017-10-18 09:53:08 -07:00
Ricky Vetter
fe938cd5b4 align search bar better (#130) 2017-10-18 09:51:16 -07:00
Ricky Vetter
3ec5da2b4e Remove active item bolding in sidebar (#122) 2017-10-12 14:21:34 +01:00
Ricky Vetter
524c577788 Add more robust font stack (#121) 2017-10-12 14:12:26 +01:00
Héctor Ramos
419a11af3e Extend Marked.js in order to support React Native's code players (#109)
* Extend Marked.js to support SnackPlayer and the WebPlayer, as used in React Native
2017-10-04 08:56:55 -07:00
Héctor Ramos
45f6ef8fd9 Blog enhancements (#80)
* Small CSS adjustments.

* Blog adjustments.

* Add support for Prism in the blog
2017-09-25 12:53:54 -07:00
Héctor Ramos
a484893c4f Small CSS adjustments. (#79) 2017-09-25 12:52:58 -07:00
Frank Li
065b8938b2 Merge pull request #64 from facebookexperimental/color-configs
Update color configurations
2017-08-10 17:00:25 -07:00
Eric Nakagawa
19b5710734 Slight css tweaks for landing page images 2017-08-10 16:39:29 -07:00
Frank Li
4646fc98c5 Update color configurations 2017-08-10 16:03:43 -07:00
Frank Li
63043c041a Add version header link and change current docs to be version 'next' 2017-08-04 12:41:13 -07:00
Frank Li
0917de0090 Fix header image link 2017-07-28 10:31:08 -07:00
Frank Li
f3a152170d Add syntax highlighting for more languages besides Javascript 2017-07-24 14:53:00 -07:00
Frank Li
9f26e4f305 Merge pull request #20 from facebookexperimental/blog-navigation
Add Recent Posts button at bottom of blog posts
2017-07-17 16:19:04 -07:00
Frank Li
de088ce376 Update css blog button styles 2017-07-17 16:18:14 -07:00
Frank Li
8f705fcb7e Move location in css file of search bar css change 2017-07-17 11:54:28 -07:00
Frank Li
c6bdc81376 Add Recent Posts button at bottom of blog posts 2017-07-17 11:46:35 -07:00