Skip to content

Commit 754989c

Browse files
committed
moves comments to be inline
1 parent 605f93a commit 754989c

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed

src/baseline.css

+10-15
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,20 @@
11
/*
2-
Comment-A: rem for left-right, for consistent alignment.
3-
em for top/bottom, so the spacing is relative to font-size
4-
5-
Comment-D:
6-
Set the font-size w/ calc and use rem. This way, the font-size can scale up as the browser window gets larger, but it also doesn't get ridiculously hard to read when the browser window shrinks
7-
Comment-E:
8-
increases margin as screen width gets smaller
2+
Comment-A: rem for left-right, for consistent alignment.
3+
em for top/bottom, so the spacing is relative to font-size
94
*/
105
:root {
116
/* Color Palette
127
Variables follow convention found here: https://codepen.io/paceaux/pen/XdxQza
138
Color is a dark, dark gray rgb (55, 55, 55). All grays and base line styles are multiples of this
149
Using a "base value", all colors are a multiple of 55
1510
*/
16-
--colorNeutralDarker: rgb(55,55,55); /*base: #373737; hsl(22%, 22%, 22%) */
11+
--colorNeutralDarker: rgb(55,55,55); /*base: #373737; hsl(22%, 22%, 22%) */
1712
--colorNeutralDark: rgb(110,110,110); /* base * 2: #6e6e6e; hsl(0, 0%, 43%) */
18-
--colorNeutral: rgb(165,165,165); /* base * 3: #a5a5a5; hsl(0, 0%, 65%) */
19-
--colorNeutralLight: rgb(192.5,192.5,192.5); /*base * 3.5: #c1c1c1; hsl(0, 0%, 75%) */
20-
--colorNeutralLighter: rgb(220,220,220); /* base * 4: #dcdcdc; hsl(0, 0%, 86%) */
21-
--colorCool: rgb(110,165,220); /* #6ea5dc; hsl(210, 61%, 65%); */
22-
--colorCoolDarker: rgb(110,165,193); /* #6ea5c1; hsl (200,40%,59%) */
13+
--colorNeutral: rgb(165,165,165); /* base * 3: #a5a5a5; hsl(0, 0%, 65%) */
14+
--colorNeutralLight: rgb(192.5,192.5,192.5); /*base * 3.5: #c1c1c1; hsl(0, 0%, 75%) */
15+
--colorNeutralLighter: rgb(220,220,220); /* base * 4: #dcdcdc; hsl(0, 0%, 86%) */
16+
--colorCool: rgb(110,165,220); /* #6ea5dc; hsl(210, 61%, 65%); */
17+
--colorCoolDarker: rgb(110,165,193); /* #6ea5c1; hsl (200,40%,59%) */
2318

2419
/* Colors
2520
Variables follow convention found here: https://gist.github.com/paceaux/8638765e747f5bd6387b721cde99e066#sassscssstylus-naming
@@ -58,7 +53,7 @@ Comment-E:
5853
html {
5954
color: #373737;
6055
color: var(--baseTextColor);
61-
font-size: calc(.5vw + 1rem); /*Comment-D*/
56+
font-size: calc(.5vw + 1rem); /*the font-size can scale up as the browser window gets larger, but doesn't get hard to read when the browser window shrinks*/
6257
line-height: 1.168;
6358
line-height: var(--baseLineHeight);
6459
}
@@ -99,7 +94,7 @@ h6 {
9994
font-weight: bold;
10095
line-height: 1.2;
10196
line-height: var(--smallLineHeight);
102-
margin-bottom: calc(1.618vmin - 1vmax + .35em); /*Comment-E*/
97+
margin-bottom: calc(1.618vmin - 1vmax + .35em); /* increases margin as screen width gets smaller */
10398
}
10499

105100
h1 {

0 commit comments

Comments
 (0)