[www] Collective/Person pages updated

This commit is contained in:
Roman Timashev committed 2017-10-23 23:15:36 +03:00
1 parent b2191200da
commit 39ce95746f
14 files changed
+200 -123

No files matched your search

@@ -0,0 +1,3 @@
.CollectiveImage {
margin-bottom: var(--double-margin);
}
@@ -3,13 +3,13 @@
$picture-width: 30%;
$info-width: 100% - $picture-width;
.teacher-profile {
.TeacherCard {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
&__picture {
margin: 0 0 $double-margin;
&-Picture {
margin-bottom: var(--double-margin);
width: $picture-width;
max-width: 15em;
min-width: 12em;
@@ -19,47 +19,29 @@ $info-width: 100% - $picture-width;
}
}
&__info {
&-Info {
width: $info-width;
padding-left: $double-margin;
margin: 0 0 $double-margin;
padding-left: var(--double-margin);
margin-bottom: var(--double-margin);
box-sizing: border-box;
h2 {
font-size: $big-font-size;
font-weight: 200;
text-align: left;
strong {
font-weight: 600;
}
}
}
&__position {
&-Position {
font-size: $bigger-font-size;
}
&__biography {
margin-top: $double-margin;
p {
margin-bottom: $single-margin;
}
}
}
@media (max-width: $mobile-width) {
.teacher-profile {
margin: 0 auto $double-margin;
.TeacherCard {
margin: 0 auto var(--double-margin);
&__picture {
&-Picture {
width: 100%;
max-width: $mobile-width;
}
&__info {
&-Info {
width: 100%;
padding-left: 0;
}
-1
View File
@@ -15,7 +15,6 @@ $hmenu-icon-height: 32px;
width: 100%;
height: 100%;
padding: 0 0 $half-margin;
position: relative;
+2 -1
View File
@@ -3,7 +3,6 @@
@import "components/document";
@import "components/document-row";
@import "components/documents-container";
@import "components/teacher-proifile";
@import "components/main-menu";
@import "components/navigation";
@import "components/breadcrumbs";
@@ -23,6 +22,8 @@
@import "components/ArticleCard";
@import "components/ArticleCardList";
@import "components/CollectiveImage";
@import "components/TeacherCard";
@import "main";
@import "body-wrapper";