From 0c1597ebde2a41964d77547d5b1d7f00cd9402b6 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sat, 7 Oct 2017 18:48:57 +0300 Subject: examples/dashboard/dashboard.css: merge duplicate selector. --- docs/4.0/examples/dashboard/dashboard.css | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'docs/4.0/examples') diff --git a/docs/4.0/examples/dashboard/dashboard.css b/docs/4.0/examples/dashboard/dashboard.css index a59005148..ca7135b08 100644 --- a/docs/4.0/examples/dashboard/dashboard.css +++ b/docs/4.0/examples/dashboard/dashboard.css @@ -27,18 +27,12 @@ h1 { bottom: 0; left: 0; z-index: 1000; - padding: 20px; + padding: 20px 0; overflow-x: hidden; overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */ border-right: 1px solid #eee; } -/* Sidebar navigation */ -.sidebar { - padding-right: 0; - padding-left: 0; -} - .sidebar .nav { margin-bottom: 20px; } -- cgit v1.2.3 From a8fb64f3e3b7c9a8763ea89aea85082b1a073ef6 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sat, 7 Oct 2017 19:16:49 +0300 Subject: Lint examples' CSS too. --- docs/4.0/examples/.stylelintrc | 12 ++++++++++++ docs/4.0/examples/blog/blog.css | 18 ++++++++++++------ 2 files changed, 24 insertions(+), 6 deletions(-) create mode 100644 docs/4.0/examples/.stylelintrc (limited to 'docs/4.0/examples') diff --git a/docs/4.0/examples/.stylelintrc b/docs/4.0/examples/.stylelintrc new file mode 100644 index 000000000..44cf7c0e0 --- /dev/null +++ b/docs/4.0/examples/.stylelintrc @@ -0,0 +1,12 @@ +{ + "extends": "../../../build/.stylelintrc", + "rules": { + "at-rule-no-vendor-prefix": null, + "comment-empty-line-before": null, + "media-feature-name-no-vendor-prefix": null, + "property-no-vendor-prefix": null, + "selector-no-qualifying-type": null, + "selector-no-vendor-prefix": null, + "value-no-vendor-prefix": null + } +} diff --git a/docs/4.0/examples/blog/blog.css b/docs/4.0/examples/blog/blog.css index 6eda0a7b1..0f319ec92 100644 --- a/docs/4.0/examples/blog/blog.css +++ b/docs/4.0/examples/blog/blog.css @@ -13,12 +13,18 @@ body { color: #555; } -h1, .h1, -h2, .h2, -h3, .h3, -h4, .h4, -h5, .h5, -h6, .h6 { +h1, +.h1, +h2, +.h2, +h3, +.h3, +h4, +.h4, +h5, +.h5, +h6, +.h6 { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 400; color: #333; -- cgit v1.2.3