diff --git a/www/components/card/card.css b/www/components/card/card.css index a0fe490a3..045187144 100644 --- a/www/components/card/card.css +++ b/www/components/card/card.css @@ -1,54 +1,15 @@ :host { - - & .card { - padding: 2.5rem; - position: relative; - display: flex; - flex-direction: column; - min-width: 0; - word-wrap: break-word; - background-color: #fff; - background-clip: initial; - text-align: center; - - @media(max-width:768px) { - padding:0; - } - - & .body { - padding:10px; - } - } - - - & .card-xs { - margin: 0.25rem; - flex: 1 1 16.666%; - max-width: 250px; - - @media (max-width: 1024px) { - max-width: 100%; - } - } - & .card-sm { - margin: 0.25rem; - flex: 1 1 25%; - max-width: 380px; - - @media (max-width: 1024px) { - max-width: 100%; - } - } - & .card-md { - margin: 0.25rem; - flex: 1 1 33.333%; - max-width: 450px; - - @media (max-width: 1024px) { - max-width: 100%; - } - } - & .card-full { + position: relative; + display: flex; + flex-direction: column; + min-width: 0; + word-wrap: break-word; + background-color: #fff; + background-clip: initial; + text-align: center; + + & slot { + padding: 10px; margin: 0.25rem; flex: 1 1 33.333%; } @@ -57,9 +18,10 @@ background-size: cover; background-position-x: center; background-position-y: center; + & img { width: 100%; max-width: 200px; } } -} \ No newline at end of file +} diff --git a/www/components/card/card.js b/www/components/card/card.js index 3eb77bdce..34921d230 100644 --- a/www/components/card/card.js +++ b/www/components/card/card.js @@ -43,18 +43,11 @@ class Card extends LitElement { render() { return html` - -
To us, webpack is more than a module bundler, it's an entire development ecosystem! We use webpack under the hood to power the development workflow and to help generate a performant site for you with the power of tools like Babel and PostCSS. The best part? You don't have to know anything about that! Greenwood handles all the configuration and optimizations for you, so you can be sure that your users will get the best experience possible, and as a developer, so will you.
+Do we love Web Components? You bet we do! In fact, it's one of many things we love about the modern web, including other features like Modules, FlexBox and CSS Grid, Fetch API, and more! It's all there for you in the browser, and with Greenwood, we make sure all those features will work for all your users. Sit back and write the modern code you want and Greenwood will take care of the rest.
+Although Greenwood generates a static site that you can host just about anywhere (Netlify, S3, Apache, etc), for developing and building your site Greenwood requires NodeJS to be available on the command line. This allows us to tap into all the amazing web development tools and libraries available on npm and also means you can use those packages too when developing your own site! Greenwood will aim to support the latest LTS release of NodeJS and the version of npm that comes with.
+