File tree Expand file tree Collapse file tree 6 files changed +55
-21
lines changed Expand file tree Collapse file tree 6 files changed +55
-21
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 23
23
--spacing-4 : 4rem ;
24
24
--max-width : 80rem ;
25
25
}
26
+ * , * : after {
27
+ box-sizing : border-box;
28
+ }
26
29
27
30
body , html {
28
31
margin : 0 ;
@@ -32,10 +35,10 @@ body, html {
32
35
line-height : 1.5 ;
33
36
}
34
37
35
- p {
36
- font-size : var ( --text-preset-2 ) ;
37
- margin : 0 0 0.5 rem 0 ;
38
- font-weight : 300 ;
38
+ p {
39
+ font-size : 1.25 em ;
40
+ font-weight : 400 ;
41
+ margin : 0.25 em 0.5 em ;
39
42
}
40
43
41
44
h1 ,
50
53
51
54
h1 , h2 {
52
55
min-width : 100% ;
56
+ line-height : 1 ;
53
57
}
54
58
55
59
@media (max-width : 1280px ) and (min-width : 421px ) {
@@ -60,12 +64,6 @@ h1, h2 {
60
64
}
61
65
}
62
66
63
- @media (max-width : 520px ) {
64
- body ,
65
- html {
66
-
67
- }
68
- }
69
67
70
68
/* move beyond this point */
71
69
Original file line number Diff line number Diff line change 2
2
width : 100% ;
3
3
}
4
4
5
- .margin-bottom-small , .margin-bottom-2rem {
5
+ .margin-bottom-small , .margin-bottom-narrow {
6
6
margin-bottom : 2rem ;
7
7
}
8
8
9
- .margin-left-small {
9
+ .margin-left-small , . margin-left-narrow {
10
10
margin-left : 2rem ;
11
11
}
12
+
13
+
14
+ /* if we name the modifiers the same as a word or google doc would use for page layout, it's more intuitive */
15
+ /* TODO we can adjust these, I'm more putting these here because I need them in general */
16
+ .padding-sides-normal {
17
+ padding-left : 0.5em ;
18
+ padding-right : 0.5em ;
19
+ }
20
+ .padding-sides-narrow {
21
+ padding-left : 0.25em ;
22
+ padding-right : 0.25em ;
23
+ }
24
+ .padding-sides-wide {
25
+ padding-left : 1em ;
26
+ padding-right : 1em ;
27
+ }
28
+
Original file line number Diff line number Diff line change 6
6
7
7
.row {
8
8
display : flex;
9
- margin-left : -1rem ;
10
- margin-right : -1rem ;
11
- flex-wrap : wrap;
9
+ flex-flow : row wrap;
12
10
margin-bottom : 2rem ;
13
11
}
14
12
40
38
width : 30.3% ;
41
39
margin : 0 1rem ;
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;
56
56
section {
57
57
display : flex;
58
58
flex-flow : row wrap;
59
+ @media screen and (min-width : 992px ) {
60
+ padding-top : 4em ;
61
+ }
59
62
& .full {
60
63
min-width : 100% ;
61
64
}
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