File tree Expand file tree Collapse file tree 6 files changed +59
-12
lines changed Expand file tree Collapse file tree 6 files changed +59
-12
lines changed Original file line number Diff line number Diff line change 10
10
@import "components/es-card.css" ;
11
11
@import "components/es-footer.css" ;
12
12
@import "components/es-header.css" ;
13
+ @import "components/es-list.css" ;
13
14
@import "components/es-navbar.css" ;
14
15
@import "components/es-page-header.css" ;
15
16
@import "components/es-tabs.css" ;
17
+
Original file line number Diff line number Diff line change
1
+ .es-list {
2
+ list-style : none;
3
+ display : flex;
4
+ flex-flow : row wrap;
5
+ justify-content : space-around;
6
+ }
7
+
8
+ /* TODO not sure how to write this in the style this project is now using */
9
+
10
+ /* .es-list-images {
11
+ & img {
12
+ max-width: 50%;
13
+ & @media screen and (min-width: 992px) {
14
+ max-width: 125px;
15
+ height: auto;
16
+ }
17
+ }
18
+ } */
Original file line number Diff line number Diff line change 24
24
--spacing-4 : 16rem ;
25
25
--spacing-5 : 24rem ;
26
26
}
27
+ * , * : after {
28
+ box-sizing : border-box;
29
+ }
27
30
28
31
body , html {
29
32
margin : 0 ;
30
33
padding : 0 ;
31
34
font-family : "Source Sans Pro" , sans-serif;
32
- font-size : 18px ;
35
+ font-size : 18px ;
33
36
line-height : 1.5 ;
34
37
}
35
38
53
56
54
57
h1 , h2 {
55
58
min-width : 100% ;
59
+ line-height : 1 ;
56
60
}
57
61
58
- @media (max-width : 1280px ) and (min-width : 421px ) {
62
+ @media (max-width : 1280px ) and (min-width : 421px ) {
59
63
/* TODO this media query is incorrect - CSS should be mobile-first */
60
64
body ,
61
65
html {
Original file line number Diff line number Diff line change 325
325
.margin-bottom-small , .margin-bottom-2rem {
326
326
margin-bottom : 2rem ;
327
327
}
328
+
329
+ .margin-bottom-small , .margin-bottom-narrow {
330
+ margin-bottom : 2rem ;
331
+ }
332
+
333
+ .margin-left-small , .margin-left-narrow {
334
+ margin-left : 2rem ;
335
+ }
336
+
337
+
338
+ /* if we name the modifiers the same as a word or google doc would use for page layout, it's more intuitive */
339
+ /* TODO we can adjust these, I'm more putting these here because I need them in general */
340
+ .padding-sides-normal {
341
+ padding-left : 0.5em ;
342
+ padding-right : 0.5em ;
343
+ }
344
+ .padding-sides-narrow {
345
+ padding-left : 0.25em ;
346
+ padding-right : 0.25em ;
347
+ }
348
+ .padding-sides-wide {
349
+ padding-left : 1em ;
350
+ padding-right : 1em ;
351
+ }
Original file line number Diff line number Diff line change 6
6
7
7
.row {
8
8
display : flex;
9
- margin-left : -2rem ;
10
- margin-right : -2rem ;
11
- flex-wrap : wrap;
12
- margin-bottom : 4rem ;
9
+ flex-flow : row wrap;
10
+ margin-bottom : 2rem ;
13
11
}
14
12
15
13
.row > .col {
40
38
width : 30.3% ;
41
39
margin : 0 2rem ;
42
40
}
43
-
41
+ .one-third {
42
+ width : 33.3333% ;
43
+ }
44
44
@media (max-width : 576px ) {
45
45
.row {
46
46
flex-direction : column;
53
53
section {
54
54
display : flex;
55
55
flex-flow : row wrap;
56
+ @media screen and (min-width : 992px ) {
57
+ padding-top : 4em ;
58
+ }
56
59
& .full {
57
60
min-width : 100% ;
58
61
}
Original file line number Diff line number Diff line change 51
51
font-style : italic;
52
52
}
53
53
54
- .xsmall , small {
54
+ .xsmall , small , . small {
55
55
font-size : var (--text-preset-1 );
56
56
}
57
57
58
- .small , p { /* TODO this isn't going to work for A11y */
59
- font-size : var (--text-preset-2 );
60
- }
61
-
62
58
.medium , h3 {
63
59
font-size : var (--text-preset-3 );
64
60
}
You can’t perform that action at this time.
0 commit comments