team page update: background picture is temporary broken; + backgroundPicture directive (unstable);

This commit is contained in:
tmshv committed 2015-08-16 08:01:35 +03:00
1 parent d9ca65958c
commit 830cd80de1
9 files changed
+120 -71

No files matched your search

+38 -47
View File
@@ -1,57 +1,48 @@
.page-team {
&.ng-leave {
animation: slideOutLeft 0.3s both ease-in;
}
&.ng-leave {
animation: slideOutLeft 0.3s both ease-in;
}
&.ng-enter {
animation: slideInRight 0.3s both ease-in;
}
&.ng-enter {
animation: slideInRight 0.3s both ease-in;
}
}
.background-picture{
.team-block {
background-color: white;
width: 100%;
padding-top: 3em;
.team-member {
width: 80%;
margin: 0 auto 3em;
display: flex;
justify-content: center;
flex-wrap: wrap;
}
.team-member__picture {
width: 20%;
max-width: 15em;
min-width: 12em;
margin: 0 1em;
}
.team-member__picture img {
width: 100%;
position: fixed;
top:0;
left: 0;
z-index: -999;
}
}
.team-block{
background-color: white;
width:100%;
min-height: 100px;
padding-top: 100px;
padding-bottom: 100px;
margin-top: 63%;
.team-member__info {
width: 60%;
margin: 0 1em;
ul{
list-style:none;
}
h3 {
font-weight: 200;
.team-member{
margin: 0 auto 50px auto;
width: 70%;
img{
width: 40%;
max-width: 600px;
min-width: 200px;
display: inline-block;
}
.info{
display: inline-block;
float: right;
width: 55%;
line-height: 2em;
h3{
font-weight: 100;
span{
font-weight: 600;
}
}
}
span {
font-weight: 600;
}
}
}
}