portfolio/src/components/css/Card.css

50 lines
838 B
CSS

.card {
display: flex;
flex-direction: row;
padding: 10px;
width: 85vw;
margin-left: auto;
margin-right: auto;
}
.card .title {
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
font-size: 48px;
color: #3D3D3D;
}
.card .content {
font-size:xx-large;
margin-right: 10px;
}
.card img {
display: none;
}
.card img.show {
display: block;
border-style: solid;
border-width: 2px;
border-color: #A5B2A4;
border-radius: 5px;
height: 10rem;
width: 10rem;
margin: auto;
}
@media only screen and (max-width: 600px) {
.card {
flex-direction: column-reverse;
}
.card .content {
font-size: x-large;
}
.card img.show {
margin-bottom: 50px;
}
}