Summary Files Commits Branches @commit @diff @stats
path: root / docs / src / contents / avatars.pug
diff options
context:
space:
mode:
Commit0c2eedf551cb7d3c2ad6c3a5e7f35ef6a1ac655c (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2018-06-10 08:13:26 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2018-06-10 08:13:26 +0800
Files2ebf03ea05928549ec510216ef78c8692f78fd38 /docs/src/contents/avatars.pug
Spectre-Dark-Gruvbox-0c2eedf551cb7d3c2ad6c3a5e7f35ef6a1ac655c.tar
Spectre-Dark-Gruvbox-0c2eedf551cb7d3c2ad6c3a5e7f35ef6a1ac655c.tar.gz
Spectre-Dark-Gruvbox-0c2eedf551cb7d3c2ad6c3a5e7f35ef6a1ac655c.zip
Parente7d4b2bb3ada5030f0271c315870749dd889347d (diff)
Update Docs and add Calendar code
1 files changed, 15 insertions, 12 deletions
-rw-r--r--docs/src/contents/avatars.pug27
diff --git a/docs/src/contents/avatars.pug b/docs/src/contents/avatars.pug
index 2e9886c..4e345c6 100644
--- a/docs/src/contents/avatars.pug
+++ b/docs/src/contents/avatars.pug
@@ -28,6 +28,21 @@ p
| Add the #[code avatar] class and avatar size class to #{'<div>'} element.
| The #[code data-initial] attribute is the name appear inside the avatar.
+pre.code(data-lang='HTML')
+ code
+ :highlight(lang="html")
+ <!-- Basic avatar examples -->
+ <figure class="avatar avatar-xl">
+ <img src="img/avatar-1.png" alt="...">
+ </figure>
+
+ <figure class="avatar avatar-xl" data-initial="YZ" style="background-color: #5755d9;"></figure>
+
+ <!-- Show initals when avatar image is unavailable or not fully loaded -->
+ <figure class="avatar avatar-xl" data-initial="YZ" style="background-color: #5755d9;">
+ <img src="img/avatar-1.png" alt="...">
+ </figure>
+
.docs-demo.columns
.column.col-6.col-xs-12
figure.avatar.avatar-xl
@@ -49,22 +64,10 @@ p
pre.code(data-lang='HTML')
code
:highlight(lang="html")
- <!-- Basic avatar examples -->
- <figure class="avatar avatar-xl">
- <img src="img/avatar-1.png" alt="...">
- </figure>
-
<figure class="avatar avatar-xl">
<img src="img/avatar-1.png" alt="...">
<img src="img/avatar-5.png" class="avatar-icon" alt="...">
</figure>
-
- <figure class="avatar avatar-xl" data-initial="YZ" style="background-color: #5755d9;"></figure>
-
- <!-- Show initals when avatar image is unavailable or not fully loaded -->
- <figure class="avatar avatar-xl" data-initial="YZ" style="background-color: #5755d9;">
- <img src="img/avatar-1.png" alt="...">
- </figure>
.docs-demo.columns
.column.col-6.col-xs-12