+ accessibility styles
This commit is contained in:
1 parent
d5db0ca07e
commit
ca23ccc75f
38 files changed
+1682
-1
No files matched your search
@@ -0,0 +1,75 @@
|
||||
@import "../variables";
|
||||
|
||||
$picture-width: 30%;
|
||||
$info-width: 100% - $picture-width;
|
||||
|
||||
.teacher-profile {
|
||||
margin: 0 auto $double-margin;
|
||||
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
|
||||
&__picture {
|
||||
width: $picture-width;
|
||||
max-width: 15em;
|
||||
min-width: 12em;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
&__info {
|
||||
width: $info-width;
|
||||
|
||||
padding-left: $single-margin;
|
||||
box-sizing: border-box;
|
||||
|
||||
h2 {
|
||||
font-size: $big-font-size;
|
||||
font-weight: 200;
|
||||
text-align: left;
|
||||
|
||||
strong {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
//a {
|
||||
// color: $dark-color;
|
||||
//
|
||||
// &:hover{
|
||||
// border-bottom-color: lighten($dark-color, 40%);
|
||||
// }
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
||||
&__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;
|
||||
|
||||
&__picture {
|
||||
width: 100%;
|
||||
max-width: $mobile-width;
|
||||
}
|
||||
|
||||
&__info {
|
||||
width: 100%;
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user