From a4441bd97352577fc734374b1479f322cabfd1da Mon Sep 17 00:00:00 2001 From: Britt Dalby <91482954+brittney-dalby@users.noreply.github.com> Date: Mon, 1 Nov 2021 11:39:54 -0600 Subject: [PATCH 1/3] set up media queries --- index.html | 8 ++++---- style/index.css | 26 +++++++++++++++++++++----- 2 files changed, 25 insertions(+), 9 deletions(-) diff --git a/index.html b/index.html index 31ea20890..9e2265328 100644 --- a/index.html +++ b/index.html @@ -12,10 +12,10 @@

Brittney Dalby

diff --git a/style/index.css b/style/index.css index ac44f2fb3..9baab6e00 100644 --- a/style/index.css +++ b/style/index.css @@ -42,18 +42,27 @@ header{ } h1{ display:flex; - justify-content:flex-start; + justify-content:center; font-size:5rem; text-transform: uppercase; } -nav a{ +nav{ + width: 40%; display:flex; - justify-content:flex-end; + justify-content:space-between; +} +nav a{ + display:inline-block; text-decoration: none; - align-items:flex-start; color:#4f4f4f; - padding:5%; + padding:2%; + width:23%; + border:2px solid #4f4f4f; + border-radius:10px; + text-align:center; + letter-spacing:2px; } + .top-section{ display:flex; justify-content:center; @@ -98,3 +107,10 @@ footer a{ text-decoration:none; } +@media (max-width: 800px){ + +} + +@media (max-width: 500px){ + +} \ No newline at end of file From ddce52952b4e53a432260ef7fc376926d18ce533 Mon Sep 17 00:00:00 2001 From: Britt Dalby <91482954+brittney-dalby@users.noreply.github.com> Date: Mon, 1 Nov 2021 16:43:04 -0600 Subject: [PATCH 2/3] making site responsive to phone screens --- .vscode/settings.json | 3 +++ index.html | 2 +- style/index.css | 44 +++++++++++++++++++++++++++++++++++++++---- 3 files changed, 44 insertions(+), 5 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000..6f3a2913e --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "liveServer.settings.port": 5501 +} \ No newline at end of file diff --git a/index.html b/index.html index 9e2265328..36abd9d92 100644 --- a/index.html +++ b/index.html @@ -9,7 +9,7 @@ -
+

Brittney Dalby

-
-
+
random generated image

My Project

@@ -38,8 +37,8 @@

Brittney Dalby

random generated image

My Project

-
-
+ +
random generated image

My Project

@@ -52,7 +51,7 @@

Brittney Dalby

random generated image

My Project

-
+