Skip to content

Instantly share code, notes, and snippets.

@FBosler
Created February 8, 2020 14:09
Show Gist options
  • Save FBosler/1c2e407bd6b45583ef5ad040b8f7a32b to your computer and use it in GitHub Desktop.
Save FBosler/1c2e407bd6b45583ef5ad040b8f7a32b to your computer and use it in GitHub Desktop.
Styles for LandingPageImage
import styled from "styled-components";
import { device } from "../../styles/styles";
import { Col, Row, Button } from "react-bootstrap";
export const LandingBackground = styled("div")`
background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("${props => props.url}");
background-position: 10% 50%;
background-size: cover;
border-bottom: grey 1px solid;
height: 200px;
${device.laptop} {
height: 300px;
}
`;
export const LoginButton = styled(Button)`
background: #114b74;
color: #fff;
border-radius: 3px;
padding: 5px 10px;
margin: auto;
border-color: white;
&:hover {
background: #1b791e;
border-color: white;
}
`;
export const ResponsiveHeader2 = styled("h2")`
color: white;
font-size: 1.4rem;
${device.laptop} {
font-size: 2rem;
}
`;
export const ResponsiveHeader4 = styled("h4")`
padding: 20px 0 0 0;
`;
export const ResponsiveParagraph = styled("p")`
color: white;
font-size: 0.7rem;
${device.laptop} {
font-size: 1rem;
}
`;
export const PaddedCol = styled(Col)`
padding: 20px 0 0 0;
`;
export const FullRow = styled(Row)`
margin: 0 !important;
`;
export const VerticalCenterWrapper = styled("div")`
height: 100% !important;
display: flex;
`;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment