How to use the linaria/react.styled.h3 function in linaria

To help you get started, we’ve selected a few linaria examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github kitten / didsmoosh / src / components / ThinHeader.js View on Github external
display: flex;
  flex-direction: column;
  justify-content: center;

  @media (min-width: 768px) {
    z-index: 2;
    position: fixed;
    bottom: 0;
    right: 0;
    top: 0;
    width: 45vw;
    height: 6rem;
  }
`;

const Info = styled.h3`
  font-weight: 800;
  letter-spacing: 0.2rem;
  font-size: 2.1rem;
  line-height: 2.1rem;
  text-transform: uppercase;
  text-align: right;
  padding: 0 2rem;
  color: #fff;
`;

const NavWrapper = styled.div`
  display: flex;
  flex-direction: column;
  justify-content: center;

  min-width: 100%;
github kitten / didsmoosh / src / pages / past-events.js View on Github external
&:nth-child(2) {
      margin-right: 0;
    }
  }

  @media (min-width: 768px) {
    flex-basis: 33.33%;
    margin-right: 1.5rem;

    &:nth-child(3) {
      margin-right: 0;
    }
  }
`;

const Info = styled.h3`
  font-weight: 600;
  letter-spacing: 0.1rem;
  line-height: 3.9rem;
  font-size: 3.75rem;
  margin-bottom: 2rem;

  @media (max-width: 768px) {
    font-size: 2.2rem;
    line-height: 1.25;
  }
`;

const query = graphql`
  query {
    images: allFile(
      filter: { relativePath: { glob: "april-2018/*.jpg" } }
github kitten / didsmoosh / src / components / PastEvent.js View on Github external
@media (min-width: 400px and max-width: 768px) {
    flex-basis: 50%;
    margin-right: 1.5rem;

    &:nth-child(2) {
      margin-right: 0;
    }
  }

  @media (min-width: 768px) {
    flex-basis: 33.33%;
    margin-right: 1.5rem;
  }
`;

const Info = styled.h3`
  font-weight: 600;
  letter-spacing: 0.1rem;
  line-height: 3.9rem;
  font-size: 3.75rem;
  margin-bottom: 2rem;

  @media (max-width: 768px) {
    font-size: 2.2rem;
    line-height: 1.25;
  }
`;

export const query = graphql`
  fragment PastEventImageFragment on FileConnection {
    edges {
      node {
github callstack / react-native-paper / docs / pages / src / Showcase.js View on Github external
);
            })}
          
        
      
    );
  }
}

const Container = styled.div`
  width: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
`;

const AppName = styled.h3`
  font-size: 16px;
  margin-top: 0;
  margin-bottom: 12px;
`;

const Gallery = styled.div`
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  min-width: 0;
  margin: 32px -16px;

  @media (max-width: 680px) {
    justify-content: center;
  }
`;
github kitten / didsmoosh / src / components / HeroLayout / Content.js View on Github external
import { styled } from 'linaria/react';

import { Spacer } from './common';

const Wrapper = styled.div`
  flex-grow: 1;
  padding: 3rem;
  background: #fff;

  @media (max-width: 768px) {
    border-bottom: 1px solid #e0d6eb;
    padding: 1rem;
  }
`;

const Info = styled.h3`
  font-weight: 600;
  letter-spacing: 0.1rem;
  line-height: 3.9rem;
  font-size: 3.75rem;

  @media (max-width: 768px) {
    font-size: 2.2rem;
    line-height: 1.25;
  }
`;

const Description = styled.p`
  font-size: 1.5rem;
  letter-spacing: 0.08rem;
  margin: 2.7rem 0;
github kitten / didsmoosh / src / components / TextLayout.js View on Github external
@media (max-width: 768px) {
          font-size: 1.2rem;
          letter-spacing: 0.04rem;
        }
      }
    }
  }
`;

const TextLayout = ({ children }) => (
  
    {children}
  
);

const Heading = styled.h3`
  position: relative;
  margin-left: -0.25rem;
  font-size: 4.75rem;
  line-height: 7.25rem;
  font-weight: 800;
  letter-spacing: 0.7rem;
  text-transform: uppercase;

  @media (max-width: 768px) {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  &:before {
    display: block;
    content: '';