diff --git a/themes/marcriera b/themes/marcriera deleted file mode 160000 index 5f37fc3..0000000 --- a/themes/marcriera +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 5f37fc30297e7dce3da235a9978392f36e095e03 diff --git a/themes/marcriera/layouts/404.html b/themes/marcriera/layouts/404.html new file mode 100644 index 0000000..171b313 --- /dev/null +++ b/themes/marcriera/layouts/404.html @@ -0,0 +1,5 @@ + +
+ Page not found. +
+ diff --git a/themes/marcriera/layouts/index.html b/themes/marcriera/layouts/index.html new file mode 100644 index 0000000..a3a96df --- /dev/null +++ b/themes/marcriera/layouts/index.html @@ -0,0 +1,41 @@ + + + + {{ .Site.Title }} - {{ .Site.Params.Description }} + + + {{ .Hugo.Generator }} + + + + +
+ + + + +
+ {{ .Content }} +
+ + + +
+ + + diff --git a/themes/marcriera/static/css/theme.css b/themes/marcriera/static/css/theme.css new file mode 100644 index 0000000..33a7039 --- /dev/null +++ b/themes/marcriera/static/css/theme.css @@ -0,0 +1,206 @@ +@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,600,600i,700,700i'); + +/* Basic theme elements */ + +html { + background: #7C454F; +} + +html, +body, +h1, +h2, +h3, +h4, +h5, +h6 { + color: #EEEEEE; + font-family: 'Open Sans', sans-serif; +} + +h1 { + font-size: 175%; + font-weight: 600; + border-bottom: 1px solid #BBBBBB; +} + +h2 { + font-size: 150%; + font-weight: 600; + border-bottom: 1px solid #BBBBBB; +} + +h3 { + font-size: 132%; + margin-bottom: .3em; +} + +h4 { + font-size: 116%; + font-weight: 600; + margin-bottom: .3em; +} + +h5 { + font-size: 100%; + font-weight: 600; + margin-bottom: .3em; +} + +h6 { + font-size: 85%; + font-weight: 600; + margin-bottom: .3em; +} + +p { + margin: .5em 0 .5em 0; +} + +/* Hyperlinks */ + +a { + text-decoration: none; + font-weight: 600; +} + +a:link, +a:active, +a:visited { + color: #EEEEEE; +} + +a:hover, +a.selected { + color: #BBBBBB; +} + + +/* Images */ + +img { + margin: auto; + max-width:100%; + max-height:100%; + display: block; +} + +img.right { + float: right; + margin: 0 0 1em 1em; +} + +img.left { + float: left; + margin: 0 1em 1em 0; +} + + +/* Thematic breaks */ + +hr { + border-bottom: 0; + border-left: 0; + border-right: 0; + margin: 2.5em 0; +} + + + +/* Main container */ + +#container { + background: #C05165; + margin: auto; + border-style: solid; + border-radius: 10px; + border-color: #9E4B5A; +} + + +/* Header */ + +#header { + padding-top: 15px; + display: block; + float: none; + width: 100%; + text-align: center; +} + +#site-logo { + max-width:100%; + max-height:100%; + display: block; + margin: auto; +} + +#site-title { + padding: 10px 20px 0 20px; + font-weight: 600; + font-size: 220%; + display: block; + float: none; + margin: auto; +} + +#site-slogan { + padding: 0px 5px; +} + + + +/* Footer */ + +#footer { + text-align: center; + padding: 10px 20px 10px 20px; + clear: both; + font-size: 12px; +} + + +/* Page title */ + +#page-title { + padding: 10px 20px 10px 20px; + background: #3E3E3E; + border-top: 1px solid #444444; + border-bottom: 1px solid #444444; +} + +#page-title h1 { + margin: 0; + border-bottom: none; +} + + +/* Page content */ + +#content { + padding: 10px 20px 10px 20px; + margin-bottom: 20px; + margin-top: 20px; + text-align: justify; +} + +.timestamp, +.tags { + color: #777; +} + +#content .timestamp { + padding-bottom: 1em; +} + +#content a:link, +#content a:active, +#content a:visited { + color: #EEEEEE; +} + +#content a:hover, +#content a.selected { + color: #CCCCCC; +} + diff --git a/themes/marcriera/theme.toml b/themes/marcriera/theme.toml new file mode 100644 index 0000000..06a048f --- /dev/null +++ b/themes/marcriera/theme.toml @@ -0,0 +1,3 @@ +name = "Marc Riera" +license = "GPL" +min_version = 0.18