1
1
Fork 0
portfolio/src/assets/stylesheet.css
2019-01-27 10:16:53 -06:00

342 lines
5.2 KiB
CSS

html, body {
padding: 0;
margin: 0;
font-family: 'Source Sans Pro', sans-serif;
font-size: 15pt;
color: #6C7A81;
}
svg {
fill: currentColor;
max-width: 100%;
max-height: 100%;
height: 1em;
}
code {
font-family: 'Source Code Pro', monospace;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Slabo 27px', serif;
}
h1 {
font-size: 35pt;
}
a {
color: #15202C;
}
.-underline {
text-decoration: underline;
}
.-pad-h {
padding-left: 20px;
padding-right: 20px;
}
.-pad-v {
padding-top: 20px;
padding-bottom: 20px;
}
.-mar-no {
margin: 0;
}
.-left {
float: left;
}
.-right {
float: right;
}
.-clearfix:after {
content: "";
display: table;
clear: both;
}
.-container {
position: relative;
max-width: 40rem;
margin: 0 auto;
}
.about-link {
transition: top .15s ease-out;
position: absolute;
top: -5px;
right: 20px;
}
.about-link:hover,
.about-link:focus {
top: 0;
}
.about-link-image {
height: 60px;
border-radius: 0 0 50% 50%;
}
.tag {
padding: 0 .3em;
border-radius: 3px;
margin-bottom: .25em;
margin-right: .5em;
box-shadow: 0px 5px 5px rgba(0, 0, 0, .1);
color: #1A323E;
text-decoration: none;
display: inline-block;
}
.-work-history .tag {
background: #EDF7FF;
}
.-volunteer .tag {
background: #F3EDFF;
}
.-git .tag {
background: #F0FFED;
}
.index-menulink {
color: white;
}
.index-menulink svg {
height: 1.5em;
}
.index-top {
color: #5B7189;
margin-bottom: 2.5rem;
}
.index-top-info {
display: flex;
}
.index-top em {
color: #B8CCE3;
font-style: normal;
text-decoration: none;
}
.index .name {
font-size: 20px;
flex-grow: 1;
}
.index .intro {
font-size: 59px;
line-height: 45px;
margin-top: 0;
margin-bottom: 5px;
text-transform: uppercase;
}
@media screen and (min-width: 550px) {
.index .intro {
margin-top: 2rem;
}
}
.index .tag {
margin-bottom: 1rem;
}
.index,
.interior-header {
background: #15202C;
color: white;
}
.interior-info {
display: flex;
}
.interior-link {
white-space: nowrap;
}
.interior-tags {
flex-grow: 1;
}
.index-interiorlinks {
list-style-type: none;
margin: 0;
padding: 0;
}
.index-interiorlink-wrapper {
margin: 1rem 0;
}
.index-interiorlink {
display: block;
width: 100%;
padding: .5rem 2rem;
color: white;
text-decoration: none;
box-sizing: border-box;
}
.index-interiorlink-description {
height: 1.5em;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.index-interiorlink-icon {
position: relative;
top: .2em;
}
.interior-topbar {
height: 25px;
}
.interior-topbar svg {
color: white;
height: 2rem;
max-height: none;
position: relative;
top: -.5rem;
}
.index-interiorlink.-work-history,
.interior-headline.-work-history {
background: linear-gradient(90deg, rgba(181, 212, 242, .3), rgba(95, 118, 132, .3));
}
.index-interiorlink.-volunteer,
.interior-headline.-volunteer {
background: linear-gradient(90deg, rgba(235, 181, 242, .3), rgba(128, 95, 132, .3));
}
.index-interiorlink.-git,
.interior-headline.-git {
background: linear-gradient(90deg, rgba(181, 242, 186, .3), rgba(95, 132, 105, .3));
}
.interior-headline svg {
vertical-align: bottom;
}
.interior-headline h1 {
line-height: 1em;
margin: 0 auto;
}
.interior-content .interior-description {
margin-top: 0;
margin-bottom: .25em;
color: black;
font-size: 25pt;
}
.interior-content h1:first-of-type {
display: none;
speak: none;
}
.interior-content p > img,
.interior-content p > a > img {
max-height: 300px;
max-width: calc(100% + 40px);
position: relative;
left: -20px;
}
.interior-content p > img[src^="https://travis-ci"],
.interior-content p > img[src^="https://play.google.com/intl/en_us/badges"],
.interior-content p > img[src^="https://emberobserver"],
.interior-content p > img[src^="https://badge"],
.interior-content p > a > img[src^="https://travis-ci"],
.interior-content p > a > img[src^="https://play.google.com/intl/en_us/badges"],
.interior-content p > a > img[src^="https://emberobserver"],
.interior-content p > a > img[src^="https://badge"] {
left: 0;
}
.interior-content pre code {
font-size: 13pt;
border-radius: 3px;
max-width: 100%;
max-height: 6em;
display: block;
overflow: auto;
}
.tags {
list-style: none;
margin: 0;
padding: 0;
}
.index .tags {
height: 1.6em;
overflow: hidden;
}
.popup {
position: fixed;
top: 0;
right: 0;
left: 0;
bottom: 0;
z-index: 10;
transform: translateX(-100vw);
opacity: 0;
transition: opacity .35s;
}
.popup.open {
transform: translateX(0);
opacity: 1;
}
#about {
background: linear-gradient(-20deg, rgba(251, 181, 217, 0) 50%, rgba(250, 206, 190, 1)), linear-gradient(20deg, #92E8FD, #FCBADB);
}
.about-close {
position: absolute;
top: 0;
right: 1rem;
color: white;
}
.about-image {
width: 185px;
margin: 1rem auto;
display: block;
border-radius: 50%;
box-shadow: 0 5px 15px rgba(0,0,0,.4);
}
.about-links {
list-style-type: none;
font-size: 2rem;
line-height: 4rem;
}
.about-links a {
text-decoration: none;
display: flex;
align-items: center;
}
.about-links svg {
margin-right: 1rem;
}
.footer {
font-size: 75%;
margin-top: 3rem;
margin-bottom: 1rem;
}
.footer a {
color: inherit;
}