grav-theme-libretic/scss/template/modular/_text.scss

113 lines
3.1 KiB
SCSS
Raw Normal View History

2015-01-15 19:15:54 +01:00
// variables
$text-bg: #EEEEEE;
$text-padding: 2rem;
$image-margin: 2rem;
// styling
.callout {
background: $text-bg;
padding: $text-padding $content-padding;
padding-top: $text-padding;
padding-bottom: 0;
text-align: center;
overflow: hidden;
clear: both;
position: relative;
@include breakpoint(desktop-only) {
text-align: center;
}
.callout-line {
background: $page-bg;
width: 100%;
height: 7rem;
position: absolute;
left: 0;
bottom: 0;
z-index: 0;
}
2015-01-27 20:45:32 +01:00
.pricing-container {
2015-01-27 11:42:52 +01:00
position: relative;
2015-01-27 20:45:32 +01:00
z-index: 10;
@include clearfix;
margin-top: 2rem;
2015-01-27 21:47:09 +01:00
min-height: 31rem;
text-align: center;
2015-01-27 20:45:32 +01:00
.pricing-item {
@extend .default-animation;
2015-01-27 22:30:13 +01:00
-webkit-transform:translateZ(0);
display: inline-grid;
width: 40%;
margin-left: 0rem;
margin-right: 3rem;
2015-01-27 20:45:32 +01:00
margin-bottom: 2rem;
position: relative;
2015-01-27 21:47:09 +01:00
@include breakpoint(mobile-only) {
width: 100%;
}
@include breakpoint(tablet-range) {
2015-01-27 22:30:13 +01:00
width: 100%;
2015-01-27 21:47:09 +01:00
}
@include breakpoint(desktop-range) {
2015-01-27 22:30:13 +01:00
width: 22.5%;
2015-01-27 21:47:09 +01:00
}
2015-01-27 20:45:32 +01:00
&:hover {
2015-01-27 22:30:13 +01:00
-webkit-transform:scale(1,1.08);
-moz-transform:scale(1,1.08);
-ms-transform:scale(1,1.08);
-o-transform:scale(1,1.08);
transform:scale(1,1.08);
2015-01-27 20:45:32 +01:00
}
div {
background: $main-bg;
}
.name {
@extend .default-animation;
background: $core-accent;
@extend h4;
color: $white;
padding: 0.5rem 0;
}
.info {
padding-top: 1rem;
padding-bottom: 1rem;
2015-01-27 20:45:32 +01:00
border-bottom: $border-color 1px solid;
}
.price {
2015-01-27 11:42:52 +01:00
font-weight: bold;
color: $light-gray;
font-size: 2.5rem;
2015-01-27 11:42:52 +01:00
font-family: $font-family-header;
font-weight: normal;
2015-01-27 20:45:32 +01:00
border-bottom: $border-color 1px solid;
line-height: 5rem;
2015-01-27 11:42:52 +01:00
}
2015-01-27 20:45:32 +01:00
.foot {
@extend .default-animation;
2015-01-27 11:42:52 +01:00
background: $core-accent;
color: $white;
text-align: center;
padding: 1rem 0;
2015-01-27 20:45:32 +01:00
.button {
2015-01-27 11:42:52 +01:00
@extend h4;
@extend .default-animation;
margin: 0;
padding: 0;
width: 9rem;
font-size: 1rem;
line-height: 2.5rem;
color: $white;
display: inline-block;
background: transparentize($white, 0.75);
&:hover {
background: transparentize($white, 0.85);
}
}
}
2015-01-27 20:45:32 +01:00
sup {
font-size: 2rem;
}
2015-01-15 19:15:54 +01:00
}
}
}