tinyforms/app/assets/stylesheets/application.css.scss
2020-04-24 23:33:14 +02:00

274 lines
5.0 KiB
SCSS

@import "bulma/sass/utilities/initial-variables";
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Lobster&family=Comfortaa:wght@400;500;600;700&display=swap');
@import url('https://use.fontawesome.com/releases/v5.12.0/css/all.css');
$family-sans-serif: 'Roboto',
sans-serif;
$family-secondary: 'Comfortaa',
cursive;
// // https://coolors.co/06aed5-086788-f0c808-fff1d0-dd1c1a
// $blue: #083d77;
// $red: #dd1c1a;
// $orange: #ee964b;
// $yellow: #f4d35e;
// $light: #f5fafe; // #ebebd3;
// $primary: $blue;
// $green: #007932; // hsl(141, 53%, 53%);
// $footer-background-color: $light;
$blue: #2535f5;
$primary: $blue;
$text: $grey-dark;
$body-background-color: #FAFCFE;
$light: #fff;
@import 'bulma/bulma';
@import "checkmark-icon";
@import './demo';
.is-font-logo {
font-family: 'Lobster', cursive;
}
.card {
height: 100%;
}
.is-vcentered {
height: 100vh;
}
.content {
&>h1 {
margin-bottom: 40px;
}
}
body {
min-height: 100vh;
}
.button.google {
background: rgb(225, 98, 89);
color: white;
}
.button {
vertical-align: middle;
}
.table-wrapper {
overflow: auto;
overflow-y: scroll;
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
/*
Colours
#FFFFFF - White
#4c82fc - Mustard
#4c82fc - Green
*/
.has-mustard-bg {
background-color: #4c82fc;
}
.has-blue-bg {
background-color: #4c82fc;
}
.has-white-mustard-gradient {
background: rgb(255, 255, 255);
background: -moz-linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(76, 130, 252, 1) 50%, rgba(76, 130, 252, 1) 100%);
background: -webkit-linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(76, 130, 252, 1) 50%, rgba(76, 130, 252, 1) 100%);
background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(76, 130, 252, 1) 50%, rgba(76, 130, 252, 1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff", endColorstr="#4c82fc", GradientType=1);
}
@media(max-width: 1024px) {
.has-white-mustard-gradient {
background: rgb(255, 255, 255);
background: -moz-linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 25%, rgba(76, 130, 252, 1) 25%, rgba(76, 130, 252, 1) 100%);
background: -webkit-linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 25%, rgba(76, 130, 252, 1) 25%, rgba(76, 130, 252, 1) 100%);
background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 25%, rgba(76, 130, 252, 1) 25%, rgba(76, 130, 252, 1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff", endColorstr="#4c82fc", GradientType=1);
}
}
@import url('https://fonts.googleapis.com/css?family=Calistoga|Open+Sans&display=swap');
h1,
h2,
h3 {
font-family: 'Calistoga';
margin-bottom: 10px;
}
p,
a,
span {
font-family: 'Open Sans', sans-serif;
font-weight: 400;
}
.features .columns {
margin-bottom: 3em;
}
.howto .box {
min-height: 100%;
}
.contact-form {
margin-top: 3em;
}
/*
Links
*/
.a-menu {
letter-spacing: 3px;
text-transform: uppercase;
transition: opacity 1s ease;
opacity: 0.8;
}
.a-menu:hover {
opacity: 1;
color: #000000 !important;
text-decoration: none;
}
/*
Some aesthetic improvements
*/
nav {
padding-top: 20px;
max-height: 50px;
}
.paragraph {
line-height: 1.5em;
}
/*
Hero
*/
.burger {
position: absolute;
top: 0;
right: 0;
}
@media(min-width: 1024px) {
.hero-body {
background-image: url(../img/hero.png);
background-size: 30%;
background-position: 80% 50%;
background-repeat: no-repeat;
}
}
.call-to-action {
margin-top: 2em;
}
@media(max-width: 1024px) {
margin: 0px 10px;
}
.box {
padding-top: 30px;
padding-bottom: 30px;
}
.box .icon {
margin-top: -10px;
color: #4c82fc !important;
transition: color 0.5s ease;
}
.box .icon:hover {
color: #4c82fc !important;
}
#twitter-feed .container .is-size-7 {
padding: 20px;
}
/*
Features
*/
.feature-img {
max-width: 60%;
margin: 0 auto;
}
.column h3,
.column p {
align-self: center;
}
@media(max-width: 1024px) {
.reverse-row-order {
flex-direction: column-reverse;
display: flex;
}
}
/*
Newsletter
*/
#newsletter {
text-align: center;
}
#newsletter p {
width: 600px;
margin: 0 auto;
}
.social-link {
padding: 15px;
color: #FFFFFF !important;
}
.newsletter-input {
border: none;
border-bottom: 2px solid #4c82fc;
border-radius: 0% !important;
box-shadow: none;
text-align: center;
}
#newsletter .field {
width: 400px;
max-width: 80%;
padding: 20px;
margin: 0 auto;
}
/*
Footer
*/
#footer p {
padding: 20px;
}
#footer a {
color: #FFFFFF !important;
}
.submission-table tbody {
font-size: 0.75em;
}
.inline-svg svg {
display: inline
}
.svg-icon {
align-items: center;
display: inline-flex;
justify-content: center;
}