File tree 4 files changed +61
-8
lines changed
4 files changed +61
-8
lines changed Original file line number Diff line number Diff line change 1
- < div class ="category grid-whole equalize ">
1
+ < div class ="col s12 category grid-whole equalize ">
2
2
{%- assign category_id = include.structure.id -%}
3
3
{%- assign category = site.data.categories[category_id] %}
4
4
< div class ="heading ">
5
- < h2 >
5
+ < h3 >
6
6
{%- include translate text=category.name language=include.language -%}
7
- </ h2 >
7
+ </ h3 >
8
8
</ div >
9
- < div class ="description ">
9
+ < div class ="category- description ">
10
10
{%- include translate text=category.description language=include.language %}
11
11
</ div >
12
12
{%- if include.structure.structure %}
Original file line number Diff line number Diff line change 2
2
{%- assign tutorial = site.data.tutorials[tutorial_id] %}
3
3
{%- if tutorial["limit-languages-to"] == null or tutorial[tutorial["limit-languages-to"]] contains include.language.id -%}
4
4
< div class ="tutorial col s12 m6 l4 ">
5
- < div class ="card small blue-grey darken-1 ">
5
+ < div class ="card small green ">
6
6
< div class ="card-content white-text ">
7
7
< span class ="card-title ">
8
- < a href ="{% include translate text=tutorial.url language=include.language %} ">
8
+ < a class =" white-text " href ="{% include translate text=tutorial.url language=include.language %} ">
9
9
{%- include translate text=tutorial.title language=include.language -%}
10
10
</ a >
11
11
</ span >
Original file line number Diff line number Diff line change 22
22
< body >
23
23
< header >
24
24
< nav >
25
- < div class ="nav-wrapper ">
25
+ < div class ="nav-wrapper blue ">
26
26
< a href ="{{ page.homepage }} " class ="brand-logo ">
27
27
< img class ="page-logo " src ="{{ page.image | escape }} "/> {{ page.title | escape }}
28
28
</ a >
43
43
< div id ="structure ">
44
44
{%- for language in site.data.languages -%}
45
45
< div class ="show-language show-language-{{ language.id | escape }} " id ="section-{{ language.id | escape }} ">
46
- < div class ="show-language-heading "> {{ language.name | escape }}</ div >
46
+ < h1 class ="show-language-heading "> {{ language.name | escape }}</ div >
47
47
{% include structure.html structure=page.structure language=language %}
48
48
</ div >
49
49
{%- endfor %}
Original file line number Diff line number Diff line change @@ -8,6 +8,59 @@ header .page-logo {
8
8
vertical-align : middle;
9
9
}
10
10
11
+ # nav-mobile {
12
+ margin-right : 20px ;
13
+ }
14
+
15
+ /*******************************************************
16
+ * Typography
17
+ */
18
+
19
+ # description {
20
+ margin : 60px 0px ;
21
+ }
22
+
23
+ .category-description {
24
+ font-size : 18px ;
25
+ margin : 10px 0px ;
26
+ }
27
+
28
+ /*******************************************************
29
+ * colors
30
+ */
31
+
32
+ .orange {
33
+ background-color : # FAA31A !important ;
34
+ }
35
+
36
+ .purple {
37
+ background-color : # 73449B !important ;
38
+ }
39
+
40
+ .green {
41
+ background-color : # 49B749 !important ;
42
+ }
43
+
44
+ .blue {
45
+ background-color : # 0093D5 !important ;
46
+ }
47
+
48
+ .red {
49
+ background-color : # 9B1C20 !important ;
50
+ }
51
+
52
+ .black {
53
+ background-color : # 000000 !important ;
54
+ }
55
+
56
+ .white {
57
+ background-color : # FFFFFF !important ;
58
+ }
59
+
60
+ .red-text {
61
+ color : # 9B1C20 !important ;
62
+ }
63
+
11
64
/*******************************************************
12
65
* footer
13
66
*/
You can’t perform that action at this time.
0 commit comments