Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
Lesson Template
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
prace-lessons
Lesson Template
Commits
f7d1997c
Commit
f7d1997c
authored
8 years ago
by
Greg Wilson
Browse files
Options
Downloads
Patches
Plain Diff
Better display
parent
fcc9e64b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
_episodes/02-formatting.md
+9
-0
9 additions, 0 deletions
_episodes/02-formatting.md
assets/css/lesson.scss
+3
-3
3 additions, 3 deletions
assets/css/lesson.scss
with
12 additions
and
3 deletions
_episodes/02-formatting.md
+
9
−
0
View file @
f7d1997c
...
...
@@ -174,6 +174,9 @@ This is rendered as:
The
[
lesson template
](
{{
site.template_repo }}) defines styles
for the following special blockquotes:
<div
class=
"row"
>
<div
class=
"col-md-6"
markdown=
"1"
>
> ## .callout
>
> An aside or other comment.
...
...
@@ -194,6 +197,9 @@ for the following special blockquotes:
> Key points of an episode.
{: .keypoints}
</div>
<div
class=
"col-md-6"
markdown=
"1"
>
> ## `.objectives`
>
> Episode objectives.
...
...
@@ -209,6 +215,9 @@ for the following special blockquotes:
> A laudatory quote from a user.
{: .testimonial}
</div>
</div>
Most authors will only use
`.callout`
,
`.challenge`
, and
`.prereq`
,
as the others are automatically generated by the template.
Note that
`.prereq`
is meant for describing things that learners should know before starting this lesson;
...
...
This diff is collapsed.
Click to expand it.
assets/css/lesson.scss
+
3
−
3
View file @
f7d1997c
...
...
@@ -73,9 +73,9 @@ $codeblock-padding: 5px !default;
.challenge
{
@include
bkSetup
(
#3c763d
,
"\270f"
);
}
.checklist
{
@include
bkSetup
(
#D4C30B
,
"\e067"
);
}
.keypoints
{
@include
bkSetup
(
#0B80F0
,
"\e101"
);
}
.objectives
{
@include
bkSetup
(
#9A2EFE
,
"\e
124
"
);
}
.prereq
{
@include
bkSetup
(
#FF4000
,
"\e24
0
"
);
}
.testimonial
{
@include
bkSetup
(
#BFFF00
,
"\e
067
"
);
}
.objectives
{
@include
bkSetup
(
#9A2EFE
,
"\e
085
"
);
}
.prereq
{
@include
bkSetup
(
#FF4000
,
"\e
1
24"
);
}
.testimonial
{
@include
bkSetup
(
#BFFF00
,
"\e
143
"
);
}
//----------------------------------------
// Override Bootstrap settings.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment