diff --git a/public/index.html b/public/index.html
index 6dd79dd..fb06327 100644
--- a/public/index.html
+++ b/public/index.html
@@ -35,10 +35,7 @@
-
+
diff --git a/public/styles.css b/public/styles.css
index 3dd77e9..671796f 100644
--- a/public/styles.css
+++ b/public/styles.css
@@ -1,5 +1,5 @@
-@import url('https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:ital,wght@0,400;0,500;1,400&display=swap');
-@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
+@import url("https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:ital,wght@0,400;0,500;1,400&display=swap");
+@import url("https://fonts.googleapis.com/icon?family=Material+Icons");
* {
transition: background-color 0.2s ease-in-out;
@@ -87,11 +87,12 @@ body {
color: var(--text);
display: grid;
place-items: center;
- font-family: 'Schibsted Grotesk', sans-serif;
+ font-family: "Schibsted Grotesk", sans-serif;
}
.page {
- box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px 0px, rgba(0, 0, 0, 0.23) 0px 6px 6px 0px;
+ box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px 0px,
+ rgba(0, 0, 0, 0.23) 0px 6px 6px 0px;
box-sizing: border-box;
width: 8.5in;
height: 11in;
@@ -99,15 +100,15 @@ body {
padding: 0.5in;
position: relative;
animation: 0.4s ease-out 0s 1 fadein;
- display: grid;
- grid-template-columns: 1fr 2.5in;
- grid-template-rows: 0.85in 0.2fr 0.4fr auto;
- gap: 0px 0px;
- grid-template-areas:
+ display: grid;
+ grid-template-columns: 1fr 2.5in;
+ grid-template-rows: 0.85in 0.2fr 0.4fr auto;
+ gap: 0px 0px;
+ grid-template-areas:
"header header"
"bio aside"
"world aside"
- "footer footer";
+ "footer footer";
}
a {
@@ -217,7 +218,6 @@ a:focus {
}
@media only screen and (min-width: 768px) and (max-width: 900px) {
-
/* tablets and desktop */
.page {
width: 100%;
@@ -233,6 +233,10 @@ a:focus {
grid-template-columns: auto;
}
+ .theme:focus, .theme:active, .theme:hover {
+ max-width: 0.25in;
+ }
+
.copyright {
text-align: center;
}
@@ -244,7 +248,6 @@ a:focus {
}
@media only screen and (max-width: 767px) {
-
/* phones */
.page {
width: 100%;
@@ -252,12 +255,27 @@ a:focus {
margin: 0;
padding: 0.25in;
box-shadow: none;
+ display: grid;
+ grid-template-columns: 1fr;
+ grid-template-rows: 0.85in 0.2fr 0.4fr auto;
+ gap: 0px 0px;
+ grid-template-areas:
+ "header"
+ "aside"
+ "bio"
+ "world"
+ "footer";
+ }
+
+ .theme:focus, .theme:active {
+ max-width: 0.25in;
}
.bio {
grid-template-columns: none;
grid-template-rows: 2.5in 1fr;
place-items: center;
+ padding: 0;
}
.avatar {
@@ -280,4 +298,4 @@ a:focus {
text-align: center;
grid-row: 1;
}
-}
\ No newline at end of file
+}