portfolio/css/main.css

74 lines
1 KiB
CSS

.flex-container {
width: 5.5in;
max-width: 90%;
margin: 0 auto;
}
body {
font-family: Roboto, Tahoma, sans-serif;
text-align: justify;
}
h1, h2 {
text-align: center;
}
header {
text-align: center;
}
h1 {
font-size: 1.6rem;
}
h2 {
font-size: 1.45rem;
font-weight: 500;
}
h3 {
font-size: 1.3rem;
margin: 1em 0 0.1em 0;
font-weight: 500;
}
p.attention {
text-align: center;
font-style: italic;
}
h4 {
font-weight: normal;
font-style: italic;
}
img.project-image {
max-width: 30%;
}
.project {
display: flex;
position: relative;
}
.project-image {
margin: 2rem;
display: flex;
flex-direction:
column;position:
absolute;width:
50%;right:
100%;align-items:
flex-end;
}
.project-image > img {
max-width: 100%;
margin-top: 2rem;
margin-bottom: 2rem;
-webkit-box-shadow: 2px 2px 8px 1px rgba(0,0,0,0.17);
-moz-box-shadow: 2px 2px 8px 1px rgba(0,0,0,0.17);
box-shadow: 2px 2px 8px 1px rgba(0,0,0,0.17);
}