]> Pileus Git - ~andy/aweather-web/commitdiff
Update icons and misc formatting
authorAndy Spencer <andy753421@gmail.com>
Sun, 6 May 2012 00:14:52 +0000 (00:14 +0000)
committerAndy Spencer <andy753421@gmail.com>
Sun, 6 May 2012 00:14:52 +0000 (00:14 +0000)
data/global.css
html.ct
images/aweather.ico
images/logo.png
mkfile

index 9c299e86a14e9fb4416064c6cca669de25c3b4ba..8268c1553f16e5135ab9149b068558378246278c 100644 (file)
@@ -90,8 +90,8 @@ body {
 
 /* Header stuff */
 .top {
-       height: 80px;
-       margin-top: 15px;
+       height: 75px;
+       margin-top: 20px;
        border-collapse: collapse;
        position: relative;
 }
@@ -101,11 +101,11 @@ body {
 }
 
 .logo {
-       width: 130px;
        z-index: 1;
+       margin-right: 10px;
 }
 
-.title {
+.title, .title a {
        font-size: 22pt;
        font-weight: bold;
        font-style: italic;
@@ -114,7 +114,7 @@ body {
 
 .nav {
        position: absolute;
-       top: 45px;
+       top: 42px;
        left: 135px;
        right: 0px;
        z-index: 1;
@@ -212,13 +212,13 @@ body {
        margin-bottom: 10px;
 }
 
-.download {
+.download, a.download {
        position: relative;
        display: block;
        z-index: 1;
        height: 62px;
        width: 150px;
-       color: white;
+       color: #eee;
        font-size: 11pt;
        text-decoration: none;
        padding: 8px 25px 8px 25px;
@@ -234,9 +234,11 @@ body {
 }
 
 .download:first-line {
+       color: #fff;
+       font-size: 1.3em;
        font-weight: bold;
-       font-style: italic;
-       line-height: 2em;
+       line-height: 1.9em;
+       text-shadow: 1px 1px 1px #666;
 }
 
 .download img {
diff --git a/html.ct b/html.ct
index 87464240f9a5b3e84b80780b6cda7ae6f081ae59..dafd2dd893e380ff2c1687f21a414d68e3778387 100644 (file)
--- a/html.ct
+++ b/html.ct
@@ -33,7 +33,7 @@ Content-Type: text/html; charset=UTF-8
                <meta name="description" content="<%= page->desc %>" />
                <% } %>
                <meta name="google-site-verification" content="-SZkTpNRWHrpESTGNZ8Pshnz4zKbwfKv54NoavUKK_Y" />
-               <meta name="y_key" content="abe8287921b25151" />
+               <meta name="msvalidate.01" content="CB7C94BBCD12714FDFF3D22415B1888A" />
        </head>
        <body>
                <div class="top">
@@ -514,20 +514,23 @@ Content-Type: text/html; charset=UTF-8
                see the <a href="about">about</a> page for more details.
        </p>
        <hr />
-       <ul style="float: left;">
-               <li>Detailed Level-II NEXRAD radar<ul>
-                       <li>3D volume rendering</li>
-                       <li>Dual-pole support</li>
-               </ul></li>
-               <li>Online and offline modes<ul>
-                       <li>Data caching</li>
-                       <li>Automatic updating</li>
-               </ul></li>
-               <li>Warning/Watch/Advisory display</li>
-               <li>GPS tracking and logging</li>
-               <li>Surface and map overlays</li>
-               <li>Terrain rendering</li>
-       </ul>
+       <div style="float: left">
+               <h2 style="margin-top: 0;">Features:</h2>
+               <ul style="float: left;">
+                       <li>Detailed Level-II NEXRAD radar<ul>
+                               <li>3D volume rendering</li>
+                               <li>Dual-pole support</li>
+                       </ul></li>
+                       <li>Online and offline modes<ul>
+                               <li>Data caching</li>
+                               <li>Automatic updating</li>
+                       </ul></li>
+                       <li>Warning/Watch/Advisory display</li>
+                       <li>GPS tracking and logging</li>
+                       <li>Surface and map overlays</li>
+                       <li>Terrain rendering</li>
+               </ul>
+       </div>
        <div style="float: left; margin-left: 20px;">
                <% print_screen("stormbased"); %>
                <div style="text-align: center; margin-right: 25px;">
@@ -536,8 +539,8 @@ Content-Type: text/html; charset=UTF-8
                </div>
        </div>
        <a href="download" class="download" style="float: right;">
-               <span>Download</span>
-               <span>AWeather <%= VERSION %></span>
+               <span>AWeather</span>
+               <span>Download Version <%= VERSION %></span>
                <img src="images/dl-arrow.png" alt="Download" />
        </a>
        <p style="text-align: center;"><%= VERSION_DESC %></p>
index e092072a0e6ff40651d8000b33e9a83eb496b8ca..e1edd576fb0ecba7ba5646914035f1fbfb9f8687 100644 (file)
Binary files a/images/aweather.ico and b/images/aweather.ico differ
index 69753788fd84033f2ed523afe982fb2000597caf..7f219602ab8e9994dc90de547b91ff896ddef036 100644 (file)
Binary files a/images/logo.png and b/images/logo.png differ
diff --git a/mkfile b/mkfile
index 4968365028bca3d26c305dc90a804b1d05b5496b..d03ee6d8282db74161448b9552f68a666c20a144 100644 (file)
--- a/mkfile
+++ b/mkfile
@@ -1,7 +1,7 @@
 CT=/scratch/ct/ct
 CFLAGS='--std=c99 -Wall'
 
-all:V: index.cgi manual.inc
+all:V: index.cgi manual.inc images/aweather.ico images/logo.png
 
 index.cgi: index.o html.o
        gcc $CFLAGS -o $target $prereq $PKG_LIBS
@@ -16,6 +16,12 @@ manual.inc: ../aweather/docs/userguide.ad
        asciidoc -s -a toc -a numbered -b xhtml11 -o- $prereq \
        | awk -f toc.awk > $target
 
+images/aweather.ico: ../aweather/data/icons/16x16/aweather.png
+       icotool -c $prereq -o $target
+
+images/logo.png: ../aweather/data/icons/scalable/aweather.svg
+       rsvg -w 130 -h 130 $prereq $target
+
 clean:V:
        rm -f *.o *.cgi html.c