Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commit11546fc284eb14287c3210891ae75f3a1601f943 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2016-03-19 17:22:17 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2016-03-19 17:22:17 +0800
Files890e7c0323d8de124ff46a112a3e57ea5b4c53a7
Spectre-Dark-Gruvbox-11546fc284eb14287c3210891ae75f3a1601f943.tar
Spectre-Dark-Gruvbox-11546fc284eb14287c3210891ae75f3a1601f943.tar.gz
Spectre-Dark-Gruvbox-11546fc284eb14287c3210891ae75f3a1601f943.zip
Parent8aeba8efd20982d0bb4f04bf19ef7c258129bd70 (diff)
add blockquote small code
3 files changed, 8 insertions, 0 deletions
-rw-r--r--demo/index.html1
-rw-r--r--dist/spectre.css3
-rw-r--r--src/typography.less4
diff --git a/demo/index.html b/demo/index.html
index b542766..8ea3f8d 100644
--- a/demo/index.html
+++ b/demo/index.html
@@ -29,6 +29,7 @@
<blockquote>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
+ <small>- Source</small>
</blockquote>
<header class="text-center"><h4>lists</h4></header>
diff --git a/dist/spectre.css b/dist/spectre.css
index 3e1f1b4..b30184f 100644
--- a/dist/spectre.css
+++ b/dist/spectre.css
@@ -441,6 +441,9 @@ blockquote {
blockquote p:last-child {
margin-bottom: 0;
}
+blockquote small {
+ color: #b3b3b3;
+}
ul,
ol {
margin: 0 0 1rem;
diff --git a/src/typography.less b/src/typography.less
index d9d4b39..65320a7 100644
--- a/src/typography.less
+++ b/src/typography.less
@@ -43,6 +43,10 @@ blockquote {
p:last-child {
margin-bottom: 0;
}
+
+ small {
+ color: lighten(@body-font-color, 50%);
+ }
}
ul,
ol {