portfolio/css/main.css

107 lines
1.4 KiB
CSS
Raw Normal View History

2017-04-14 07:53:18 +00:00
.flex-container {
2017-08-13 04:13:41 +00:00
width: 35rem;
max-width: 50%;
2017-04-14 07:53:18 +00:00
margin: 0 auto;
}
body {
font-family: Roboto, Tahoma, sans-serif;
2017-08-13 04:20:41 +00:00
line-height: 1.45rem;
}
2017-04-14 07:53:18 +00:00
h1, h2 {
text-align: center;
}
header {
text-align: center;
}
h1 {
font-size: 1.6rem;
line-height: 1.2em;
2017-04-14 07:53:18 +00:00
}
h2 {
font-size: 1.45rem;
font-weight: 500;
}
2017-04-14 07:53:18 +00:00
h3 {
font-size: 1.3rem;
margin: 1em 0 0.1em 0;
font-weight: 500;
2017-04-14 07:53:18 +00:00
}
2017-08-14 21:48:33 +00:00
p {
text-align: justify;
}
2017-04-14 07:53:18 +00:00
p.attention {
text-align: center;
font-style: italic;
2017-04-14 07:53:18 +00:00
}
h4 {
2017-08-13 04:13:41 +00:00
font-weight: 500;
font-style: italic;
2017-04-14 07:53:18 +00:00
}
.project {
2017-08-13 04:13:41 +00:00
display: block;
position: relative;
2017-04-14 07:53:18 +00:00
}
.project-image {
2018-03-22 04:36:00 +00:00
margin-right: 2rem;
display: flex;
2017-08-13 04:13:41 +00:00
flex-direction: column;
2018-03-22 04:36:00 +00:00
position: absolute;
width: 15rem;
max-width: 40%;
right: 100%;
align-items: flex-end;
}
2017-04-14 07:53:18 +00:00
.project-image > img {
max-width: 100%;
2018-03-22 04:36:00 +00:00
margin-bottom: 3rem;
-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);
}
img.headshot {
margin-top: 5rem;
}
.social-links img {
width: 2rem;
}
.social-links {
margin: 1rem;
display: flex;
align-items: center;
justify-content: center;
}
2018-04-02 22:52:32 +00:00
.social-links a {
margin: 0.2rem;
text-decoration: none;
}
span.no-break {
display: inline-block;
}
section {
margin-bottom: 2.3rem;
2017-08-14 21:48:33 +00:00
}
2018-03-22 04:36:00 +00:00
.project-info {
margin: 1.5em 0 5em 0;
}