feat: added learn page

- added sections to the lesson to handle multiple sesions like examples and exercises
- added livecode integration to lesson pages
- autosave and submiting the answers is not done yet
This commit is contained in:
Anand Chitipothu
2021-05-14 12:11:45 +05:30
parent 1cf57c4823
commit 49b41749e8
12 changed files with 205 additions and 33 deletions

View File

@@ -77,7 +77,7 @@ body {
.lessons {
padding-left: 20px;
}
.lesson {
.lessons .lesson {
margin: 5px 0px;
font-weight: bold;
}
@@ -167,7 +167,7 @@ img.profile-photo {
}
.msger-inputarea {
position: fixed;
position: absolute;
bottom: 0;
width: 100%;
display: flex;

View File

@@ -235,7 +235,7 @@ section.lightgray {
// LiveCode editor
.livecode-editor-large {
.livecode-editor {
.CodeMirror {
border: 1px solid #ddd;
@@ -302,3 +302,7 @@ section.lightgray {
#hero h1 {
color: black !important;
}
.lesson {
margin: 20px 0px 20px 50px;
}