File tree Expand file tree Collapse file tree 6 files changed +63
-8
lines changed Expand file tree Collapse file tree 6 files changed +63
-8
lines changed Original file line number Diff line number Diff line change 1
1
.es-button {
2
2
background-color : var (--color-orange );
3
+ border-radius : 4px ;
3
4
color : var (--color-light );
4
- font-size : var (--text-preset-2 );
5
+ font-size : 24px ; /* buttons have to have this size if they are on the orange background */
6
+ padding-bottom : 0.5rem ;
5
7
padding-left : 1.5rem ;
6
8
padding-right : 1.5rem ;
7
9
padding-top : 0.5rem ;
8
- padding-bottom : 0.5rem ;
9
- border-radius : 4px ;
10
+ text-decoration : none;
11
+ }
12
+ .es-button-secondary {
13
+ font-size : 24px ; /* should match the primary button, we can abstract a base button class later */
14
+ background-color : transparent;
10
15
}
16
+
11
17
.link-as-button {
18
+ color : inherit;
19
+ position : relative;
12
20
text-decoration : none;
21
+ z-index : 0 ;
22
+ }
23
+ .link-as-button : after {
24
+ background-color : # E04E39 ;
25
+ bottom : 8% ;
26
+ content : " " ;
27
+ display : inline-block;
28
+ height : 24% ;
29
+ left : 0 ;
30
+ position : absolute;
31
+ top : auto;
32
+ transform : scaleY (1 );
33
+ width : 100% ;
34
+ z-index : -1 ;
13
35
}
14
36
15
37
.es-button-icon {
16
38
background-color : transparent;
17
39
border-color : transparent;
18
40
}
41
+
42
+ .es-button + .es-button-secondary {
43
+ @media screen and (min-width : 992px ){
44
+ margin-left : 20px ;
45
+ }
46
+
47
+ }
Original file line number Diff line number Diff line change 1
1
.es-page-header {
2
- padding-top : 4 .5rem ;
2
+ padding-top : 1 .5rem ;
3
3
padding-bottom : 4.5rem ;
4
4
background-image : url ('/images/pattern-1.svg' );
5
5
background-repeat : no-repeat;
Original file line number Diff line number Diff line change 51
51
margin : 0 0 2rem 0 ;
52
52
}
53
53
54
- @media (max-width : 1280px ) and (min-width : 421px ) {
54
+ h1 , h2 {
55
+ min-width : 100% ;
56
+ }
57
+
58
+ @media (max-width : 1280px ) and (min-width : 421px ) {
59
+ /* TODO this media query is incorrect - CSS should be mobile-first */
55
60
body ,
56
61
html {
57
62
Original file line number Diff line number Diff line change 321
321
.padding-right-xlarge {
322
322
padding-right : var (--spacing-5 );
323
323
}
324
+
325
+ .margin-bottom-small , .margin-bottom-2rem {
326
+ margin-bottom : 2rem ;
327
+ }
Original file line number Diff line number Diff line change 1
1
.container {
2
- padding : var (--spacing-4 ) 0 ;
2
+ padding : var (--spacing-3 ) 0 ;
3
3
margin : 0 auto;
4
4
width : var (--max-width );
5
5
}
30
30
width : 50% ;
31
31
margin : 0 2rem ;
32
32
}
33
-
33
+ .half {
34
+ width : 50% ;
35
+ }
36
+ .center-block {
37
+ margin : 0 auto;
38
+ }
34
39
.col-one-third {
35
40
width : 30.3% ;
36
41
margin : 0 2rem ;
45
50
}
46
51
}
47
52
53
+ section {
54
+ display : flex;
55
+ flex-flow : row wrap;
56
+ & .full {
57
+ min-width : 100% ;
58
+ }
59
+ }
Original file line number Diff line number Diff line change 55
55
font-size : var (--text-preset-1 );
56
56
}
57
57
58
- .small , p {
58
+ .small , p { /* TODO this isn't going to work for A11y */
59
59
font-size : var (--text-preset-2 );
60
60
}
61
61
99
99
.text-light {
100
100
color : var (--color-light );
101
101
}
102
+
103
+ .text-intro {
104
+ font-size : 1.5em ;
105
+ margin-bottom : 6vh ;
106
+ }
You can’t perform that action at this time.
0 commit comments