Skip to content

Latest commit

 

History

History
83 lines (65 loc) · 1.85 KB

readme.md

File metadata and controls

83 lines (65 loc) · 1.85 KB

This Website is generated using Jekyll Static Website Generator and Minimal Mistakes theme.

Jekyll Static Site Generator - Installation and Use

Please refer to Documentation: https://jekyllrb.com/docs/ https://jekyllrb.com/docs/installation/

Minimal Mistakes

Thanks to Minimal Mistakes for the great theme.

Deviation From the Minimal Mistake theme

Added new option "wide2" for layouts

Added a _sass folder with copy of minimal-mistakes.scss with following code copied at the end:

/* Manually added for a wider layout (right side) */
.wide2 {
  .page {
    float: left;
    width: 100%;
    @include breakpoint($large) {
      padding-left: 0;
    }

    @include breakpoint($x-large) {
      padding-left: 0;
    }
  }

  .page__related {
    @include breakpoint($large) {
      padding-left: 0;
    }

    @include breakpoint($x-large) {
      padding-left: 0;
    }
  }
}

Changed the overall font size

Added the following code in \assets\css\main.scss (after the code @import "minimal-mistakes";)

html {
  font-size: 16px; // change to whatever //16

  @include breakpoint($medium) {
    font-size: 16px; // change to whatever //18
  }

  @include breakpoint($large) {
    font-size: 18px; // change to whatever //20
  }

  @include breakpoint($x-large) {
    font-size: 20px; // change to whatever //22
  }
}

Added MathJax in _layouts\default.html

<!--
Added Mathjax
-->

<script type="text/x-mathjax-config">
MathJax.Hub.Config({
  tex2jax: {
    inlineMath: [['$','$'], ['\\(','\\)']],
    processEscapes: true
  }
});
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script>