From 729ca982e6e53317b60d431ddfd9e3f7ff05aa83 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Sun, 13 Mar 2016 12:25:14 +0800 Subject: update demo page --- src/tables.less | 21 +++++++++++---------- src/typography.less | 8 +++++++- 2 files changed, 18 insertions(+), 11 deletions(-) (limited to 'src') diff --git a/src/tables.less b/src/tables.less index c819904..d212baa 100644 --- a/src/tables.less +++ b/src/tables.less @@ -1,14 +1,15 @@ // Tables table { width: 100%; -} -th, -td { - text-align: left; - padding: 1rem .5rem; - border-bottom: .1rem solid @core-border-color; - background-color: #fff; -} -th { - border-color: darken(@core-border-color, 10%); + + th, + td { + text-align: left; + padding: 1.5rem 1rem; + border-bottom: .1rem solid @core-border-color; + background-color: #fff; + } + th { + border-color: darken(@core-border-color, 10%); + } } \ No newline at end of file diff --git a/src/typography.less b/src/typography.less index e3a8d37..a15b132 100644 --- a/src/typography.less +++ b/src/typography.less @@ -38,6 +38,7 @@ p { blockquote { padding: 1rem 2rem; border-left: 2px solid #ddd; + margin-left: 0; p:last-child { margin-bottom: 0; @@ -92,11 +93,16 @@ blockquote { ul, ol { + margin: 0 0 1rem; + ul, ol { margin-left: 2rem; } - margin: 0 0 1rem; + + li { + margin-top: 1rem; + } } ul { list-style: disc inside; -- cgit v1.3.1-23-gd82d