brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From geom...@apache.org
Subject [1/2] brooklyn-docs git commit: Update event alert styling
Date Tue, 17 Apr 2018 16:10:49 GMT
Repository: brooklyn-docs
Updated Branches:
  refs/heads/website 5fe92f629 -> 97bd9c24d


Update event alert styling


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/commit/741dbd32
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/tree/741dbd32
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/diff/741dbd32

Branch: refs/heads/website
Commit: 741dbd3234353bef9d6cabc39e64cb156b4bbbeb
Parents: aace9bf
Author: Thomas Bouron <thomas.bouron@cloudsoftcorp.com>
Authored: Tue Apr 17 16:58:35 2018 +0100
Committer: Thomas Bouron <thomas.bouron@cloudsoftcorp.com>
Committed: Tue Apr 17 16:58:35 2018 +0100

----------------------------------------------------------------------
 _includes/apache-promo.html | 17 ++++++++++++++---
 index.md                    |  4 +++-
 style/css/_landing.scss     |  9 +++++++++
 3 files changed, 26 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/741dbd32/_includes/apache-promo.html
----------------------------------------------------------------------
diff --git a/_includes/apache-promo.html b/_includes/apache-promo.html
index 976e343..fff2d64 100644
--- a/_includes/apache-promo.html
+++ b/_includes/apache-promo.html
@@ -1,3 +1,14 @@
-<a  href="https://www.apache.org/events/current-event.html">
-    <img src="https://www.apache.org/events/current-event-234x60.png"/>
-</a>
\ No newline at end of file
+<div class="alert alert-info alert-dismissible alert-event" role="alert">
+    <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span
aria-hidden="true">&times;</span></button>
+    <div class="container">
+        <div class="media">
+            <a href="https://www.apache.org/events/current-event.html" class="pull-right">
+                <img class="media-object" src="https://www.apache.org/events/current-event-234x60.png"
alt="Next Apache event">
+            </a>
+            <div class="media-body">
+                <h4 class="media-heading">Apache events</h4>
+                <p>Apache runs events all around the world. Want to know more? Just
click on the image <i class="fa fa-fw fa-arrow-right"></i></p>
+            </div>
+        </div>
+    </div>
+</div>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/741dbd32/index.md
----------------------------------------------------------------------
diff --git a/index.md b/index.md
index f2d4eea..36895a9 100644
--- a/index.md
+++ b/index.md
@@ -70,9 +70,10 @@ children:
   menu_customization: {type: button}
 ---
 
-<section class="text-center hero" markdown="1">
 {% include apache-promo.html %}
 
+<section class="hero">
+<div class="container text-center" markdown="1">
 
 # <span class="text-apache">apache</span> <span class="text-brooklyn">brooklyn</span>
 
@@ -81,6 +82,7 @@ children:
 <a href="#get-started" class="btn btn-primary btn-lg">Get started</a>
 <a href="https://github.com/apache/brooklyn" class="btn btn-link btn-lg"><i class="fa
fa-fw fa-github"></i> View code</a>
 
+</div>
 </section>
 
 <section class="container about">

http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/741dbd32/style/css/_landing.scss
----------------------------------------------------------------------
diff --git a/style/css/_landing.scss b/style/css/_landing.scss
index 98d22c0..76ac111 100644
--- a/style/css/_landing.scss
+++ b/style/css/_landing.scss
@@ -8,6 +8,15 @@
     top: -80px;
   }
 
+  .alert-event {
+    margin: 0;
+    border-radius: 0;
+
+    p {
+      margin-bottom: 0;
+    }
+  }
+
   .hero {
     background-color: #ffffff;
     background-image: url("data:image/svg+xml,%3Csvg width='84' height='48' viewBox='0 0
84 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h12v6H0V0zm28 8h12v6H28V8zm14-8h12v6H42V0zm14
0h12v6H56V0zm0 8h12v6H56V8zM42 8h12v6H42V8zm0 16h12v6H42v-6zm14-8h12v6H56v-6zm14 0h12v6H70v-6zm0-16h12v6H70V0zM28
32h12v6H28v-6zM14 16h12v6H14v-6zM0 24h12v6H0v-6zm0 8h12v6H0v-6zm14 0h12v6H14v-6zm14 8h12v6H28v-6zm-14
0h12v6H14v-6zm28 0h12v6H42v-6zm14-8h12v6H56v-6zm0-8h12v6H56v-6zm14 8h12v6H70v-6zm0 8h12v6H70v-6zM14
24h12v6H14v-6zm14-8h12v6H28v-6zM14 8h12v6H14V8zM0 8h12v6H0V8z' fill='%23eeeeee' fill-opacity='0.4'
fill-rule='evenodd'/%3E%3C/svg%3E");


Mime
View raw message