MediaWiki

Gadget-homebutton.css

From Dogcraft Wiki

(Copied from Gadget Skinsandbox)
 
No edit summary
 
Line 43: Line 43:
#navwrapper .title-name a:first-child {
#navwrapper .title-name a:first-child {
margin-right: .3em;
margin-right: .3em;
}
@media only screen and (min-width: 641px) {
#p-Go_to_Dogcraft {
display:none;
}
}
}

Latest revision as of 17:32, 7 April 2021

@media only screen and (max-width: 640px) {
	#navwrapper .title-area .dc-home-button {
		display:none;
	}
	
	#navwrapper .title-name a[href='//dogcraft.net'] {
		display:none!important;
	}
	
	/*Decides whether homebutton is full width or only a square on mobile*/
	/*#p-Go_to_Dogcraft {
		display:inline-block;
	}
	
	#p-Go_to_Dogcraft .dc-home-button {
		padding-right:0.9375rem;
	}*/
}

.dc-home-button {
	color: white;
	font-size: 25px;
	vertical-align: middle;
}



#navwrapper .title-name a[href='//dogcraft.net'] {
	height: 45.25px;
	display: inline-block;
	padding: 0 .2em;
}

#navwrapper .title-name a[href='//dogcraft.net']:hover {
	background: var(--second-color);
}

#navwrapper .title-name {
	margin: 0 .3em;
	margin-right: 0;
}

#navwrapper .title-name a:first-child {
	margin-right: .3em;
}

@media only screen and (min-width: 641px) {
	#p-Go_to_Dogcraft {
		display:none;
	}	
}