Typography fix for magprog

This commit is contained in:
Alexander Nozik 2021-04-03 18:09:17 +03:00
parent f127fc9f90
commit 1dae4eaf93
4 changed files with 5 additions and 6 deletions

View File

@ -26,7 +26,7 @@ body, input, select, textarea {
} }
} }
a { section a {
@include vendor('transition', ( @include vendor('transition', (
'color #{_duration(transition)} ease', 'color #{_duration(transition)} ease',
'border-bottom-color #{_duration(transition)} ease' 'border-bottom-color #{_duration(transition)} ease'

View File

@ -23,6 +23,7 @@
display: block; display: block;
position: relative; position: relative;
width: 25em; width: 25em;
padding-top: 4em;
img { img {
border-radius: 0; border-radius: 0;

View File

@ -57,6 +57,7 @@
@import 'layout/intro'; @import 'layout/intro';
#site-navbar { #site-navbar {
height: 75px;
.container { .container {
max-width: 1160px; max-width: 1160px;
width: 100%; width: 100%;
@ -65,11 +66,8 @@
} }
font-weight: 400; font-weight: 400;
text-decoration: none;
z-index: 100000; z-index: 100000;
} }
} }
@import 'layout/footer'; @import 'layout/footer';

View File

@ -24,7 +24,7 @@ function mentors(edges) {
const photo = edge.node.frontmatter.photo; const photo = edge.node.frontmatter.photo;
return <section key={`mentor_${id}`} id={`mentor_${id}`}> return <section key={`mentor_${id}`} id={`mentor_${id}`}>
<div className="image left"> <div className="image fit">
<img src={withPrefix(`images/magprog/mentors/${photo}`)} <img src={withPrefix(`images/magprog/mentors/${photo}`)}
alt={name} alt={name}
/> />
@ -64,7 +64,7 @@ function team(edges) {
return ( return (
<section key={`team_${id}`}> <section key={`team_${id}`}>
<div className="image right"> <div className="image fit">
<img src={withPrefix(`images/members/${photo}`)} <img src={withPrefix(`images/members/${photo}`)}
alt={name}/> alt={name}/>
</div> </div>