Skip to content

Commit 0669f8b

Browse files
committed
clear the unnecessary text in style.css
1 parent 86696e8 commit 0669f8b

1 file changed

Lines changed: 4 additions & 18 deletions

File tree

Wireframe/style.css

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
--line: 1px solid;
77
--container: 1280px;
88
}
9-
/* ====== Base Elements ======
10-
General rules for basic HTML elements in any context */
9+
1110
body {
1211
background: var(--paper);
1312
color: var(--ink);
@@ -29,10 +28,7 @@ svg {
2928
width: 100%;
3029
object-fit: cover;
3130
}
32-
/* ====== Site Layout ======
33-
Setting the overall rules for page regions
34-
https://www.w3.org/WAI/tutorials/page-structure/regions/
35-
*/
31+
3632
main {
3733
max-width: var(--container);
3834
margin: 0 auto calc(var(--space) * 4) auto;
@@ -44,13 +40,7 @@ footer {
4440
width: 100%;
4541
text-align: center;
4642
}
47-
/* ====== Articles Grid Layout ====
48-
Setting the rules for how articles are placed in the main element.
49-
Inspect this in Devtools and click the "grid" button in the Elements view
50-
Play with the options that come up.
51-
https://developer.chrome.com/docs/devtools/css/grid
52-
https://gridbyexample.com/learn/
53-
*/
43+
5444
header {
5545
text-align: center;
5646
margin-bottom: var(--space);
@@ -64,11 +54,7 @@ main {
6454
grid-column: span 2;
6555
}
6656
}
67-
/* ====== Article Layout ======
68-
Setting the rules for how elements are placed in the article.
69-
Now laying out just the INSIDE of the repeated card/article design.
70-
Keeping things orderly and separate is the key to good, simple CSS.
71-
*/
57+
7258
article {
7359
border: var(--line);
7460
padding-bottom: var(--space);

0 commit comments

Comments
 (0)