Created
November 13, 2019 20:33
-
-
Save hhoover/2d8ca85c0f470d2ceb59c1be078bea02 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html, body { | |
height: 100%; | |
} | |
body { | |
padding-top: 55px; | |
display: flex; | |
text-align: center; | |
flex-direction: column; | |
} | |
main { | |
margin: auto; | |
padding: 25px; | |
flex: 1 0 auto; | |
max-width: 750px; | |
} | |
img { | |
max-width: 100%; | |
} | |
/* Homepage */ | |
.intro { | |
transform: translateY(22vh); | |
} | |
.intro > h1 { | |
color: #212121; | |
font-size: 12vh; | |
} | |
.intro > h2 { | |
color: #757575; | |
font-size: 3vmin; | |
} | |
/* Page content */ | |
.content { | |
padding-top: 20px; | |
} | |
/* Profile picture */ | |
.profile { | |
width: 10vh; | |
height: 10vh; | |
border-radius: 50%; | |
} | |
/* Colored links */ | |
a:link, a:visited { | |
color: var(--accent); | |
} | |
a.icon:hover { | |
text-decoration: none; | |
} | |
a:hover { | |
color: var(--accent) !important; | |
} | |
/* Copyright message */ | |
.copyright { | |
margin: 15px 0; | |
} | |
/* Paginator */ | |
.pages { | |
padding: 15px 0; | |
} | |
.pages-icon { | |
padding: 0 15px; | |
} | |
/* List item for posts/projects */ | |
.item { | |
padding: 10px 0; | |
} | |
.item-tag { | |
background-color: var(--accent); | |
} | |
/* Navigation icons */ | |
.navbar-icon { | |
font-size: 125%; | |
display: inline-block !important; | |
} | |
/* Colored borders at top/bottom of page */ | |
.navbar.navbar-default { | |
border-top: var(--border-width) solid var(--accent); | |
} | |
footer { | |
border-bottom: var(--border-width) solid var(--accent); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment