File tree Expand file tree Collapse file tree 2 files changed +31
-7
lines changed Expand file tree Collapse file tree 2 files changed +31
-7
lines changed Original file line number Diff line number Diff line change 29
29
transform : translateX (-50% ) translateY (100% );
30
30
}
31
31
32
-
33
32
.hero-txt {
34
33
justify-content : center ;
35
34
text-align : center ;
@@ -40,12 +39,11 @@ body {
40
39
}
41
40
42
41
.hero-title {
43
- font-size : 1.8 rem ;
42
+ font-size : 2.5 rem ;
44
43
}
45
44
46
45
.hero-over-title {
47
46
text-transform : uppercase ;
48
- font-size : smaller ;
49
47
padding-bottom : 1rem ;
50
48
}
51
49
@@ -63,19 +61,28 @@ hr.separator-line {
63
61
}
64
62
65
63
/// / CONTENT THINGS
64
+ // text-container -> intro + 3 card chapters + about us
66
65
// cards (grid) -> card (flex) -> card Content (See below)
67
66
68
67
.text-container {
69
- margin-top : 20vh ;
68
+ max-width : 80% ;
69
+ margin : 15vh auto ;
70
+ // margin: auto;
71
+ }
72
+
73
+ .intro {
74
+ padding : 0 19vw 15vh 20vw ;
75
+ font-size : larger ;
76
+ // padding-bottom: 15vh;
70
77
}
71
78
72
79
.cards {
73
- max-width : 80% ;
74
- margin : 2vw auto ;
80
+ // @include content-layout;
75
81
display : grid ;
76
82
grid-gap : 1rem ;
77
83
grid-template-columns : repeat (auto-fit , minmax (300px , 1fr ));
78
84
// ^ make it responsive without mediaqueries:
85
+ margin-bottom : 15vh ;
79
86
}
80
87
81
88
.card {
@@ -104,9 +111,11 @@ hr.separator-line {
104
111
align-items : center ;
105
112
justify-content : flex-start ;
106
113
}
114
+
107
115
.card-title {
108
116
padding-left : 1em ;
109
117
}
118
+
110
119
.course-appetite {
111
120
color : $DJSacqua ;
112
121
}
@@ -120,6 +129,14 @@ hr.separator-line {
120
129
padding : 1em ;
121
130
}
122
131
132
+ // styling elements
133
+
123
134
ul {
124
135
list-style : outside " \2043 " + " " ;
125
136
}
137
+
138
+ .accented {
139
+ // color: $DJSacqua;
140
+ color : $DJSsunshine ;
141
+ // font-weight: bold;
142
+ }
Original file line number Diff line number Diff line change 90
90
</ section >
91
91
92
92
< section class ="text-container ">
93
+ < div class ="intro ">
94
+ Plain ('vanilla') JavaScript goes a long way in adding interactivy and a nice, dynamic user interface in Rails apps.
95
+ As a Rails developer, you don't need to be a JavaScript ninja to achieve some nice JavaScript sprinkles in your Rails views.
96
+ Just learn the few < span class ="accented "> most useful parts of JavaScript for Rails development</ span > . Follow some tried-and-true conventions.
97
+ And find that working with JavaScript in Rails apps can be fun after all.
98
+ </ div >
99
+
100
+ < h2 id ="course-content "> About the Course</ h2 >
93
101
< div class ="cards ">
94
102
< div class ="card " id ="course-content ">
95
103
124
132
< div class ="card-text ">
125
133
<%= yield :pricing %>
126
134
</ div >
127
-
128
135
</ div >
129
136
< div class ="card ">
130
137
< div style ="color: orange "> enroll now
You can’t perform that action at this time.
0 commit comments