90 lines
1.2 KiB
CSS
Raw Normal View History

2019-07-15 21:29:13 +01:00
html {
box-sizing: border-box;
}
*, *::before, *::after {
box-sizing: inherit; /* [1] */
margin: 0;
padding: 0;
}
body {
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif; /* [2] */
}
.header {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
height: 80px;
background-color: #525286;
color: #FFFFFF;
margin-bottom: 50px;
}
.container {
width: 960px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 20px;
}
.person {
text-align: center;
}
.person > * {
margin-bottom: 5px;
}
.person-image {
width: 100%;
height: 300px;
}
.profile {
display: flex;
height: 100vh;
width: 100%;
}
.profile-image {
height: 100%;
flex-grow: 1;
flex-basis: 50%;
}
.profile-details {
flex-basis: 30%;
flex-grow: 1;
padding: 50px;
display: flex;
justify-content: center;
flex-direction: column;
}
.profile-details > * {
margin-bottom: 20px;
}
.button {
height: 50px;
line-height: 50px;
width: 100%;
text-decoration: none;
text-align: center;
font-size: 20px
}
.button-twitter {
color: #FFFFFF;
background-color: #659AF1;
border-radius: 5px;
}