css cleanup
removed midcolumn buttons
diff --git a/_news.html b/_news.html
deleted file mode 100644
index 94423ac..0000000
--- a/_news.html
+++ /dev/null
@@ -1,29 +0,0 @@
- <a class="btn btn-block btn-warning sidebutton" href="https://staging.eclipse.org/downloads/">
- <i class="fa fa-download icon"></i>
- Download EASE
- </a>
-
- <a lass="btn btn-block btn-primary sidebutton" href="https://staging.eclipse.org/downloads/">
- <i class="fa fa-mortar-board icon"></i>
- Documentation
- </a>
-
- <a class="btn btn-block btn-primary sidebutton" href="https://staging.eclipse.org/downloads/">
- <i class="fa fa-cogs icon"></i>
- Support
- </a>
-
- <a class="btn btn-block btn-primary sidebutton" href="https://staging.eclipse.org/downloads/">
- <i class="fa fa-comments-o icon"></i>
- Developers
- </a>
-
- <div class="sideitem">
- <h6>News</h6>
- <p>We are alive!</p>
- </div>
-
- <div class="sideitem">
- <h6>Another</h6>
- <p>EASE is great</p>
- </div>
\ No newline at end of file
diff --git a/css/button.css b/css/button.css
deleted file mode 100644
index 9799625..0000000
--- a/css/button.css
+++ /dev/null
@@ -1,57 +0,0 @@
-a:hover {
- color: #f8a644;
-}
-
-.button {
- color: #312761;
- display: inline-block;
- margin: 0px 5px 10px 5px;
- text-decoration: none;
- vertical-align: top;
- position: relative;
- width: 220px;
- height: 50px;
- padding: 0px;
- font-weight: normal;
-}
-
-.button h1 {
- font-size: 1.2em;
- font-weight: bold;
- display: inline-block;
- vertical-align: top;
- margin-top: 8px
-}
-
-.button .details {
- display: none;
- float: right;
- position: absolute;
- top: 30px;
- left: 80px;
- width: 255px;
- height: 34px;
- text-align: left;
- padding: 5px;
- background-color: #ffffe1;
- /* border */
- border: 1px solid #d4d0c8;
- -moz-border-radius: 5px;
- -webkit-border-radius: 5px;
- border-radius: 5px; /* future proofing */
- -khtml-border-radius: 5px; /* for old Konqueror browsers */
- /* shadow */
- -webkit-box-shadow: 3px 3px 5px 0px rgba(50, 50, 50, 0.5);
- -moz-box-shadow: 3px 3px 5px 0px rgba(50, 50, 50, 0.5);
- box-shadow: 3px 3px 5px 0px rgba(50, 50, 50, 0.5);
- z-index: 1;
-}
-
-.button:hover .icon {
- color: #9aa4c2;
-}
-
-.button:hover .details {
- display: inline-block;
- color: black;
-}
\ No newline at end of file
diff --git a/css/style.css b/css/style.css
index 6af65dd..611657a 100644
--- a/css/style.css
+++ b/css/style.css
@@ -4,7 +4,7 @@
}
#midcolumn {
- max-width: 730px;
+ width: 730px;
padding: 0 10px 10px 10px;
}
@@ -13,9 +13,9 @@
}
.sidebutton {
-
+ text-align: left;
}
.icon {
-
+ padding: 0px 10px 0px 20px;
}
\ No newline at end of file
diff --git a/index.php b/index.php
index 7160785..b1024f3 100755
--- a/index.php
+++ b/index.php
@@ -2,73 +2,12 @@
$pageTitle = "EASE - Eclipse Advanced Scripting Environment";
$pageKeywords = "Eclipse, EASE, Scripting";
$pageAuthor = "Christian Pontesegger";
-
- $App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="/ease/css/button.css"/>' . "\n\t");
- $App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css"/>' . "\n\t");
# provide the page content
- $news = file_get_contents('_news.html');
$html = <<<EOHTML
<div id="midcolumn">
-
-
-<a class="button" href="/ease/support/">
- <span class="fa-stack fa-2x icon">
- <i class="fa fa-square-o fa-stack-2x"></i>
- <i class="fa fa-cogs fa-stack-1x"></i>
- </span>
- <h1>Support</h1>
- <span class="details">
- Bug Tracker, Forums, Mailing List
- </span>
-</a>
-
-<a class="button" href="/ease/download/">
- <span class="fa-stack fa-2x icon">
- <i class="fa fa-square-o fa-stack-2x"></i>
- <i class="fa fa-download fa-stack-1x"></i>
- </span>
- <h1>Download</h1>
- <span class="details">
- Update Site, Script Engines
- </span>
-</a>
-<br/>
-<a class="button" href="/ease/documentation/">
- <span class="fa-stack fa-2x icon">
- <i class="fa fa-square-o fa-stack-2x"></i>
- <i class="fa fa-mortar-board fa-stack-1x"></i>
- </span>
- <h1>Documentation</h1>
- <span class="details">
- Tutorials, Examples, API
- </span>
-</a>
-
-<a class="button" href="/ease/developers/">
- <span class="fa-stack fa-2x icon">
- <i class="fa fa-square-o fa-stack-2x"></i>
- <i class="fa fa-comments-o fa-stack-1x"></i>
- </span>
- <h1>Getting Involved</h1>
- <span class="details">
- Contributor Guide, Wiki, Mailing List
- </span>
-</a>
-
-
-
-
-
-
-
-
-
-
-
-
<h3>EASE</h3>
<br/>
<a href="/projects.eclipse.org/projects/technology.ease">About This Project</a>
@@ -88,7 +27,25 @@
{$incubation}
<div id="rightcolumn">
- {$news}
+ <a class="btn btn-block btn-warning sidebutton" href="/ease/download/" title="Update Site, Script Engines">
+ <i class="fa fa-download icon"></i>
+ Download EASE
+ </a>
+
+ <a class="btn btn-block btn-primary sidebutton" href="/ease/documentation/" title="Tutorials, Examples, API">
+ <i class="fa fa-mortar-board icon"></i>
+ Documentation
+ </a>
+
+ <a class="btn btn-block btn-primary sidebutton" href="/ease/support/" title="Forums, Bug Tracker, Mailing List">
+ <i class="fa fa-cogs icon"></i>
+ Support
+ </a>
+
+ <a class="btn btn-block btn-primary sidebutton" href="/ease/developers" title="Contributor Guide, Wiki, Mailing List">
+ <i class="fa fa-comments-o icon"></i>
+ Developers
+ </a>
</div>
EOHTML;