+ src="https://framatube.org/videos/embed/9db9f3f1-9b54-44ed-9e91-461d262d2205">
-
PeerTube est actuellement en campagne de financement participatif.
- Ensemble, participons à aller vers une version 1.
-
Soutenir Peertube
+
Aidez-nous à réaliser la v1 de PeerTube !
+ Plus que 45 jours pour participer à notre financement participatif !
+
Soutenir PeerTube
+
{{% /grid %}}
diff --git a/themes/hugo-bootstrap-premium/static/css/style.css b/themes/hugo-bootstrap-premium/static/css/style.css
index 50008ce..adfb28d 100644
--- a/themes/hugo-bootstrap-premium/static/css/style.css
+++ b/themes/hugo-bootstrap-premium/static/css/style.css
@@ -24,7 +24,7 @@ body > .container {
padding: 0px;
}
@media screen and (max-width: 768px) {
- a.navbar-brand-img>img {
+ a.navbar-brand-img > img {
vertical-align: bottom;
padding: 1em 0 0 15px;
max-width: 80%;
@@ -90,18 +90,6 @@ body .medias .container {
margin-top: -70px;
}
-.intro .embed-responsive + p {
- margin-bottom:0;
- margin-top: 20px;
-}
-
-.intro .col-md-push-7 .button {
- margin-bottom:10px;
-}
-.intro .col-md-pull-5 {
- margin-left:-15px;
-}
-
.medias {
background-image: url('../player-peertube-flou.jpg');
background-size: cover;
@@ -303,14 +291,65 @@ footer { /* Hugo’s footer != JoinPT’s footer */
margin:0;
}
-.hof .list-inline li:nth-of-type(n+2):before {
+/* Hall of Fame */
+.hof ul { // = .list-inline.well
+ margin-left: -5px;
+ list-style: none;
+ padding: 19px;
+ margin-bottom: 20px;
+ background-color: #f5f5f5;
+ border: 1px solid #e3e3e3;
+ border-radius: 4px;
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
+}
+
+.hof ul > li {
+ display: inline-block;
+ padding-right: 5px;
+ padding-left: 5px;
+}
+
+.hof li:nth-of-type(n+2):before {
content: "▶";
margin-right: 12px;
color: #F1680D;
}
-.hof .list-inline li:nth-of-type(2n+2):before {
+.hof li:nth-of-type(2n+2):before {
color: #211F20;
}
-.hof .list-inline li:nth-of-type(3n+2):before {
+.hof li:nth-of-type(3n+2):before {
color: #737373;
}
+
+/* KKBB */
+.intro .embed-responsive + p {
+ margin-bottom:0;
+ margin-top: 20px;
+}
+
+.intro .col-md-push-6 .button {
+ margin-bottom:10px;
+}
+
+@media (min-width: 1200px) {
+ [lang="fr"] .intro .col-md-pull-6 a {
+ margin-top: 36px;
+ }
+}
+@media (max-width: 1200px) {
+ [lang="fr"] .intro .col-md-pull-6 a {
+ margin-top: -10px;
+ }
+}
+
+@media (min-width: 992px) {
+ [lang="en"] .intro .col-md-pull-6 a {
+ margin-top: 39px;
+ }
+}
+@media (min-width: 1200px) {
+ [lang="en"] .intro .col-md-pull-6 a {
+ margin-top: 11px;
+ }
+}
diff --git a/themes/hugo-bootstrap-premium/static/js/site.js b/themes/hugo-bootstrap-premium/static/js/site.js
index e9a3f67..61e3866 100644
--- a/themes/hugo-bootstrap-premium/static/js/site.js
+++ b/themes/hugo-bootstrap-premium/static/js/site.js
@@ -8,3 +8,8 @@ $(
scrollTop : 0 // Scroll to top of body
}, 500);
});
+
+const end = new Date('07/08/2018 11:59 PM');
+const now = new Date();
+const days = (end - now < 0) ? 0 : Math.floor((end - now) / 86400000); // 24*60*60*1000
+document.getElementById('kkbbDays').innerHTML = days;