website/scss/_content.scss

45 lines
No EOL
576 B
SCSS

#content{
background-color: $back-color;
width: 100%;
padding: 20px 20%;
img {
max-width: 40%;
}
}
article{
border: 2px solid $accent-color;
border-radius: 20px;
padding: 10px;
margin-right: 20px;
flex: 1 1 0;
width: 0;
word-wrap: break-word;
p{
word-wrap: break-word;
}
h2{
text-align: center;
margin: 0;
}
&:last-child{
margin-right: 0;
}
}
#blog{
width: 100%;
display: flex;
justify-content: center;
align-items: stretch;
}
#homeImage{
float: left;
margin-right: 5px;
}
#banner img {
width: 100%;
}