added custom styling for .btn-block class.
authorrsiddharth <rsd@gnu.org>
Mon, 25 Nov 2013 18:24:40 +0000 (23:54 +0530)
committerrsiddharth <rsd@gnu.org>
Mon, 25 Nov 2013 18:24:40 +0000 (23:54 +0530)
When the width of the screen is 1280px or higher. The width of the
.btn-block is set to 85%.

2014/assets/css/custom.css
server/staging/lpc14/index.html

index 3779583ea80a6b04e348cf4f70f7b14a7927b150..7d00336fec30fdc1f790d8d34affe10708164b61 100644 (file)
@@ -79,6 +79,18 @@ body {
 }
 
 
+@media (min-width:1280px) {
+       .btn-block {
+               display: block;
+               margin-right:auto;
+               margin-left:auto;
+               width: 85%;
+               padding-right: 0;
+               padding-left: 0;
+       }
+}
+
+
 .fsf-donate-button {
   margin-left: 24%; 
   margin-top: 25px;
index bbc2bd70ae51cbcd4a067bfb4394d5ebab410ff9..acb26dbcff46389592a02995b79b335be571758b 100644 (file)
          <div class="lp-banner"> <!--start of lp banner -->
                <div class="container"> <!-- start of container -->
                  <div class="row">
-                       <div class="col-sm-10"> <!-- start of lp header -->
+                       <div class="col-sm-9"> <!-- start of lp header -->
                          <div class="lp-head">
                                <h1><a href="/2014/"> LibrePlanet <small>2014</small></a></h1>
                                <p><strong>March 22nd-23rd 2014 in Cambridge, MA</strong></p>
                                <p class="text-muted">Free software, free society</p>
                          </div>
                        </div><!-- end of lp header -->
-                       <div class="col-sm-2"> <!-- start of Register button -->
+                       <div class="col-sm-3"> <!-- start of Register button -->
                          <a class="btn btn-success btn-lg btn-block register-lp14"
                                 href="https://libreplanet.org/2014/register">
                                <span class="glyphicon glyphicon-ok"></span>