Template

Templates Nav/styles.css

From Dogcraft Wiki

(Created page with ".template-documentation { display: grid; grid-template-columns: 260px 1fr; align-items: start; column-gap: 4px; } .templates-nav { max-height: calc(100vh - 120px); overflow-y: auto; position: sticky; top: 80px; padding-top: calc(30px + .5rem); } @media only screen and (max-width: 999px) { .templates-nav { display: none; } .template-documentation-content { grid-column: 1 / -1; } }")
 
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
.template-documentation {
.template-page {
display: grid;  
display: grid;  
grid-template-columns: 260px 1fr;  
grid-template-columns: 260px 1fr;  
align-items: start;  
align-items: start;  
column-gap: 4px;
column-gap: .5rem;
}
}


Line 10: Line 10:
overflow-y: auto;  
overflow-y: auto;  
position: sticky;  
position: sticky;  
top: 80px;  
top: 110px;  
padding-top: calc(30px + .5rem);
padding-top: .5rem;
}
}


Line 19: Line 19:
}
}
.template-documentation-content {
.template-page-content {
grid-column: 1 / -1;
grid-column: 1 / -1;
}
}
}
}

Latest revision as of 19:43, 3 February 2026

.template-page {
	display: grid; 
	grid-template-columns: 260px 1fr; 
	align-items: start; 
	column-gap: .5rem;
}

.templates-nav {
	max-height: calc(100vh - 120px); 
	overflow-y: auto; 
	position: sticky; 
	top: 110px; 
	padding-top: .5rem;
}

@media only screen and (max-width: 999px) {
	.templates-nav {
		display: none;
	}
	
	.template-page-content {
		grid-column: 1 / -1;
	}
}
Background Dragon Slayer - Retriever by Ironboundred