Skip to content

Commit 49285db

Browse files
committed
edit style
1 parent 1fbb2fa commit 49285db

1 file changed

Lines changed: 0 additions & 33 deletions

File tree

Wireframe/style.css

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ header {
99
--line: 1px solid;
1010
--container: 1280px;
1111
}
12-
/* ====== Base Elements ======
13-
General rules for basic HTML elements in any context */
1412
body {
1513
background: var(--paper);
1614
color: var(--ink);
@@ -26,37 +24,6 @@ svg {
2624
width: 100%;
2725
object-fit: cover;
2826
}
29-
/* ====== Site Layout ======
30-
Setting the overall rules for page regions
31-
https://www.w3.org/WAI/tutorials/page-structure/regions/
32-
*/
33-
main {
34-
max-width: var(--container);
35-
margin: 0 auto calc(var(--space) * 4) auto;
36-
}
37-
footer {
38-
text-align: center;
39-
}
40-
/* ====== Articles Grid Layout ====
41-
Setting the rules for how articles are placed in the main element.
42-
Inspect this in Devtools and click the "grid" button in the Elements view
43-
Play with the options that come up.
44-
https://developer.chrome.com/docs/devtools/css/grid
45-
https://gridbyexample.com/learn/
46-
*/
47-
main {
48-
display: grid;
49-
grid-template-columns: 1fr 1fr;
50-
gap: var(--space);
51-
> *:first-child {
52-
grid-column: span 2;
53-
}
54-
}
55-
/* ====== Article Layout ======
56-
Setting the rules for how elements are placed in the article.
57-
Now laying out just the INSIDE of the repeated card/article design.
58-
Keeping things orderly and separate is the key to good, simple CSS.
59-
*/
6027
article {
6128
border: var(--line);
6229
padding-bottom: var(--space);

0 commit comments

Comments
 (0)