hand JSBloqs
hand GutenBloqs
hand kuworking
What?
nochedía
Card-Instagram
By kuworking
import React from 'react'
import styled from '@emotion/styled'

export default () => {
  return (
    <>
      <link href="https://fonts.googleapis.com/css2?family=Kulim+Park&display=swap" rel="stylesheet"></link>
      <link href="/20201011_iframe.css" type="text/css" rel="stylesheet" />
      <Card id="bloq">
        <div className="text">
          <div className="image">
            <img src="/blocks/bykuworking/badge.svg" />
          </div>
          <div>
            <div className="title">Title</div>
            <div className="author">author</div>
          </div>
        </div>
        <div className="card_image">
          <img src="https://source.unsplash.com/V4EOZj7g1gw/400x600" />
        </div>
        <div className="icons">
          <img src="/blocks/bykuworking/heart.svg" />
          <div></div>
          <img src="/blocks/bykuworking/bookmark.svg" />
        </div>
        <div className="text">
          <div className="description">
            Splash well-earned Sam washing why shape counts passing. Devouring wanton mister hinder Rohan's. Today is my
            111th birthday! Flaming invitations impressive whilst trying regroup blade rid Bar-hrum. Yellowed permitted
            conjurer 1400 Cirith needed. Defiler management crush person rose! Moon tested powerful. Lone-lands animals
            unseen flowing sprite afters lived quiet fairer Arwen's opening. Ragged Oakenshield's brave ears.
            Immediately Trolls otherwise meant tree-herder stick
          </div>
        </div>
      </Card>
    </>
  )
}

const q = u => `@media (min-width: ${u}px)`

const Card = styled.div`
  font-family: 'Kulim Park', sans-serif;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid #dedbd1;
  background: #eeedea;

  .card_image {
    overflow: hidden;
    height: 300px;
    ${q(400)} {
      height: 600px;
    }
    & > img {
      width: 400px;
      height: 600px;
    }
  }

  .text {
    padding: 15px;
    display: flex;
    flex-direction: row;

    .image {
      display: flex;
      align-items: center;
      justify-content: center;

      & img {
        width: 30px;
        height: 30px;
        margin-right: 20px;
      }
    }

    .title {
      font-size: 1.7rem;
      font-weight: 700;
    }
    .author {
      font-size: 1.4rem;
    }
    .description {
      font-size: 1.4rem;
    }
  }

  .icons {
    display: flex;
    width: 100%;
    padding: 15px 15px 0px 15px;

    & > div {
      flex-grow: 1;
    }

    & img {
      width: 25px;
      height: 25px;
    }
  }
`
Privacidad
by kuworking.com
[ 2020 >> kuworking ]