html, body {
    height: 100%;
}

body {
    padding-top: 55px;
    display: flex;
    text-align: center;
    flex-direction: column;
}

main {
    margin: auto;
    padding-top: 25px;
    padding-bottom: 25px;
    padding-left: 40px;
    padding-right: 40px;
    flex: 1 0 auto;
    width: 700px;
    font-size: 15px;
	background-color: white;
}

pre code {
	white-space: pre !important;
}

/*footer*/

.copyright {
    margin: 15px 0;
    text-align: center;
}

.tagblock {
	float: left;
}

.tagicon {
	color: #888;
}

.dateblock {
	float: right;
}

/*home page*/

.intro {
    transform: translateY(22vh);
}

.intro > h1 {
    color: #212121;
    font-size: 12vh;
}

.intro > h2 {
    color: #757575;
    font-size: 3vmin;
}

.intro > .profile {
    width: 10vh;
    height: 10vh;
    border-radius: 50%;
}

/*apply accent colour to links*/

a:link, a:visited {
    color: var(--accent);
}

a.icon:hover {
    text-decoration: none;
}

a:hover {
    color: var(--accent) !important;
}

/*paginator at bottom of list view*/

.pages {
    padding: 15px 0;
}

.pages-icon {
    padding: 0 15px;
}

/*list item for posts and projects*/

.item {
    padding: 10px 0;
	text-align: left;
}

.item-tag {
    /*background-color: var(--accent);*/
	background-color: #888;
}

/*evict undesired text decorations*/
.itemhref {
}

a.itemhref:hover, a.itemhref:visited {
	text-decoration: none;
}

/*title and break when presented in the item*/
.titleitem {
	color: var(--accent);
	font-size: 24px;
}

.hritem {
	margin-top: 20px;
	margin-bottom: 0px;
}

/*navigation bar icons*/

.navbar-icon {
    font-size: 125%;
    display: inline-block !important;
}

/*coloured borders at top and bottom of the page*/

.navbar.navbar-default {
    border-top: var(--border-width) solid var(--accent);
}

footer {
    border-bottom: var(--border-width) solid var(--accent);
}

img {
    max-width: 100%;
}

/*coloured title when presented in the front*/

.titletext {
	text-align: center;
	color: var(--accent);
}

p {
	text-align: left;
}

/*for navigating anchored elements*/

h1[id]::before, h2[id]::before, h3[id]::before, h4[id]::before, h5[id]::before {
  content: '';
  display: block;
  height: 55px;
  margin-top: -55px;
  visibility: hidden;
}
