changeset 213:370d7d0cdf7d

Fix layout at different default font sizes. * css/app.css: remove modification of Foundation framework. * _layouts/default.html: Remove unnecessary whitespace. Add blind paragraph at footer to get a visible space at the website bottom. That was the original intention of the change of the Foundation framework in css/app.css. * index.md: use "auto" size for remaining grid cells.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Mon, 20 Jul 2020 16:08:24 +0900
parents 00f45be432e1
children fe5dcb23372a
files _layouts/default.html css/app.css index.md
diffstat 3 files changed, 4 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/_layouts/default.html	Thu Jul 16 11:33:14 2020 +0900
+++ b/_layouts/default.html	Mon Jul 20 16:08:24 2020 +0900
@@ -98,9 +98,6 @@
       </div>
     </div>
 
-
-
-
     <div class="grid-container">
       {{ content }}
 
@@ -116,6 +113,7 @@
           Creative Commons Attribution-NoDerivatives 4.0 International License</a>.
           Get the <a href="http://hg.octave.org/web-octave/file/tip">page sources</a>.
         </small>
+        <p></p>
       </footer>
 
       <script>
--- a/css/app.css	Thu Jul 16 11:33:14 2020 +0900
+++ b/css/app.css	Mon Jul 20 16:08:24 2020 +0900
@@ -43,10 +43,6 @@
   .top-bar .top-bar-right { margin-left: 0px; }
 }
 
-.grid-container { /* Content */
-  margin: 1em auto;
-}
-
 .reveal img {
   width: 100%;
 }
--- a/index.md	Thu Jul 16 11:33:14 2020 +0900
+++ b/index.md	Mon Jul 20 16:08:24 2020 +0900
@@ -19,7 +19,7 @@
             style="height: 400px; width: auto;" alt="Example mesh">
     </a>
   </div>
-  <div class="cell medium-6">
+  <div class="cell auto">
     <h2 class="landing-page-logo">
       <img src="{{ "/img/octave-logo.svg" | relative_url }}"
             style="float: left; height: 48px; width: auto; padding-right: 0.5rem"
@@ -55,7 +55,7 @@
       <strong>vectors</strong> and <strong>matrices</strong>.
     </p>
   </div>
-  <div class="cell medium-8">
+  <div class="cell auto">
 {% highlight octave %}
 b = [4; 9; 2] # Column vector
 A = [ 3 4 5;
@@ -73,7 +73,7 @@
       in 2D and 3D.
     </p>
   </div>
-  <div class="cell medium-8">
+  <div class="cell auto">
 {% highlight octave %}
 x = -10:0.1:10; # Create an evenly-spaced vector from -10..10
 y = sin (x);    # y is also a vector