From 06749ef9d43dfa405db6d1e99cb4a34615219c46 Mon Sep 17 00:00:00 2001 From: elin001 Date: Sun, 22 Oct 2023 20:03:50 -0500 Subject: [PATCH] more css --- portfolio.html | 8 ++++++++ style.css | 55 +++++++++++++++++++++++++++++++++++++------------- 2 files changed, 49 insertions(+), 14 deletions(-) diff --git a/portfolio.html b/portfolio.html index d18ab13..b824da2 100644 --- a/portfolio.html +++ b/portfolio.html @@ -29,5 +29,13 @@

Portfolio

+ +
+
+ +
+ +
+ \ No newline at end of file diff --git a/style.css b/style.css index 62bf03b..c94a094 100644 --- a/style.css +++ b/style.css @@ -1,9 +1,14 @@ +main{ + display: flex; +} + body { background-color: #f5f5f5; margin: 50px; padding: 0; display: flex; flex-direction: column; +flex-wrap: wrap; font-family: 'DM Sans', sans-serif, Arial, Helvetica, sans-serif } @@ -30,19 +35,6 @@ p { font-family: 'DM Sans', sans-serif, Arial, Arial, Helvetica, sans-serif; } -@media screen and (max-width: 768px) { - /* Define styles for mobile viewports with a maximum width of 768px */ - .hamburger-menu { - position: fixed; - top: 20px; /* Adjust the top position for mobile */ - right: 20px; /* Adjust the right position for mobile */ - } - body { - margin: 0; - padding: 0; - } -} - .hamburger-menu { position: fixed; top: 90px; @@ -226,4 +218,39 @@ input:checked ~ span:nth-last-child(2) { .resume-date { font-style: italic; - } \ No newline at end of file + } + + .portfolio{ + display: flex; + + } + + .byline { + + } + + @media screen and (max-width: 600px) { + body { + display: flex; + margin: 50px; + padding: 0; + } + + h1{ + size: 3em; + } + + .resume{ + display: flex; + flex-direction: column; + width: auto; + margin: auto; + margin-bottom: 0px; + } + + .hamburger-menu { + position: fixed; + top: 20px; /* Adjust the top position for mobile */ + right: 20px; /* Adjust the right position for mobile */ + } +}