Add Register Button at Top Right.
authorrsiddharth <rsd@gnu.org>
Fri, 7 Oct 2016 05:26:37 +0000 (05:26 +0000)
committerrsiddharth <rsd@gnu.org>
Fri, 7 Oct 2016 05:26:37 +0000 (05:26 +0000)
2017/assets/css/custom.css
2017/includes/banner.html
2017/includes/nav-list-1.html
2017/includes/register-now.html

index bdfdc51ce5ee327a9d4439ff6a857efa907e1f1a..36110feb1332b33662c7517e8ae4644bb5bffe1f 100644 (file)
@@ -338,7 +338,6 @@ hr {
   color: #ffffff;
   text-shadow: 0px 0px 0px #ffffff;
   background-color: rgba(58, 208, 61, 0.6);
-  background-color: rgba(58, 208, 61, 0.6);
   text-decoration: none;
 }
 
@@ -582,12 +581,24 @@ hr {
   .lp-head p {
     margin: -0.35em 0 0.001em -3.6em;
   }
+  .register-block p {
+      margin: 0;
+  }
+}
+
+@media (min-width: 991px) and (max-width:1200px) {
+  .register-block p {
+      margin-left: 0.5em;
+  }
 }
 
 @media (min-width:1200px) {
   .lp-head p {
     margin: -0.54em 0 0.001em -7em;
   }
+  .register-block p {
+      margin: 0;
+  }
 }
 
 .page-header {
@@ -704,6 +715,13 @@ hr {
   color: white;
 }
 
+.nav > li.btn-register > a {
+  background-color: rgba(58, 208, 61, 0.6);
+  color: #ffffff;
+  text-shadow: 0px 0px 0px #ffffff;
+  text-decoration: none;
+}
+
 .nav > li > a:hover,
 .nav > li > a:focus {
   background-color: rgba(88, 208, 121, 1.0);
index 7a4a86f41fec5d97341380e3290552bf318e2f44..64121330e31d4c4ebed532ca42f3832b90e06562 100755 (executable)
@@ -22,7 +22,7 @@
                                </p>
                          </div>
                           <!-- #top-right-desktop start -->
-                          <!--#include virtual="/2017/includes/join-list.html"-->
+                          <!--#include virtual="/2017/includes/register-now.html"-->
                           <!-- #top-right-desktop end -->
                        </div><!-- end of lp header -->
 
index 45958a5fe071c4a6d15ec497d8a1c6663582326e..7f272cf53655a2eb02e451da5cd0d4d1c7e6fd0e 100644 (file)
@@ -1,7 +1,7 @@
 <!-- <li><a href="/2017/streaming">Livestream</a></li> -->
 
 
-<li class="fsf-donate"><a href="https://my.fsf.org/civicrm/event/register?reset=1&id=47">Register Now</a></li>
+<li class="btn-register visible-xs"><a href="https://my.fsf.org/civicrm/event/register?reset=1&id=47">Register Now</a></li>
 <li><a href="https://my.fsf.org/lp-call-for-sessions">Propose a session</a></li>
 <li class="program-link"><a href="/2016/program">Video sessions from last LibrePlanet</a></li>
 <li class="getting-around-link"><a href="/2017/getting-around">Travel info</a></li>
index 6f4fb4b627aa128f605fc0d2deffd2380148cfb1..98c26e31d1c0a851f4472ca7e398b65f501391c5 100644 (file)
@@ -1,7 +1,9 @@
-<a class="btn btn-register btn-lg btn-block register-now"
-   href="https://my.fsf.org/civicrm/event/register?id=29&amp;reset=1">
-  Register now
-</a>
-<p class="text-muted text-center">
-  gratis for members and students!
-</p>
+<div class="register-block col-sm-offset-2 col-sm-4 col-xs-12">
+    <a class="btn btn-register btn-lg btn-block register-now"
+       href="https://my.fsf.org/civicrm/event/register?id=29&amp;reset=1">
+        Register now
+    </a>
+    <p class="text-muted text-center">
+        gratis for members and students!
+    </p>
+</div>