There was an error while loading. Please reload this page.
1 parent cdd3d6d commit 45f27bdCopy full SHA for 45f27bd
1 file changed
Wireframe/style.css
@@ -84,21 +84,14 @@ footer {
84
text-align: center;
85
}
86
87
-/* ====== Article Layout ======
88
-Setting the rules for how elements are placed in the article.
89
-Now laying out just the INSIDE of the repeated card/article design.
90
-Keeping things orderly and separate is the key to good, simple CSS.
91
-*/
92
article {
93
border: var(--line);
94
- padding-bottom: var(--space);
95
- text-align: left;
96
- display: grid;
97
- grid-template-columns: var(--space) 1fr var(--space);
98
- > * {
99
- grid-column: 2/3;
100
- }
101
- > img {
102
- grid-column: span 3;
103
+ padding: var(--space);
+ display: flex;
+ flex-direction: column;
+ gap: 15px;
+}
+
+article h2 {
+ margin: 0;
104
0 commit comments