+
@@ -63,7 +73,9 @@ import "./GridStyles.css";
Web3 internet on Opera, Vivaldi, Edge, and Firefox.
-
+
diff --git a/src/components/P1/Grid/GridStyles.css b/src/components/P1/Grid/GridStyles.css
index 66b8c60..5e52d1b 100644
--- a/src/components/P1/Grid/GridStyles.css
+++ b/src/components/P1/Grid/GridStyles.css
@@ -1,56 +1,18 @@
-.grid-grid {
+.cards {
+ max-width: 1200px;
+ margin: 10vh auto;
display: grid;
- grid:
- "top-left top-mid top-right" 5% "bot-left bot-mid bot-right" 5% / 25% 25% 25%;
- gap: 44.5% 0.5%;
- margin-block: 15vh;
- grid-auto-flow: row;
- justify-content: center;
- align-content: center;
- justify-items: center;
- align-items: center;
+ gap: 1rem;
}
-.top-left {
- grid-area: top-left;
- padding: 30px;
+@media (width >=600px) {
+ .cards {
+ grid-template-columns: repeat(2, 1fr);
+ }
}
-.top-mid {
- grid-area: top-mid;
- padding: 30px;
-}
-
-.top-right {
- grid-area: top-right;
- padding: 30px;
-}
-
-.bot-left {
- grid-area: bot-left;
- padding: 30px;
-}
-
-.bot-mid {
- grid-area: bot-mid;
- padding: 30px;
-}
-
-.bot-right {
- grid-area: bot-right;
- padding: 30px;
-}
-
-.bordered {
- border: 2px solid transparent;
- border-radius: 5px;
- background-color: var(--blue-charcoal);
- transition: 0.3s;
- margin: 0.5em;
-}
-
-.bordered:hover {
- border: 2px solid var(--aquamarine);
- border-radius: 5px;
- transition: 0.1s;
+@media (width >=900px) {
+ .cards {
+ grid-template-columns: repeat(3, 1fr);
+ }
}
\ No newline at end of file
diff --git a/src/components/P1/Message/MessageStyles.css b/src/components/P1/Message/MessageStyles.css
index 98a59c7..a451276 100644
--- a/src/components/P1/Message/MessageStyles.css
+++ b/src/components/P1/Message/MessageStyles.css
@@ -6,8 +6,7 @@
gap: 7px;
min-height: 237px;
padding: 5% 12%;
- width: 120%;
- margin-left: -1em;
+ width: 100%;
}
.message-header {