team page refactoring: + team-member-profile component, -team-member-profile directive; other

This commit is contained in:
tmshv committed 2016-02-22 00:48:18 +03:00
1 parent 43ab4a66f8
commit 74e6d594c9
9 files changed
+65 -74

No files matched your search

@@ -0,0 +1,31 @@
.team-member-profile {
width: 80%;
margin: 0 auto 3em;
display: flex;
justify-content: center;
flex-wrap: wrap;
}
.team-member-profile__picture {
width: 20%;
max-width: 15em;
min-width: 12em;
margin: 0 1em;
img {
width: 100%;
}
}
.team-member-profile__info {
width: 60%;
margin: 0 1em;
h3 {
font-weight: 200;
span {
font-weight: 600;
}
}
}
+2 -1
View File
@@ -1,2 +1,3 @@
@import "./components/gallery-item";
@import "./components/document";
@import "./components/document";
@import "./components/team-member-proifile";
-39
View File
@@ -6,43 +6,4 @@
&.ng-enter {
animation: slideInRight 0.3s both ease-in;
}
}
.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%;
}
.team-member__info {
width: 60%;
margin: 0 1em;
h3 {
font-weight: 200;
span {
font-weight: 600;
}
}
}
}