Mobile layout fixes
* load screenshots when the modal is openend, not before * Abbreviate some strings
This commit is contained in:
parent
087803ed20
commit
8877fd1259
6 changed files with 40 additions and 225 deletions
210
css/agency.css
210
css/agency.css
|
|
@ -291,9 +291,9 @@ header .intro-text .intro-heading {
|
|||
margin-bottom: 25px;
|
||||
text-transform: uppercase;
|
||||
font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
|
||||
font-size: 50px;
|
||||
font-size: 25px;
|
||||
font-weight: 700;
|
||||
line-height: 50px;
|
||||
line-height: 25px;
|
||||
}
|
||||
|
||||
@media(min-width:768px) {
|
||||
|
|
@ -330,6 +330,12 @@ section h3.section-heading {
|
|||
font-size: 40px;
|
||||
}
|
||||
|
||||
@media(max-width:767px) {
|
||||
#about h3.section-heading {
|
||||
font-size: 36px;
|
||||
}
|
||||
}
|
||||
|
||||
section h3.section-subheading {
|
||||
margin-bottom: 75px;
|
||||
text-transform: none;
|
||||
|
|
@ -339,6 +345,7 @@ section h3.section-subheading {
|
|||
font-weight: 400;
|
||||
}
|
||||
|
||||
|
||||
@media(min-width:768px) {
|
||||
section {
|
||||
padding: 150px 0;
|
||||
|
|
@ -432,205 +439,6 @@ section h3.section-subheading {
|
|||
}
|
||||
}
|
||||
|
||||
.timeline {
|
||||
position: relative;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.timeline:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 40px;
|
||||
width: 2px;
|
||||
margin-left: -1.5px;
|
||||
background-color: #f1f1f1;
|
||||
}
|
||||
|
||||
.timeline>li {
|
||||
position: relative;
|
||||
margin-bottom: 50px;
|
||||
min-height: 50px;
|
||||
}
|
||||
|
||||
.timeline>li:before,
|
||||
.timeline>li:after {
|
||||
content: " ";
|
||||
display: table;
|
||||
}
|
||||
|
||||
.timeline>li:after {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.timeline>li .timeline-panel {
|
||||
float: right;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
padding: 0 20px 0 100px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.timeline>li .timeline-panel:before {
|
||||
right: auto;
|
||||
left: -15px;
|
||||
border-right-width: 15px;
|
||||
border-left-width: 0;
|
||||
}
|
||||
|
||||
.timeline>li .timeline-panel:after {
|
||||
right: auto;
|
||||
left: -14px;
|
||||
border-right-width: 14px;
|
||||
border-left-width: 0;
|
||||
}
|
||||
|
||||
.timeline>li .timeline-image {
|
||||
z-index: 100;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
margin-left: 0;
|
||||
border: 7px solid #f1f1f1;
|
||||
border-radius: 100%;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
background-color: #00A388;
|
||||
}
|
||||
|
||||
.timeline>li .timeline-image h4 {
|
||||
margin-top: 12px;
|
||||
font-size: 10px;
|
||||
line-height: 14px;
|
||||
}
|
||||
|
||||
.timeline>li.timeline-inverted>.timeline-panel {
|
||||
float: right;
|
||||
padding: 0 20px 0 100px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.timeline>li.timeline-inverted>.timeline-panel:before {
|
||||
right: auto;
|
||||
left: -15px;
|
||||
border-right-width: 15px;
|
||||
border-left-width: 0;
|
||||
}
|
||||
|
||||
.timeline>li.timeline-inverted>.timeline-panel:after {
|
||||
right: auto;
|
||||
left: -14px;
|
||||
border-right-width: 14px;
|
||||
border-left-width: 0;
|
||||
}
|
||||
|
||||
.timeline>li:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.timeline .timeline-heading h4 {
|
||||
margin-top: 0;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.timeline .timeline-heading h4.subheading {
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
.timeline .timeline-body>p,
|
||||
.timeline .timeline-body>ul {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
@media(min-width:768px) {
|
||||
.timeline:before {
|
||||
left: 50%;
|
||||
}
|
||||
|
||||
.timeline>li {
|
||||
margin-bottom: 100px;
|
||||
min-height: 100px;
|
||||
}
|
||||
|
||||
.timeline>li .timeline-panel {
|
||||
float: left;
|
||||
width: 41%;
|
||||
padding: 0 20px 20px 30px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.timeline>li .timeline-image {
|
||||
left: 50%;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
margin-left: -50px;
|
||||
}
|
||||
|
||||
.timeline>li .timeline-image h4 {
|
||||
margin-top: 16px;
|
||||
font-size: 13px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.timeline>li.timeline-inverted>.timeline-panel {
|
||||
float: right;
|
||||
padding: 0 30px 20px 20px;
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
||||
@media(min-width:992px) {
|
||||
.timeline>li {
|
||||
min-height: 150px;
|
||||
}
|
||||
|
||||
.timeline>li .timeline-panel {
|
||||
padding: 0 20px 20px;
|
||||
}
|
||||
|
||||
.timeline>li .timeline-image {
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
margin-left: -75px;
|
||||
}
|
||||
|
||||
.timeline>li .timeline-image h4 {
|
||||
margin-top: 30px;
|
||||
font-size: 18px;
|
||||
line-height: 26px;
|
||||
}
|
||||
|
||||
.timeline>li.timeline-inverted>.timeline-panel {
|
||||
padding: 0 20px 20px;
|
||||
}
|
||||
}
|
||||
|
||||
@media(min-width:1200px) {
|
||||
.timeline>li {
|
||||
min-height: 170px;
|
||||
}
|
||||
|
||||
.timeline>li .timeline-panel {
|
||||
padding: 0 20px 20px 100px;
|
||||
}
|
||||
|
||||
.timeline>li .timeline-image {
|
||||
width: 170px;
|
||||
height: 170px;
|
||||
margin-left: -85px;
|
||||
}
|
||||
|
||||
.timeline>li .timeline-image h4 {
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.timeline>li.timeline-inverted>.timeline-panel {
|
||||
padding: 0 100px 20px 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.team-member {
|
||||
margin-bottom: 50px;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue