Skip to content
Snippets Groups Projects
Commit 5c78a4d8 authored by tomanistor's avatar tomanistor
Browse files

Started new theme using Black & Light as base

parents
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
# Outrun
Eye-catching portfolio accompanied by a clean and simple blog.
+++
+++
{{ partial "header.html" . }}
<section id=not-found>
<a href=/>404</a>
</section>
{{ partial "footer.html" . }}
{{ partial "header.html" . }}
<section id=content>
<h1>{{ if .Params.heading }} {{ .Params.heading }} {{ else }} {{ .Title }} {{ end }}</h1>
<div id=sub-header>
{{ .Date.Format (.Site.Params.dateform | default "January 2006") }} · {{ .ReadingTime }} minute read
</div>
<div class="entry-content">
{{ .Content }}
</div>
<div id=links>
{{ if .PrevInSection }}
<a class="basic-alignment left" href="{{.PrevInSection.Permalink}}">&laquo; {{.PrevInSection.Title}}</a>
{{ end }}
{{ if .NextInSection }}
<a class="basic-alignment left" href="{{.NextInSection.Permalink}}">{{.NextInSection.Title}} &raquo;</a>
{{ end }}
</div>
</section>
{{ partial "footer.html" . }}
{{ partial "header.html" . }}
<section id="content">
<ul class="posts_list">
{{ range first 10 .Data.Pages }}
{{ if eq .Type "post" }}
<article>
<h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
<div id=sub-header>
{{ .Date.Format (.Site.Params.dateform | default "January 2006") }} · {{ .ReadingTime }} minute read
</div>
</article>
{{ end }}
{{ end }}
</ul>
</section>
{{ partial "footer.html" . }}
</body>
</html>
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="referrer" content="no-referrer">
<base href="{{ .Site.BaseURL }}">
{{ if .Site.Params.description }}<meta name="description" content="{{ .Site.Params.description }}">{{ end }}
<title>
{{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }}
{{ if eq $url "/" }}
{{ .Site.Title }}
{{ else }}
{{ if .Params.heading }} {{ .Params.heading }} {{ else }} {{ .Title }} {{ end }}
{{ end }}
</title>
<link rel="canonical" href="{{ .Permalink }}">
<link rel="stylesheet" href="css/main.css" type="text/css">
{{ if .RSSLink }}
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
{{ end }}
</head>
<body>
<section id=nav>
<h1><a href="/">{{ .Site.Params.sitename }}</a></h1>
<ul>
{{ range .Site.Menus.main }}
<li><a href="{{ .URL }}">{{ .Name }}</a></li>
{{ end }}
</ul>
</section>
@import url('https://fonts.googleapis.com/css?family=Proxima+Nova|Open+Sans+Condensed+Bold|PT+Mono');
* {
border: 0;
font: inherit;
font-size: 100%;
vertical-align: baseline;
margin: 0;
padding: 0;
color: black;
}
body {
font-family: 'Proxima Nova', 'Open Sans Condensed Bold', sans-serif;
font-size: 22pt;
line-height: 1.7;
color: #1d1313;
max-width: 700px;
margin: auto;
}
p {
margin: 20px 0;
}
a img {
border: none;
}
img {
margin: 10px auto 10px auto;
max-width: 100%;
display: block;
}
pre, code {
font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
background-color: #f7f7f7;
}
code {
font-size: 12px;
padding: 4px;
}
pre {
margin-top: 0;
margin-bottom: 16px;
word-wrap: normal;
padding: 16px;
overflow: auto;
font-size: 85%;
line-height: 1.45;
}
pre>code {
padding: 0;
margin: 0;
font-size: 100%;
word-break: normal;
white-space: pre;
background: transparent;
border: 0;
}
pre code {
display: inline;
max-width: auto;
padding: 0;
margin: 0;
overflow: visible;
line-height: inherit;
word-wrap: normal;
background-color: transparent;
border: 0;
}
pre code::before,
pre code::after {
content: normal;
}
em,q,em,dfn {
font-style:italic;
}
.sans,html .gist .gist-file .gist-meta {
font-family:"Open Sans","Myriad Pro",Myriad,sans-serif;
}
.mono,pre,code,tt,p code,li code {
font-family:Menlo,Monaco,"Andale Mono","lucida console","Courier New",monospace;
}
.heading,.serif,h1,h2,h3 {
font-family:"Old Standard TT",serif;
}
strong {
font-weight:600;
}
q:before {
content:"\201C";
}
q:after {
content:"\201D";
}
del,s {
text-decoration:line-through;
}
blockquote {
font-family:"Old Standard TT",serif;
text-align:center;
padding:50px;
}
blockquote p {
display:inline-block;
font-style:italic;
}
blockquote:before,blockquote:after {
font-family:"Old Standard TT",serif;
content:'\201C';
font-size:35px;
color:#403c3b;
}
blockquote:after {
content:'\201D';
}
hr {
width:40%;
height: 1px;
background:#403c3b;
margin: 25px auto;
}
h1 {
font-size:35px;
}
h2 {
font-size:28px;
}
h3 {
font-size:22px;
margin-top:18px;
}
h1 a,h2 a,h3 a {
text-decoration:none;
}
h1,h2 {
margin-top:28px;
}
#sub-header, time {
color:#403c3b;
font-size:13px;
}
#sub-header {
margin: 0 4px;
}
#nav h1 a {
font-size:35px;
color:#1d1313;
line-height:120%;
}
.posts_listing a,#nav a {
text-decoration: none;
}
li {
margin-left: 20px;
}
ul li {
margin-left: 5px;
}
ul li {
list-style-type: none;
}
ul li:before {
content:"\00BB \0020";
}
#nav ul li:before, .posts_listing li:before {
content:'';
margin-right:0;
}
#content {
text-align:left;
width:100%;
font-size:15px;
padding:60px 0 80px;
}
#content h1,#content h2 {
margin-bottom:5px;
}
#content h2 {
font-size:25px;
}
#content .entry-content {
margin-top:15px;
}
#content time {
margin-left:3px;
}
#content h1 {
font-size:30px;
}
.highlight {
margin: 10px 0;
}
.posts_listing {
margin:0 0 50px;
}
.posts_listing li {
margin:0 0 25px 15px;
}
.posts_listing li a:hover,#nav a:hover {
text-decoration: underline;
}
#nav {
text-align:center;
position:static;
margin-top:60px;
}
#nav ul {
display: table;
margin: 8px auto 0 auto;
}
#nav li {
list-style-type:none;
display:table-cell;
font-size:15px;
padding: 0 20px;
}
#links {
margin: 50px 0 0 0;
}
#links :nth-child(2) {
float:right;
}
#not-found {
text-align: center;
}
#not-found a {
font-family:"Old Standard TT",serif;
font-size: 200px;
text-decoration: none;
display: inline-block;
padding-top: 225px;
}
@media (max-width: 750px) {
body {
padding-left:20px;
padding-right:20px;
}
#nav h1 a {
font-size:28px;
}
#nav li {
font-size:13px;
padding: 0 15px;
}
#content {
margin-top:0;
padding-top:50px;
font-size:14px;
}
#content h1 {
font-size:25px;
}
#content h2 {
font-size:22px;
}
.posts_listing li div {
font-size:12px;
}
}
@media (max-width: 400px) {
body {
padding-left:20px;
padding-right:20px;
}
#nav h1 a {
font-size:22px;
}
#nav li {
font-size:12px;
padding: 0 10px;
}
#content {
margin-top:0;
padding-top:20px;
font-size:12px;
}
#content h1 {
font-size:20px;
}
#content h2 {
font-size:18px;
}
.posts_listing li div{
font-size:12px;
}
}
name = "Outrun"
license = "GNU3.0"
licenselink = "https://github.com/tomanistor/outrun/blob/master/LICENSE"
description = "Eye-catching portfolio accompanied by a clean and simple blog."
homepage = "https://github.com/tomanistor/outrun"
tags = []
features = []
min_version = 0.19
[author]
name = "Toma Nistor"
homepage = "https://tomanistor.com"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment