vt-social/app/javascript/flavours/glitch/styles/about.scss

1336 lines
23 KiB
SCSS
Raw Normal View History

2018-02-23 15:22:05 +00:00
$maximum-width: 1235px;
$fluid-breakpoint: $maximum-width + 20px;
$column-breakpoint: 700px;
$small-breakpoint: 960px;
.container {
box-sizing: border-box;
max-width: $maximum-width;
margin: 0 auto;
position: relative;
@media screen and (max-width: $fluid-breakpoint) {
width: 100%;
padding: 0 10px;
}
}
.rich-formatting {
font-family: $font-sans-serif, sans-serif;
font-size: 16px;
font-weight: 400;
font-size: 16px;
line-height: 30px;
color: $darker-text-color;
padding-right: 10px;
a {
color: $highlight-text-color;
text-decoration: underline;
}
p,
li {
font-family: $font-sans-serif, sans-serif;
font-size: 16px;
font-weight: 400;
font-size: 16px;
line-height: 30px;
margin-bottom: 12px;
color: $darker-text-color;
a {
color: $highlight-text-color;
text-decoration: underline;
}
&:last-child {
margin-bottom: 0;
}
}
em {
display: inline;
margin: 0;
padding: 0;
font-weight: 700;
background: transparent;
font-family: inherit;
font-size: inherit;
line-height: inherit;
color: lighten($darker-text-color, 10%);
}
h1 {
font-family: $font-display, sans-serif;
font-size: 26px;
line-height: 30px;
font-weight: 500;
margin-bottom: 20px;
color: $secondary-text-color;
small {
font-family: $font-sans-serif, sans-serif;
display: block;
font-size: 18px;
font-weight: 400;
color: lighten($darker-text-color, 10%);
}
}
h2 {
font-family: $font-display, sans-serif;
font-size: 22px;
line-height: 26px;
font-weight: 500;
margin-bottom: 20px;
color: $secondary-text-color;
}
h3 {
font-family: $font-display, sans-serif;
font-size: 18px;
line-height: 24px;
font-weight: 500;
margin-bottom: 20px;
color: $secondary-text-color;
}
h4 {
font-family: $font-display, sans-serif;
font-size: 16px;
line-height: 24px;
font-weight: 500;
margin-bottom: 20px;
color: $secondary-text-color;
}
h5 {
font-family: $font-display, sans-serif;
font-size: 14px;
line-height: 24px;
font-weight: 500;
margin-bottom: 20px;
color: $secondary-text-color;
}
h6 {
font-family: $font-display, sans-serif;
font-size: 12px;
line-height: 24px;
font-weight: 500;
margin-bottom: 20px;
color: $secondary-text-color;
}
ul,
ol {
margin-left: 20px;
&[type='a'] {
list-style-type: lower-alpha;
}
&[type='i'] {
list-style-type: lower-roman;
}
}
ul {
list-style: disc;
}
ol {
list-style: decimal;
}
li > ol,
li > ul {
margin-top: 6px;
}
hr {
width: 100%;
height: 0;
border: 0;
border-bottom: 1px solid rgba($ui-base-lighter-color, .6);
margin: 20px 0;
&.spacer {
height: 1px;
border: 0;
}
}
}
.information-board {
background: darken($ui-base-color, 4%);
padding: 20px 0;
.container-alt {
position: relative;
padding-right: 280px + 15px;
}
&__sections {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
&__section {
flex: 1 0 0;
font-family: $font-sans-serif, sans-serif;
font-size: 16px;
line-height: 28px;
color: $primary-text-color;
text-align: right;
padding: 10px 15px;
span,
strong {
display: block;
}
span {
&:last-child {
color: $secondary-text-color;
}
}
strong {
font-weight: 500;
font-size: 32px;
line-height: 48px;
}
@media screen and (max-width: $column-breakpoint) {
text-align: center;
}
}
.panel {
position: absolute;
width: 280px;
box-sizing: border-box;
background: darken($ui-base-color, 8%);
padding: 20px;
padding-top: 10px;
border-radius: 4px 4px 0 0;
right: 0;
bottom: -40px;
.panel-header {
font-family: $font-display, sans-serif;
font-size: 14px;
line-height: 24px;
font-weight: 500;
color: $darker-text-color;
padding-bottom: 5px;
margin-bottom: 15px;
border-bottom: 1px solid lighten($ui-base-color, 4%);
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
a,
span {
font-weight: 400;
color: darken($darker-text-color, 10%);
}
a {
text-decoration: none;
}
}
}
.owner {
text-align: center;
.avatar {
width: 80px;
height: 80px;
@include avatar-size(80px);
margin: 0 auto;
margin-bottom: 15px;
img {
display: block;
width: 80px;
height: 80px;
border-radius: 48px;
@include avatar-radius();
}
}
.name {
font-size: 14px;
a {
display: block;
color: $primary-text-color;
text-decoration: none;
&:hover {
.display_name {
text-decoration: underline;
}
}
}
.username {
display: block;
color: $darker-text-color;
}
}
}
}
2018-03-03 17:01:24 +00:00
.landing-page {
.grid {
display: grid;
grid-gap: 10px;
grid-template-columns: 1fr 2fr;
grid-auto-columns: 25%;
grid-auto-rows: max-content;
.column-0 {
display: none;
}
2018-02-23 15:22:05 +00:00
2018-03-03 17:01:24 +00:00
.column-1 {
grid-column: 1;
grid-row: 1;
}
2018-02-23 15:22:05 +00:00
2018-03-03 17:01:24 +00:00
.column-2 {
grid-column: 2;
grid-row: 1;
}
2018-02-23 15:22:05 +00:00
2018-03-03 17:01:24 +00:00
.column-3 {
grid-column: 3;
grid-row: 1 / 3;
}
2018-02-23 15:22:05 +00:00
2018-03-03 17:01:24 +00:00
.column-4 {
grid-column: 1 / 3;
grid-row: 2;
}
2018-02-23 15:22:05 +00:00
}
2018-03-03 17:01:24 +00:00
@media screen and (max-width: $small-breakpoint) {
.grid {
grid-template-columns: 40% 60%;
2018-02-23 15:22:05 +00:00
2018-03-03 17:01:24 +00:00
.column-0 {
display: none;
}
2018-02-23 15:22:05 +00:00
2018-03-03 17:01:24 +00:00
.column-1 {
grid-column: 1;
grid-row: 1;
2018-02-23 15:22:05 +00:00
2018-03-03 17:01:24 +00:00
&.non-preview .landing-page__forms {
height: 100%;
2018-02-23 15:22:05 +00:00
}
}
2018-03-03 17:01:24 +00:00
.column-2 {
grid-column: 2;
grid-row: 1 / 3;
2018-02-23 15:22:05 +00:00
2018-03-03 17:01:24 +00:00
&.non-preview {
grid-column: 2;
grid-row: 1;
}
}
.column-3 {
grid-column: 1;
grid-row: 2 / 4;
}
.column-4 {
grid-column: 2;
grid-row: 3;
&.non-preview {
grid-column: 1 / 3;
grid-row: 2;
2018-02-23 15:22:05 +00:00
}
}
}
}
2018-03-03 17:01:24 +00:00
@media screen and (max-width: $column-breakpoint) {
.grid {
grid-template-columns: 100%;
2018-02-23 15:22:05 +00:00
2018-03-03 17:01:24 +00:00
.column-0 {
display: block;
grid-column: 1;
grid-row: 1;
}
2018-02-23 15:22:05 +00:00
2018-03-03 17:01:24 +00:00
.column-1 {
grid-column: 1;
grid-row: 3;
.brand {
display: none;
}
}
.column-2 {
grid-column: 1;
grid-row: 2;
.landing-page__logo,
.landing-page__call-to-action {
display: none;
}
&.non-preview {
grid-column: 1;
grid-row: 2;
}
}
.column-3 {
grid-column: 1;
grid-row: 5;
}
.column-4 {
grid-column: 1;
grid-row: 4;
&.non-preview {
grid-column: 1;
grid-row: 4;
}
}
}
2018-02-23 15:22:05 +00:00
}
2018-03-03 17:01:24 +00:00
.column-flex {
display: flex;
flex-direction: column;
}
.separator-or {
2018-02-23 15:22:05 +00:00
position: relative;
2018-03-03 17:01:24 +00:00
margin: 40px 0;
text-align: center;
&::before {
content: "";
display: block;
width: 100%;
height: 0;
border-bottom: 1px solid rgba($ui-base-lighter-color, .6);
position: absolute;
top: 50%;
left: 0;
}
span {
display: inline-block;
background: $ui-base-color;
font-size: 12px;
font-weight: 500;
color: $darker-text-color;
2018-03-03 17:01:24 +00:00
text-transform: uppercase;
position: relative;
z-index: 1;
padding: 0 8px;
cursor: default;
}
2018-02-23 15:22:05 +00:00
}
p,
li {
font-family: $font-sans-serif, sans-serif;
font-size: 16px;
font-weight: 400;
font-size: 16px;
line-height: 30px;
margin-bottom: 12px;
color: $darker-text-color;
2017-01-13 19:27:02 +00:00
a {
color: $highlight-text-color;
text-decoration: underline;
2017-01-13 19:27:02 +00:00
}
2016-09-27 21:12:33 +00:00
}
.closed-registrations-message {
margin-top: 20px;
&,
p {
text-align: center;
font-size: 12px;
line-height: 18px;
color: $darker-text-color;
margin-bottom: 0;
a {
color: $highlight-text-color;
text-decoration: underline;
}
}
p:last-child {
margin-bottom: 0;
}
}
em {
display: inline;
margin: 0;
padding: 0;
2018-01-13 18:41:20 +00:00
font-weight: 700;
background: transparent;
font-family: inherit;
font-size: inherit;
line-height: inherit;
color: lighten($darker-text-color, 10%);
}
2016-09-27 21:12:33 +00:00
h1 {
font-family: $font-display, sans-serif;
font-size: 26px;
line-height: 30px;
font-weight: 500;
2016-09-27 21:12:33 +00:00
margin-bottom: 20px;
color: $secondary-text-color;
2016-09-27 21:12:33 +00:00
small {
font-family: $font-sans-serif, sans-serif;
display: block;
font-size: 18px;
font-weight: 400;
color: lighten($darker-text-color, 10%);
2016-09-27 21:12:33 +00:00
}
}
h2 {
font-family: $font-display, sans-serif;
font-size: 22px;
line-height: 26px;
font-weight: 500;
margin-bottom: 20px;
color: $secondary-text-color;
}
h3 {
font-family: $font-display, sans-serif;
font-size: 18px;
line-height: 24px;
font-weight: 500;
margin-bottom: 20px;
color: $secondary-text-color;
}
h4 {
font-family: $font-display, sans-serif;
font-size: 16px;
line-height: 24px;
font-weight: 500;
margin-bottom: 20px;
color: $secondary-text-color;
}
h5 {
font-family: $font-display, sans-serif;
font-size: 14px;
line-height: 24px;
font-weight: 500;
margin-bottom: 20px;
color: $secondary-text-color;
}
h6 {
font-family: $font-display, sans-serif;
font-size: 12px;
line-height: 24px;
font-weight: 500;
margin-bottom: 20px;
color: $secondary-text-color;
}
ul,
ol {
margin-left: 20px;
&[type='a'] {
list-style-type: lower-alpha;
}
&[type='i'] {
list-style-type: lower-roman;
}
}
ul {
list-style: disc;
}
ol {
list-style: decimal;
}
li > ol,
li > ul {
margin-top: 6px;
2016-10-03 14:10:17 +00:00
}
hr {
2018-02-23 15:22:05 +00:00
width: 100%;
height: 0;
border: 0;
border-bottom: 1px solid rgba($ui-base-lighter-color, .6);
margin: 20px 0;
2018-05-11 12:18:52 +00:00
&.spacer {
height: 1px;
border: 0;
}
}
2018-02-23 15:22:05 +00:00
.container-alt {
width: 100%;
box-sizing: border-box;
max-width: 800px;
margin: 0 auto;
word-wrap: break-word;
}
2017-03-21 18:18:37 +00:00
.header-wrapper {
padding-top: 15px;
background: $ui-base-color;
background: linear-gradient(150deg, lighten($ui-base-color, 8%), $ui-base-color);
position: relative;
2017-03-21 18:18:37 +00:00
&.compact {
background: $ui-base-color;
padding-bottom: 15px;
.hero .heading {
padding-bottom: 20px;
font-family: $font-sans-serif, sans-serif;
font-size: 16px;
font-weight: 400;
font-size: 16px;
line-height: 30px;
color: $darker-text-color;
a {
color: $highlight-text-color;
text-decoration: underline;
}
}
}
2018-02-23 15:22:05 +00:00
}
2018-02-23 15:22:05 +00:00
.brand {
a {
padding-left: 0;
padding-right: 0;
color: $white;
}
2018-02-23 15:22:05 +00:00
img {
height: 32px;
position: relative;
top: 4px;
left: -10px;
}
}
.header {
line-height: 30px;
overflow: hidden;
2018-02-23 15:22:05 +00:00
.container-alt {
display: flex;
justify-content: space-between;
}
.links {
position: relative;
z-index: 4;
a {
display: flex;
justify-content: center;
align-items: center;
color: $darker-text-color;
text-decoration: none;
padding: 12px 16px;
line-height: 32px;
font-family: $font-display, sans-serif;
font-weight: 500;
font-size: 14px;
&:hover {
color: $secondary-text-color;
}
}
ul {
list-style: none;
margin: 0;
li {
display: inline-block;
vertical-align: bottom;
margin: 0;
&:first-child a {
padding-left: 0;
}
&:last-child a {
padding-right: 0;
}
}
}
}
.hero {
margin-top: 50px;
align-items: center;
position: relative;
.heading {
position: relative;
z-index: 4;
padding-bottom: 150px;
}
.simple_form,
.closed-registrations-message {
background: darken($ui-base-color, 4%);
width: 280px;
padding: 15px 20px;
border-radius: 4px 4px 0 0;
line-height: initial;
position: relative;
z-index: 4;
.actions {
margin-bottom: 0;
button,
.button,
.block-button {
margin-bottom: 0;
}
}
}
.closed-registrations-message {
min-height: 330px;
display: flex;
flex-direction: column;
justify-content: space-between;
}
}
}
.about-short {
background: darken($ui-base-color, 4%);
padding: 50px 0 30px;
font-family: $font-sans-serif, sans-serif;
font-size: 16px;
font-weight: 400;
font-size: 16px;
line-height: 30px;
color: $darker-text-color;
a {
color: $highlight-text-color;
text-decoration: underline;
}
}
2018-02-23 15:22:05 +00:00
&.alternative {
padding: 10px 0;
2018-02-23 15:22:05 +00:00
.brand {
text-align: center;
padding: 30px 0;
margin-bottom: 10px;
2017-03-21 18:18:37 +00:00
2018-02-23 15:22:05 +00:00
img {
position: static;
2018-03-03 17:01:24 +00:00
padding: 10px 0;
2018-02-23 15:22:05 +00:00
}
2018-02-23 15:22:05 +00:00
@media screen and (max-width: $small-breakpoint) {
padding: 15px 0;
}
2017-03-21 18:18:37 +00:00
2018-02-23 15:22:05 +00:00
@media screen and (max-width: $column-breakpoint) {
padding: 0;
2018-02-23 15:22:05 +00:00
margin-bottom: -10px;
}
2018-02-23 15:22:05 +00:00
}
}
2018-02-23 15:22:05 +00:00
&__information,
&__forms {
padding: 20px;
}
&__call-to-action {
background: darken($ui-base-color, 4%);
border-radius: 4px;
padding: 25px 40px;
overflow: hidden;
box-sizing: border-box;
2018-02-23 15:22:05 +00:00
.row {
width: 100%;
2018-03-03 17:01:24 +00:00
display: flex;
flex-direction: row-reverse;
flex-wrap: wrap;
justify-content: space-between;
2018-02-23 15:22:05 +00:00
align-items: center;
}
2018-03-03 17:01:24 +00:00
.row__information-board {
display: flex;
justify-content: flex-end;
align-items: flex-end;
.information-board__section {
flex: 1 0 auto;
padding: 0 10px;
}
@media screen and (max-width: $no-gap-breakpoint) {
width: 100%;
justify-content: space-between;
}
2018-03-03 17:01:24 +00:00
}
.row__mascot {
flex: 1;
margin: 10px -50px 0 0;
@media screen and (max-width: $no-gap-breakpoint) {
display: none;
}
2018-02-23 15:22:05 +00:00
}
}
&__logo {
margin-right: 20px;
img {
height: 50px;
width: auto;
mix-blend-mode: lighten;
}
}
&__information {
padding: 45px 40px;
margin-bottom: 10px;
&:last-child {
margin-bottom: 0;
}
strong {
display: inline;
margin: 0;
padding: 0;
font-weight: 700;
background: transparent;
font-family: inherit;
font-size: inherit;
line-height: inherit;
color: lighten($darker-text-color, 10%);
}
2018-05-11 12:18:52 +00:00
.account {
border-bottom: 0;
padding: 0;
&__display-name {
align-items: center;
display: flex;
margin-right: 5px;
}
div.account__display-name {
&:hover {
.display-name strong {
text-decoration: none;
}
}
.account__avatar {
cursor: default;
}
}
&__avatar-wrapper {
margin-left: 0;
flex: 0 0 auto;
}
&__avatar {
width: 44px;
height: 44px;
background-size: 44px 44px;
@include avatar-size(44px);
2018-05-11 12:18:52 +00:00
}
.display-name {
font-size: 15px;
&__account {
font-size: 14px;
}
}
}
@media screen and (max-width: $small-breakpoint) {
.contact {
margin-top: 30px;
}
}
2018-02-23 15:22:05 +00:00
@media screen and (max-width: $column-breakpoint) {
padding: 25px 20px;
}
}
&__information,
&__forms,
#mastodon-timeline {
box-sizing: border-box;
background: $ui-base-color;
border-radius: 4px;
box-shadow: 0 0 6px rgba($black, 0.1);
}
&__mascot {
height: 104px;
position: relative;
left: -40px;
bottom: 25px;
img {
height: 190px;
width: auto;
}
}
&__short-description {
.row {
2018-03-03 17:01:24 +00:00
display: flex;
flex-wrap: wrap;
2018-02-23 15:22:05 +00:00
align-items: center;
margin-bottom: 40px;
}
2017-03-21 18:18:37 +00:00
2018-02-23 15:22:05 +00:00
@media screen and (max-width: $column-breakpoint) {
.row {
margin-bottom: 20px;
2018-02-23 15:22:05 +00:00
}
}
2018-02-23 15:22:05 +00:00
p a {
color: $secondary-text-color;
2018-02-23 15:22:05 +00:00
}
2018-02-23 15:22:05 +00:00
h1 {
font-weight: 500;
color: $primary-text-color;
margin-bottom: 0;
small {
color: $darker-text-color;
2018-02-23 15:22:05 +00:00
span {
color: $secondary-text-color;
}
}
}
2017-03-21 18:18:37 +00:00
2018-02-23 15:22:05 +00:00
p:last-child {
margin-bottom: 0;
}
}
2018-02-23 15:22:05 +00:00
&__hero {
margin-bottom: 10px;
img {
display: block;
margin: 0;
max-width: 100%;
height: auto;
border-radius: 4px;
}
}
&__forms {
height: 100%;
@media screen and (max-width: $small-breakpoint) {
height: auto;
}
@media screen and (max-width: $column-breakpoint) {
background: transparent;
box-shadow: none;
padding: 0 20px;
margin-top: 30px;
margin-bottom: 40px;
.separator-or {
span {
background: darken($ui-base-color, 8%);
}
2017-03-21 18:18:37 +00:00
}
2018-02-23 15:22:05 +00:00
}
2018-02-23 15:22:05 +00:00
hr {
margin: 40px 0;
}
2018-02-23 15:22:05 +00:00
.button {
display: block;
}
2018-02-23 15:22:05 +00:00
.subtle-hint a {
text-decoration: none;
2018-02-23 15:22:05 +00:00
&:hover,
&:focus,
&:active {
text-decoration: underline;
}
}
}
2018-02-23 15:22:05 +00:00
#mastodon-timeline {
display: flex;
-webkit-overflow-scrolling: touch;
-ms-overflow-style: -ms-autohiding-scrollbar;
font-family: $font-sans-serif, sans-serif;
2018-02-23 15:22:05 +00:00
font-size: 13px;
line-height: 18px;
font-weight: 400;
color: $primary-text-color;
width: 100%;
flex: 1 1 auto;
overflow: hidden;
2018-03-03 17:01:24 +00:00
height: 100%;
2018-02-23 15:22:05 +00:00
.column-header {
color: inherit;
font-family: inherit;
font-size: 16px;
line-height: inherit;
font-weight: inherit;
2018-05-11 12:18:52 +00:00
margin: 0;
padding: 0;
2018-02-23 15:22:05 +00:00
}
.column {
padding: 0;
border-radius: 4px;
overflow: hidden;
width: 100%;
}
.scrollable {
height: 400px;
}
p {
font-size: inherit;
line-height: inherit;
font-weight: inherit;
color: $primary-text-color;
margin-bottom: 20px;
&:last-child {
margin-bottom: 0;
}
a {
color: $secondary-text-color;
2018-02-23 15:22:05 +00:00
text-decoration: none;
}
}
.attachment-list__list {
margin-left: 0;
list-style: none;
li {
font-size: inherit;
line-height: inherit;
font-weight: inherit;
margin-bottom: 0;
a {
color: $dark-text-color;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
}
}
2018-02-23 15:22:05 +00:00
@media screen and (max-width: $column-breakpoint) {
display: none;
2018-02-23 15:22:05 +00:00
}
}
&__features {
2018-05-11 12:18:52 +00:00
& > p {
padding-right: 60px;
}
2018-02-23 15:22:05 +00:00
.features-list {
2018-05-11 12:18:52 +00:00
margin: 40px 0;
margin-top: 30px;
2018-02-23 15:22:05 +00:00
}
&__action {
text-align: center;
}
}
.features-list {
.features-list__row {
display: flex;
padding: 10px 0;
justify-content: space-between;
.visual {
flex: 0 0 auto;
display: flex;
align-items: center;
margin-left: 15px;
.fa {
display: block;
color: $darker-text-color;
2018-02-23 15:22:05 +00:00
font-size: 48px;
}
}
.text {
font-size: 16px;
line-height: 30px;
color: $darker-text-color;
2018-02-23 15:22:05 +00:00
h6 {
font-size: inherit;
line-height: inherit;
margin-bottom: 0;
}
}
}
2018-05-11 12:18:52 +00:00
@media screen and (min-width: $small-breakpoint) {
display: grid;
grid-gap: 30px;
grid-template-columns: 1fr 1fr;
grid-auto-columns: 50%;
grid-auto-rows: max-content;
}
}
.footer-links {
padding-bottom: 50px;
text-align: right;
color: $dark-text-color;
p {
font-size: 14px;
}
a {
color: inherit;
text-decoration: underline;
}
}
2018-02-23 15:22:05 +00:00
&__footer {
margin-top: 10px;
text-align: center;
color: $dark-text-color;
2018-02-23 15:22:05 +00:00
p {
font-size: 14px;
a {
color: inherit;
text-decoration: underline;
}
}
}
@media screen and (max-width: 840px) {
2018-02-23 15:22:05 +00:00
.container-alt {
padding: 0 20px;
}
.information-board {
2018-02-23 15:22:05 +00:00
.container-alt {
padding-right: 20px;
}
.panel {
position: static;
margin-top: 20px;
width: 100%;
border-radius: 4px;
.panel-header {
text-align: center;
}
}
}
}
@media screen and (max-width: 675px) {
.header-wrapper {
padding-top: 0;
&.compact {
padding-bottom: 0;
}
&.compact .hero .heading {
text-align: initial;
}
}
2018-02-23 15:22:05 +00:00
.header .container-alt,
.features .container-alt {
display: block;
}
.header {
.links {
padding-top: 15px;
background: darken($ui-base-color, 4%);
a {
padding: 12px 8px;
}
.nav {
display: flex;
flex-flow: row wrap;
justify-content: space-around;
}
.brand img {
left: 0;
top: 0;
}
}
.hero {
margin-top: 30px;
padding: 0;
.heading {
padding: 30px 20px;
text-align: center;
}
.simple_form,
.closed-registrations-message {
background: darken($ui-base-color, 8%);
width: 100%;
border-radius: 0;
box-sizing: border-box;
}
}
}
2017-10-07 18:00:35 +00:00
}
.cta {
margin: 20px;
}
&.tag-page {
@media screen and (max-width: $column-breakpoint) {
padding: 0;
.container {
padding: 0;
}
#mastodon-timeline {
display: flex;
height: 100vh;
border-radius: 0;
}
}
2018-03-03 17:01:24 +00:00
.grid {
@media screen and (min-width: $small-breakpoint) {
grid-template-columns: 33% 67%;
}
2017-10-14 12:48:12 +00:00
2018-03-03 17:01:24 +00:00
.column-2 {
grid-column: 2;
grid-row: 1;
}
}
2017-10-14 12:48:12 +00:00
2018-03-03 17:01:24 +00:00
.brand {
text-align: unset;
padding: 0;
2017-10-14 12:48:12 +00:00
2018-03-03 17:01:24 +00:00
img {
height: 48px;
width: auto;
2017-10-07 18:00:35 +00:00
}
}
2017-10-07 18:00:35 +00:00
2018-03-03 17:01:24 +00:00
.cta {
margin: 0;
2017-10-07 18:00:35 +00:00
2018-03-03 17:01:24 +00:00
.button {
margin-right: 4px;
}
}
2017-10-07 18:00:35 +00:00
2018-03-03 17:01:24 +00:00
@media screen and (max-width: $column-breakpoint) {
.grid {
grid-gap: 0;
2018-03-03 17:01:24 +00:00
.column-1 {
grid-column: 1;
grid-row: 1;
2018-03-03 17:01:24 +00:00
}
2017-10-07 18:00:35 +00:00
2018-03-03 17:01:24 +00:00
.column-2 {
display: none;
2018-03-03 17:01:24 +00:00
}
}
2017-10-07 18:00:35 +00:00
}
}
2017-03-21 18:18:37 +00:00
}