Index: static/css/main.css |
=================================================================== |
--- a/static/css/main.css |
+++ b/static/css/main.css |
@@ -5,16 +5,21 @@ |
} |
body |
{ |
margin: 0; |
line-height: 1.5; |
} |
+#content |
+{ |
+ padding-bottom: 2em; |
+} |
+ |
a img |
{ |
border: none; |
} |
a:link, a:visited |
{ |
color: #555; |
@@ -144,16 +149,25 @@ |
} |
[dir="rtl"] .alert |
{ |
border-right: 5px solid #d14841; |
} |
/****************************************************************************** |
+ * .section |
+ *****************************************************************************/ |
+ |
+.section |
+{ |
+ padding: 2em 0; |
+} |
+ |
+/****************************************************************************** |
* .content |
*****************************************************************************/ |
.content h1, |
.content h2, |
.content h3, |
.content h4, |
.content h5 |
@@ -176,16 +190,95 @@ |
} |
.content a, |
.content a:visited |
{ |
color: #c70d2c; |
} |
+/* Buttons |
+ ******************************************************************************/ |
+ |
+.button |
+{ |
+ padding: 0.5em 2em; |
+ border: none; |
+ text-align: center; |
+} |
+ |
+.button:hover, |
+.button:active, |
+.button:focus |
+{ |
+ text-decoration: none; |
+} |
+ |
+@media(max-width: 767px) |
+{ |
+ .button |
+ { |
+ display: block; |
+ width: 100%; |
+ } |
+} |
+ |
+.button.primary |
+{ |
+ color: #fff; |
+ background-color: #c70d2c; |
+ box-shadow: 0px 2px 5px #95989A; |
+} |
+ |
+.button.primary:hover |
+{ |
+ background-color: #E00F32; |
+} |
+ |
+.button.primary:active |
+{ |
+ background-color: #AD102A; |
+} |
+ |
+.button.inverse, |
+a.button.inverse |
juliandoucette
2017/12/08 16:49:52
necessary to be more specific than `.content a` :/
ire
2017/12/11 15:53:49
Acknowledged.
|
+{ |
+ background: none; |
+ color: #fff; |
+ margin-left: 2px; |
+ margin-right: 2px; |
+ border: 1px solid #fff; |
+} |
+ |
+.button.inverse:hover, |
+.button.inverse:focus |
+{ |
+ box-shadow: inset 0 0 0 2px #fff; |
+} |
+ |
+.button.inverse:active |
+{ |
+ background-color: #fff; |
+} |
+ |
+.bg-accent .button.inverse:active |
+{ |
+ color: #077CA6; |
+} |
+ |
+/******************************************************************************* |
+ * .bg-* utilities |
+ ******************************************************************************/ |
+ |
+.bg-accent |
+{ |
+ color: #fff; |
+ background-color: #077CA6; |
+} |
+ |
/******************************************************************************* |
* #navbar |
******************************************************************************/ |
#navbar |
{ |
min-height: 4em; |
background-color: #c70d2c; |
@@ -452,17 +545,16 @@ |
/******************************************************************************* |
* #footer |
******************************************************************************/ |
#footer |
{ |
overflow: auto; |
- margin-top: 2em; |
padding: 2em 0em; |
color: #ececec; |
background-color: #292929; |
font-size: 0.9em; |
} |
/* #footer body |
******************************************************************************/ |