Mercurial > web-octave
changeset 2:461359b1dd5c
style up the homepage
author | Alex Krolick <whokilledtheelectricmonk@gmail.com> |
---|---|
date | Sat, 07 Nov 2015 19:10:01 -0800 |
parents | 74a1bbc8185f |
children | 3c0ed6fe67e8 |
files | css/app.css img/mesh.png index.html |
diffstat | 3 files changed, 71 insertions(+), 18 deletions(-) [+] |
line wrap: on
line diff
--- a/css/app.css Sat Nov 07 19:09:43 2015 -0800 +++ b/css/app.css Sat Nov 07 19:10:01 2015 -0800 @@ -1,4 +1,33 @@ +@import url(https://fonts.googleapis.com/css?family=PT+Sans:400,700); + .page-content { margin-top: 4rem; } +section { + padding-bottom: 1rem; +} + +.home-title { + color: #0790c0; + font-weight: 700; + margin: 0 0 1rem 0; +} + +body { + font-family: 'PT Sans'; + color: '#333'; +} + +p { + color: "#333"; +} + +li { + color: #333; +} + +h1, h2, h3, h4, h5, h6 { + font-family: 'PT Sans'; + color: #333; +} \ No newline at end of file
--- a/index.html Sat Nov 07 19:09:43 2015 -0800 +++ b/index.html Sat Nov 07 19:10:01 2015 -0800 @@ -2,22 +2,46 @@ layout: default --- -<div class="row collapse"> - <div class="columns small-12"> - {% assign latest_post = site.posts.first %} - {% if latest_post %} - <div class="panel callout radius"> - <a class="right" href="{{ "/feed.xml" | prepend: site.baseurl }}"> - <span class="label warning"> - RSS - </span> - </a> - <h3 class="entry-title"> - <a href="{{ root_url }}{{ latest_post.url }}">{{ latest_post.title }}</a> - </h3> - <p class="post-meta">{{ latest_post.date | date: "%b %-d, %Y" }}</p> - <div class="entry-content">{{ latest_post.content }}</div> - </div> - {% endif %} +<section> + <div class="row"> + <div class="columns medium-6"> + <a href="https://en.wikipedia.org/wiki/File:Octave-4.0.0-rc1-Qt5.4-Linux.png#/media/File:Octave-4.0.0-rc1-Qt5.4-Linux.png"> + <!--<img src="https://upload.wikimedia.org/wikipedia/en/4/48/Octave-4.0.0-rc1-Qt5.4-Linux.png" />--> + <img src="{{ "/img/mesh.png" | prepend: site.baseurl }}" /> + </a> + </div> + <div class="columns medium-6"> + <h2 class="home-title"> + <img src="{{ "/img/logo.png" | prepend: site.baseurl }}" style="float: left; height: 48px; width: auto; padding-right: 0.5rem" /> + GNU Octave + </h2> + <h3>Scientific Programming Language</h3> + <ul> + <li>Powerful mathematics-oriented syntax with built-in plotting and visualization tools</li> + <li>Free, open source software runs on Linux, Mac, BSD, and Linux</li> + <li>Drop-in compatible with many Matlab™ scripts</li> + </ul> + </div> </div> -</div> +</section> +<section> + <div class="row"> + <div class="columns small-12"> + {% assign latest_post = site.posts.first %} + {% if latest_post %} + <div class="panel callout radius"> + <a class="right" href="{{ "/feed.xml" | prepend: site.baseurl }}"> + <span class="label warning"> + RSS + </span> + </a> + <h3 class="entry-title"> + <a href="{{ root_url }}{{ latest_post.url }}">{{ latest_post.title }}</a> + </h3> + <p class="post-meta">{{ latest_post.date | date: "%b %-d, %Y" }}</p> + <div class="entry-content">{{ latest_post.content }}</div> + </div> + {% endif %} + </div> + </div> +</section>