j1-template 2023.2.6 → 2023.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_includes/themes/j1/layouts/content_generator_news_panel_posts.html +2 -1
- data/_includes/themes/j1/layouts/content_generator_post.html +2 -2
- data/_includes/themes/j1/layouts/layout_metadata_generator.html +41 -38
- data/_includes/themes/j1/procedures/blocks/footer/boxes/about_box.proc +1 -1
- data/_includes/themes/j1/procedures/blocks/footer/boxes/contacts_box.proc +1 -1
- data/_includes/themes/j1/procedures/blocks/footer/boxes/issue.proc +1 -1
- data/_includes/themes/j1/procedures/blocks/footer/boxes/links_box.proc +1 -1
- data/_includes/themes/j1/procedures/blocks/footer/boxes/news_box.proc +1 -1
- data/_includes/themes/j1/procedures/layouts/default_writer.proc +1 -3
- data/_includes/themes/j1/procedures/layouts/module_writer.proc +7 -23
- data/_includes/themes/j1/procedures/layouts/resource_writer.proc +8 -8
- data/_layouts/compress.html +26 -21
- data/_layouts/default.html +36 -30
- data/assets/data/banner.html +5 -2
- data/assets/data/footer.html +15 -3
- data/assets/data/masterslider.html +1 -0
- data/assets/data/menu.html +4 -4
- data/assets/data/panel.html +6 -3
- data/assets/data/quicklinks.html +138 -149
- data/assets/error_pages/HTTP204.html +3 -3
- data/assets/error_pages/HTTP400.html +3 -3
- data/assets/error_pages/HTTP401.html +3 -3
- data/assets/error_pages/HTTP403.html +3 -3
- data/assets/error_pages/HTTP404.html +3 -3
- data/assets/error_pages/HTTP444.html +3 -3
- data/assets/error_pages/HTTP445.html +3 -3
- data/assets/error_pages/HTTP446.html +5 -5
- data/assets/error_pages/HTTP447.html +7 -7
- data/assets/error_pages/HTTP448.html +7 -7
- data/assets/error_pages/HTTP500.html +3 -3
- data/assets/error_pages/HTTP501.html +3 -3
- data/assets/error_pages/HTTP502.html +3 -3
- data/assets/error_pages/HTTP503.html +3 -3
- data/assets/themes/j1/adapter/js/advertising.js +109 -116
- data/assets/themes/j1/adapter/js/analytics.js +1 -1
- data/assets/themes/j1/adapter/js/asciidoctor.js +1 -1
- data/assets/themes/j1/adapter/js/attic.js +22 -14
- data/assets/themes/j1/adapter/js/bmd.js +1 -1
- data/assets/themes/j1/adapter/js/carousel.js +5 -4
- data/assets/themes/j1/adapter/js/clipboard.js +1 -1
- data/assets/themes/j1/adapter/js/comments.js +5 -5
- data/assets/themes/j1/adapter/js/cookieConsent.js +1 -1
- data/assets/themes/j1/adapter/js/customFunctions.js +1 -1
- data/assets/themes/j1/adapter/js/customModule.js +1 -1
- data/assets/themes/j1/adapter/js/dropdowns.js +4 -2
- data/assets/themes/j1/adapter/js/fab.js +9 -6
- data/assets/themes/j1/adapter/js/framer.js +1 -1
- data/assets/themes/j1/adapter/js/iconPicker.js +227 -0
- data/assets/themes/j1/adapter/js/j1.js +401 -76
- data/assets/themes/j1/adapter/js/justifiedGallery.js +9 -3
- data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +2 -2
- data/assets/themes/j1/adapter/js/lightbox.js +4 -3
- data/assets/themes/j1/adapter/js/logger.js +1 -1
- data/assets/themes/j1/adapter/js/lunr.js +1 -1
- data/assets/themes/j1/adapter/js/masonry.js +4 -3
- data/assets/themes/j1/adapter/js/masterslider.js +30 -57
- data/assets/themes/j1/adapter/js/mmenu.js +2 -2
- data/assets/themes/j1/adapter/js/navigator.js +7 -5
- data/assets/themes/j1/adapter/js/nbinteract.js +9 -9
- data/assets/themes/j1/adapter/js/particles.js +2 -2
- data/assets/themes/j1/adapter/js/rangeSlider.js +2 -2
- data/assets/themes/j1/adapter/js/rouge.js +2 -2
- data/assets/themes/j1/adapter/js/rtable.js +1 -1
- data/assets/themes/j1/adapter/js/rtextResizer.js +1 -1
- data/assets/themes/j1/adapter/js/scroller.js +97 -109
- data/assets/themes/j1/adapter/js/slick.js +28 -18
- data/assets/themes/j1/adapter/js/themeToggler.js +259 -0
- data/assets/themes/j1/adapter/js/themer.js +17 -8
- data/assets/themes/j1/adapter/js/toccer.js +9 -6
- data/assets/themes/j1/adapter/js/translator.js +4 -2
- data/assets/themes/j1/adapter/js/waves.js +6 -4
- data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.css +1322 -417
- data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.min.css +3 -3
- data/assets/themes/j1/core/css/themes/unodark/bootstrap.css +1983 -1266
- data/assets/themes/j1/core/css/themes/unodark/bootstrap.min.css +3 -3
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +10268 -9402
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +10 -10
- data/assets/themes/j1/core/css/vendor.css +0 -14
- data/assets/themes/j1/core/css/vendor.min.css +1 -1
- data/assets/themes/j1/modules/advertising/js/adInitializer.js +160 -0
- data/assets/themes/j1/modules/backstretch/js/backstretch.js +6 -4
- data/assets/themes/j1/modules/backstretch/js/backstretch.min.js +1 -1
- data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.js +1 -1
- data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.min.js +1 -1
- data/assets/themes/j1/modules/iconPicker/README.md +266 -0
- data/assets/themes/j1/modules/iconPicker/css/universal-icon-picker.css +419 -0
- data/assets/themes/j1/modules/iconPicker/css/universal-icon-picker.min.css +17 -0
- data/assets/themes/j1/modules/iconPicker/icons-libraries/font-awesome-brands.json +467 -0
- data/assets/themes/j1/modules/iconPicker/icons-libraries/font-awesome-brands.min.json +1 -0
- data/assets/themes/j1/modules/iconPicker/icons-libraries/font-awesome-regular.json +169 -0
- data/assets/themes/j1/modules/iconPicker/icons-libraries/font-awesome-regular.min.json +1 -0
- data/assets/themes/j1/modules/iconPicker/icons-libraries/font-awesome-solid.json +1136 -0
- data/assets/themes/j1/modules/iconPicker/icons-libraries/font-awesome-solid.min.json +1 -0
- data/assets/themes/j1/modules/iconPicker/icons-libraries/font-awesome.json +1772 -0
- data/assets/themes/j1/modules/iconPicker/icons-libraries/font-awesome.min.json +1 -0
- data/assets/themes/j1/modules/iconPicker/icons-libraries/mdi-icons-light.json +292 -0
- data/assets/themes/j1/modules/iconPicker/icons-libraries/mdi-icons-light.min.json +1 -0
- data/assets/themes/j1/modules/iconPicker/icons-libraries/mdi-icons-regular.json +7312 -0
- data/assets/themes/j1/modules/iconPicker/icons-libraries/mdi-icons-regular.min.json +1 -0
- data/assets/themes/j1/modules/iconPicker/images/magnifying-glass-solid.svg +1 -0
- data/assets/themes/j1/modules/iconPicker/images/star-of-life-solid.svg +3 -0
- data/assets/themes/j1/modules/iconPicker/images/xmark-solid.svg +3 -0
- data/assets/themes/j1/modules/iconPicker/js/universal-icon-picker.js +493 -0
- data/assets/themes/j1/modules/iconPicker/js/universal-icon-picker.min.js +17 -0
- data/assets/themes/j1/modules/jquery/AUTHORS.txt +372 -0
- data/assets/themes/j1/modules/jquery/LICENSE.txt +43 -0
- data/assets/themes/j1/modules/jquery/css/images/ui-icons_444444_256x240.png +0 -0
- data/assets/themes/j1/modules/jquery/css/images/ui-icons_555555_256x240.png +0 -0
- data/assets/themes/j1/modules/jquery/css/images/ui-icons_777620_256x240.png +0 -0
- data/assets/themes/j1/modules/jquery/css/images/ui-icons_777777_256x240.png +0 -0
- data/assets/themes/j1/modules/jquery/css/images/ui-icons_cc0000_256x240.png +0 -0
- data/assets/themes/j1/modules/jquery/css/images/ui-icons_ffffff_256x240.png +0 -0
- data/assets/themes/j1/modules/jquery/css/jquery-ui/jquery-ui.css +92 -92
- data/assets/themes/j1/modules/jquery/css/jquery-ui/jquery-ui.min.css +4 -4
- data/assets/themes/j1/modules/jquery/css/jquery-ui/jquery-ui.structure.css +88 -88
- data/assets/themes/j1/modules/jquery/css/jquery-ui/jquery-ui.structure.min.css +2 -2
- data/assets/themes/j1/modules/jquery/css/jquery-ui/jquery-ui.theme.css +4 -4
- data/assets/themes/j1/modules/jquery/css/jquery-ui/jquery-ui.theme.min.css +2 -2
- data/assets/themes/j1/modules/jquery/js/jquery-ui.js +13683 -13678
- data/assets/themes/j1/modules/jquery/js/jquery-ui.min.js +3 -3
- data/assets/themes/j1/modules/jquery/js/jquery.js +1029 -1203
- data/assets/themes/j1/modules/jquery/js/jquery.min.js +2 -2
- data/assets/themes/j1/modules/jquery/js/jquery.min.map +1 -1
- data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.css +1315 -0
- data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.min.css +7 -0
- data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.structure.css +886 -0
- data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.structure.min.css +5 -0
- data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.theme.css +446 -0
- data/assets/themes/j1/modules/jquery-3.5.1/css/jquery-ui/jquery-ui.theme.min.css +5 -0
- data/assets/themes/j1/modules/jquery-3.5.1/js/extensions/hasClass.js +37 -0
- data/assets/themes/j1/modules/jquery-3.5.1/js/extensions/hasClass.min.js +17 -0
- data/assets/themes/j1/modules/jquery-3.5.1/js/extensions/removeClass.js +42 -0
- data/assets/themes/j1/modules/jquery-3.5.1/js/extensions/removeClass.min.js +17 -0
- data/assets/themes/j1/modules/jquery-3.5.1/js/jquery-ui.js +19057 -0
- data/assets/themes/j1/modules/jquery-3.5.1/js/jquery-ui.min.js +6 -0
- data/assets/themes/j1/modules/jquery-3.5.1/js/jquery.js +10872 -0
- data/assets/themes/j1/modules/jquery-3.5.1/js/jquery.min.js +2 -0
- data/assets/themes/j1/modules/jquery-3.5.1/js/jquery.min.map +1 -0
- data/assets/themes/j1/modules/jquery-3.5.1/js/require.js +2145 -0
- data/assets/themes/j1/modules/jquery-3.5.1/js/require.min.js +5 -0
- data/assets/themes/j1/modules/lightGallery/js/modules/j1/j1-video.js +2 -2
- data/assets/themes/j1/modules/lightGallery/js/modules/j1/j1-video.min.js +1 -1
- data/assets/themes/j1/modules/masterslider/css/theme/uno.css +9 -9
- data/assets/themes/j1/modules/masterslider/css/theme/uno.min.css +1 -1
- data/assets/themes/j1/modules/mmenuLight/css/theme/uno/mmenu.css +2 -2
- data/assets/themes/j1/modules/mmenuLight/css/theme/uno/mmenu.min.css +1 -1
- data/assets/themes/j1/modules/rouge/css/uno.dark/theme.css +136 -47
- data/assets/themes/j1/modules/rouge/css/uno.light/theme.css +9 -9
- data/assets/themes/j1/modules/scroller/js/scroller.js +76 -69
- data/assets/themes/j1/modules/scroller/js/scroller.min.js +1 -1
- data/assets/themes/j1/modules/translator/js/translator.js +1 -1
- data/assets/themes/j1/modules/translator/js/translator.min.js +1 -1
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +2 -2
- data/lib/starter_web/README.md +5 -5
- data/lib/starter_web/_config.yml +4 -1
- data/lib/starter_web/_data/blocks/banner.yml +8 -5
- data/lib/starter_web/_data/blocks/defaults/footer.yml +3 -3
- data/lib/starter_web/_data/blocks/footer.yml +9 -5
- data/lib/starter_web/_data/blocks/panel.yml +41 -38
- data/lib/starter_web/_data/j1_config.yml +68 -58
- data/lib/starter_web/_data/layouts/collection.yml +1 -0
- data/lib/starter_web/_data/layouts/default.yml +1 -1
- data/lib/starter_web/_data/layouts/home.yml +9 -9
- data/lib/starter_web/_data/layouts/news_panel_posts.yml +1 -0
- data/lib/starter_web/_data/layouts/page.yml +2 -1
- data/lib/starter_web/_data/layouts/post.yml +1 -0
- data/lib/starter_web/_data/layouts/raw.yml +1 -0
- data/lib/starter_web/_data/modules/advertising.yml +134 -61
- data/lib/starter_web/_data/modules/analytics.yml +2 -2
- data/lib/starter_web/_data/modules/attics.yml +4 -7
- data/lib/starter_web/_data/modules/defaults/advertising.yml +2 -1
- data/lib/starter_web/_data/modules/defaults/attics.yml +3 -3
- data/lib/starter_web/_data/modules/defaults/iconPicker.yml +42 -0
- data/lib/starter_web/_data/modules/defaults/navigator.yml +15 -13
- data/lib/starter_web/_data/modules/defaults/theme_toggler.yml +42 -0
- data/lib/starter_web/_data/modules/iconPicker.yml +64 -0
- data/lib/starter_web/_data/modules/masonry.yml +1 -1
- data/lib/starter_web/_data/modules/masterslider.yml +5 -5
- data/lib/starter_web/_data/modules/navigator_menu.yml +150 -41
- data/lib/starter_web/_data/modules/scroller.yml +8 -8
- data/lib/starter_web/_data/modules/theme_toggler.yml +29 -0
- data/lib/starter_web/_data/modules/themer.yml +0 -6
- data/lib/starter_web/_data/resources.yml +53 -52
- data/lib/starter_web/_data/templates/feed.xml +1 -1
- data/lib/starter_web/_includes/attributes.asciidoc +57 -50
- data/lib/starter_web/_plugins/asciidoctor/google-ad-block.rb +47 -0
- data/lib/starter_web/_plugins/index/lunr.rb +1 -1
- data/lib/starter_web/assets/images/icons/mdi/mdi.svg +1 -0
- data/lib/starter_web/assets/images/icons/mdi/mdil.svg +1 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/alexander-redl.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/alina-grubnyak.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/andrea-badino.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/brad-neathery.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/bruno-figueiredo.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/clem-onojeghuo.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/core_web_vitals_best.png +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/crawford-jolly.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/eleni-afiontzi.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/fly-d.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/guillaume-bolduc.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/harpal-singh.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/hayden-mills-2.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/j1-content-mockup-1.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/j1-content-mockup-2.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/j1-content-mockup-3.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/j1-starter-mockup-1.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/john-schnobrich-2.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/josep-martins.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/josh-liu.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/kelly-sikkemal.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/kira-auf-der-heide.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/kristopher-roller.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/kristopher-roller.webp +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/matthaeus.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/melanie-deziel.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/milad-fakurian.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/mohammad-rahmani.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/nasa.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/quino-al-2.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/recha-oktaviani.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/building-blocks-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/christina-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/cookies-1920x1200.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/katie-moum-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/core_web_vitals/core_web_vitals_best.jpg +0 -0
- data/lib/starter_web/assets/images/pages/core_web_vitals/core_web_vitals_best.png +0 -0
- data/lib/starter_web/assets/images/pages/core_web_vitals/core_web_vitals_best_full.png +0 -0
- data/lib/starter_web/assets/images/pages/html_validator/appdevtools-html-validator.jpg +0 -0
- data/lib/starter_web/assets/images/pages/html_validator/freeformatter-html-validator.jpg +0 -0
- data/lib/starter_web/assets/images/pages/html_validator/w3c-nu-checker.jpg +0 -0
- data/lib/starter_web/assets/images/pages/html_validator/w3c-validator.jpg +0 -0
- data/lib/starter_web/collections/_biography/a-life-in-questions.adoc +8 -9
- data/lib/starter_web/collections/_biography/becoming.adoc +22 -9
- data/lib/starter_web/collections/_biography/born-to-run.adoc +27 -9
- data/lib/starter_web/collections/_biography/forty-autumns.adoc +19 -12
- data/lib/starter_web/collections/_biography/not-dead-yet.adoc +24 -14
- data/lib/starter_web/collections/_biography/princess-diarist-the.adoc +23 -14
- data/lib/starter_web/collections/_biography/when-breath-becomes-air.adoc +24 -11
- data/lib/starter_web/collections/_fantasy/harry-potter-deathly-hallows.adoc +14 -10
- data/lib/starter_web/collections/_fantasy/harry-potter-philosophers-stone.adoc +11 -8
- data/lib/starter_web/collections/_fantasy/mistborn-trilogy.adoc +7 -8
- data/lib/starter_web/collections/_fantasy/ready-player-one.adoc +17 -14
- data/lib/starter_web/collections/_fantasy/sword-of-destiny.adoc +12 -13
- data/lib/starter_web/collections/_fantasy/terry-pratchet-diary.adoc +15 -15
- data/lib/starter_web/collections/_people/diana-petersen.adoc +2 -0
- data/lib/starter_web/collections/_people/larry-parker.adoc +2 -0
- data/lib/starter_web/collections/_people/parveen-anand.adoc +2 -0
- data/lib/starter_web/collections/_portfolio/branding.adoc +5 -0
- data/lib/starter_web/collections/_portfolio/graphic_design.adoc +5 -0
- data/lib/starter_web/collections/_portfolio/identity.adoc +5 -0
- data/lib/starter_web/collections/_portfolio/illustration.adoc +5 -0
- data/lib/starter_web/collections/_portfolio/photography.adoc +5 -0
- data/lib/starter_web/collections/_portfolio/web_design.adoc +5 -0
- data/lib/starter_web/collections/_romance/breath-of-snow-and-ashes-a.adoc +8 -5
- data/lib/starter_web/collections/_romance/dressmaker-the.adoc +14 -14
- data/lib/starter_web/collections/_romance/fiery-cross-the.adoc +12 -9
- data/lib/starter_web/collections/_romance/it-ends-with-us.adoc +14 -11
- data/lib/starter_web/collections/_romance/outlander-novel.adoc +48 -25
- data/lib/starter_web/collections/_romance/virgins-outlander-short-story.adoc +30 -15
- data/lib/starter_web/index.html +6 -14
- data/lib/starter_web/package.json +3 -3
- data/lib/starter_web/pages/public/about/features.adoc +1 -4
- data/lib/starter_web/pages/public/about/reporting_issues.adoc +1 -3
- data/lib/starter_web/pages/public/blog/navigator/archive/allview.html +0 -5
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +0 -4
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +0 -5
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +0 -5
- data/lib/starter_web/pages/public/blog/navigator/index.html +2 -6
- data/lib/starter_web/pages/public/features/general.adoc +0 -4
- data/lib/starter_web/pages/public/features/template.adoc +0 -4
- data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_all_books.adoc +1 -3
- data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_biography.adoc +1 -1
- data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_fantasy.adoc +1 -1
- data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_romance.adoc +1 -2
- data/lib/starter_web/pages/public/learn/bookshelf/jekyll_collections.adoc +75 -66
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/attributes.asciidoc +58 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/accordion.asciidoc +34 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/alerts.asciidoc +15 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/badges.asciidoc +9 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/body.asciidoc +14 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/breadcrumbs.asciidoc +14 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/buttons.asciidoc +75 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/cards.asciidoc +22 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/carousel.asciidoc +37 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/close.asciidoc +15 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/code.asciidoc +14 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/color_system.asciidoc +353 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/components.asciidoc +69 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/dropdowns.asciidoc +53 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/figures.asciidoc +5 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/forms.asciidoc +270 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/grid.asciidoc +49 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/links.asciidoc +21 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/list_groups.asciidoc +28 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/modals.asciidoc +43 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/navbar.asciidoc +45 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/navs.asciidoc +28 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/offcanvas.asciidoc +16 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/options.asciidoc +30 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/pagination.asciidoc +40 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/paragraph.asciidoc +5 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/placeholders.asciidoc +5 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/popovers.asciidoc +28 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/position.asciidoc +8 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/progress_bars.asciidoc +12 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/spacing.asciidoc +14 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/spinners.asciidoc +12 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/tables.asciidoc +55 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/thumbnails.asciidoc +9 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/toasts.asciidoc +18 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/tooltips.asciidoc +28 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/typography.asciidoc +115 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/documents/z_index.asciidoc +26 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/tables/_table.asciidoc +9 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/_includes/tables/accordion.asciidoc +87 -0
- data/lib/starter_web/pages/public/learn/bs_sass_variables/bs_sass_variables.adoc +262 -0
- data/lib/starter_web/pages/public/learn/cheatsheet/gem.adoc +255 -0
- data/lib/starter_web/pages/public/learn/cheatsheet/git.adoc +1458 -0
- data/lib/starter_web/pages/public/learn/cheatsheet/j1.adoc +63 -0
- data/lib/starter_web/pages/public/learn/cheatsheet/yaml.adoc +514 -0
- data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/attributes.asciidoc +59 -0
- data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/documents/100_chapter.asciidoc +541 -0
- data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/documents/200_chapter.asciidoc +33 -0
- data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/tables/build_command_options.asciidoc +72 -0
- data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/tables/files_and_folders.asciidoc +66 -0
- data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/tables/global_configuration_options.asciidoc +63 -0
- data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/tables/global_variables.asciidoc +26 -0
- data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/tables/page_variables.asciidoc +54 -0
- data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/tables/serve_command_options.asciidoc +45 -0
- data/lib/starter_web/pages/public/learn/core_web_vitals/_includes/tables/site_variables.asciidoc +59 -0
- data/lib/starter_web/pages/public/learn/core_web_vitals/core_web_vitals.adoc +442 -0
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/100_gistblock.asciidoc +3 -4
- data/lib/starter_web/pages/public/learn/roundtrip/asciidoc_extensions.adoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/icon_fonts.adoc +10 -10
- data/lib/starter_web/pages/public/learn/roundtrip/lunr_search.adoc +0 -2
- data/lib/starter_web/pages/public/learn/roundtrip/present_images.adoc +8 -2
- data/lib/starter_web/pages/public/learn/roundtrip/responsive_tables.adoc +3 -7
- data/lib/starter_web/pages/public/learn/where_to_go.adoc +39 -45
- data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +2 -6
- data/lib/starter_web/pages/public/legal/en/200_impress.adoc +0 -1
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +2 -6
- data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +2 -6
- data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +0 -2
- data/lib/starter_web/pages/public/plans/plans.adoc +0 -2
- data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +93 -7
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +133 -24
- data/_includes/themes/j1/modules/ads/google_ad_content_home.html +0 -11
- data/_includes/themes/j1/modules/ads/google_ad_top_home.html +0 -11
- data/assets/themes/j1/core/css/nbinteract-tutorial/styles.css +0 -1711
- data/assets/themes/j1/core/css/nbinteract-tutorial/styles.min.css +0 -1
- data/assets/themes/j1/modules/advertising/js/google/adInitializer.js +0 -127
- data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.2.js +0 -460
- data/assets/themes/j1/modules/mdiPreviewer/css/previewer.css +0 -97
- data/assets/themes/j1/modules/mdiPreviewer/css/previewer.min.css +0 -15
- data/assets/themes/j1/modules/mdiPreviewer/js/previewer.js +0 -115
- data/assets/themes/j1/modules/mdiPreviewer/js/previewer.min.js +0 -15
- data/assets/themes/j1/modules/mdilPreviewer/css/previewer.css +0 -97
- data/assets/themes/j1/modules/mdilPreviewer/css/previewer.min.css +0 -15
- data/assets/themes/j1/modules/mdilPreviewer/js/previewer.js +0 -125
- data/assets/themes/j1/modules/mdilPreviewer/js/previewer.min.js +0 -15
- data/lib/starter_web/_includes/themes/j1/modules/ads/google_ad_content_home.html +0 -11
- data/lib/starter_web/_includes/themes/j1/modules/ads/google_ad_top_home.html +0 -11
- /data/lib/starter_web/assets/images/{promo → quotes/promo}/home/screenshot.jpg +0 -0
- /data/lib/starter_web/assets/images/{promo → quotes/promo}/jekyll/jekyll-faq.jpg +0 -0
- /data/lib/starter_web/assets/images/{promo → quotes/promo}/jekyll/jekyll-generator.jpg +0 -0
- /data/lib/starter_web/assets/images/{promo → quotes/promo}/jekyll/jekyll-generator.png +0 -0
- /data/lib/starter_web/assets/images/{promo → quotes/promo}/jekyll/jekyll-og.png +0 -0
- /data/lib/starter_web/assets/images/{promo → quotes/promo}/jekyll/scalable/jekyll-faq.psd +0 -0
|
@@ -1,1711 +0,0 @@
|
|
|
1
|
-
@charset "UTF-8";
|
|
2
|
-
/*
|
|
3
|
-
# -----------------------------------------------------------------------------
|
|
4
|
-
# ~/packages/100_theme_css/nbinteract-tutorial.scss
|
|
5
|
-
# CSS styles for the nbinteract-tutorial
|
|
6
|
-
#
|
|
7
|
-
# Product/Info:
|
|
8
|
-
# https://jekyll.one
|
|
9
|
-
# http://fontawesome.io
|
|
10
|
-
#
|
|
11
|
-
# Copyright (C) 2023 Juergen Adams
|
|
12
|
-
#
|
|
13
|
-
# J1 Theme is licensed under the MIT License.
|
|
14
|
-
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
|
|
15
|
-
# Font Awesome is licensed for Icons: CC BY 4.0
|
|
16
|
-
# Font Awesome is licensed for Fonts: SIL OFL 1.1
|
|
17
|
-
# Font Awesome is licensed for CSS|Code: MIT License
|
|
18
|
-
# See: http://fontawesome.com/license
|
|
19
|
-
# ----------------------------------------------------------------------------
|
|
20
|
-
*/
|
|
21
|
-
/**
|
|
22
|
-
* This file is the main entry point for the textbook's stylings. It uses the
|
|
23
|
-
* Inuit CSS framework: https://github.com/inuitcss/inuitcss
|
|
24
|
-
*
|
|
25
|
-
* InuitCSS only provides basic typographic stylings and helper functions. All
|
|
26
|
-
* framework files live in ./inuitcss/ . All of our custom CSS lives in one of
|
|
27
|
-
* these 7 folders:
|
|
28
|
-
*
|
|
29
|
-
* `/settings`: Global variables, site-wide settings, config switches, etc.
|
|
30
|
-
* `/tools`: Site-wide mixins and functions.
|
|
31
|
-
* `/generic`: Low-specificity, far-reaching rulesets (e.g. resets).
|
|
32
|
-
* `/elements`: Unclassed HTML elements (e.g. `a {}`, `blockquote {}`, `address {}`).
|
|
33
|
-
* `/objects`: Objects, abstractions, and design patterns (e.g. `.o-layout {}`).
|
|
34
|
-
* `/components`: Discrete, complete chunks of UI (e.g. `.c-carousel {}`).
|
|
35
|
-
* `/utilities`: High-specificity, very explicit selectors. Overrides and
|
|
36
|
-
helper classes (e.g. `.u-hidden {}`).
|
|
37
|
-
*
|
|
38
|
-
* CONTENTS
|
|
39
|
-
*
|
|
40
|
-
* SETTINGS
|
|
41
|
-
* Core.................inuitcss’ core and setup settings.
|
|
42
|
-
* Global...............Project-wide variables and settings.
|
|
43
|
-
*
|
|
44
|
-
* TOOLS
|
|
45
|
-
* Font-size............A mixin which guarantees baseline-friendly line-heights.
|
|
46
|
-
* Clearfix.............Micro clearfix mixin.
|
|
47
|
-
* Hidden...............Mixin for hiding elements.
|
|
48
|
-
* Sass MQ..............inuitcss’ default media query manager.
|
|
49
|
-
*
|
|
50
|
-
* GENERIC
|
|
51
|
-
* Box-sizing...........Better default `box-sizing`.
|
|
52
|
-
* Normalize.css........A level playing field using @necolas’ Normalize.css.
|
|
53
|
-
* Reset................A tiny reset to complement Normalize.css.
|
|
54
|
-
* Shared...............Sensibly and tersely share some global commonalities
|
|
55
|
-
* (particularly useful when managing vertical rhythm).
|
|
56
|
-
*
|
|
57
|
-
* ELEMENTS
|
|
58
|
-
* Page.................Set up our document’s default `font-size` and
|
|
59
|
-
* `line-height`.
|
|
60
|
-
* Headings.............Very minimal (i.e. only font-size information) for
|
|
61
|
-
* headings 1 through 6.
|
|
62
|
-
* Images...............Base image styles.
|
|
63
|
-
* Tables...............Simple table styles.
|
|
64
|
-
*
|
|
65
|
-
* OBJECTS
|
|
66
|
-
* Wrapper..............Page constraint object.
|
|
67
|
-
*
|
|
68
|
-
* COMPONENTS
|
|
69
|
-
* Buttons..............An example button component, and how it fits into the
|
|
70
|
-
* inuitcss framework.
|
|
71
|
-
*
|
|
72
|
-
* UTILITIES
|
|
73
|
-
* Clearfix.............Bind our clearfix onto a utility class.
|
|
74
|
-
*/
|
|
75
|
-
/* ==========================================================================
|
|
76
|
-
#BOX-SIZING
|
|
77
|
-
========================================================================== */
|
|
78
|
-
/**
|
|
79
|
-
* More sensible default box-sizing:
|
|
80
|
-
* css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice
|
|
81
|
-
*/
|
|
82
|
-
html {
|
|
83
|
-
box-sizing: border-box; }
|
|
84
|
-
|
|
85
|
-
*, *:before, *:after {
|
|
86
|
-
box-sizing: inherit; }
|
|
87
|
-
|
|
88
|
-
/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */
|
|
89
|
-
/* Document
|
|
90
|
-
========================================================================== */
|
|
91
|
-
/**
|
|
92
|
-
* 1. Correct the line height in all browsers.
|
|
93
|
-
* 2. Prevent adjustments of font size after orientation changes in
|
|
94
|
-
* IE on Windows Phone and in iOS.
|
|
95
|
-
*/
|
|
96
|
-
html {
|
|
97
|
-
line-height: 1.15;
|
|
98
|
-
/* 1 */
|
|
99
|
-
-ms-text-size-adjust: 100%;
|
|
100
|
-
/* 2 */
|
|
101
|
-
-webkit-text-size-adjust: 100%;
|
|
102
|
-
/* 2 */ }
|
|
103
|
-
|
|
104
|
-
/* Sections
|
|
105
|
-
========================================================================== */
|
|
106
|
-
/**
|
|
107
|
-
* Remove the margin in all browsers (opinionated).
|
|
108
|
-
*/
|
|
109
|
-
body {
|
|
110
|
-
margin: 0; }
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* Add the correct display in IE 9-.
|
|
114
|
-
*/
|
|
115
|
-
article,
|
|
116
|
-
aside,
|
|
117
|
-
footer,
|
|
118
|
-
header,
|
|
119
|
-
nav,
|
|
120
|
-
section {
|
|
121
|
-
display: block; }
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* Correct the font size and margin on `h1` elements within `section` and
|
|
125
|
-
* `article` contexts in Chrome, Firefox, and Safari.
|
|
126
|
-
*/
|
|
127
|
-
h1 {
|
|
128
|
-
font-size: 2em;
|
|
129
|
-
margin: 0.67em 0; }
|
|
130
|
-
|
|
131
|
-
/* Grouping content
|
|
132
|
-
========================================================================== */
|
|
133
|
-
/**
|
|
134
|
-
* Add the correct display in IE 9-.
|
|
135
|
-
* 1. Add the correct display in IE.
|
|
136
|
-
*/
|
|
137
|
-
figcaption,
|
|
138
|
-
figure,
|
|
139
|
-
main {
|
|
140
|
-
/* 1 */
|
|
141
|
-
display: block; }
|
|
142
|
-
|
|
143
|
-
/**
|
|
144
|
-
* Add the correct margin in IE 8.
|
|
145
|
-
*/
|
|
146
|
-
figure {
|
|
147
|
-
margin: 1em 40px; }
|
|
148
|
-
|
|
149
|
-
/**
|
|
150
|
-
* 1. Add the correct box sizing in Firefox.
|
|
151
|
-
* 2. Show the overflow in Edge and IE.
|
|
152
|
-
*/
|
|
153
|
-
hr {
|
|
154
|
-
box-sizing: content-box;
|
|
155
|
-
/* 1 */
|
|
156
|
-
height: 0;
|
|
157
|
-
/* 1 */
|
|
158
|
-
overflow: visible;
|
|
159
|
-
/* 2 */ }
|
|
160
|
-
|
|
161
|
-
/**
|
|
162
|
-
* 1. Correct the inheritance and scaling of font size in all browsers.
|
|
163
|
-
* 2. Correct the odd `em` font sizing in all browsers.
|
|
164
|
-
*/
|
|
165
|
-
pre {
|
|
166
|
-
font-family: monospace, monospace;
|
|
167
|
-
/* 1 */
|
|
168
|
-
font-size: 1em;
|
|
169
|
-
/* 2 */ }
|
|
170
|
-
|
|
171
|
-
/* Text-level semantics
|
|
172
|
-
========================================================================== */
|
|
173
|
-
/**
|
|
174
|
-
* 1. Remove the gray background on active links in IE 10.
|
|
175
|
-
* 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
|
|
176
|
-
*/
|
|
177
|
-
a {
|
|
178
|
-
background-color: transparent;
|
|
179
|
-
/* 1 */
|
|
180
|
-
-webkit-text-decoration-skip: objects;
|
|
181
|
-
/* 2 */ }
|
|
182
|
-
|
|
183
|
-
/**
|
|
184
|
-
* 1. Remove the bottom border in Chrome 57- and Firefox 39-.
|
|
185
|
-
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
|
186
|
-
*/
|
|
187
|
-
abbr[title] {
|
|
188
|
-
border-bottom: none;
|
|
189
|
-
/* 1 */
|
|
190
|
-
text-decoration: underline;
|
|
191
|
-
/* 2 */
|
|
192
|
-
text-decoration: underline dotted;
|
|
193
|
-
/* 2 */ }
|
|
194
|
-
|
|
195
|
-
/**
|
|
196
|
-
* Prevent the duplicate application of `bolder` by the next rule in Safari 6.
|
|
197
|
-
*/
|
|
198
|
-
b,
|
|
199
|
-
strong {
|
|
200
|
-
font-weight: inherit; }
|
|
201
|
-
|
|
202
|
-
/**
|
|
203
|
-
* Add the correct font weight in Chrome, Edge, and Safari.
|
|
204
|
-
*/
|
|
205
|
-
b,
|
|
206
|
-
strong {
|
|
207
|
-
font-weight: bolder; }
|
|
208
|
-
|
|
209
|
-
/**
|
|
210
|
-
* 1. Correct the inheritance and scaling of font size in all browsers.
|
|
211
|
-
* 2. Correct the odd `em` font sizing in all browsers.
|
|
212
|
-
*/
|
|
213
|
-
code,
|
|
214
|
-
kbd,
|
|
215
|
-
samp {
|
|
216
|
-
font-family: monospace, monospace;
|
|
217
|
-
/* 1 */
|
|
218
|
-
font-size: 1em;
|
|
219
|
-
/* 2 */ }
|
|
220
|
-
|
|
221
|
-
/**
|
|
222
|
-
* Add the correct font style in Android 4.3-.
|
|
223
|
-
*/
|
|
224
|
-
dfn {
|
|
225
|
-
font-style: italic; }
|
|
226
|
-
|
|
227
|
-
/**
|
|
228
|
-
* Add the correct background and color in IE 9-.
|
|
229
|
-
*/
|
|
230
|
-
mark {
|
|
231
|
-
background-color: #ff0;
|
|
232
|
-
color: #000; }
|
|
233
|
-
|
|
234
|
-
/**
|
|
235
|
-
* Add the correct font size in all browsers.
|
|
236
|
-
*/
|
|
237
|
-
small {
|
|
238
|
-
font-size: 80%; }
|
|
239
|
-
|
|
240
|
-
/**
|
|
241
|
-
* Prevent `sub` and `sup` elements from affecting the line height in
|
|
242
|
-
* all browsers.
|
|
243
|
-
*/
|
|
244
|
-
sub,
|
|
245
|
-
sup {
|
|
246
|
-
font-size: 75%;
|
|
247
|
-
line-height: 0;
|
|
248
|
-
position: relative;
|
|
249
|
-
vertical-align: baseline; }
|
|
250
|
-
|
|
251
|
-
sub {
|
|
252
|
-
bottom: -0.25em; }
|
|
253
|
-
|
|
254
|
-
sup {
|
|
255
|
-
top: -0.5em; }
|
|
256
|
-
|
|
257
|
-
/* Embedded content
|
|
258
|
-
========================================================================== */
|
|
259
|
-
/**
|
|
260
|
-
* Add the correct display in IE 9-.
|
|
261
|
-
*/
|
|
262
|
-
audio,
|
|
263
|
-
video {
|
|
264
|
-
display: inline-block; }
|
|
265
|
-
|
|
266
|
-
/**
|
|
267
|
-
* Add the correct display in iOS 4-7.
|
|
268
|
-
*/
|
|
269
|
-
audio:not([controls]) {
|
|
270
|
-
display: none;
|
|
271
|
-
height: 0; }
|
|
272
|
-
|
|
273
|
-
/**
|
|
274
|
-
* Remove the border on images inside links in IE 10-.
|
|
275
|
-
*/
|
|
276
|
-
img {
|
|
277
|
-
border-style: none; }
|
|
278
|
-
|
|
279
|
-
/**
|
|
280
|
-
* Hide the overflow in IE.
|
|
281
|
-
*/
|
|
282
|
-
svg:not(:root) {
|
|
283
|
-
overflow: hidden; }
|
|
284
|
-
|
|
285
|
-
/* Forms
|
|
286
|
-
========================================================================== */
|
|
287
|
-
/**
|
|
288
|
-
* 1. Change the font styles in all browsers (opinionated).
|
|
289
|
-
* 2. Remove the margin in Firefox and Safari.
|
|
290
|
-
*/
|
|
291
|
-
button,
|
|
292
|
-
input,
|
|
293
|
-
optgroup,
|
|
294
|
-
select,
|
|
295
|
-
textarea {
|
|
296
|
-
font-family: sans-serif;
|
|
297
|
-
/* 1 */
|
|
298
|
-
font-size: 100%;
|
|
299
|
-
/* 1 */
|
|
300
|
-
line-height: 1.15;
|
|
301
|
-
/* 1 */
|
|
302
|
-
margin: 0;
|
|
303
|
-
/* 2 */ }
|
|
304
|
-
|
|
305
|
-
/**
|
|
306
|
-
* Show the overflow in IE.
|
|
307
|
-
* 1. Show the overflow in Edge.
|
|
308
|
-
*/
|
|
309
|
-
button,
|
|
310
|
-
input {
|
|
311
|
-
/* 1 */
|
|
312
|
-
overflow: visible; }
|
|
313
|
-
|
|
314
|
-
/**
|
|
315
|
-
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
|
316
|
-
* 1. Remove the inheritance of text transform in Firefox.
|
|
317
|
-
*/
|
|
318
|
-
button,
|
|
319
|
-
select {
|
|
320
|
-
/* 1 */
|
|
321
|
-
text-transform: none; }
|
|
322
|
-
|
|
323
|
-
/**
|
|
324
|
-
* 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
|
|
325
|
-
* controls in Android 4.
|
|
326
|
-
* 2. Correct the inability to style clickable types in iOS and Safari.
|
|
327
|
-
*/
|
|
328
|
-
button,
|
|
329
|
-
html [type="button"],
|
|
330
|
-
[type="reset"],
|
|
331
|
-
[type="submit"] {
|
|
332
|
-
-webkit-appearance: button;
|
|
333
|
-
/* 2 */ }
|
|
334
|
-
|
|
335
|
-
/**
|
|
336
|
-
* Remove the inner border and padding in Firefox.
|
|
337
|
-
*/
|
|
338
|
-
button::-moz-focus-inner,
|
|
339
|
-
[type="button"]::-moz-focus-inner,
|
|
340
|
-
[type="reset"]::-moz-focus-inner,
|
|
341
|
-
[type="submit"]::-moz-focus-inner {
|
|
342
|
-
border-style: none;
|
|
343
|
-
padding: 0; }
|
|
344
|
-
|
|
345
|
-
/**
|
|
346
|
-
* Restore the focus styles unset by the previous rule.
|
|
347
|
-
*/
|
|
348
|
-
button:-moz-focusring,
|
|
349
|
-
[type="button"]:-moz-focusring,
|
|
350
|
-
[type="reset"]:-moz-focusring,
|
|
351
|
-
[type="submit"]:-moz-focusring {
|
|
352
|
-
outline: 1px dotted ButtonText; }
|
|
353
|
-
|
|
354
|
-
/**
|
|
355
|
-
* Correct the padding in Firefox.
|
|
356
|
-
*/
|
|
357
|
-
fieldset {
|
|
358
|
-
padding: 0.35em 0.75em 0.625em; }
|
|
359
|
-
|
|
360
|
-
/**
|
|
361
|
-
* 1. Correct the text wrapping in Edge and IE.
|
|
362
|
-
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
|
363
|
-
* 3. Remove the padding so developers are not caught out when they zero out
|
|
364
|
-
* `fieldset` elements in all browsers.
|
|
365
|
-
*/
|
|
366
|
-
legend {
|
|
367
|
-
box-sizing: border-box;
|
|
368
|
-
/* 1 */
|
|
369
|
-
color: inherit;
|
|
370
|
-
/* 2 */
|
|
371
|
-
display: table;
|
|
372
|
-
/* 1 */
|
|
373
|
-
max-width: 100%;
|
|
374
|
-
/* 1 */
|
|
375
|
-
padding: 0;
|
|
376
|
-
/* 3 */
|
|
377
|
-
white-space: normal;
|
|
378
|
-
/* 1 */ }
|
|
379
|
-
|
|
380
|
-
/**
|
|
381
|
-
* 1. Add the correct display in IE 9-.
|
|
382
|
-
* 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
|
383
|
-
*/
|
|
384
|
-
progress {
|
|
385
|
-
display: inline-block;
|
|
386
|
-
/* 1 */
|
|
387
|
-
vertical-align: baseline;
|
|
388
|
-
/* 2 */ }
|
|
389
|
-
|
|
390
|
-
/**
|
|
391
|
-
* Remove the default vertical scrollbar in IE.
|
|
392
|
-
*/
|
|
393
|
-
textarea {
|
|
394
|
-
overflow: auto; }
|
|
395
|
-
|
|
396
|
-
/**
|
|
397
|
-
* 1. Add the correct box sizing in IE 10-.
|
|
398
|
-
* 2. Remove the padding in IE 10-.
|
|
399
|
-
*/
|
|
400
|
-
[type="checkbox"],
|
|
401
|
-
[type="radio"] {
|
|
402
|
-
box-sizing: border-box;
|
|
403
|
-
/* 1 */
|
|
404
|
-
padding: 0;
|
|
405
|
-
/* 2 */ }
|
|
406
|
-
|
|
407
|
-
/**
|
|
408
|
-
* Correct the cursor style of increment and decrement buttons in Chrome.
|
|
409
|
-
*/
|
|
410
|
-
[type="number"]::-webkit-inner-spin-button,
|
|
411
|
-
[type="number"]::-webkit-outer-spin-button {
|
|
412
|
-
height: auto; }
|
|
413
|
-
|
|
414
|
-
/**
|
|
415
|
-
* 1. Correct the odd appearance in Chrome and Safari.
|
|
416
|
-
* 2. Correct the outline style in Safari.
|
|
417
|
-
*/
|
|
418
|
-
[type="search"] {
|
|
419
|
-
-webkit-appearance: textfield;
|
|
420
|
-
/* 1 */
|
|
421
|
-
outline-offset: -2px;
|
|
422
|
-
/* 2 */ }
|
|
423
|
-
|
|
424
|
-
/**
|
|
425
|
-
* Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
|
|
426
|
-
*/
|
|
427
|
-
[type="search"]::-webkit-search-cancel-button,
|
|
428
|
-
[type="search"]::-webkit-search-decoration {
|
|
429
|
-
-webkit-appearance: none; }
|
|
430
|
-
|
|
431
|
-
/**
|
|
432
|
-
* 1. Correct the inability to style clickable types in iOS and Safari.
|
|
433
|
-
* 2. Change font properties to `inherit` in Safari.
|
|
434
|
-
*/
|
|
435
|
-
::-webkit-file-upload-button {
|
|
436
|
-
-webkit-appearance: button;
|
|
437
|
-
/* 1 */
|
|
438
|
-
font: inherit;
|
|
439
|
-
/* 2 */ }
|
|
440
|
-
|
|
441
|
-
/* Interactive
|
|
442
|
-
========================================================================== */
|
|
443
|
-
/*
|
|
444
|
-
* Add the correct display in IE 9-.
|
|
445
|
-
* 1. Add the correct display in Edge, IE, and Firefox.
|
|
446
|
-
*/
|
|
447
|
-
details,
|
|
448
|
-
menu {
|
|
449
|
-
display: block; }
|
|
450
|
-
|
|
451
|
-
/*
|
|
452
|
-
* Add the correct display in all browsers.
|
|
453
|
-
*/
|
|
454
|
-
summary {
|
|
455
|
-
display: list-item; }
|
|
456
|
-
|
|
457
|
-
/* Scripting
|
|
458
|
-
========================================================================== */
|
|
459
|
-
/**
|
|
460
|
-
* Add the correct display in IE 9-.
|
|
461
|
-
*/
|
|
462
|
-
canvas {
|
|
463
|
-
display: inline-block; }
|
|
464
|
-
|
|
465
|
-
/**
|
|
466
|
-
* Add the correct display in IE.
|
|
467
|
-
*/
|
|
468
|
-
template {
|
|
469
|
-
display: none; }
|
|
470
|
-
|
|
471
|
-
/* Hidden
|
|
472
|
-
========================================================================== */
|
|
473
|
-
/**
|
|
474
|
-
* Add the correct display in IE 10-.
|
|
475
|
-
*/
|
|
476
|
-
[hidden] {
|
|
477
|
-
display: none; }
|
|
478
|
-
|
|
479
|
-
/* ==========================================================================
|
|
480
|
-
#RESET
|
|
481
|
-
========================================================================== */
|
|
482
|
-
/**
|
|
483
|
-
* A very simple reset that sits on top of Normalize.css.
|
|
484
|
-
*/
|
|
485
|
-
body,
|
|
486
|
-
h1, h2, h3, h4, h5, h6,
|
|
487
|
-
blockquote, p, pre,
|
|
488
|
-
dl, dd, ol, ul,
|
|
489
|
-
figure,
|
|
490
|
-
hr,
|
|
491
|
-
fieldset, legend {
|
|
492
|
-
margin: 0;
|
|
493
|
-
padding: 0; }
|
|
494
|
-
|
|
495
|
-
/**
|
|
496
|
-
* Remove trailing margins from nested lists.
|
|
497
|
-
*/
|
|
498
|
-
li > ol,
|
|
499
|
-
li > ul {
|
|
500
|
-
margin-bottom: 0; }
|
|
501
|
-
|
|
502
|
-
/**
|
|
503
|
-
* Remove default table spacing.
|
|
504
|
-
*/
|
|
505
|
-
table {
|
|
506
|
-
border-collapse: collapse;
|
|
507
|
-
border-spacing: 0; }
|
|
508
|
-
|
|
509
|
-
/**
|
|
510
|
-
* 1. Reset Chrome and Firefox behaviour which sets a `min-width: min-content;`
|
|
511
|
-
* on fieldsets.
|
|
512
|
-
*/
|
|
513
|
-
fieldset {
|
|
514
|
-
min-width: 0;
|
|
515
|
-
/* [1] */
|
|
516
|
-
border: 0; }
|
|
517
|
-
|
|
518
|
-
/* ==========================================================================
|
|
519
|
-
#SHARED
|
|
520
|
-
========================================================================== */
|
|
521
|
-
/**
|
|
522
|
-
* Shared declarations for certain elements.
|
|
523
|
-
*/
|
|
524
|
-
/**
|
|
525
|
-
* Always declare margins in the same direction:
|
|
526
|
-
* csswizardry.com/2012/06/single-direction-margin-declarations
|
|
527
|
-
*/
|
|
528
|
-
address,
|
|
529
|
-
h1, h2, h3, h4, h5, h6,
|
|
530
|
-
blockquote, p, pre,
|
|
531
|
-
dl, ol, ul,
|
|
532
|
-
figure,
|
|
533
|
-
hr,
|
|
534
|
-
table,
|
|
535
|
-
fieldset {
|
|
536
|
-
margin-bottom: 24px; }
|
|
537
|
-
|
|
538
|
-
/**
|
|
539
|
-
* Consistent indentation for lists.
|
|
540
|
-
*/
|
|
541
|
-
dd, ol, ul {
|
|
542
|
-
margin-left: 24px; }
|
|
543
|
-
|
|
544
|
-
/**
|
|
545
|
-
* Makes scrolling smooth for phones
|
|
546
|
-
*/
|
|
547
|
-
* {
|
|
548
|
-
-webkit-overflow-scrolling: touch; }
|
|
549
|
-
|
|
550
|
-
/* ==========================================================================
|
|
551
|
-
#PAGE
|
|
552
|
-
========================================================================== */
|
|
553
|
-
/**
|
|
554
|
-
* Simple page-level setup.
|
|
555
|
-
*
|
|
556
|
-
* 1. Set the default `font-size` and `line-height` for the entire project,
|
|
557
|
-
* sourced from our default variables. The `font-size` is calculated to exist
|
|
558
|
-
* in ems, the `line-height` is calculated to exist unitlessly.
|
|
559
|
-
* 2. Force scrollbars to always be visible to prevent awkward ‘jumps’ when
|
|
560
|
-
* navigating between pages that do/do not have enough content to produce
|
|
561
|
-
* scrollbars naturally.
|
|
562
|
-
* 3. Ensure the page always fills at least the entire height of the viewport.
|
|
563
|
-
*/
|
|
564
|
-
html {
|
|
565
|
-
font-size: 1em;
|
|
566
|
-
/* [1] */
|
|
567
|
-
line-height: 1.5;
|
|
568
|
-
/* [1] */
|
|
569
|
-
overflow-y: scroll;
|
|
570
|
-
/* [2] */
|
|
571
|
-
min-height: 100%;
|
|
572
|
-
/* [3] */ }
|
|
573
|
-
|
|
574
|
-
/* ==========================================================================
|
|
575
|
-
#HEADINGS
|
|
576
|
-
========================================================================== */
|
|
577
|
-
/**
|
|
578
|
-
* Simple default styles for headings 1 through 6. Anything more opinionated
|
|
579
|
-
* than simple font-size changes should likely be applied via classes (see:
|
|
580
|
-
* http://csswizardry.com/2016/02/managing-typography-on-large-apps/).
|
|
581
|
-
*/
|
|
582
|
-
h1 {
|
|
583
|
-
font-size: 36px;
|
|
584
|
-
font-size: 2.25rem;
|
|
585
|
-
line-height: 1.16667; }
|
|
586
|
-
|
|
587
|
-
h2 {
|
|
588
|
-
font-size: 28px;
|
|
589
|
-
font-size: 1.75rem;
|
|
590
|
-
line-height: 1.28571; }
|
|
591
|
-
|
|
592
|
-
h3 {
|
|
593
|
-
font-size: 24px;
|
|
594
|
-
font-size: 1.5rem;
|
|
595
|
-
line-height: 1.25; }
|
|
596
|
-
|
|
597
|
-
h4 {
|
|
598
|
-
font-size: 20px;
|
|
599
|
-
font-size: 1.25rem;
|
|
600
|
-
line-height: 1.5; }
|
|
601
|
-
|
|
602
|
-
h5 {
|
|
603
|
-
font-size: 18px;
|
|
604
|
-
font-size: 1.125rem;
|
|
605
|
-
line-height: 1.33333; }
|
|
606
|
-
|
|
607
|
-
h6 {
|
|
608
|
-
font-size: 16px;
|
|
609
|
-
font-size: 1rem;
|
|
610
|
-
line-height: 1.5; }
|
|
611
|
-
|
|
612
|
-
/* ==========================================================================
|
|
613
|
-
#IMAGES
|
|
614
|
-
========================================================================== */
|
|
615
|
-
/**
|
|
616
|
-
* 1. Fluid images for responsive purposes.
|
|
617
|
-
* 2. Offset `alt` text from surrounding copy.
|
|
618
|
-
* 3. Setting `vertical-align` removes the whitespace that appears under `img`
|
|
619
|
-
* elements when they are dropped into a page as-is. Safer alternative to
|
|
620
|
-
* using `display: block;`.
|
|
621
|
-
*/
|
|
622
|
-
img {
|
|
623
|
-
max-width: 100%;
|
|
624
|
-
/* [1] */
|
|
625
|
-
font-style: italic;
|
|
626
|
-
/* [2] */
|
|
627
|
-
vertical-align: middle;
|
|
628
|
-
/* [3] */ }
|
|
629
|
-
|
|
630
|
-
/**
|
|
631
|
-
* If a `width` and/or `height` attribute has been explicitly defined, let’s
|
|
632
|
-
* not make the image fluid.
|
|
633
|
-
*/
|
|
634
|
-
img[width],
|
|
635
|
-
img[height] {
|
|
636
|
-
max-width: none; }
|
|
637
|
-
|
|
638
|
-
/* ==========================================================================
|
|
639
|
-
#TABLES
|
|
640
|
-
========================================================================== */
|
|
641
|
-
/**
|
|
642
|
-
* 1. Ensure tables fill up as much space as possible.
|
|
643
|
-
*/
|
|
644
|
-
table {
|
|
645
|
-
width: 100%;
|
|
646
|
-
/* [1] */ }
|
|
647
|
-
|
|
648
|
-
/**
|
|
649
|
-
* Site-wide typography
|
|
650
|
-
*/
|
|
651
|
-
html {
|
|
652
|
-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
653
|
-
color: #222; }
|
|
654
|
-
|
|
655
|
-
/**
|
|
656
|
-
* Code-like elements.
|
|
657
|
-
*/
|
|
658
|
-
pre,
|
|
659
|
-
code,
|
|
660
|
-
kbd,
|
|
661
|
-
samp {
|
|
662
|
-
font-family: Inconsolata, Monaco, Consolas, 'Andale Mono', 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace;
|
|
663
|
-
font-style: normal; }
|
|
664
|
-
|
|
665
|
-
/**
|
|
666
|
-
* Syntax highlighting for code cells
|
|
667
|
-
*/
|
|
668
|
-
.highlight {
|
|
669
|
-
background: #fff; }
|
|
670
|
-
.highlighter-rouge .highlight {
|
|
671
|
-
background: #eef; }
|
|
672
|
-
.highlight .c {
|
|
673
|
-
color: #998;
|
|
674
|
-
font-style: italic; }
|
|
675
|
-
.highlight .err {
|
|
676
|
-
color: #a61717;
|
|
677
|
-
background-color: #e3d2d2; }
|
|
678
|
-
.highlight .k {
|
|
679
|
-
font-weight: bold; }
|
|
680
|
-
.highlight .o {
|
|
681
|
-
font-weight: bold; }
|
|
682
|
-
.highlight .cm {
|
|
683
|
-
color: #998;
|
|
684
|
-
font-style: italic; }
|
|
685
|
-
.highlight .cp {
|
|
686
|
-
color: #999;
|
|
687
|
-
font-weight: bold; }
|
|
688
|
-
.highlight .c1 {
|
|
689
|
-
color: #998;
|
|
690
|
-
font-style: italic; }
|
|
691
|
-
.highlight .cs {
|
|
692
|
-
color: #999;
|
|
693
|
-
font-weight: bold;
|
|
694
|
-
font-style: italic; }
|
|
695
|
-
.highlight .gd {
|
|
696
|
-
color: #000;
|
|
697
|
-
background-color: #fdd; }
|
|
698
|
-
.highlight .gd .x {
|
|
699
|
-
color: #000;
|
|
700
|
-
background-color: #faa; }
|
|
701
|
-
.highlight .ge {
|
|
702
|
-
font-style: italic; }
|
|
703
|
-
.highlight .gr {
|
|
704
|
-
color: #a00; }
|
|
705
|
-
.highlight .gh {
|
|
706
|
-
color: #999; }
|
|
707
|
-
.highlight .gi {
|
|
708
|
-
color: #000;
|
|
709
|
-
background-color: #dfd; }
|
|
710
|
-
.highlight .gi .x {
|
|
711
|
-
color: #000;
|
|
712
|
-
background-color: #afa; }
|
|
713
|
-
.highlight .go {
|
|
714
|
-
color: #888; }
|
|
715
|
-
.highlight .gp {
|
|
716
|
-
color: #555; }
|
|
717
|
-
.highlight .gs {
|
|
718
|
-
font-weight: bold; }
|
|
719
|
-
.highlight .gu {
|
|
720
|
-
color: #aaa; }
|
|
721
|
-
.highlight .gt {
|
|
722
|
-
color: #a00; }
|
|
723
|
-
.highlight .kc {
|
|
724
|
-
font-weight: bold; }
|
|
725
|
-
.highlight .kd {
|
|
726
|
-
font-weight: bold; }
|
|
727
|
-
.highlight .kp {
|
|
728
|
-
font-weight: bold; }
|
|
729
|
-
.highlight .kr {
|
|
730
|
-
font-weight: bold; }
|
|
731
|
-
.highlight .kt {
|
|
732
|
-
color: #458;
|
|
733
|
-
font-weight: bold; }
|
|
734
|
-
.highlight .m {
|
|
735
|
-
color: #099; }
|
|
736
|
-
.highlight .s {
|
|
737
|
-
color: #d14; }
|
|
738
|
-
.highlight .na {
|
|
739
|
-
color: #008080; }
|
|
740
|
-
.highlight .nb {
|
|
741
|
-
color: #0086B3; }
|
|
742
|
-
.highlight .nc {
|
|
743
|
-
color: #458;
|
|
744
|
-
font-weight: bold; }
|
|
745
|
-
.highlight .no {
|
|
746
|
-
color: #008080; }
|
|
747
|
-
.highlight .ni {
|
|
748
|
-
color: #800080; }
|
|
749
|
-
.highlight .ne {
|
|
750
|
-
color: #900;
|
|
751
|
-
font-weight: bold; }
|
|
752
|
-
.highlight .nf {
|
|
753
|
-
color: #900;
|
|
754
|
-
font-weight: bold; }
|
|
755
|
-
.highlight .nn {
|
|
756
|
-
color: #555; }
|
|
757
|
-
.highlight .nt {
|
|
758
|
-
color: #000080; }
|
|
759
|
-
.highlight .nv {
|
|
760
|
-
color: #008080; }
|
|
761
|
-
.highlight .ow {
|
|
762
|
-
font-weight: bold; }
|
|
763
|
-
.highlight .w {
|
|
764
|
-
color: #bbb; }
|
|
765
|
-
.highlight .mf {
|
|
766
|
-
color: #099; }
|
|
767
|
-
.highlight .mh {
|
|
768
|
-
color: #099; }
|
|
769
|
-
.highlight .mi {
|
|
770
|
-
color: #099; }
|
|
771
|
-
.highlight .mo {
|
|
772
|
-
color: #099; }
|
|
773
|
-
.highlight .sb {
|
|
774
|
-
color: #d14; }
|
|
775
|
-
.highlight .sc {
|
|
776
|
-
color: #d14; }
|
|
777
|
-
.highlight .sd {
|
|
778
|
-
color: #d14; }
|
|
779
|
-
.highlight .s2 {
|
|
780
|
-
color: #d14; }
|
|
781
|
-
.highlight .se {
|
|
782
|
-
color: #d14; }
|
|
783
|
-
.highlight .sh {
|
|
784
|
-
color: #d14; }
|
|
785
|
-
.highlight .si {
|
|
786
|
-
color: #d14; }
|
|
787
|
-
.highlight .sx {
|
|
788
|
-
color: #d14; }
|
|
789
|
-
.highlight .sr {
|
|
790
|
-
color: #009926; }
|
|
791
|
-
.highlight .s1 {
|
|
792
|
-
color: #d14; }
|
|
793
|
-
.highlight .ss {
|
|
794
|
-
color: #990073; }
|
|
795
|
-
.highlight .bp {
|
|
796
|
-
color: #999; }
|
|
797
|
-
.highlight .vc {
|
|
798
|
-
color: #008080; }
|
|
799
|
-
.highlight .vg {
|
|
800
|
-
color: #008080; }
|
|
801
|
-
.highlight .vi {
|
|
802
|
-
color: #008080; }
|
|
803
|
-
.highlight .il {
|
|
804
|
-
color: #099; }
|
|
805
|
-
|
|
806
|
-
/**
|
|
807
|
-
* Styling for tables. In the textbook, almost all tables display the contents
|
|
808
|
-
* of a pandas DataFrame.
|
|
809
|
-
*
|
|
810
|
-
* [1]: Some tables are very small, so we shouldn't force them to be full-width
|
|
811
|
-
* [2]: Add striping to table rows to make them easier to read.
|
|
812
|
-
*/
|
|
813
|
-
table {
|
|
814
|
-
/* [1] */
|
|
815
|
-
max-width: 100%;
|
|
816
|
-
width: initial; }
|
|
817
|
-
|
|
818
|
-
table td,
|
|
819
|
-
table th {
|
|
820
|
-
padding: 6px 12px;
|
|
821
|
-
border: 1px solid #ccc;
|
|
822
|
-
text-align: right; }
|
|
823
|
-
|
|
824
|
-
/* [2] */
|
|
825
|
-
table tr:nth-child(2n) {
|
|
826
|
-
background-color: #f7f7f7; }
|
|
827
|
-
|
|
828
|
-
/**
|
|
829
|
-
* Styling for links
|
|
830
|
-
*/
|
|
831
|
-
a,
|
|
832
|
-
a:visited {
|
|
833
|
-
color: #0077d8;
|
|
834
|
-
text-decoration: none; }
|
|
835
|
-
|
|
836
|
-
pre {
|
|
837
|
-
background-color: #f7f7f7;
|
|
838
|
-
font-size: 0.9em;
|
|
839
|
-
margin-bottom: 12px;
|
|
840
|
-
padding: 12px;
|
|
841
|
-
overflow-x: scroll; }
|
|
842
|
-
|
|
843
|
-
/* ==========================================================================
|
|
844
|
-
#WRAPPER
|
|
845
|
-
========================================================================== */
|
|
846
|
-
/**
|
|
847
|
-
* Page-level constraining and wrapping elements.
|
|
848
|
-
*/
|
|
849
|
-
.o-wrapper {
|
|
850
|
-
padding-right: 24px;
|
|
851
|
-
padding-left: 24px;
|
|
852
|
-
margin-right: auto;
|
|
853
|
-
margin-left: auto;
|
|
854
|
-
max-width: 800px; }
|
|
855
|
-
.o-wrapper:after {
|
|
856
|
-
content: "" !important;
|
|
857
|
-
display: block !important;
|
|
858
|
-
clear: both !important; }
|
|
859
|
-
|
|
860
|
-
/* ==========================================================================
|
|
861
|
-
#LAYOUT
|
|
862
|
-
========================================================================== */
|
|
863
|
-
/**
|
|
864
|
-
* Grid-like layout system.
|
|
865
|
-
*
|
|
866
|
-
* The layout object provides us with a column-style layout system. This file
|
|
867
|
-
* contains the basic structural elements, but classes should be complemented
|
|
868
|
-
* with width utilities, for example:
|
|
869
|
-
*
|
|
870
|
-
* <div class="o-layout">
|
|
871
|
-
* <div class="o-layout__item u-1/2">
|
|
872
|
-
* </div>
|
|
873
|
-
* <div class="o-layout__item u-1/2">
|
|
874
|
-
* </div>
|
|
875
|
-
* </div>
|
|
876
|
-
*
|
|
877
|
-
* The above will create a two-column structure in which each column will
|
|
878
|
-
* fluidly fill half of the width of the parent. We can have more complex
|
|
879
|
-
* systems:
|
|
880
|
-
*
|
|
881
|
-
* <div class="o-layout">
|
|
882
|
-
* <div class="o-layout__item u-1/1 u-1/3@medium">
|
|
883
|
-
* </div>
|
|
884
|
-
* <div class="o-layout__item u-1/2 u-1/3@medium">
|
|
885
|
-
* </div>
|
|
886
|
-
* <div class="o-layout__item u-1/2 u-1/3@medium">
|
|
887
|
-
* </div>
|
|
888
|
-
* </div>
|
|
889
|
-
*
|
|
890
|
-
* The above will create a system in which the first item will be 100% width
|
|
891
|
-
* until we enter our medium breakpoint, when it will become 33.333% width. The
|
|
892
|
-
* second and third items will be 50% of their parent, until they also become
|
|
893
|
-
* 33.333% width at the medium breakpoint.
|
|
894
|
-
*
|
|
895
|
-
* We can also manipulate entire layout systems by adding a series of modifiers
|
|
896
|
-
* to the `.o-layout` block. For example:
|
|
897
|
-
*
|
|
898
|
-
* <div class="o-layout o-layout--reverse">
|
|
899
|
-
*
|
|
900
|
-
* This will reverse the displayed order of the system so that it runs in the
|
|
901
|
-
* opposite order to our source, effectively flipping the system over.
|
|
902
|
-
*
|
|
903
|
-
* <div class="o-layout o-layout--[right|center]">
|
|
904
|
-
*
|
|
905
|
-
* This will cause the system to fill up from either the centre or the right
|
|
906
|
-
* hand side. Default behaviour is to fill up the layout system from the left.
|
|
907
|
-
*
|
|
908
|
-
* There are plenty more options available to us: explore them below.
|
|
909
|
-
*/
|
|
910
|
-
/* Default/mandatory classes
|
|
911
|
-
========================================================================== */
|
|
912
|
-
/**
|
|
913
|
-
* 1. Allows us to use the layout object on any type of element.
|
|
914
|
-
* 2. We need to defensively reset any box-model properties.
|
|
915
|
-
* 3. Use the negative margin trick for multi-row grids:
|
|
916
|
-
* http://csswizardry.com/2011/08/building-better-grid-systems/
|
|
917
|
-
*/
|
|
918
|
-
.o-layout {
|
|
919
|
-
display: block;
|
|
920
|
-
/* [1] */
|
|
921
|
-
margin: 0;
|
|
922
|
-
/* [2] */
|
|
923
|
-
padding: 0;
|
|
924
|
-
/* [2] */
|
|
925
|
-
list-style: none;
|
|
926
|
-
/* [1] */
|
|
927
|
-
margin-left: -24px;
|
|
928
|
-
/* [3] */
|
|
929
|
-
font-size: 0; }
|
|
930
|
-
|
|
931
|
-
/**
|
|
932
|
-
* 1. Required in order to combine fluid widths with fixed gutters.
|
|
933
|
-
* 2. Allows us to manipulate grids vertically, with text-level properties,
|
|
934
|
-
* etc.
|
|
935
|
-
* 3. Default item alignment is with the tops of each other, like most
|
|
936
|
-
* traditional grid/layout systems.
|
|
937
|
-
* 4. By default, all layout items are full-width (mobile first).
|
|
938
|
-
* 5. Gutters provided by left padding:
|
|
939
|
-
* http://csswizardry.com/2011/08/building-better-grid-systems/
|
|
940
|
-
* 6. Fallback for old IEs not supporting `rem` values.
|
|
941
|
-
*/
|
|
942
|
-
.o-layout__item {
|
|
943
|
-
box-sizing: border-box;
|
|
944
|
-
/* [1] */
|
|
945
|
-
display: inline-block;
|
|
946
|
-
/* [2] */
|
|
947
|
-
vertical-align: top;
|
|
948
|
-
/* [3] */
|
|
949
|
-
width: 100%;
|
|
950
|
-
/* [4] */
|
|
951
|
-
padding-left: 24px;
|
|
952
|
-
/* [5] */
|
|
953
|
-
font-size: 16px;
|
|
954
|
-
/* [6] */
|
|
955
|
-
font-size: 1rem; }
|
|
956
|
-
|
|
957
|
-
/* Gutter size modifiers
|
|
958
|
-
========================================================================== */
|
|
959
|
-
.o-layout--flush {
|
|
960
|
-
margin-left: 0; }
|
|
961
|
-
.o-layout--flush > .o-layout__item {
|
|
962
|
-
padding-left: 0; }
|
|
963
|
-
|
|
964
|
-
.o-layout--tiny {
|
|
965
|
-
margin-left: -6px; }
|
|
966
|
-
.o-layout--tiny > .o-layout__item {
|
|
967
|
-
padding-left: 6px; }
|
|
968
|
-
|
|
969
|
-
.o-layout--small {
|
|
970
|
-
margin-left: -12px; }
|
|
971
|
-
.o-layout--small > .o-layout__item {
|
|
972
|
-
padding-left: 12px; }
|
|
973
|
-
|
|
974
|
-
.o-layout--large {
|
|
975
|
-
margin-left: -48px; }
|
|
976
|
-
.o-layout--large > .o-layout__item {
|
|
977
|
-
padding-left: 48px; }
|
|
978
|
-
|
|
979
|
-
.o-layout--huge {
|
|
980
|
-
margin-left: -96px; }
|
|
981
|
-
.o-layout--huge > .o-layout__item {
|
|
982
|
-
padding-left: 96px; }
|
|
983
|
-
|
|
984
|
-
/* Vertical alignment modifiers
|
|
985
|
-
========================================================================== */
|
|
986
|
-
/**
|
|
987
|
-
* Align all grid items to the middles of each other.
|
|
988
|
-
*/
|
|
989
|
-
.o-layout--middle > .o-layout__item {
|
|
990
|
-
vertical-align: middle; }
|
|
991
|
-
|
|
992
|
-
/**
|
|
993
|
-
* Align all grid items to the bottoms of each other.
|
|
994
|
-
*/
|
|
995
|
-
.o-layout--bottom > .o-layout__item {
|
|
996
|
-
vertical-align: bottom; }
|
|
997
|
-
|
|
998
|
-
/**
|
|
999
|
-
* Stretch all grid items of each row to have an equal-height.
|
|
1000
|
-
* Please be aware that this modifier class doesn’t take any effect in IE9 and
|
|
1001
|
-
* below and other older browsers due to the lack of `display: flex` support.
|
|
1002
|
-
*/
|
|
1003
|
-
.o-layout--stretch {
|
|
1004
|
-
display: flex;
|
|
1005
|
-
flex-wrap: wrap; }
|
|
1006
|
-
.o-layout--stretch > .o-layout__item {
|
|
1007
|
-
display: flex; }
|
|
1008
|
-
.o-layout--stretch.o-layout--center {
|
|
1009
|
-
justify-content: center; }
|
|
1010
|
-
.o-layout--stretch.o-layout--right {
|
|
1011
|
-
justify-content: flex-end; }
|
|
1012
|
-
.o-layout--stretch.o-layout--left {
|
|
1013
|
-
justify-content: flex-start; }
|
|
1014
|
-
|
|
1015
|
-
/* Fill order modifiers
|
|
1016
|
-
========================================================================== */
|
|
1017
|
-
/**
|
|
1018
|
-
* Fill up the layout system from the centre.
|
|
1019
|
-
*/
|
|
1020
|
-
.o-layout--center {
|
|
1021
|
-
text-align: center; }
|
|
1022
|
-
.o-layout--center > .o-layout__item {
|
|
1023
|
-
text-align: left; }
|
|
1024
|
-
|
|
1025
|
-
/**
|
|
1026
|
-
* Fill up the layout system from the right-hand side.
|
|
1027
|
-
*/
|
|
1028
|
-
.o-layout--right {
|
|
1029
|
-
text-align: right; }
|
|
1030
|
-
.o-layout--right > .o-layout__item {
|
|
1031
|
-
text-align: left; }
|
|
1032
|
-
|
|
1033
|
-
/**
|
|
1034
|
-
* Fill up the layout system from the left-hand side. This will likely only be
|
|
1035
|
-
* needed when using in conjunction with `.o-layout--reverse`.
|
|
1036
|
-
*/
|
|
1037
|
-
.o-layout--left {
|
|
1038
|
-
text-align: left; }
|
|
1039
|
-
.o-layout--left > .o-layout__item {
|
|
1040
|
-
text-align: left; }
|
|
1041
|
-
|
|
1042
|
-
/**
|
|
1043
|
-
* Reverse the rendered order of the grid system.
|
|
1044
|
-
*/
|
|
1045
|
-
.o-layout--reverse {
|
|
1046
|
-
direction: rtl; }
|
|
1047
|
-
.o-layout--reverse > .o-layout__item {
|
|
1048
|
-
direction: ltr; }
|
|
1049
|
-
|
|
1050
|
-
/* Auto-widths modifier
|
|
1051
|
-
========================================================================== */
|
|
1052
|
-
/**
|
|
1053
|
-
* Cause layout items to take up a non-explicit amount of width.
|
|
1054
|
-
*/
|
|
1055
|
-
.o-layout--auto > .o-layout__item {
|
|
1056
|
-
width: auto; }
|
|
1057
|
-
|
|
1058
|
-
/*!
|
|
1059
|
-
* Hamburgers
|
|
1060
|
-
* @description Tasty CSS-animated hamburgers
|
|
1061
|
-
* @author Jonathan Suh @jonsuh
|
|
1062
|
-
* @site https://jonsuh.com/hamburgers
|
|
1063
|
-
* @link https://github.com/jonsuh/hamburgers
|
|
1064
|
-
*/
|
|
1065
|
-
.hamburger {
|
|
1066
|
-
padding: 8px 0;
|
|
1067
|
-
display: inline-block;
|
|
1068
|
-
cursor: pointer;
|
|
1069
|
-
transition-property: opacity, filter;
|
|
1070
|
-
transition-duration: 0.15s;
|
|
1071
|
-
transition-timing-function: linear;
|
|
1072
|
-
font: inherit;
|
|
1073
|
-
color: inherit;
|
|
1074
|
-
text-transform: none;
|
|
1075
|
-
background-color: transparent;
|
|
1076
|
-
border: 0;
|
|
1077
|
-
margin: 0;
|
|
1078
|
-
overflow: visible; }
|
|
1079
|
-
.hamburger:hover {
|
|
1080
|
-
opacity: 0.7; }
|
|
1081
|
-
|
|
1082
|
-
.hamburger-box {
|
|
1083
|
-
width: 20px;
|
|
1084
|
-
height: 15px;
|
|
1085
|
-
display: inline-block;
|
|
1086
|
-
position: relative;
|
|
1087
|
-
vertical-align: middle; }
|
|
1088
|
-
|
|
1089
|
-
.hamburger-inner {
|
|
1090
|
-
display: block;
|
|
1091
|
-
top: 50%;
|
|
1092
|
-
margin-top: -1.5px; }
|
|
1093
|
-
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
|
|
1094
|
-
width: 20px;
|
|
1095
|
-
height: 3px;
|
|
1096
|
-
background-color: #222;
|
|
1097
|
-
border-radius: 4px;
|
|
1098
|
-
position: absolute;
|
|
1099
|
-
transition-property: transform;
|
|
1100
|
-
transition-duration: 0.15s;
|
|
1101
|
-
transition-timing-function: ease; }
|
|
1102
|
-
.hamburger-inner::before, .hamburger-inner::after {
|
|
1103
|
-
content: '';
|
|
1104
|
-
display: block; }
|
|
1105
|
-
.hamburger-inner::before {
|
|
1106
|
-
top: -6px; }
|
|
1107
|
-
.hamburger-inner::after {
|
|
1108
|
-
bottom: -6px; }
|
|
1109
|
-
|
|
1110
|
-
/*
|
|
1111
|
-
* Arrow Alt
|
|
1112
|
-
*/
|
|
1113
|
-
.hamburger--arrowalt .hamburger-inner::before {
|
|
1114
|
-
transition: top 0.1s 0.1s ease, transform 0.1s cubic-bezier(0.165, 0.84, 0.44, 1); }
|
|
1115
|
-
|
|
1116
|
-
.hamburger--arrowalt .hamburger-inner::after {
|
|
1117
|
-
transition: bottom 0.1s 0.1s ease, transform 0.1s cubic-bezier(0.165, 0.84, 0.44, 1); }
|
|
1118
|
-
|
|
1119
|
-
.hamburger--arrowalt.is-active .hamburger-inner::before {
|
|
1120
|
-
top: 0;
|
|
1121
|
-
transform: translate3d(-4px, -5px, 0) rotate(-45deg) scale(0.7, 1);
|
|
1122
|
-
transition: top 0.1s ease, transform 0.1s 0.1s cubic-bezier(0.895, 0.03, 0.685, 0.22); }
|
|
1123
|
-
|
|
1124
|
-
.hamburger--arrowalt.is-active .hamburger-inner::after {
|
|
1125
|
-
bottom: 0;
|
|
1126
|
-
transform: translate3d(-4px, 5px, 0) rotate(45deg) scale(0.7, 1);
|
|
1127
|
-
transition: bottom 0.1s ease, transform 0.1s 0.1s cubic-bezier(0.895, 0.03, 0.685, 0.22); }
|
|
1128
|
-
|
|
1129
|
-
/**
|
|
1130
|
-
* The website contains two main components: the sidebar and the textbook page.
|
|
1131
|
-
* This file specifies the layout and includes classes to show/hide the sidebar
|
|
1132
|
-
* on small screens.
|
|
1133
|
-
*
|
|
1134
|
-
* The actual styling for the sidebar and page are located in their respective
|
|
1135
|
-
* component SCSS files. This file manages the layout and width only.
|
|
1136
|
-
*
|
|
1137
|
-
* By default, the sidebar is not visible.
|
|
1138
|
-
*
|
|
1139
|
-
* [1]: The entire page is positioned relative so that when the page overflows
|
|
1140
|
-
* (e.g. sidebar open on small screens) the user can't scroll left/right.
|
|
1141
|
-
* [2]: The sidebar and the textbook page are positioned absolute so that we
|
|
1142
|
-
* can use translate() on the textbook page to reveal the sidebar.
|
|
1143
|
-
* [3]: Setting the background color hides the sidebar when it's behind the
|
|
1144
|
-
* page (otherwise the page is transparent).
|
|
1145
|
-
*
|
|
1146
|
-
* When the sidebar is visible:
|
|
1147
|
-
*
|
|
1148
|
-
* [4]: Shift the textbook page over to the left. On small screens, the page
|
|
1149
|
-
* will overflow since the sidebar takes up most of the screen.
|
|
1150
|
-
* [5]: On larger screens, the page and sidebar have enough room to read them
|
|
1151
|
-
* simultaneously, so make sure that the page doesn't overflow.
|
|
1152
|
-
*/
|
|
1153
|
-
.c-textbook {
|
|
1154
|
-
/* [1] */
|
|
1155
|
-
position: relative;
|
|
1156
|
-
height: 100vh;
|
|
1157
|
-
overflow: hidden; }
|
|
1158
|
-
|
|
1159
|
-
.c-textbook__sidebar,
|
|
1160
|
-
.c-textbook__page {
|
|
1161
|
-
/* [2] */
|
|
1162
|
-
position: absolute;
|
|
1163
|
-
height: 100vh;
|
|
1164
|
-
overflow: scroll;
|
|
1165
|
-
background-color: white;
|
|
1166
|
-
/* [3] */ }
|
|
1167
|
-
|
|
1168
|
-
.c-textbook__sidebar {
|
|
1169
|
-
width: 260px; }
|
|
1170
|
-
|
|
1171
|
-
.c-textbook__page {
|
|
1172
|
-
width: 100%;
|
|
1173
|
-
transition: transform 250ms ease; }
|
|
1174
|
-
|
|
1175
|
-
.js-show-sidebar .c-textbook__page {
|
|
1176
|
-
/* [4] */
|
|
1177
|
-
transform: translate(260px, 0); }
|
|
1178
|
-
@media (min-width: 46.25em) {
|
|
1179
|
-
.js-show-sidebar .c-textbook__page {
|
|
1180
|
-
/* [5] */
|
|
1181
|
-
width: calc(100% - 260px); } }
|
|
1182
|
-
|
|
1183
|
-
/**
|
|
1184
|
-
* Styling for the sidebar.
|
|
1185
|
-
*
|
|
1186
|
-
* [1]: The sidebar is implemented as ul and li elements so we need to remove
|
|
1187
|
-
* the bullets and margins.
|
|
1188
|
-
* [2]: The entries are <a> tags so we need to remove the default styling.
|
|
1189
|
-
* [3]: The sidebar divider is just an empty element with a border.
|
|
1190
|
-
* [4]: The current section needs a higher specificity to override the :hover
|
|
1191
|
-
* selectors used previously.
|
|
1192
|
-
*/
|
|
1193
|
-
.c-textbook__sidebar {
|
|
1194
|
-
background-color: #fafafa;
|
|
1195
|
-
padding: 12px;
|
|
1196
|
-
font-size: 14px;
|
|
1197
|
-
font-size: 0.875rem;
|
|
1198
|
-
line-height: 1.71429;
|
|
1199
|
-
border-right: 1px solid rgba(0, 0, 0, 0.07); }
|
|
1200
|
-
|
|
1201
|
-
/* [1] */
|
|
1202
|
-
.c-sidebar__chapters {
|
|
1203
|
-
list-style: none;
|
|
1204
|
-
margin-left: 0;
|
|
1205
|
-
margin-bottom: 0; }
|
|
1206
|
-
|
|
1207
|
-
/* [1] */
|
|
1208
|
-
.c-sidebar__sections {
|
|
1209
|
-
list-style: none;
|
|
1210
|
-
margin-left: 12px;
|
|
1211
|
-
margin-bottom: 0; }
|
|
1212
|
-
|
|
1213
|
-
/* [2] */
|
|
1214
|
-
.c-sidebar__entry {
|
|
1215
|
-
display: block;
|
|
1216
|
-
padding: 6px;
|
|
1217
|
-
color: #364149;
|
|
1218
|
-
text-decoration: none; }
|
|
1219
|
-
.c-sidebar__entry:hover {
|
|
1220
|
-
text-decoration: underline; }
|
|
1221
|
-
.c-sidebar__entry:visited {
|
|
1222
|
-
color: #364149; }
|
|
1223
|
-
|
|
1224
|
-
/* [4] */
|
|
1225
|
-
.c-sidebar__entry--active.c-sidebar__entry--active {
|
|
1226
|
-
color: #0077d8; }
|
|
1227
|
-
|
|
1228
|
-
/* [3] */
|
|
1229
|
-
.c-sidebar__divider {
|
|
1230
|
-
border-top: 1px solid #bbb;
|
|
1231
|
-
margin: 6px; }
|
|
1232
|
-
|
|
1233
|
-
/**
|
|
1234
|
-
* Styling for textbook pages. Jupyter notebooks generate their own HTML markup
|
|
1235
|
-
* which we style under the #ipython-notebook selector.
|
|
1236
|
-
*
|
|
1237
|
-
* Most of the textbook content is styled using this component.
|
|
1238
|
-
*
|
|
1239
|
-
* [1]: Don't add horizontal padding since the content lies within a .o-wrapper
|
|
1240
|
-
* [2]: Since we use JS to focus the page on load, hide the outline to avoid
|
|
1241
|
-
* visual cruft.
|
|
1242
|
-
*
|
|
1243
|
-
* Notebook styling:
|
|
1244
|
-
*
|
|
1245
|
-
* [3]: Add a border around cell input to distinguish it from the output.
|
|
1246
|
-
* [4]: Some tables are too wide for the page on smaller screens so we let the
|
|
1247
|
-
* user scroll horizontally.
|
|
1248
|
-
* [5]: Inline code snippets (usually variable names) should have a gray bg.
|
|
1249
|
-
*/
|
|
1250
|
-
.c-textbook__page {
|
|
1251
|
-
/* [1] */
|
|
1252
|
-
padding: 12px 0; }
|
|
1253
|
-
@media (min-width: 46.25em) and (max-width: 61.24em) {
|
|
1254
|
-
.c-textbook__page {
|
|
1255
|
-
padding-left: 24px;
|
|
1256
|
-
padding-right: 24px; } }
|
|
1257
|
-
@media (min-width: 61.25em) {
|
|
1258
|
-
.c-textbook__page {
|
|
1259
|
-
padding-left: 48px;
|
|
1260
|
-
padding-right: 48px; } }
|
|
1261
|
-
.c-textbook__page:focus {
|
|
1262
|
-
/* [2] */
|
|
1263
|
-
outline: none; }
|
|
1264
|
-
|
|
1265
|
-
/**
|
|
1266
|
-
* Jupyter notebook styling
|
|
1267
|
-
*/
|
|
1268
|
-
#ipython-notebook {
|
|
1269
|
-
/* [5] */ }
|
|
1270
|
-
#ipython-notebook:after {
|
|
1271
|
-
content: "" !important;
|
|
1272
|
-
display: block !important;
|
|
1273
|
-
clear: both !important; }
|
|
1274
|
-
#ipython-notebook .input_area pre,
|
|
1275
|
-
#ipython-notebook .output_text pre {
|
|
1276
|
-
background-color: #f7f7f7;
|
|
1277
|
-
font-size: 0.9em;
|
|
1278
|
-
margin-bottom: 12px;
|
|
1279
|
-
padding: 12px;
|
|
1280
|
-
overflow-x: scroll; }
|
|
1281
|
-
#ipython-notebook .input_area pre {
|
|
1282
|
-
/* [3] */
|
|
1283
|
-
border: 1px solid #ccc; }
|
|
1284
|
-
#ipython-notebook .output_html {
|
|
1285
|
-
/* [4] */
|
|
1286
|
-
overflow-x: scroll; }
|
|
1287
|
-
#ipython-notebook code {
|
|
1288
|
-
background-color: #f7f7f7;
|
|
1289
|
-
padding: 4px;
|
|
1290
|
-
font-size: 14px;
|
|
1291
|
-
font-size: 0.875rem;
|
|
1292
|
-
line-height: 1.71429; }
|
|
1293
|
-
#ipython-notebook blockquote {
|
|
1294
|
-
margin: 12px;
|
|
1295
|
-
padding: 18px;
|
|
1296
|
-
border-left: 4px solid #ccc; }
|
|
1297
|
-
#ipython-notebook blockquote p:last-child {
|
|
1298
|
-
margin-bottom: 0; }
|
|
1299
|
-
#ipython-notebook .cell.nbinteract-left {
|
|
1300
|
-
width: 50%;
|
|
1301
|
-
float: left; }
|
|
1302
|
-
#ipython-notebook .cell.nbinteract-right {
|
|
1303
|
-
width: 50%;
|
|
1304
|
-
float: right; }
|
|
1305
|
-
#ipython-notebook .cell.nbinteract-hide_in > .input {
|
|
1306
|
-
display: none; }
|
|
1307
|
-
#ipython-notebook .cell.nbinteract-hide_out > .output_wrapper {
|
|
1308
|
-
display: none; }
|
|
1309
|
-
#ipython-notebook .cell:after {
|
|
1310
|
-
content: '';
|
|
1311
|
-
display: table;
|
|
1312
|
-
clear: both; }
|
|
1313
|
-
#ipython-notebook div.output_subarea {
|
|
1314
|
-
max-width: initial; }
|
|
1315
|
-
#ipython-notebook .jp-OutputPrompt {
|
|
1316
|
-
display: none; }
|
|
1317
|
-
|
|
1318
|
-
/**
|
|
1319
|
-
* Styling for the Next Page / Previous Page links at the bottom of textbook
|
|
1320
|
-
* pages.
|
|
1321
|
-
*/
|
|
1322
|
-
.c-page__nav {
|
|
1323
|
-
display: flex;
|
|
1324
|
-
justify-content: space-between;
|
|
1325
|
-
align-items: center; }
|
|
1326
|
-
|
|
1327
|
-
.c-page__nav__prev,
|
|
1328
|
-
.c-page__nav__next {
|
|
1329
|
-
flex: 1;
|
|
1330
|
-
color: rgba(0, 140, 255, 0.7);
|
|
1331
|
-
border: 1px solid rgba(0, 140, 255, 0.7);
|
|
1332
|
-
border-radius: 3px;
|
|
1333
|
-
padding: 12px 0; }
|
|
1334
|
-
|
|
1335
|
-
.c-page__nav__next {
|
|
1336
|
-
text-align: right; }
|
|
1337
|
-
|
|
1338
|
-
.c-sidebar-toggle {
|
|
1339
|
-
margin-bottom: 24px; }
|
|
1340
|
-
|
|
1341
|
-
.c-sidebar-toggle__label {
|
|
1342
|
-
font-size: 12px;
|
|
1343
|
-
font-size: 0.75rem;
|
|
1344
|
-
line-height: 1.5;
|
|
1345
|
-
display: inline-block;
|
|
1346
|
-
margin-left: 6px;
|
|
1347
|
-
vertical-align: middle;
|
|
1348
|
-
text-transform: uppercase; }
|
|
1349
|
-
|
|
1350
|
-
/**
|
|
1351
|
-
* Stylings for Interact and Show Widget buttons.
|
|
1352
|
-
*
|
|
1353
|
-
* [1]: We abuse CSS selector specificity here since the buttons at the top of
|
|
1354
|
-
* the notebook might have both .interact-button and .js=nbinteract-widget.
|
|
1355
|
-
* [2]: We want the top buttons to be large.
|
|
1356
|
-
* [3]: However, a .js=nbinteract-widget appearing alone midway through the
|
|
1357
|
-
* notebook should be small.
|
|
1358
|
-
*
|
|
1359
|
-
*/
|
|
1360
|
-
.buttons .interact-button, .js-nbinteract-widget {
|
|
1361
|
-
font-size: 16px;
|
|
1362
|
-
font-size: 1rem;
|
|
1363
|
-
line-height: 1.5;
|
|
1364
|
-
background-color: #477dca;
|
|
1365
|
-
border-radius: 3px;
|
|
1366
|
-
border: none;
|
|
1367
|
-
color: white;
|
|
1368
|
-
cursor: pointer;
|
|
1369
|
-
display: inline-block;
|
|
1370
|
-
font-weight: 700;
|
|
1371
|
-
/* [2] */
|
|
1372
|
-
padding: 6px 18px;
|
|
1373
|
-
text-decoration: none; }
|
|
1374
|
-
.buttons .interact-button:hover, .js-nbinteract-widget:hover, .buttons .interact-button:focus, .js-nbinteract-widget:focus {
|
|
1375
|
-
text-decoration: none; }
|
|
1376
|
-
|
|
1377
|
-
.buttons {
|
|
1378
|
-
margin-bottom: 24px;
|
|
1379
|
-
/* [1] */ }
|
|
1380
|
-
|
|
1381
|
-
.js-nbinteract-widget {
|
|
1382
|
-
/* [3] */
|
|
1383
|
-
padding: 6px 24px;
|
|
1384
|
-
margin-bottom: 12px; }
|
|
1385
|
-
|
|
1386
|
-
/* ==========================================================================
|
|
1387
|
-
#CLEARFIX
|
|
1388
|
-
========================================================================== */
|
|
1389
|
-
/**
|
|
1390
|
-
* Attach our clearfix mixin to a utility class.
|
|
1391
|
-
*/
|
|
1392
|
-
.u-clearfix:after {
|
|
1393
|
-
content: "" !important;
|
|
1394
|
-
display: block !important;
|
|
1395
|
-
clear: both !important; }
|
|
1396
|
-
|
|
1397
|
-
/* ==========================================================================
|
|
1398
|
-
#HIDE
|
|
1399
|
-
========================================================================== */
|
|
1400
|
-
/**
|
|
1401
|
-
* Hide only visually, but have it available for screen readers:
|
|
1402
|
-
* http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
|
|
1403
|
-
*/
|
|
1404
|
-
.u-hidden-visually {
|
|
1405
|
-
border: 0 !important;
|
|
1406
|
-
clip: rect(0 0 0 0) !important;
|
|
1407
|
-
clip-path: inset(50%) !important;
|
|
1408
|
-
height: 1px !important;
|
|
1409
|
-
margin: -1px !important;
|
|
1410
|
-
overflow: hidden !important;
|
|
1411
|
-
padding: 0 !important;
|
|
1412
|
-
position: absolute !important;
|
|
1413
|
-
white-space: nowrap !important;
|
|
1414
|
-
width: 1px !important; }
|
|
1415
|
-
|
|
1416
|
-
/**
|
|
1417
|
-
* Hide visually and from screen readers.
|
|
1418
|
-
*/
|
|
1419
|
-
.u-hidden {
|
|
1420
|
-
display: none !important; }
|
|
1421
|
-
|
|
1422
|
-
/* ==========================================================================
|
|
1423
|
-
#SPACINGS
|
|
1424
|
-
========================================================================== */
|
|
1425
|
-
/**
|
|
1426
|
-
* Utility classes to put specific spacing values onto elements. The below loop
|
|
1427
|
-
* will generate us a suite of classes like:
|
|
1428
|
-
*
|
|
1429
|
-
* .u-margin-top {}
|
|
1430
|
-
* .u-padding-left-large {}
|
|
1431
|
-
* .u-margin-right-small {}
|
|
1432
|
-
* .u-padding {}
|
|
1433
|
-
* .u-padding-right-none {}
|
|
1434
|
-
* .u-padding-horizontal {}
|
|
1435
|
-
* .u-padding-vertical-small {}
|
|
1436
|
-
*/
|
|
1437
|
-
.u-padding {
|
|
1438
|
-
padding: 24px !important; }
|
|
1439
|
-
|
|
1440
|
-
.u-padding-tiny {
|
|
1441
|
-
padding: 6px !important; }
|
|
1442
|
-
|
|
1443
|
-
.u-padding-small {
|
|
1444
|
-
padding: 12px !important; }
|
|
1445
|
-
|
|
1446
|
-
.u-padding-large {
|
|
1447
|
-
padding: 48px !important; }
|
|
1448
|
-
|
|
1449
|
-
.u-padding-huge {
|
|
1450
|
-
padding: 96px !important; }
|
|
1451
|
-
|
|
1452
|
-
.u-padding-none {
|
|
1453
|
-
padding: 0 !important; }
|
|
1454
|
-
|
|
1455
|
-
.u-padding-top {
|
|
1456
|
-
padding-top: 24px !important; }
|
|
1457
|
-
|
|
1458
|
-
.u-padding-top-tiny {
|
|
1459
|
-
padding-top: 6px !important; }
|
|
1460
|
-
|
|
1461
|
-
.u-padding-top-small {
|
|
1462
|
-
padding-top: 12px !important; }
|
|
1463
|
-
|
|
1464
|
-
.u-padding-top-large {
|
|
1465
|
-
padding-top: 48px !important; }
|
|
1466
|
-
|
|
1467
|
-
.u-padding-top-huge {
|
|
1468
|
-
padding-top: 96px !important; }
|
|
1469
|
-
|
|
1470
|
-
.u-padding-top-none {
|
|
1471
|
-
padding-top: 0 !important; }
|
|
1472
|
-
|
|
1473
|
-
.u-padding-right {
|
|
1474
|
-
padding-right: 24px !important; }
|
|
1475
|
-
|
|
1476
|
-
.u-padding-right-tiny {
|
|
1477
|
-
padding-right: 6px !important; }
|
|
1478
|
-
|
|
1479
|
-
.u-padding-right-small {
|
|
1480
|
-
padding-right: 12px !important; }
|
|
1481
|
-
|
|
1482
|
-
.u-padding-right-large {
|
|
1483
|
-
padding-right: 48px !important; }
|
|
1484
|
-
|
|
1485
|
-
.u-padding-right-huge {
|
|
1486
|
-
padding-right: 96px !important; }
|
|
1487
|
-
|
|
1488
|
-
.u-padding-right-none {
|
|
1489
|
-
padding-right: 0 !important; }
|
|
1490
|
-
|
|
1491
|
-
.u-padding-bottom {
|
|
1492
|
-
padding-bottom: 24px !important; }
|
|
1493
|
-
|
|
1494
|
-
.u-padding-bottom-tiny {
|
|
1495
|
-
padding-bottom: 6px !important; }
|
|
1496
|
-
|
|
1497
|
-
.u-padding-bottom-small {
|
|
1498
|
-
padding-bottom: 12px !important; }
|
|
1499
|
-
|
|
1500
|
-
.u-padding-bottom-large {
|
|
1501
|
-
padding-bottom: 48px !important; }
|
|
1502
|
-
|
|
1503
|
-
.u-padding-bottom-huge {
|
|
1504
|
-
padding-bottom: 96px !important; }
|
|
1505
|
-
|
|
1506
|
-
.u-padding-bottom-none {
|
|
1507
|
-
padding-bottom: 0 !important; }
|
|
1508
|
-
|
|
1509
|
-
.u-padding-left {
|
|
1510
|
-
padding-left: 24px !important; }
|
|
1511
|
-
|
|
1512
|
-
.u-padding-left-tiny {
|
|
1513
|
-
padding-left: 6px !important; }
|
|
1514
|
-
|
|
1515
|
-
.u-padding-left-small {
|
|
1516
|
-
padding-left: 12px !important; }
|
|
1517
|
-
|
|
1518
|
-
.u-padding-left-large {
|
|
1519
|
-
padding-left: 48px !important; }
|
|
1520
|
-
|
|
1521
|
-
.u-padding-left-huge {
|
|
1522
|
-
padding-left: 96px !important; }
|
|
1523
|
-
|
|
1524
|
-
.u-padding-left-none {
|
|
1525
|
-
padding-left: 0 !important; }
|
|
1526
|
-
|
|
1527
|
-
.u-padding-horizontal {
|
|
1528
|
-
padding-left: 24px !important;
|
|
1529
|
-
padding-right: 24px !important; }
|
|
1530
|
-
|
|
1531
|
-
.u-padding-horizontal-tiny {
|
|
1532
|
-
padding-left: 6px !important;
|
|
1533
|
-
padding-right: 6px !important; }
|
|
1534
|
-
|
|
1535
|
-
.u-padding-horizontal-small {
|
|
1536
|
-
padding-left: 12px !important;
|
|
1537
|
-
padding-right: 12px !important; }
|
|
1538
|
-
|
|
1539
|
-
.u-padding-horizontal-large {
|
|
1540
|
-
padding-left: 48px !important;
|
|
1541
|
-
padding-right: 48px !important; }
|
|
1542
|
-
|
|
1543
|
-
.u-padding-horizontal-huge {
|
|
1544
|
-
padding-left: 96px !important;
|
|
1545
|
-
padding-right: 96px !important; }
|
|
1546
|
-
|
|
1547
|
-
.u-padding-horizontal-none {
|
|
1548
|
-
padding-left: 0 !important;
|
|
1549
|
-
padding-right: 0 !important; }
|
|
1550
|
-
|
|
1551
|
-
.u-padding-vertical {
|
|
1552
|
-
padding-top: 24px !important;
|
|
1553
|
-
padding-bottom: 24px !important; }
|
|
1554
|
-
|
|
1555
|
-
.u-padding-vertical-tiny {
|
|
1556
|
-
padding-top: 6px !important;
|
|
1557
|
-
padding-bottom: 6px !important; }
|
|
1558
|
-
|
|
1559
|
-
.u-padding-vertical-small {
|
|
1560
|
-
padding-top: 12px !important;
|
|
1561
|
-
padding-bottom: 12px !important; }
|
|
1562
|
-
|
|
1563
|
-
.u-padding-vertical-large {
|
|
1564
|
-
padding-top: 48px !important;
|
|
1565
|
-
padding-bottom: 48px !important; }
|
|
1566
|
-
|
|
1567
|
-
.u-padding-vertical-huge {
|
|
1568
|
-
padding-top: 96px !important;
|
|
1569
|
-
padding-bottom: 96px !important; }
|
|
1570
|
-
|
|
1571
|
-
.u-padding-vertical-none {
|
|
1572
|
-
padding-top: 0 !important;
|
|
1573
|
-
padding-bottom: 0 !important; }
|
|
1574
|
-
|
|
1575
|
-
.u-margin {
|
|
1576
|
-
margin: 24px !important; }
|
|
1577
|
-
|
|
1578
|
-
.u-margin-tiny {
|
|
1579
|
-
margin: 6px !important; }
|
|
1580
|
-
|
|
1581
|
-
.u-margin-small {
|
|
1582
|
-
margin: 12px !important; }
|
|
1583
|
-
|
|
1584
|
-
.u-margin-large {
|
|
1585
|
-
margin: 48px !important; }
|
|
1586
|
-
|
|
1587
|
-
.u-margin-huge {
|
|
1588
|
-
margin: 96px !important; }
|
|
1589
|
-
|
|
1590
|
-
.u-margin-none {
|
|
1591
|
-
margin: 0 !important; }
|
|
1592
|
-
|
|
1593
|
-
.u-margin-top {
|
|
1594
|
-
margin-top: 24px !important; }
|
|
1595
|
-
|
|
1596
|
-
.u-margin-top-tiny {
|
|
1597
|
-
margin-top: 6px !important; }
|
|
1598
|
-
|
|
1599
|
-
.u-margin-top-small {
|
|
1600
|
-
margin-top: 12px !important; }
|
|
1601
|
-
|
|
1602
|
-
.u-margin-top-large {
|
|
1603
|
-
margin-top: 48px !important; }
|
|
1604
|
-
|
|
1605
|
-
.u-margin-top-huge {
|
|
1606
|
-
margin-top: 96px !important; }
|
|
1607
|
-
|
|
1608
|
-
.u-margin-top-none {
|
|
1609
|
-
margin-top: 0 !important; }
|
|
1610
|
-
|
|
1611
|
-
.u-margin-right {
|
|
1612
|
-
margin-right: 24px !important; }
|
|
1613
|
-
|
|
1614
|
-
.u-margin-right-tiny {
|
|
1615
|
-
margin-right: 6px !important; }
|
|
1616
|
-
|
|
1617
|
-
.u-margin-right-small {
|
|
1618
|
-
margin-right: 12px !important; }
|
|
1619
|
-
|
|
1620
|
-
.u-margin-right-large {
|
|
1621
|
-
margin-right: 48px !important; }
|
|
1622
|
-
|
|
1623
|
-
.u-margin-right-huge {
|
|
1624
|
-
margin-right: 96px !important; }
|
|
1625
|
-
|
|
1626
|
-
.u-margin-right-none {
|
|
1627
|
-
margin-right: 0 !important; }
|
|
1628
|
-
|
|
1629
|
-
.u-margin-bottom {
|
|
1630
|
-
margin-bottom: 24px !important; }
|
|
1631
|
-
|
|
1632
|
-
.u-margin-bottom-tiny {
|
|
1633
|
-
margin-bottom: 6px !important; }
|
|
1634
|
-
|
|
1635
|
-
.u-margin-bottom-small {
|
|
1636
|
-
margin-bottom: 12px !important; }
|
|
1637
|
-
|
|
1638
|
-
.u-margin-bottom-large {
|
|
1639
|
-
margin-bottom: 48px !important; }
|
|
1640
|
-
|
|
1641
|
-
.u-margin-bottom-huge {
|
|
1642
|
-
margin-bottom: 96px !important; }
|
|
1643
|
-
|
|
1644
|
-
.u-margin-bottom-none {
|
|
1645
|
-
margin-bottom: 0 !important; }
|
|
1646
|
-
|
|
1647
|
-
.u-margin-left {
|
|
1648
|
-
margin-left: 24px !important; }
|
|
1649
|
-
|
|
1650
|
-
.u-margin-left-tiny {
|
|
1651
|
-
margin-left: 6px !important; }
|
|
1652
|
-
|
|
1653
|
-
.u-margin-left-small {
|
|
1654
|
-
margin-left: 12px !important; }
|
|
1655
|
-
|
|
1656
|
-
.u-margin-left-large {
|
|
1657
|
-
margin-left: 48px !important; }
|
|
1658
|
-
|
|
1659
|
-
.u-margin-left-huge {
|
|
1660
|
-
margin-left: 96px !important; }
|
|
1661
|
-
|
|
1662
|
-
.u-margin-left-none {
|
|
1663
|
-
margin-left: 0 !important; }
|
|
1664
|
-
|
|
1665
|
-
.u-margin-horizontal {
|
|
1666
|
-
margin-left: 24px !important;
|
|
1667
|
-
margin-right: 24px !important; }
|
|
1668
|
-
|
|
1669
|
-
.u-margin-horizontal-tiny {
|
|
1670
|
-
margin-left: 6px !important;
|
|
1671
|
-
margin-right: 6px !important; }
|
|
1672
|
-
|
|
1673
|
-
.u-margin-horizontal-small {
|
|
1674
|
-
margin-left: 12px !important;
|
|
1675
|
-
margin-right: 12px !important; }
|
|
1676
|
-
|
|
1677
|
-
.u-margin-horizontal-large {
|
|
1678
|
-
margin-left: 48px !important;
|
|
1679
|
-
margin-right: 48px !important; }
|
|
1680
|
-
|
|
1681
|
-
.u-margin-horizontal-huge {
|
|
1682
|
-
margin-left: 96px !important;
|
|
1683
|
-
margin-right: 96px !important; }
|
|
1684
|
-
|
|
1685
|
-
.u-margin-horizontal-none {
|
|
1686
|
-
margin-left: 0 !important;
|
|
1687
|
-
margin-right: 0 !important; }
|
|
1688
|
-
|
|
1689
|
-
.u-margin-vertical {
|
|
1690
|
-
margin-top: 24px !important;
|
|
1691
|
-
margin-bottom: 24px !important; }
|
|
1692
|
-
|
|
1693
|
-
.u-margin-vertical-tiny {
|
|
1694
|
-
margin-top: 6px !important;
|
|
1695
|
-
margin-bottom: 6px !important; }
|
|
1696
|
-
|
|
1697
|
-
.u-margin-vertical-small {
|
|
1698
|
-
margin-top: 12px !important;
|
|
1699
|
-
margin-bottom: 12px !important; }
|
|
1700
|
-
|
|
1701
|
-
.u-margin-vertical-large {
|
|
1702
|
-
margin-top: 48px !important;
|
|
1703
|
-
margin-bottom: 48px !important; }
|
|
1704
|
-
|
|
1705
|
-
.u-margin-vertical-huge {
|
|
1706
|
-
margin-top: 96px !important;
|
|
1707
|
-
margin-bottom: 96px !important; }
|
|
1708
|
-
|
|
1709
|
-
.u-margin-vertical-none {
|
|
1710
|
-
margin-top: 0 !important;
|
|
1711
|
-
margin-bottom: 0 !important; }
|