diff options
author | daniel-Jones <daniel@danieljon.es> | 2018-02-15 19:56:07 +1030 |
---|---|---|
committer | daniel-Jones <daniel@danieljon.es> | 2018-02-15 19:56:07 +1030 |
commit | d5192f1ed98c5b7154b78b10a623a855ff3b8b59 (patch) | |
tree | 3781055c94c0c64d86037c801913eedc08ff8a34 | |
parent | 6192bae8f1a0dcbd2091dca76283fac5616ec09f (diff) | |
download | website-d5192f1ed98c5b7154b78b10a623a855ff3b8b59.tar.gz website-d5192f1ed98c5b7154b78b10a623a855ff3b8b59.zip |
made default theme solarized. added light template to later add to the options.
-rw-r--r-- | template.txt | 10 | ||||
-rw-r--r-- | templates/template_light.txt | 38 |
2 files changed, 45 insertions, 3 deletions
diff --git a/template.txt b/template.txt index 1e37ec1..d3ad3b7 100644 --- a/template.txt +++ b/template.txt @@ -10,16 +10,20 @@ <link rel="icon" type="image/png" href="https://danieljon.es/favicon.png"> <title>{TITLE}</title> <style> -body{margin-right: 5%; margin-left: 5%; font-family: Verdana} +*{border-color: #657b83;} +a{color: #268bd2;} +a:visited{color: #6c71c4;} +hr{border: none; background-color: #094352; color: #094352; height: 2px;} +body{background-color: #002b36; color: #839496; margin-right: 5%; margin-left: 5%; font-family: Verdana} img{max-width: 100%; max-height: 100%; overflow: hidden;} -pre{padding-top: 5px; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; background: #d9d9ce; overflow: auto;} +pre{padding-top: 5px; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; background: #073642; overflow: auto;} .middle{text-align: center;} .middiv{margin: auto; width: 80%;} #gentag{text-align: center; font-size: 75%;} h1,h2,h3,h4{padding-left: 5px;} div.viewing{max-width: 70%; width: 100%; display: inline-block; margin: 10px;} div.cover{display:inline-block; vertical-align: top; padding-top: 28px; padding-left: 15px; padding-bottom: 20px;} -.content{border: 1px solid black; border-radius: 5px; padding-top: 15px; padding-bottom: 15px; padding-left: 15px; padding-right: 15px; background: #eeeeec;} +.content{border: 2px solid; border-color: #073642; border-radius: 5px; padding-top: 15px; padding-bottom: 15px; padding-left: 15px; padding-right: 15px;} </style> </head> <body> diff --git a/templates/template_light.txt b/templates/template_light.txt new file mode 100644 index 0000000..1e37ec1 --- /dev/null +++ b/templates/template_light.txt @@ -0,0 +1,38 @@ +<!DOCTYPE html> +<html lang="en"> +<head> +<meta content="text/html;charset=utf-8" http-equiv="Content-Type"> +<meta name="keywords" content="Programming, C++, C, Blog"> +<meta name="description" content="Personal blog/portfolio/site for Daniel Jones"> +<meta name="author" content="Daniel Jones"> +<meta name="viewport" content="width=device-width, initial-scale=1.0"> +<meta http-equiv="Cache-control" content="public"> +<link rel="icon" type="image/png" href="https://danieljon.es/favicon.png"> +<title>{TITLE}</title> +<style> +body{margin-right: 5%; margin-left: 5%; font-family: Verdana} +img{max-width: 100%; max-height: 100%; overflow: hidden;} +pre{padding-top: 5px; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; background: #d9d9ce; overflow: auto;} +.middle{text-align: center;} +.middiv{margin: auto; width: 80%;} +#gentag{text-align: center; font-size: 75%;} +h1,h2,h3,h4{padding-left: 5px;} +div.viewing{max-width: 70%; width: 100%; display: inline-block; margin: 10px;} +div.cover{display:inline-block; vertical-align: top; padding-top: 28px; padding-left: 15px; padding-bottom: 20px;} +.content{border: 1px solid black; border-radius: 5px; padding-top: 15px; padding-bottom: 15px; padding-left: 15px; padding-right: 15px; background: #eeeeec;} +</style> +</head> +<body> +<div class="middle"> +<h1>danieljon.es</h1> +<a href="https://danieljon.es">normal</a> <a href="https://dark.danieljon.es">dark</a> <a href="https://nocss.danieljon.es">no css</a> <br> + +<a href="/">index</a> <a href="/blog">blog</a> <a href="/portfolio.html">projects</a> <a href="/opinions">opinions</a> <a href="https://git.danieljon.es">git</a> +{INFO} +</div> +<div class="content"> +{CONTENT} +</div> +<br> <br> <div id="gentag">page generated {TIME} using <a href="https://git.danieljon.es/website/">sitegenerator</a></div> +</body> +</html> |