teacher profile component update
This commit is contained in:
1 parent
35d6278aa4
commit
27f09669fe
3 files changed
+51
-34
No files matched your search
@@ -1,33 +1,49 @@
|
||||
@import "../variables";
|
||||
|
||||
$picture-width: 30%;
|
||||
$info-width: 100% - $picture-width;
|
||||
|
||||
.teacher-profile {
|
||||
margin: 0 auto $double-margin;
|
||||
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.teacher-profile__picture {
|
||||
width: 20%;
|
||||
max-width: 15em;
|
||||
min-width: 12em;
|
||||
margin: 0 1em;
|
||||
&__picture {
|
||||
width: $picture-width;
|
||||
max-width: 15em;
|
||||
min-width: 12em;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.teacher-profile__info {
|
||||
width: 60%;
|
||||
margin: 0 1em;
|
||||
|
||||
h3 {
|
||||
font-weight: 200;
|
||||
|
||||
span {
|
||||
font-weight: 600;
|
||||
img {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__info {
|
||||
width: $info-width;
|
||||
|
||||
padding-left: $single-margin;
|
||||
box-sizing: border-box;
|
||||
|
||||
h3 {
|
||||
font-weight: 200;
|
||||
|
||||
strong {
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
|
||||
.info {
|
||||
margin-bottom: $single-margin;
|
||||
}
|
||||
|
||||
.biography {
|
||||
margin-top: $single-margin;
|
||||
|
||||
p{
|
||||
margin-bottom: $single-margin;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user