mirror of
https://github.com/biobulkbende/biobulkbende.org.git
synced 2025-06-26 17:00:46 +00:00
finished for now
This commit is contained in:
@ -8,8 +8,13 @@ body {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
img{
|
||||
img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
a {
|
||||
font-weight: 300;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
@include atLarge{
|
||||
position: relative;
|
||||
bottom: -70px;
|
||||
bottom: -60px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
@ -12,6 +12,7 @@
|
||||
|
||||
&--medium {
|
||||
margin-bottom:1.5rem;
|
||||
margin-top: 1.5rem;
|
||||
|
||||
@include atSmall(){
|
||||
font-size: 1.1rem;
|
||||
@ -25,4 +26,12 @@
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
}
|
||||
|
||||
&--pickupday {
|
||||
margin: 30px 0px;
|
||||
|
||||
@include atMedium(){
|
||||
margin: 0px;
|
||||
}
|
||||
}
|
||||
}
|
@ -27,7 +27,7 @@
|
||||
}
|
||||
|
||||
p a {
|
||||
font-weight: 700;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
}
|
@ -39,6 +39,10 @@
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
}
|
||||
|
||||
&__img{
|
||||
margin: 30px 0px;
|
||||
}
|
||||
|
||||
&--centered {
|
||||
text-align: center;
|
||||
|
@ -66,7 +66,7 @@
|
||||
|
||||
&__title{
|
||||
font-weight: 300;
|
||||
font-size: 1.7rem;
|
||||
font-size: 1.4rem;
|
||||
margin-bottom: 45px;
|
||||
|
||||
@include atMedium(){
|
||||
@ -115,6 +115,7 @@
|
||||
@include atLarge{
|
||||
width: 225px;
|
||||
margin-left: 80px;
|
||||
margin-top: 100px;
|
||||
}
|
||||
}
|
||||
|
||||
|
55
app/assets/scss/modules/_modal.scss
Normal file
55
app/assets/scss/modules/_modal.scss
Normal file
@ -0,0 +1,55 @@
|
||||
.modal {
|
||||
position: fixed;
|
||||
z-index: 5;
|
||||
background:rgba(255, 255, 255, .94);
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transform: scale(1.2);
|
||||
transition: all .3s ease-out;
|
||||
|
||||
&--is-visible {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
&__inner {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
text-align: center;
|
||||
|
||||
}
|
||||
|
||||
&__title {
|
||||
font-weight: 500;
|
||||
font-size: 2.2rem;
|
||||
}
|
||||
|
||||
&__description {
|
||||
text-align: center;
|
||||
font-size: 1.3rem;
|
||||
font-weight: 300;
|
||||
line-height: 1.65;
|
||||
}
|
||||
|
||||
&__close {
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
right: 15px;
|
||||
font-size: 2rem;
|
||||
transform: scaleX(1.2);
|
||||
transform-origin: 100% 0;
|
||||
color: $myOrange;
|
||||
|
||||
&:hover {
|
||||
color: $myOrange;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
}
|
@ -17,4 +17,5 @@
|
||||
@import './modules/arrow';
|
||||
@import './modules/footer';
|
||||
@import './modules/sprite';
|
||||
@import './modules/reveal-item';
|
||||
@import './modules/reveal-item';
|
||||
@import './modules/modal';
|
Reference in New Issue
Block a user