about summary refs log tree commit diff
path: root/served/styles
diff options
context:
space:
mode:
authorgennyble <gen@nyble.dev>2024-12-21 15:08:26 -0600
committergennyble <gen@nyble.dev>2024-12-21 15:08:26 -0600
commit38c593a625b5feaf199be1cee7583d4ee7d9d4a1 (patch)
tree38e158640bbaaa2d648ab3fd34a140a6e3c3cfff /served/styles
parent8244b3d64ec6888dc65bfa599e9a878c97cb3440 (diff)
download∞-38c593a625b5feaf199be1cee7583d4ee7d9d4a1.tar.gz
∞-38c593a625b5feaf199be1cee7583d4ee7d9d4a1.zip
the continuum redesign-2024-12
Diffstat (limited to 'served/styles')
-rw-r--r--served/styles/home.css38
1 files changed, 33 insertions, 5 deletions
diff --git a/served/styles/home.css b/served/styles/home.css
index ac00786..fd5f6b2 100644
--- a/served/styles/home.css
+++ b/served/styles/home.css
@@ -19,8 +19,31 @@ ul {
 	height: min-content;
 }
 
+#banner-container {
+	width: 256px;
+}
+
+#banner-info {
+	display: flex;
+	flex-direction: row;
+	justify-content: space-between;
+
+	margin-top: -0.25rem;
+	margin-top: -0.25rem;
+}
+
+#banner-info p {
+	margin: 0;
+	color: var(--text-dim);
+	font-style: italic;
+}
+
 #banner {
-	max-width: min(100%, calc(var(--pwidth) + 15px));
+	/* the banner has specific dimensions and i want it to keep them */
+	box-sizing: content-box;
+	width: 256px;
+	height: 40px;
+	/*min(100%, calc(var(--pwidth) + 15px));*/
 	border: 1px solid var(--text-dim);
 }
 
@@ -34,17 +57,22 @@ ul {
 	padding: 0;
 }
 
+/* too-narrow. "mobile" style */
 @media (max-width: 50rem) {
 	#contact {
 		margin-top: 2rem;
 		margin-right: 1rem;
 	}
 
-	#banner {
+	#banner-container {
+		/* 256px in 100% calc... i do not know. it worked better than 241px. */
+		/* 241px because 256px - 15px (15px from contact dropshadows) */
+		margin-left: min(calc(100% - 256px), calc(var(--pwidth) - 241px));
 		margin-top: 1rem;
 	}
 }
 
+/* too-narrow to do some desktop things. narrower than we might want, but still pretty thick */
 @media (min-width: 50rem) {
 	#hello {
 		display: grid;
@@ -67,9 +95,9 @@ ul {
 		width: fit-content;
 	}
 
-	#banner {
-		max-width: 16rem;
+	#banner-container {
+		/*max-width: 16rem;*/
 		grid-column: 2;
-		grid-row: 4
+		grid-row: 4 / 6;
 	}
 }
\ No newline at end of file