forked from GithubMirrors/cardconjurer
		
	mobile
This commit is contained in:
		@@ -7,13 +7,17 @@ window.onscroll = function() {scrollFunction()}
 | 
				
			|||||||
window.onresize = function() {scrollFunction()}
 | 
					window.onresize = function() {scrollFunction()}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function scrollFunction() {
 | 
					function scrollFunction() {
 | 
				
			||||||
 | 
						var scrollHeight = document.body.scrollTop
 | 
				
			||||||
 | 
						if (scrollHeight < 0) {
 | 
				
			||||||
 | 
							scrollHeight = 0
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
	var titleHeight = parseInt(window.innerWidth * 141 / 1236 - 10);
 | 
						var titleHeight = parseInt(window.innerWidth * 141 / 1236 - 10);
 | 
				
			||||||
	if (window.innerWidth >= 750) {
 | 
						if (window.innerWidth >= 750) {
 | 
				
			||||||
		if (window.innerWidth >= 970) {
 | 
							if (window.innerWidth >= 970) {
 | 
				
			||||||
			titleHeight = 100
 | 
								titleHeight = 100
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		if (document.body.scrollTop < titleHeight - 30) {
 | 
							if (scrollHeight < titleHeight - 30) {
 | 
				
			||||||
    		document.getElementById("header").style.maxHeight =  titleHeight - document.body.scrollTop
 | 
					    		document.getElementById("header").style.maxHeight =  titleHeight - scrollHeight
 | 
				
			||||||
  		} else {
 | 
					  		} else {
 | 
				
			||||||
    		document.getElementById("header").style.maxHeight = "30px"
 | 
					    		document.getElementById("header").style.maxHeight = "30px"
 | 
				
			||||||
  		}
 | 
					  		}
 | 
				
			||||||
@@ -970,7 +974,6 @@ for (var i = 0; i < document.getElementsByClassName("changesTitleType").length;
 | 
				
			|||||||
for (var i = 0; i < document.getElementsByClassName("changesPinline").length; i++) {
 | 
					for (var i = 0; i < document.getElementsByClassName("changesPinline").length; i++) {
 | 
				
			||||||
	document.getElementsByClassName("changesPinline")[i].addEventListener("change", function() {loadLegendaryImages(); loadRareStampImages()}, false)
 | 
						document.getElementsByClassName("changesPinline")[i].addEventListener("change", function() {loadLegendaryImages(); loadRareStampImages()}, false)
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					 | 
				
			||||||
//============================================//
 | 
					//============================================//
 | 
				
			||||||
//                Brower Stuff!               //
 | 
					//                Brower Stuff!               //
 | 
				
			||||||
//============================================//
 | 
					//============================================//
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -529,7 +529,7 @@
 | 
				
			|||||||
/*Page-wide styling*/
 | 
					/*Page-wide styling*/
 | 
				
			||||||
* {
 | 
					* {
 | 
				
			||||||
	font-family: belerenb;
 | 
						font-family: belerenb;
 | 
				
			||||||
	font-size: 32px;
 | 
						font-size: 6vw;
 | 
				
			||||||
	user-select: none;
 | 
						user-select: none;
 | 
				
			||||||
	color: #eee;
 | 
						color: #eee;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user