diff --git a/backend/postings/static/postings/js/main.js b/backend/postings/static/postings/js/main.js index 771d39e..64bda14 100644 --- a/backend/postings/static/postings/js/main.js +++ b/backend/postings/static/postings/js/main.js @@ -99,5 +99,11 @@ $(function(){ ((''+month).length<2 ? '0' : '') + month + '/' + d.getFullYear(); $(".date").append(output); - + if ($('.landingpage').length > 0) { + $("body").addClass("box"); + }else if ($('.results').length > 0) { + $("body").addClass("box3"); + }else if ($('.entity').length > 0) { + $("body").addClass("box2"); + } }); \ No newline at end of file diff --git a/backend/postings/templates/postings/frontend/base_page.html b/backend/postings/templates/postings/frontend/base_page.html index 0bd4f60..4e6f40a 100644 --- a/backend/postings/templates/postings/frontend/base_page.html +++ b/backend/postings/templates/postings/frontend/base_page.html @@ -33,11 +33,11 @@ -