File tree Expand file tree Collapse file tree 1 file changed +87
-83
lines changed Expand file tree Collapse file tree 1 file changed +87
-83
lines changed Original file line number Diff line number Diff line change 1
- hr .divider {
2
- border-top : 1px solid #eaeaea ;
3
- width : 100% ;
4
- margin : 4rem 0 ;
1
+ @import " variables" ;
2
+
3
+ hr {
4
+ & .divider {
5
+ border-top : 1px solid #eaeaea ;
6
+ width : 100% ;
7
+ margin : 4rem 0 ;
8
+ }
5
9
}
6
10
7
11
.title {
8
- margin : 0 ;
9
- line-height : 1.15 ;
10
- font-size : 2.5rem ;
11
- text-align : center ;
12
+ margin : 0 ;
13
+ line-height : 1.15 ;
14
+ font-size : 2.5rem ;
15
+ text-align : center ;
12
16
13
- a {
14
- color : #0070f3 ;
15
- text-decoration : none ;
17
+ a {
18
+ color : #0070f3 ;
19
+ text-decoration : none ;
16
20
17
- & :hover ,
18
- & :focus ,
19
- & :active {
20
- text-decoration : underline ;
21
- }
22
- }
21
+ & :hover ,
22
+ & :focus ,
23
+ & :active {
24
+ text-decoration : underline ;
25
+ }
26
+ }
23
27
}
24
28
25
29
.description {
26
- line-height : 1.5 ;
27
- font-size : 1.5rem ;
28
- text-align : center ;
29
- max-width : 90% ;
30
- margin : 0 auto ;
30
+ line-height : 1.5 ;
31
+ font-size : 1.5rem ;
32
+ text-align : center ;
33
+ max-width : 90% ;
34
+ margin : 0 auto ;
31
35
}
32
36
33
37
.centerText {
34
- text-align : center ;
35
- width : 90% ;
36
- margin : 1.5rem auto ;
38
+ text-align : center ;
39
+ width : 90% ;
40
+ margin : 1.5rem auto ;
37
41
}
38
42
39
43
.grid {
40
- display : flex ;
41
- align-items : center ;
42
- justify-content : center ;
43
- flex-wrap : wrap ;
44
- margin : 3rem auto ;
44
+ display : flex ;
45
+ align-items : center ;
46
+ justify-content : center ;
47
+ flex-wrap : wrap ;
48
+ margin : 3rem auto ;
45
49
}
46
50
47
51
.card {
48
- height : 13rem ;
49
- max-width : 40% ;
50
- margin : 1.5rem ;
51
- flex-basis : 45% ;
52
- padding : 1.5rem ;
53
- text-align : left ;
54
- display : flex ;
55
- align-items : center ;
56
- justify-content : center ;
57
- text-decoration : none ;
58
- border : 2px solid #666 ;
59
- transition : color 0.15s ease , border-color 0.15s ease ;
52
+ height : 13rem ;
53
+ max-width : 40% ;
54
+ margin : 1.5rem ;
55
+ flex-basis : 45% ;
56
+ padding : 1.5rem ;
57
+ text-align : left ;
58
+ display : flex ;
59
+ align-items : center ;
60
+ justify-content : center ;
61
+ text-decoration : none ;
62
+ border : 2px solid #666 ;
63
+ transition : color 0.15s ease , border-color 0.15s ease ;
60
64
61
- & :hover ,
62
- & :focus ,
63
- & :active {
64
- color : #666 ;
65
- border-color : #eaeaea ;
66
- }
65
+ & :hover ,
66
+ & :focus ,
67
+ & :active {
68
+ color : #666 ;
69
+ border-color : #eaeaea ;
70
+ }
67
71
68
- p {
69
- margin : 0 1rem ;
70
- font-size : 1.125rem ;
71
- line-height : 1.5 ;
72
- text-align : center ;
73
- font-weight : bold ;
74
- }
72
+ p {
73
+ margin : 0 1rem ;
74
+ font-size : 1.125rem ;
75
+ line-height : 1.5 ;
76
+ text-align : center ;
77
+ font-weight : bold ;
78
+ }
75
79
}
76
80
77
81
.button {
78
- height : 2.4rem ;
79
- width : 8rem ;
80
- border-radius : 5px ;
81
- background-color : #696969 ;
82
- color : #fff ;
83
- font-size : 0.875rem ;
84
- border : none ;
85
- text-transform : uppercase ;
86
- transition : opacity 0.3s ease ;
82
+ height : 2.4rem ;
83
+ width : 8rem ;
84
+ border-radius : 5px ;
85
+ background-color : #696969 ;
86
+ color : #fff ;
87
+ font-size : 0.875rem ;
88
+ border : none ;
89
+ text-transform : uppercase ;
90
+ transition : opacity 0.3s ease ;
87
91
88
- & :hover {
89
- opacity : 65% ;
90
- cursor : pointer ;
91
- }
92
+ & :hover {
93
+ opacity : 65% ;
94
+ cursor : pointer ;
95
+ }
92
96
}
93
97
94
- @media (min-width : 1024 px ) {
95
- .title {
96
- font-size : 4rem ;
97
- }
98
+ @media (min-width : $desktop-breakpoint ) {
99
+ .title {
100
+ font-size : 4rem ;
101
+ }
98
102
}
99
103
100
104
@media (max-width : 728px ) {
101
- .grid {
102
- width : 100% ;
103
- flex-direction : column ;
104
- margin : 3rem 0 ;
105
- }
105
+ .grid {
106
+ width : 100% ;
107
+ flex-direction : column ;
108
+ margin : 3rem 0 ;
109
+ }
106
110
107
- .card {
108
- max-width : none ;
109
- margin : 0.5rem ;
110
- width : 90% ;
111
- min-height : 7rem ;
112
- }
111
+ .card {
112
+ max-width : none ;
113
+ margin : 0.5rem ;
114
+ width : 90% ;
115
+ min-height : 7rem ;
116
+ }
113
117
}
You can’t perform that action at this time.
0 commit comments