mirror of
				https://github.com/jaandrle/deka-dom-el
				synced 2025-11-04 07:09:15 +01:00 
			
		
		
		
	🔤 ui/ux
This commit is contained in:
		@@ -5,7 +5,6 @@ ${host} {
 | 
			
		||||
	grid-column: full-main;
 | 
			
		||||
	width: calc(100% - .75em);
 | 
			
		||||
	height: calc(4/6 * var(--body-max-width));
 | 
			
		||||
	margin: 2rem auto;
 | 
			
		||||
	border-radius: var(--border-radius);
 | 
			
		||||
	box-shadow: var(--shadow);
 | 
			
		||||
	border: 1px solid var(--border);
 | 
			
		||||
 
 | 
			
		||||
@@ -208,12 +208,6 @@ pre code {
 | 
			
		||||
	background-color: transparent;
 | 
			
		||||
	padding: 0;
 | 
			
		||||
}
 | 
			
		||||
.illustration:not(:has( .comparison)) pre {
 | 
			
		||||
	background: none;
 | 
			
		||||
	border-style: dashed !important;
 | 
			
		||||
	width: fit-content;
 | 
			
		||||
	padding: 1em 2em;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* Layout */
 | 
			
		||||
@media (min-width: 768px) {
 | 
			
		||||
@@ -272,11 +266,27 @@ body > main h3, body > main h4 {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* Boxes */
 | 
			
		||||
.illustration{
 | 
			
		||||
	grid-column: full-main;
 | 
			
		||||
	width: calc(100% - .75em);
 | 
			
		||||
}
 | 
			
		||||
.illustration:not(:has( .comparison)) pre {
 | 
			
		||||
	background: none;
 | 
			
		||||
	border-style: dashed !important;
 | 
			
		||||
	width: fit-content;
 | 
			
		||||
	padding: 1em 2em;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.comparison {
 | 
			
		||||
	display: grid;
 | 
			
		||||
	grid-template-columns: 1fr;
 | 
			
		||||
	gap: 1.5rem;
 | 
			
		||||
	gap: calc(.75em / 2);
 | 
			
		||||
	margin: 1.5rem 0;
 | 
			
		||||
 | 
			
		||||
	> div {
 | 
			
		||||
		width: 100%;
 | 
			
		||||
		overflow: hidden;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@media (min-width: 768px) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user