diff css/octave.css @ 88:45d807d2bfcc kai

Revisit index start page.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Mon, 17 Oct 2016 18:39:05 +0200
parents b748a89a04b0
children c7c9825fbdf8
line wrap: on
line diff
--- a/css/octave.css	Mon Oct 17 18:38:41 2016 +0200
+++ b/css/octave.css	Mon Oct 17 18:39:05 2016 +0200
@@ -4,6 +4,7 @@
   width: 16px;
   height: 16px;
   padding: 2px;
+  vertical-align: middle;
 }
 
 svg.octicon-stop-octave {
@@ -14,6 +15,20 @@
   margin-right: 10px;
 }
 
+svg.octicon-book-manual {
+  width: 18pt;
+  height: 18pt;
+  fill: #0790c0;
+  vertical-align: text-bottom;
+}
+
+svg.octicon-pdf-manual {
+  width: 18pt;
+  height: 18pt;
+  fill: #d00a0a;
+  vertical-align: text-bottom;
+}
+
 svg.octicon-topnav {
   height: 18px;
   fill: #ffffff;
@@ -30,6 +45,7 @@
 div.alert {
   border: 2px solid #ff0000;
   padding: 5px;
+  min-height: 18pt;
 }
 
 div#logo {
@@ -58,10 +74,8 @@
   background: #ffffff;
   color: #000000;
   margin: 0 auto;
-  margin-left: 10%;
-  margin-right: 10%;
   padding: 0;
-  width: auto;
+  width: 800px;
 }
 
 a, a:link {
@@ -140,6 +154,14 @@
   display: none;
 }
 
+@media screen and (max-width:1000px) and (min-width:650px) {
+  body {
+    margin-left: 10%;
+    margin-right: 10%;
+    width: auto;
+  }
+}
+
 @media screen and (max-width:650px) {
   ul.topnav li:not(:first-child) {
     display: none;
@@ -167,6 +189,7 @@
   body {
     margin-left: 15px;
     margin-right: 15px;
+    width: auto;
   }
   img {
     max-width: 100%;