From 83af835790c310a580d3c380e7441a70f01cc6d0 Mon Sep 17 00:00:00 2001
From: Mike Gerwitz
Date: Sat, 5 May 2012 23:58:42 -0400
Subject: [PATCH] Added basic download button to About page - Simply redirects
to download page
---
index.html | 4 ++++
style.css | 66 ++++++++----------------------------------------------
2 files changed, 13 insertions(+), 57 deletions(-)
diff --git a/index.html b/index.html
index 6a2045b..8d42f6f 100644
--- a/index.html
+++ b/index.html
@@ -5,6 +5,10 @@
languages. Features include:
+
+ Download v
+
+
- Simple and intuitive class definitions
- Classical inheritance
diff --git a/style.css b/style.css
index e21f18b..57b93d9 100644
--- a/style.css
+++ b/style.css
@@ -160,7 +160,7 @@ body.source #source a {
color: #2e3436;
}
-.btn {
+.btn, a.btn {
display: inline-block;
background-color: #f57900;
@@ -168,7 +168,7 @@ body.source #source a {
font-weight: bold;
cursor: pointer;
text-align: center;
- text-shadow: black 1px 1px 1px;
+ text-shadow: black 0px 0px 1px;
padding: 0.25em 0.5em;
@@ -189,6 +189,9 @@ body.source #source a {
rgb(206,93,0) 100%
);
}
+a.btn:hover {
+ text-decoration: none;
+}
.btn.go {
border: 1px solid #4e9a06;
@@ -208,17 +211,11 @@ body.source #source a {
}
.btn.med {
- width: 75px;
-
- font-size: 1.5em;
- text-shadow: black 2px 2px 4px;
+ font-size: 1.5em;
}
.btn.large {
- width: 100px;
-
- font-size: 2em;
- text-shadow: black 2px 2px 5px;
+ font-size: 2em;
}
#try-console {
@@ -242,54 +239,9 @@ span.shell-start {
/** index **/
-.ex {
- display: block;
-
- position: relative;
- top: -1em;
-
- background-color: white;
-
- border-width: 3px 1px;
- border-style: solid;
- border-color: #babdb6;
- border-radius: 0.25em;
- -moz-border-radius: 0.25em;
-
- padding: 0.5em;
- float: right;
-
- margin-bottom: 0.5em;
-}
-
-.excode {
- width: 400px;
- height: 10em;
-
- font-family: monospace;
- font-size: 0.7em;
- white-space: pre;
- overflow-y: scroll;
-}
-
-.ex textarea {
- width: 400px;
- height: 10em;
-
- border: none;
-
- margin-bottom: 0.5em;
-}
-
-.ex .btns {
- border-top: 1px dotted #babdb6;
-
- margin: 0px -0.25em;
- padding: 0.25em;
-}
-
-.ex .btn {
+.btn.download {
float: right;
+ margin-top: 0.9em;
}
.info {