diff --git a/css/style.css b/css/style.css index fa38bba..c42a4be 100644 --- a/css/style.css +++ b/css/style.css @@ -1301,6 +1301,10 @@ ol.toptrends-list { display: block; margin: 0 auto 10px auto; } +.image-preview video +{ + width: 100%; +} .preview-container { max-height: 500px; diff --git a/home.html b/home.html index cc36a8d..dd21bfd 100644 --- a/home.html +++ b/home.html @@ -126,6 +126,9 @@
+
diff --git a/theme_nin/css/style.css b/theme_nin/css/style.css index 035d3c0..fbea4da 100644 --- a/theme_nin/css/style.css +++ b/theme_nin/css/style.css @@ -1480,7 +1480,7 @@ button:disabled:hover, button.disabled:hover, .mini-profile-actions span.disable visibility: hidden; } /* line 42, ../sass/_tabs.sass */ -.options input#tab_language:checked ~ .tab-content .language, .options input#t-2:checked ~ .tab-content .theme, .options input#t-3:checked ~ .tab-content .notifications, .options input#t-4:checked ~ .tab-content .keys, .options input#t-5:checked ~ .tab-content .appearance, .options input#t-6:checked ~ .tab-content .users { +.options input#tab_language:checked ~ .tab-content .language, .options input#t-2:checked ~ .tab-content .theme, .options input#t-3:checked ~ .tab-content .notifications, .options input#t-4:checked ~ .tab-content .keys, .options input#t-5:checked ~ .tab-content .appearance, .options input#t-6:checked ~ .tab-content .users, .options input#t-7:checked ~ .tab-content .webtorrent { position: relative; z-index: 10; opacity: 1; diff --git a/theme_nin/js/theme_option.js b/theme_nin/js/theme_option.js index 56f686f..fdcb3a5 100644 --- a/theme_nin/js/theme_option.js +++ b/theme_nin/js/theme_option.js @@ -59,5 +59,6 @@ function localizeLabels() { $("label[for=t-4]").text(polyglot.t("Keys")); $("label[for=t-5]").text(polyglot.t("Appearance")); $("label[for=t-6]").text(polyglot.t("Users")); + $("label[for=t-7]").text(polyglot.t("WebTorrent")); } diff --git a/theme_nin/sass/_tabs.sass b/theme_nin/sass/_tabs.sass index 6d3e306..c403c22 100644 --- a/theme_nin/sass/_tabs.sass +++ b/theme_nin/sass/_tabs.sass @@ -47,6 +47,7 @@ &#t-4:checked ~ .tab-content .keys, &#t-5:checked ~ .tab-content .appearance, &#t-6:checked ~ .tab-content .users + &#t-7:checked ~ .tab-content .webtorrent position: relative z-index: 10 opacity: 1