Skip to content

Commit 4a57ddf

Browse files
committed
style fixes
1 parent 882b714 commit 4a57ddf

21 files changed

+1458
-1460
lines changed

README.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
# CodeRoad Site
22

33
Landing page for CodeRoad: interactive coding tutorials in your editor.
4+
5+
[Learn more](https://coderoad.github.io).

_config.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,13 @@ social:
5050
#forumbee:
5151
#tripadvisor:
5252
#amazon:
53-
53+
languages:
54+
- Javascript:
55+
name: JS
56+
icon: javascript-plain.svg
57+
- Python:
58+
name: Python
59+
icon: python-original.svg
5460

5561
# Build settings
5662
markdown: kramdown

_includes/language-icon.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<li>
2+
<span class="icon">
3+
<img alt="{{include.language}}"
4+
src="images/devicons/{{include.icon}}"
5+
height="75px" />
6+
</span>
7+
</li>

_includes/modal.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<div id="{{include.id}}" class="modal">
2+
<div id="btn-close-modal" class="close-{{include.id}}">
3+
<img src="css/images/close.svg" alt="close" height="35px"/>
4+
</div>
5+
<div class="modal-content">
6+
<h3>{{include.title}}</h3>
7+
<img alt="{{include.title}}" height="450px"
8+
src="images/{{include.image}}" />
9+
</div>
10+
</div>

_includes/tutorial-list.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!-- Tutorial List -->
2+
<ul class="features">
3+
{% for tutorial in site.categories.tutorials reversed %}
4+
<li>
5+
<h3>
6+
<span style="color: yellow">{{tutorial.language}}</span> {{tutorial.title}}
7+
</h3>
8+
<p>{{tutorial.content}}</p>
9+
</li>
10+
{% endfor %}
11+
</ul>

0 commit comments

Comments
 (0)