update assets
This commit is contained in:
@@ -7793,7 +7793,7 @@ div.article-row-content > h6, .h6 {
|
|||||||
bottom: 15%;
|
bottom: 15%;
|
||||||
left: 5%;
|
left: 5%;
|
||||||
color: #fefefe;
|
color: #fefefe;
|
||||||
text-shadow: 1px 1px 2px #0a0a0a; }
|
text-shadow: 1px 1px 2px #000, 0px 0px 5px #000, 0px 0px 25px #000; }
|
||||||
@media print, screen and (min-width: 40em) {
|
@media print, screen and (min-width: 40em) {
|
||||||
.news-hero .news-hero-text, .news-hero-large .news-hero-text {
|
.news-hero .news-hero-text, .news-hero-large .news-hero-text {
|
||||||
left: 10%; } }
|
left: 10%; } }
|
||||||
@@ -8344,7 +8344,7 @@ div.footer div.grid-x {
|
|||||||
bottom: 3.125rem;
|
bottom: 3.125rem;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
text-shadow: 1px 1px 2px #0a0a0a; }
|
text-shadow: 1px 1px 2px #000, 0px 0px 5px #000, 0px 0px 25px #000; }
|
||||||
@media print, screen and (max-width: 39.99875em) {
|
@media print, screen and (max-width: 39.99875em) {
|
||||||
.large-article-header-content {
|
.large-article-header-content {
|
||||||
bottom: 1.25rem; } }
|
bottom: 1.25rem; } }
|
||||||
|
|||||||
@@ -150,3 +150,68 @@ a.thumbnail img {
|
|||||||
height: 40px; }
|
height: 40px; }
|
||||||
.social-media-footer .social-media-footer-symbol {
|
.social-media-footer .social-media-footer-symbol {
|
||||||
font-size:30px; }
|
font-size:30px; }
|
||||||
|
|
||||||
|
.news-hero-compact {
|
||||||
|
border-radius: 5px;
|
||||||
|
margin-top: 1rem !important;
|
||||||
|
margin-bottom: 1rem !important;
|
||||||
|
font-size: 18px;
|
||||||
|
height: 10vh; }
|
||||||
|
@media print, screen and (min-width: 40em) {
|
||||||
|
.news-hero-compact {
|
||||||
|
height: 10vh; } }
|
||||||
|
@media print, screen and (min-width: 64em) {
|
||||||
|
.news-hero-compact {
|
||||||
|
height: 10vh; } }
|
||||||
|
|
||||||
|
.news-hero-compact-large {
|
||||||
|
height: 100%;
|
||||||
|
min-height: 10vh; }
|
||||||
|
@media print, screen and (min-width: 40em) {
|
||||||
|
.news-hero-compact-large {
|
||||||
|
min-height: 10vh 0.7; } }
|
||||||
|
@media print, screen and (min-width: 64em) {
|
||||||
|
.news-hero-compact-large {
|
||||||
|
min-height: 10vh; } }
|
||||||
|
|
||||||
|
.news-hero-compact, .news-hero-compact-large {
|
||||||
|
background-color: #444;
|
||||||
|
position: relative;
|
||||||
|
background-size: cover;
|
||||||
|
-webkit-box-align: center;
|
||||||
|
-webkit-align-items: center;
|
||||||
|
-ms-flex-align: center;
|
||||||
|
align-items: center;
|
||||||
|
-webkit-box-pack: center;
|
||||||
|
-webkit-justify-content: center;
|
||||||
|
-ms-flex-pack: center;
|
||||||
|
justify-content: center;
|
||||||
|
vertical-align: middle;
|
||||||
|
text-align: left;
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -webkit-flex;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
width: 100%; }
|
||||||
|
.news-hero-compact .news-hero-compact-text, .news-hero-compact-large .news-hero-compact-text {
|
||||||
|
position: absolute;
|
||||||
|
left: 5%;
|
||||||
|
color: #fefefe;
|
||||||
|
text-shadow: 1px 1px 2px #000, 0px 0px 5px #000, 0px 0px 25px #000; }
|
||||||
|
@media print, screen and (min-width: 40em) {
|
||||||
|
.news-hero-compact .news-hero-compact-text, .news-hero-compact-large .news-hero-compact-text {
|
||||||
|
left: 5%; } }
|
||||||
|
@media print, screen and (min-width: 64em) {
|
||||||
|
.news-hero-compact .news-hero-compact-text, .news-hero-compact-large .news-hero-compact-text {
|
||||||
|
left: 5%; } }
|
||||||
|
.news-hero-compact .news-hero-compact-right, .news-hero-compact-large .news-hero-compact-right {
|
||||||
|
position: absolute;
|
||||||
|
right: 5%;
|
||||||
|
color: #fefefe;
|
||||||
|
text-shadow: 1px 1px 2px #000, 0px 0px 5px #000, 0px 0px 25px #000; }
|
||||||
|
@media print, screen and (min-width: 40em) {
|
||||||
|
.news-hero-compact .news-hero-compact-right, .news-hero-compact-large .news-hero-compact-right {
|
||||||
|
right: 5%; } }
|
||||||
|
@media print, screen and (min-width: 64em) {
|
||||||
|
.news-hero-compact .news-hero-compact-right, .news-hero-compact-large .news-hero-compact-right {
|
||||||
|
right: 5%; } }
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
window.addEventListener("load", function() {
|
window.addEventListener("load", function() {
|
||||||
(function($) {
|
(function($) {
|
||||||
|
var slug = $("input#id_slug").val();
|
||||||
|
|
||||||
$("input#id_title").on('input', function() {
|
$("input#id_title").on('input', function() {
|
||||||
var title = $("input#id_title").val();
|
var title = $("input#id_title").val();
|
||||||
|
|
||||||
@@ -10,7 +12,7 @@ window.addEventListener("load", function() {
|
|||||||
getUrl = window.location
|
getUrl = window.location
|
||||||
baseUrl = getUrl.protocol + "//" + getUrl.host + "/" + getUrl.pathname.split('/')[0];
|
baseUrl = getUrl.protocol + "//" + getUrl.host + "/" + getUrl.pathname.split('/')[0];
|
||||||
|
|
||||||
$.ajax({type:'GET', url: baseUrl + 'posts/func/slug_calc', data:{'title': title }, complete:complete});
|
$.ajax({type:'GET', url: baseUrl + 'posts/func/slug_calc', data:{'title': title, 'slug': slug }, complete:complete});
|
||||||
});
|
});
|
||||||
})(django.jQuery);
|
})(django.jQuery);
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ td.nested > table {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
form select, form input, form textarea {
|
form select, form input:not([type=checkbox]), form textarea {
|
||||||
width: 90%;
|
width: 90%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user