website/scss/_content.scss

41 lines
No EOL
547 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;
width: 100%;
height: 100%;
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: center;
}
#homeImage{
float: left;
margin-right: 5px;
}