mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Pride thingy
This commit is contained in:
@@ -25,6 +25,10 @@ a {
|
|||||||
outline: 0 !important;
|
outline: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.pride-background {
|
||||||
|
background: linear-gradient(90deg, #f00000, #f00000 16.67%, #ff8000 16.67%, #ff8000 33.33%, #ffff00 33.33%, #ffff00 50%, #007940 50%, #007940 66.67%, #4040ff 66.67%, #4040ff 83.33%, #a000c0 83.33%, #a000c0) fixed;
|
||||||
|
}
|
||||||
|
|
||||||
.initial-line-height {
|
.initial-line-height {
|
||||||
line-height: initial;
|
line-height: initial;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,6 +8,9 @@ var Frontpage = {
|
|||||||
blob_list: [],
|
blob_list: [],
|
||||||
|
|
||||||
winter: (new Date()).getMonth() >= 10 ? true : false,
|
winter: (new Date()).getMonth() >= 10 ? true : false,
|
||||||
|
pride: function() {
|
||||||
|
return (new Date()).getMonth() == 5;
|
||||||
|
},
|
||||||
|
|
||||||
times_rotated: 0,
|
times_rotated: 0,
|
||||||
|
|
||||||
@@ -540,6 +543,9 @@ var Frontpage = {
|
|||||||
if(!Helper.mobilecheck() && Frontpage.winter) {
|
if(!Helper.mobilecheck() && Frontpage.winter) {
|
||||||
document.getElementsByClassName("mega")[0].insertAdjacentHTML("afterbegin", '<div id="snow"></div>');
|
document.getElementsByClassName("mega")[0].insertAdjacentHTML("afterbegin", '<div id="snow"></div>');
|
||||||
}
|
}
|
||||||
|
if(Frontpage.pride()) {
|
||||||
|
Helper.addClass("#fp-nav", "pride-background");
|
||||||
|
}
|
||||||
|
|
||||||
if(Helper.mobilecheck()){
|
if(Helper.mobilecheck()){
|
||||||
//$('input#autocomplete-input').characterCounter();
|
//$('input#autocomplete-input').characterCounter();
|
||||||
|
|||||||
Reference in New Issue
Block a user