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
fcc9e64b
Commit
fcc9e64b
authored
8 years ago
by
Greg Wilson
Browse files
Options
Downloads
Patches
Plain Diff
Showing off callouts
parent
cdaae7b9
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
+34
-7
34 additions, 7 deletions
_episodes/02-formatting.md
assets/css/lesson.scss
+3
-3
3 additions, 3 deletions
assets/css/lesson.scss
with
37 additions
and
10 deletions
_episodes/02-formatting.md
+
34
−
7
View file @
fcc9e64b
...
...
@@ -174,13 +174,40 @@ This is rendered as:
The
[
lesson template
](
{{
site.template_repo }}) defines styles
for the following special blockquotes:
*
`.callout`
: an aside or other comment.
*
`.challenge`
: an exercise.
*
`.checklist`
: checklists.
*
`.keypoints`
: key points of an episode.
*
`.objectives`
: episode objectives.
*
`.prereq`
: prerequisites.
*
`.testimonial`
: a laudatory quote from a user.
> ## .callout
>
> An aside or other comment.
{: .callout}
> ## `.challenge`
>
> An exercise.
{: .challenge}
> ## `.checklist`
>
> Checklists.
{: .checklist}
> ## `.keypoints`
>
> Key points of an episode.
{: .keypoints}
> ## `.objectives`
>
> Episode objectives.
{: .objectives}
> ## `.prereq`
>
> Prerequisites.
{: .prereq}
> ## `.testimonial`
>
> A laudatory quote from a user.
{: .testimonial}
Most authors will only use
`.callout`
,
`.challenge`
, and
`.prereq`
,
as the others are automatically generated by the template.
...
...
This diff is collapsed.
Click to expand it.
assets/css/lesson.scss
+
3
−
3
View file @
fcc9e64b
...
...
@@ -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
(
#
D4C30B
,
"\e124"
);
}
.prereq
{
@include
bkSetup
(
#
D4C30B
,
"\e240"
);
}
.testimonial
{
@include
bkSetup
(
#
D4C30B
,
"\e067"
);
}
.objectives
{
@include
bkSetup
(
#
9A2EFE
,
"\e124"
);
}
.prereq
{
@include
bkSetup
(
#
FF4000
,
"\e240"
);
}
.testimonial
{
@include
bkSetup
(
#
BFFF00
,
"\e067"
);
}
//----------------------------------------
// 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