[gnome-web-www: 25/68] Add helper CSS classes for Bootstrap



commit 1c0d36e48dbcac5bb8240e653e3bd9e0088a49c3
Author: Tom Tryfonidis <tomtryf gnome org>
Date:   Mon Jan 9 16:50:43 2017 +0200

    Add helper CSS classes for Bootstrap

 theme/style.css |   31 +++++++++++++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)
---
diff --git a/theme/style.css b/theme/style.css
index 1a945dc..c530a34 100644
--- a/theme/style.css
+++ b/theme/style.css
@@ -36,6 +36,37 @@ a:visited {
 .center-text {
     text-align: center;
 }
+.col-centered{
+    float: none;
+    margin: 0 auto;
+}
+.no-padding {
+    padding: 0 !important;
+}
+
+/*
+ * Bootstrap extension
+ * Extend and overwrite Bootstrap Framework
+ *
+ */
+/* ========================================================================== */
+
+.btn {
+    text-decoration: none;
+    border-radius: 6px;
+    padding: 6px 30px;
+}
+.btn-success {
+    background-color:#4e9a06;
+    color: #fff !important;
+}
+.btn-success:hover {no
+    background-color: #4e9a06;
+}
+
+.btn-primary {
+    color: #fff !important;
+}
 
 /* Accessibility access */
 /* ========================================================================== */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]