From de34746756979d46d069003c370549fe130530ca Mon Sep 17 00:00:00 2001 From: Sam Li Date: Fri, 30 Sep 2016 13:37:30 +1000 Subject: [PATCH] Update readme to have an inline demo & not include docs (#83) --- README.md | 118 ++++++++++++++++++++++++++++++----------------------- bower.json | 1 - 2 files changed, 66 insertions(+), 53 deletions(-) diff --git a/README.md b/README.md index c16cb51..3e477c9 100644 --- a/README.md +++ b/README.md @@ -1,65 +1,79 @@ - - - [![Build status](https://travis-ci.org/PolymerElements/paper-card.svg?branch=master)](https://travis-ci.org/PolymerElements/paper-card) -_[Demo and API docs](https://elements.polymer-project.org/elements/paper-card)_ - - ##<paper-card> Material design: [Cards](https://www.google.com/design/spec/components/cards.html) `paper-card` is a container with a drop shadow. -Example: - + ```html - - ... + +
+
Cafe Basilico +
+ + 250ft +
+
+
+ + + + + +
+

$・Italian, Cafe

+

Small plates, salads & sandwiches in an intimate setting.

+
+
+
+ + 5:30PM + 7:30PM + 9:00PM + Reserve +
+
``` - -### Accessibility - -By default, the `aria-label` will be set to the value of the `heading` attribute. - -### Styling - -The following custom properties and mixins are available for styling: - -| Custom property | Description | Default | -| --- | --- | --- | -| `--paper-card-background-color` | The background color of the card | `--primary-background-color` | -| `--paper-card-header-color` | The color of the header text | `#000` | -| `--paper-card-header` | Mixin applied to the card header section | `{}` | -| `--paper-card-header-text` | Mixin applied to the title in the card header section | `{}` | -| `--paper-card-header-image` | Mixin applied to the image in the card header section | `{}` | -| `--paper-card-header-image-text` | Mixin applied to the text overlapping the image in the card header section | `{}` | -| `--paper-card-content` | Mixin applied to the card content section | `{}` | -| `--paper-card-actions` | Mixin applied to the card action section | `{}` | -| `--paper-card` | Mixin applied to the card | `{}` | - - diff --git a/bower.json b/bower.json index a42ed3c..d1309b4 100644 --- a/bower.json +++ b/bower.json @@ -11,7 +11,6 @@ "card" ], "main": "paper-card.html", - "private": true, "repository": { "type": "git", "url": "git://github.com/PolymerElements/paper-card.git"