Various small styling changes

This commit is contained in:
NeilBrommer 2018-07-31 14:32:35 -07:00
parent 1082546b57
commit 815d89ad49
4 changed files with 11 additions and 2 deletions

View file

@ -7,7 +7,7 @@
<div class="container">
{{ if isset .Params "description" }}
<div class="jumbotron">
<h1 class="display-4 mb-4">{{ .Title }}</h1>
<h1 id="title" class="display-4 mb-4">{{ .Title }}</h1>
{{ .Params.description | markdownify }}
</div>

View file

@ -13,6 +13,8 @@
</div>
<div class="container">
<h1 id="projects" class="mb-4">Projects</h1>
<div class="card-columns">
{{ range .Site.Data.projects.project }}
{{ partial "projectCard" . }}

View file

@ -2,7 +2,7 @@
<html lang='{{ .Site.Language.Lang | default "en-us" }}'>
<head>
<title>{{ if eq (.Site.Title) (.Title) }}{{ .Site.Title }}{{ else }}{{ .Title }} &middot; {{ .Site.Title }}{{ end }}</title>
<title>{{ if eq (.Site.Title) (.Title) }}{{ .Site.Title }}{{ else }}{{ .Site.Title }} &middot; {{ .Title }}{{ end }}</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />

View file

@ -68,6 +68,13 @@ body {
box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}
h1:not(.card-header):not(#title), h2:not(.card-header), h3:not(.card-header), h4:not(.card-header), h5:not(.card-header), h6:not(.card-header) {
margin-top: 30px;
margin-bottom: 15px;
padding-bottom: 10px;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
a:not(.nav-link):not(.navbar-brand) {
color: #3f51b5;
}