mirror of
https://github.com/webslides/WebSlides.git
synced 2025-08-18 19:02:00 +02:00
Finishing
This commit is contained in:
93
src/scss/modules/_promos.scss
Normal file
93
src/scss/modules/_promos.scss
Normal file
@@ -0,0 +1,93 @@
|
|||||||
|
.cta {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.number,
|
||||||
|
.cta .benefit {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
max-width: 100%;
|
||||||
|
padding: .8rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.number {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cta .benefit {
|
||||||
|
max-width: 100%;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.number span {
|
||||||
|
display: block;
|
||||||
|
font-size: 8rem;
|
||||||
|
line-height: 8rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.number span sup {
|
||||||
|
font-size: 4rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cta p {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 768px) {
|
||||||
|
.number,
|
||||||
|
.cta .benefit {
|
||||||
|
max-width: 50%;
|
||||||
|
padding: 4.8rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cta .benefit {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.number span {
|
||||||
|
font-size: 16rem;
|
||||||
|
line-height: 16rem;
|
||||||
|
|
||||||
|
sup {
|
||||||
|
font-size: 6rem;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.cta-cover {
|
||||||
|
display: table;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
h1 strong {
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 1024px) {
|
||||||
|
h1 {
|
||||||
|
float: left;
|
||||||
|
max-width: 80%;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 strong {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button {
|
||||||
|
margin-top: 1.2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.try {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1023px) {
|
||||||
|
.alignright {
|
||||||
|
float: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
114
src/scss/modules/_work.scss
Normal file
114
src/scss/modules/_work.scss
Normal file
@@ -0,0 +1,114 @@
|
|||||||
|
.work {
|
||||||
|
clear: both;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
text-align: left;
|
||||||
|
|
||||||
|
h1 + &,
|
||||||
|
h2 + &,
|
||||||
|
h3 + &,
|
||||||
|
p + & {
|
||||||
|
margin-top: 4.8rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
li {
|
||||||
|
flex: 1;
|
||||||
|
list-style: none;
|
||||||
|
margin: 0;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
li a {
|
||||||
|
display: block;
|
||||||
|
float: left;
|
||||||
|
height: 100%;
|
||||||
|
padding: 2.4rem 0;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
li a p,
|
||||||
|
li:first-child a:hover p:first-child {
|
||||||
|
transition: .3s;
|
||||||
|
}
|
||||||
|
|
||||||
|
li p {
|
||||||
|
padding-left: 1.2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
li.work-label p {
|
||||||
|
padding-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
li a:hover p:first-child {
|
||||||
|
padding-left: 1.6rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
li p:last-child {
|
||||||
|
position: absolute;
|
||||||
|
right: 1.2rem;
|
||||||
|
top: 2.4rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
li.work-label p:last-child {
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
&-label {
|
||||||
|
float: left;
|
||||||
|
font-weight: 600;
|
||||||
|
padding: 0 0 2.4rem;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
&-title {
|
||||||
|
display: block;
|
||||||
|
padding-right: 1.2rem;
|
||||||
|
width: 75%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 768px) {
|
||||||
|
.work-label p,
|
||||||
|
.work li p {
|
||||||
|
float: left;
|
||||||
|
margin-right: 2%;
|
||||||
|
width: 25%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.work li.work-label p:last-child,
|
||||||
|
.work li p:last-child {
|
||||||
|
float: right;
|
||||||
|
margin-right: 0;
|
||||||
|
padding-right: 1.2rem;
|
||||||
|
position: relative;
|
||||||
|
right: auto;
|
||||||
|
text-align: right;
|
||||||
|
top: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.work li p.work-date {
|
||||||
|
width: 120px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
.work-client,
|
||||||
|
.work-label .work-services {
|
||||||
|
clip: rect(1px, 1px, 1px, 1px);
|
||||||
|
height: 1px;
|
||||||
|
overflow: hidden;
|
||||||
|
position: absolute;
|
||||||
|
width: 1px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.text-pull.embed {
|
||||||
|
margin-left: -2.4rem;
|
||||||
|
margin-right: -2.4rem;
|
||||||
|
padding-bottom: 60.6%;
|
||||||
|
}
|
Reference in New Issue
Block a user