diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..de565cd --- /dev/null +++ b/.gitignore @@ -0,0 +1,15 @@ +# Jekyll template +_site/ +.sass-cache/ +.jekyll-cache/ +.jekyll-metadata +# Ignore folders generated by Bundler +.bundle/ +vendor/ + +# Ruby +*.gem +Gemlock.file + +# JetBrains +.idea \ No newline at end of file diff --git a/404.html b/404.html new file mode 100644 index 0000000..c472b4e --- /dev/null +++ b/404.html @@ -0,0 +1,24 @@ +--- +layout: default +--- + + + +
Page not found :(
+The requested page could not be found.
+Hello, World!
+ + +``` + + +In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris. + +#### You might want a sub-subheading (h4) + +In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris. + +In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris. + +#### But it's probably overkill (h4) + +In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris. + +##### Could be a smaller sub-heading, `pacman` (h5) + +In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris. + +###### Small yet significant sub-heading (h6) + +In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris. + +### Oh hai, an unordered list!! + +In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris. + +- First item, yo +- Second item, dawg +- Third item, what what?! +- Fourth item, fo sheezy my neezy + +### Oh hai, an ordered list!! + +In arcu magna, aliquet vel pretium et, molestie et arcu. Mauris lobortis nulla et felis ullamcorper bibendum. Phasellus et hendrerit mauris. + +1. First item, yo +2. Second item, dawg +3. Third item, what what?! +4. Fourth item, fo sheezy my neezy + + + +## Headings are cool! (h2) + +Proin eget nibh a massa vestibulum pretium. Suspendisse eu nisl a ante aliquet bibendum quis a nunc. Praesent varius interdum vehicula. Aenean risus libero, placerat at vestibulum eget, ultricies eu enim. Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est. + +Praesent nulla tortor, malesuada adipiscing adipiscing sollicitudin, adipiscing eget est. + +Proin eget nibh a massa vestibulum pretium. Suspendisse eu nisl a ante aliquet bibendum quis a nunc. + +### Tables + +Title 1 | Title 2 | Title 3 | Title 4 +--------------------- | --------------------- | --------------------- | --------------------- +lorem | lorem ipsum | lorem ipsum dolor | lorem ipsum dolor sit +lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit +lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit +lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit | lorem ipsum dolor sit + + +Title 1 | Title 2 | Title 3 | Title 4 +--- | --- | --- | --- +lorem | lorem ipsum | lorem ipsum dolor | lorem ipsum dolor sit +lorem ipsum dolor sit amet | lorem ipsum dolor sit amet consectetur | lorem ipsum dolor sit amet | lorem ipsum dolor sit +lorem ipsum dolor | lorem ipsum | lorem | lorem ipsum +lorem ipsum dolor | lorem ipsum dolor sit | lorem ipsum dolor sit amet | lorem ipsum dolor sit amet consectetur diff --git a/_posts/2016-05-20-welcome-to-jekyll.md b/_posts/2016-05-20-welcome-to-jekyll.md new file mode 100644 index 0000000..8a79609 --- /dev/null +++ b/_posts/2016-05-20-welcome-to-jekyll.md @@ -0,0 +1,22 @@ +--- +layout: post +--- +You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated. + +To add new posts, simply add a file in the `_posts` directory that follows the convention `YYYY-MM-DD-name-of-post.ext` and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works. + +Jekyll also offers powerful support for code snippets: + +{% highlight ruby %} +def print_hi(name) + puts "Hi, #{name}" +end +print_hi('Tom') +#=> prints 'Hi, Tom' to STDOUT. +{% endhighlight %} + +Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk]. + +[jekyll-docs]: http://jekyllrb.com/docs/home +[jekyll-gh]: https://github.com/jekyll/jekyll +[jekyll-talk]: https://talk.jekyllrb.com/ diff --git a/_sass/hamilton/base.scss b/_sass/hamilton/base.scss new file mode 100644 index 0000000..396d918 --- /dev/null +++ b/_sass/hamilton/base.scss @@ -0,0 +1,204 @@ +html { + font-size: $base-font-size; + + @include media-query($on-small) { + @include relative-font-size(0.89); + } +} + +/** + * Reset some basic elements + */ +body, h1, h2, h3, h4, h5, h6, +p, blockquote, pre, hr, +dl, dd, ol, ul, figure { + margin: 0; + padding: 0; +} + +/** + * Set `margin-bottom` to maintain vertical rhythm + */ +h1, h2, h3, h4, h5, h6, +p, blockquote, pre, +ul, ol, dl, figure, iframe, +%vertical-rhythm { + margin-bottom: $spacing-unit; +} + +/** + * Basic styling + */ +body { + font-family: $base-font-family; + -webkit-text-size-adjust: 100%; + -webkit-font-feature-settings: "kern" 1; + -moz-font-feature-settings: "kern" 1; + -o-font-feature-settings: "kern" 1; + font-feature-settings: "kern" 1; + font-kerning: normal; + display: flex; + min-height: 100vh; + flex-direction: column; + overflow-wrap: break-word; + line-height: $base-line-height; +} + +p { + -webkit-hyphens: auto; + -ms-hyphens: auto; + hyphens: auto; +} + +hr { + margin-top: $spacing-unit; + margin-bottom: $spacing-unit; +} + +/** + * Images + */ +img { + max-width: 100%; + vertical-align: middle; +} + +/** + * Figures + */ +figure > img { + display: block; +} + +figcaption { + @include relative-font-size(0.8); + margin-top: $spacing-unit / 2; +} + +/** + * Lists + */ +ul, ol { + margin-left: $spacing-unit; +} + +li { + > ul, + > ol { + margin-bottom: 0; + } +} + +/** + * Links + */ +a { + text-decoration: none; + + &:hover { + text-decoration: underline; + } +} + +/** + * Blockquotes + */ +blockquote { + border-left: 0.1em solid; + padding-left: $spacing-unit; + font-style: italic; + + > :last-child { + margin-bottom: 0; + } + + i, em { + font-style: normal; + } +} + +/** + * Code formatting + */ +pre, +code { + font-family: $code-font-family; + border-radius: 0.3em; +} + +code { + padding: 0px 5px; +} + +pre { + padding: 8px 12px; + overflow-x: auto; + + > code { + border: 0; + padding-right: 0; + padding-left: 0; + + white-space: pre; + word-break: normal; + word-wrap: normal; + } +} + +.highlight { + border-radius: 0.3em; + @extend %vertical-rhythm; +} + +/** + * Tables + */ +table { + margin-bottom: $spacing-unit; + width: 100%; + border-collapse: collapse; + border: 1px solid; + + th, td { + padding: ($spacing-unit / 3) ($spacing-unit / 2); + } + + th { + border: 1px solid; + } + + td { + border: 1px solid; + } +} + +/** + * Task item list + */ +ul.task-list { + li { + list-style-type: none; + + .task-list-item-checkbox { + margin: 0 .5em .25em -1.6em; + vertical-align: middle; + } + } +} + +/** + * Wrapper + */ +.wrapper { + max-width: calc(#{$content-width} - (#{$spacing-unit})); + margin-right: auto; + margin-left: auto; + padding-right: $spacing-unit / 2; + padding-left: $spacing-unit / 2; + + @media screen and (min-width: $on-large) { + max-width: calc(#{$content-width} - (#{$spacing-unit} * 2)); + padding-right: $spacing-unit; + padding-left: $spacing-unit; + } +} diff --git a/_sass/hamilton/custom-styles.scss b/_sass/hamilton/custom-styles.scss new file mode 100644 index 0000000..a61ba61 --- /dev/null +++ b/_sass/hamilton/custom-styles.scss @@ -0,0 +1 @@ +// Placeholder to allow customizing styles. diff --git a/_sass/hamilton/functions.scss b/_sass/hamilton/functions.scss new file mode 100644 index 0000000..7c4a213 --- /dev/null +++ b/_sass/hamilton/functions.scss @@ -0,0 +1,9 @@ +@mixin media-query($device) { + @media screen and (max-width: $device) { + @content; + } +} + +@mixin relative-font-size($ratio) { + font-size: #{$ratio}rem; +} diff --git a/_sass/hamilton/layout.scss b/_sass/hamilton/layout.scss new file mode 100644 index 0000000..424486d --- /dev/null +++ b/_sass/hamilton/layout.scss @@ -0,0 +1,674 @@ +/** + * Site container + */ +.site-container { + height: 100vh; + width: 100vw; + display: grid; + grid-template-columns: 1fr; + grid-template-rows: $base-font-size * 3 + 6px 1fr; +} + +/** + * Site header + */ +.site-header { + border-top: 5px solid; + border-bottom: 1px solid; + min-height: $base-font-size * 3; + line-height: $base-font-size * 3; + + @include media-query($on-small) { + display: flex; + } +} + +.site-sidebar-button { + position: absolute; + top: 3px; + left: $spacing-unit / 2; + + img { + width: $base-font-size * 2.5; + height: auto; + border-radius: 50%; + } + + @media screen and (min-width: $on-small) { + display: none; + } +} + +.site-title { + @include relative-font-size(1.625); + font-family: $handwriting-font-family; + letter-spacing: -1px; + margin-bottom: 0; + float: left; + + @include media-query($on-small) { + float: center; + } +} + +.site-nav { + position: absolute; + top: 12px; + right: $spacing-unit / 2; + border: 1px solid; + border-radius: 0.4em; + text-align: right; + + .nav-trigger { + display: none; + } + + .menu-icon { + float: right; + width: $base-font-size * 2; + height: $base-font-size * 2; + line-height: 0; + text-align: center; + + svg { + width: $base-font-size; + height: $base-font-size; + padding-top: $base-font-size / 2; + } + } + + label[for="nav-trigger"] { + display: block; + float: right; + width: $base-font-size * 2; + height: $base-font-size * 2; + z-index: 2; + cursor: pointer; + } + + input ~ .trigger { + clear: both; + display: none; + } + + input:checked ~ .trigger { + display: block; + padding-bottom: 5px; + } + + ul.trigger { + list-style-type: none; + margin: 0; + padding: 0; + overflow: hidden; + + li a { + line-height: $base-line-height * $base-font-size * 1.15; + display: inline; + padding: 5px 10px; + margin-left: auto; + } + + .dropdown-content { + display: none; + position: absolute; + z-index: 1; + } + + .dropdown-content a { + padding: 5px 10px; + display: inline-block; + text-align: right; + margin-left: auto; + } + + .dropdown:hover .dropdown-content { + display: block; + } + } + + .current-page { + text-decoration: line-through; + } + + @media screen and (min-width: $on-medium) { + position: static; + float: right; + border: none; + background-color: inherit; + + label[for="nav-trigger"] { + display: none; + } + + .menu-icon { + display: none; + } + + input ~ .trigger { + display: block; + } + + ul.trigger { + li { + float: left; + } + + li a { + display: inline-block; + text-align: center; + padding: 5px 5px; + + // Gaps between nav items, but not on the last one + &:not(:last-child) { + margin-right: 0; + } + margin-left: 10px; + } + + .dropdown-content a { + display: block; + text-align: left; + padding: 5px 15px 5px 5px; + margin-left: 10px; + } + } + } +} + +/** + * Site body + */ +.site-body { + display: grid; + grid-template-columns: calc(#{$content-width} * 0.24) 1fr; + overflow: hidden; + + @include media-query($on-medium) { + grid-template-columns: calc(#{$content-width} * 0.18) 1fr; + } + + @include media-query($on-small) { + grid-template-columns: 1fr; + } +} + +/** + * Site sidebar + */ +.site-sidebar { + padding: $spacing-unit; + border-right: 1px solid; + @include relative-font-size(0.8); + + @include media-query($on-medium) { + padding: $spacing-unit / 2; + @include relative-font-size(0.6); + } + + @include media-query($on-small) { + display: none; + border-right: none; + border-bottom: 1px solid; + } + + @media screen and (min-width: $on-small) { + display: block !important; + } +} + +.sidebar-section { + padding-bottom: $spacing-unit / 2; + border-bottom: 1px solid; + margin-bottom: $spacing-unit / 2; + + &:last-child { + padding-bottom: 0; + border-bottom: 0; + margin-bottom: 0; + } +} + +.sidebar-icon { + margin-right: 0.5em; +} + +.feed-subscribe { + font-weight: bold; + text-align: left; +} + +ul.contact-list { + list-style: none; + margin-left: 0; + margin-bottom: 0; + + li { + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + } +} + +ul.social-icons { + list-style: none; + margin-left: 0; + margin-bottom: 0; + + > li { + display: inline-block; + margin: 0.3em; + } +} + +.author-avatar { + width: $base-font-size * 8; + height: auto; + border-radius: 50%; +} + +.toc-title { + text-align: center; + font-weight: bold; + border: 1px solid; + border-radius: 0.3em 0.3em 0 0; + padding: 0.5rem; + margin: 0; +} + +.toc-nav { + max-height: 70vh; + overflow-y: scroll; + border: 1px solid; + border-top: 0px; + border-radius: 0 0 0.3em 0.3em; + + -webkit-hyphens: auto; + -ms-hyphens: auto; + hyphens: auto; + + ul { + margin: 0; + padding: 0; + } + + a { + display: block; + + &:hover { + text-decoration: none; + } + } + + ul { + list-style: none; + + li a { + font-weight: bold; + border-bottom: 1px solid; + padding: 0.5rem; + } + } + + li ul li a { + font-weight: normal; + padding-left: 1.25rem; + } +} + +/** + * Site main + */ +.site-main { + flex: 1 0 auto; + overflow-y: scroll; + + // Hide scrollbar for IE, Edge and Firefox + -ms-overflow-style: none; // IE and Edge + scrollbar-width: none; // Firefox + + padding-left: $spacing-unit; + padding-right: $spacing-unit; + + @include media-query($on-medium) { + padding-left: $spacing-unit / 2; + padding-right: $spacing-unit / 2; + } + + @include media-query($on-small) { + padding-left: 0; + padding-right: 0; + } +} + +// Hide scrollbar for Chrome, Safari and Opera +.site-main::-webkit-scrollbar { + display: none; +} + +/** + * Homepage + */ +.home { + margin-top: $spacing-unit; +} + +.post-list { + font-family: $headline-font-family; + margin-left: 0; + padding-left: 0; + list-style: none; + + li { + padding-top: $spacing-unit / 2; + padding-bottom: $spacing-unit / 2; + border-bottom: 1px solid; + margin-bottom: $spacing-unit; + + h2 { + margin-bottom: 0; + @include relative-font-size(1.4); + + @media screen and (min-width: $on-large) { + @include relative-font-size(1.5); + } + } + + .post-excerpt { + margin-top: $spacing-unit / 2; + + p { + margin-bottom: 0; + } + } + } +} + +/** + * Pagination + */ +.pagination { + list-style: none; + margin: 0 auto; + margin-bottom: $spacing-unit; + display: table; + + li { + float: left; + margin: 5px 15px 5px 0; + + &:last-of-type { margin-right: 0 } + + a, div { + display: block; + padding: $spacing-unit / 4; + border: 1px solid; + min-width: 41px; + text-align: center; + box-sizing: border-box; + } + } +} + +/** + * Posts + */ +.post-header { + padding-top: $spacing-unit * 2; + padding-bottom: $spacing-unit; + border-bottom: 1px solid; + margin-bottom: $spacing-unit * 2; + text-align: center; +} + +.post-meta { + @include relative-font-size(0.8); + margin-bottom: $spacing-unit / 2; +} + +.post-footer { + padding-top: $spacing-unit / 2; + border-top: 1px solid; + border-bottom: 1px solid; +} + +ul.post-taxonomies { + list-style: none; + display: inline-block; + vertical-align: middle; + margin: 0 0 0 $spacing-unit / 3; + + li { + float: left; + margin-right: $spacing-unit / 6; + padding: 0.3em 0.5em 0.2em 0.5em; + } +} + +ul.post-tags { + li { + border-radius: 0.5em; + } +} + +ul.post-categories { + li { + text-decoration: underline; + } +} + +.post-pagination { + @include relative-font-size(0.8); + clear: both; + padding-top: $spacing-unit / 2; + padding-bottom: $spacing-unit / 2; + border-top: 1px solid; + + @media screen and (min-width: $on-small) { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + } + + .post-previous, + .post-next { + display: block; + -webkit-box-flex: 1; + -ms-flex: 1; + flex: 1; + text-decoration: none; + } + + .post-next { + margin-top: $spacing-unit / 2; + + @media screen and (min-width: $on-small) { + margin-top: 0; + text-align: right; + } + } + + .post-pagination-label { + margin: 0; + padding: 0; + } + + .post-pagination-title { + margin: 0; + padding: 0; + } +} + + +// About font sizes for h1-h6, refer to https://stackoverflow.com/a/6140504/13261366 +.post-title, +.post-content h1 { + @include relative-font-size(1.8); + font-family: $headline-font-family; + font-weight: bold; + letter-spacing: -1px; + line-height: $base-line-height * $base-font-size * 2; + + @media screen and (min-width: $on-large) { + @include relative-font-size(2); + } +} + +.post-content { + font-family: $reading-font-family; + margin-bottom: $spacing-unit; + + h2, h3, h4, h5, h6 { + font-family: $headline-font-family; + } + + h2 { margin-top: $spacing-unit * 2 } + h3 { margin-top: $spacing-unit * 1.5 } + h4, h5, h6 { margin-top: $spacing-unit } + + h2 { + @include relative-font-size(1.4); + + @media screen and (min-width: $on-large) { + @include relative-font-size(1.5); + } + } + + h3 { + @include relative-font-size(1.17); + } + + h4 { + @include relative-font-size(1.12); + } + + h5 { + @include relative-font-size(0.83); + } + + h6 { + @include relative-font-size(0.75); + } + + li { + margin-bottom: $spacing-unit / 3; + + > ul, + > ol { + margin-top: $spacing-unit / 3; + } + + p, blockquote, pre, figure, iframe, %vertical-rhythm { + margin-bottom: $spacing-unit / 3; + } + } +} + +/** + * Taxonomies + */ +.taxonomies { + list-style: none; + display: grid; + grid-column-gap: 2em; + grid-template-columns: repeat(3, 1fr); + margin: 0; + padding: 0; + font-weight: bold; + + @include media-query($on-medium) { + grid-template-columns: repeat(2, 1fr); + } + + .taxonomy { + display: flex; + padding: 0.25em 0; + justify-content: space-between; + color: inherit; + text-decoration: none; + border-bottom: 1px solid; + margin-bottom: $spacing-unit / 3; + } +} + +.post-list-by-taxonomy { + time { + font-family: $code-font-family; + } +} + +.back-to-top { + display: block; + font-size: $base-font-size * 0.8; + text-transform: uppercase; + text-align: right; + text-decoration: none; +} + +/** + * Alignment + */ +.align-right { + margin-bottom: 1rem; + margin-left: 1rem; + float: right; +} + +.align-left { + margin-right: 1rem; + margin-bottom: 1rem; + float: left; +} + +.align-center { + display: block; + margin-right: auto; + margin-left: auto; +} + +figcaption.align-right { + text-align: right; +} + +figcaption.align-left { + text-align: left; +} + +figcaption.align-center { + text-align: center; +} + +/** + * Site footer + */ +.site-footer { + margin-top: $spacing-unit * 2; + border-top: 1px solid; + padding: $spacing-unit 0; + @include relative-font-size(0.8); + + p, ul { + margin-bottom: $spacing-unit / 4; + } +} + +@media screen and (min-width: $on-medium) { + .footer-col-wrapper { + display: flex + } + + .footer-col { + width: calc(100% - (#{$spacing-unit} / 2)); + padding: 0 ($spacing-unit / 2); + + &:first-child { + padding-right: $spacing-unit / 2; + padding-left: 0; + } + + &:last-child { + padding-right: 0; + padding-left: $spacing-unit / 2; + } + } +} diff --git a/_sass/hamilton/main.scss b/_sass/hamilton/main.scss new file mode 100644 index 0000000..eef8039 --- /dev/null +++ b/_sass/hamilton/main.scss @@ -0,0 +1,11 @@ +@charset "utf-8"; + +@import + "hamilton/normalize", + "hamilton/variables", + "hamilton/override-variables", + "hamilton/functions", + "hamilton/base", + "hamilton/layout", + "hamilton/custom-styles" +; diff --git a/_sass/hamilton/normalize.scss b/_sass/hamilton/normalize.scss new file mode 100644 index 0000000..192eb9c --- /dev/null +++ b/_sass/hamilton/normalize.scss @@ -0,0 +1,349 @@ +/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */ + +/* Document + ========================================================================== */ + +/** + * 1. Correct the line height in all browsers. + * 2. Prevent adjustments of font size after orientation changes in iOS. + */ + +html { + line-height: 1.15; /* 1 */ + -webkit-text-size-adjust: 100%; /* 2 */ +} + +/* Sections + ========================================================================== */ + +/** + * Remove the margin in all browsers. + */ + +body { + margin: 0; +} + +/** + * Render the `main` element consistently in IE. + */ + +main { + display: block; +} + +/** + * Correct the font size and margin on `h1` elements within `section` and + * `article` contexts in Chrome, Firefox, and Safari. + */ + +h1 { + font-size: 2em; + margin: 0.67em 0; +} + +/* Grouping content + ========================================================================== */ + +/** + * 1. Add the correct box sizing in Firefox. + * 2. Show the overflow in Edge and IE. + */ + +hr { + box-sizing: content-box; /* 1 */ + height: 0; /* 1 */ + overflow: visible; /* 2 */ +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + +pre { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ +} + +/* Text-level semantics + ========================================================================== */ + +/** + * Remove the gray background on active links in IE 10. + */ + +a { + background-color: transparent; +} + +/** + * 1. Remove the bottom border in Chrome 57- + * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. + */ + +abbr[title] { + border-bottom: none; /* 1 */ + text-decoration: underline; /* 2 */ + text-decoration: underline dotted; /* 2 */ +} + +/** + * Add the correct font weight in Chrome, Edge, and Safari. + */ + +b, +strong { + font-weight: bolder; +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ + +code, +kbd, +samp { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ +} + +/** + * Add the correct font size in all browsers. + */ + +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` elements from affecting the line height in + * all browsers. + */ + +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sub { + bottom: -0.25em; +} + +sup { + top: -0.5em; +} + +/* Embedded content + ========================================================================== */ + +/** + * Remove the border on images inside links in IE 10. + */ + +img { + border-style: none; +} + +/* Forms + ========================================================================== */ + +/** + * 1. Change the font styles in all browsers. + * 2. Remove the margin in Firefox and Safari. + */ + +button, +input, +optgroup, +select, +textarea { + font-family: inherit; /* 1 */ + font-size: 100%; /* 1 */ + line-height: 1.15; /* 1 */ + margin: 0; /* 2 */ +} + +/** + * Show the overflow in IE. + * 1. Show the overflow in Edge. + */ + +button, +input { /* 1 */ + overflow: visible; +} + +/** + * Remove the inheritance of text transform in Edge, Firefox, and IE. + * 1. Remove the inheritance of text transform in Firefox. + */ + +button, +select { /* 1 */ + text-transform: none; +} + +/** + * Correct the inability to style clickable types in iOS and Safari. + */ + +button, +[type="button"], +[type="reset"], +[type="submit"] { + -webkit-appearance: button; +} + +/** + * Remove the inner border and padding in Firefox. + */ + +button::-moz-focus-inner, +[type="button"]::-moz-focus-inner, +[type="reset"]::-moz-focus-inner, +[type="submit"]::-moz-focus-inner { + border-style: none; + padding: 0; +} + +/** + * Restore the focus styles unset by the previous rule. + */ + +button:-moz-focusring, +[type="button"]:-moz-focusring, +[type="reset"]:-moz-focusring, +[type="submit"]:-moz-focusring { + outline: 1px dotted ButtonText; +} + +/** + * Correct the padding in Firefox. + */ + +fieldset { + padding: 0.35em 0.75em 0.625em; +} + +/** + * 1. Correct the text wrapping in Edge and IE. + * 2. Correct the color inheritance from `fieldset` elements in IE. + * 3. Remove the padding so developers are not caught out when they zero out + * `fieldset` elements in all browsers. + */ + +legend { + box-sizing: border-box; /* 1 */ + color: inherit; /* 2 */ + display: table; /* 1 */ + max-width: 100%; /* 1 */ + padding: 0; /* 3 */ + white-space: normal; /* 1 */ +} + +/** + * Add the correct vertical alignment in Chrome, Firefox, and Opera. + */ + +progress { + vertical-align: baseline; +} + +/** + * Remove the default vertical scrollbar in IE 10+. + */ + +textarea { + overflow: auto; +} + +/** + * 1. Add the correct box sizing in IE 10. + * 2. Remove the padding in IE 10. + */ + +[type="checkbox"], +[type="radio"] { + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * Correct the cursor style of increment and decrement buttons in Chrome. + */ + +[type="number"]::-webkit-inner-spin-button, +[type="number"]::-webkit-outer-spin-button { + height: auto; +} + +/** + * 1. Correct the odd appearance in Chrome and Safari. + * 2. Correct the outline style in Safari. + */ + +[type="search"] { + -webkit-appearance: textfield; /* 1 */ + outline-offset: -2px; /* 2 */ +} + +/** + * Remove the inner padding in Chrome and Safari on macOS. + */ + +[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * 1. Correct the inability to style clickable types in iOS and Safari. + * 2. Change font properties to `inherit` in Safari. + */ + +::-webkit-file-upload-button { + -webkit-appearance: button; /* 1 */ + font: inherit; /* 2 */ +} + +/* Interactive + ========================================================================== */ + +/* + * Add the correct display in Edge, IE 10+, and Firefox. + */ + +details { + display: block; +} + +/* + * Add the correct display in all browsers. + */ + +summary { + display: list-item; +} + +/* Misc + ========================================================================== */ + +/** + * Add the correct display in IE 10+. + */ + +template { + display: none; +} + +/** + * Add the correct display in IE 10. + */ + +[hidden] { + display: none; +} diff --git a/_sass/hamilton/override-variables.scss b/_sass/hamilton/override-variables.scss new file mode 100644 index 0000000..dfea309 --- /dev/null +++ b/_sass/hamilton/override-variables.scss @@ -0,0 +1 @@ +// Placeholder to allow overriding predefined variables. diff --git a/_sass/hamilton/skin.scss b/_sass/hamilton/skin.scss new file mode 100644 index 0000000..48d2f1c --- /dev/null +++ b/_sass/hamilton/skin.scss @@ -0,0 +1,185 @@ +@charset "utf-8"; + +body { + color: $text-color; + background-color: $background-color; +} + +a { + color: $link-base-color; + + &:visited { + color: $link-visited-color; + } + + &:hover { + color: $text-color; + } +} + +blockquote { + color: $text-color-light; + border-left-color: $border-color-light; +} + +pre, +code { + background-color: $code-background-color; +} + +pre { + box-shadow: $pre-shadow; +} + +.highlight { + background: $code-background-color; + + .highlighter-rouge & { + background: $code-background-color; + } +} + +table { + color: $table-text-color; + border-color: $table-border-color; + + tr { + &:nth-child(even) { + background-color: $table-zebra-color; + } + } + + th { + background-color: $table-header-bg-color; + border-color: $table-header-border; + } + + td { + border-color: $table-border-color; + } +} + + +///////// Layout /////////// + +.site-header { + background-color: $background-color; + border-top-color: $border-color-dark; + border-bottom-color: $border-color-light; +} + +.site-sidebar { + border-color: $border-color-light; +} + +.site-title { + color: $text-color; + + &:visited { + color: $text-color; + } +} + +.site-nav { + background-color: $background-color; + border-color: $border-color; + + .menu-icon { + > svg path { + fill: $border-color-dark; + } + } + + li a { + color: $text-color; + } + + .dropdown-content { + background-color: $border-color-light; + box-shadow: $dropdown-shadow; + } +} + +.post-list { + li { + border-bottom-color: $border-color-light; + } +} + +.post-header { + border-bottom-color: $border-color-light; +} + +.post-meta { + color: $text-color-light; +} + +.post-footer { + border-color: $border-color-light; +} + +.post-pagination { + border-color: $border-color-light; +} + +ul.post-tags { + li { + background-color: $border-color-light; + } +} + +.pagination { + li { + a, div { + border-color: $border-color-light; + } + + div.pager-edge { + border: 1px dashed $border-color-light; + } + + a.previous-page, a.next-page { + &:hover { + border-color: $border-color; + } + } + } +} + +.taxonomy-count { + color: $text-color-light; +} + +.site-footer { + color: $text-color-light; + border-top-color: $border-color-light; +} + +.sidebar-section { + border-bottom-color: $border-color-light; +} + +.feed-subscribe { + a { + color: $subscribe-color; + } +} + +.toc-title { + color: $background-color; + background-color: $border-color-dark; + border-color: $border-color; +} + +.toc-nav { + border-color: $border-color; + + ul li a { + color: $text-color; + border-color: $border-color; + + &:hover { + background-color: $border-color-light; + } + } +} diff --git a/_sass/hamilton/skins/daylight.scss b/_sass/hamilton/skins/daylight.scss new file mode 100644 index 0000000..9aff5c3 --- /dev/null +++ b/_sass/hamilton/skins/daylight.scss @@ -0,0 +1,234 @@ +$text-color: #111 !default; +$text-color-light: #666 !default; +$background-color: #fff !default; +$code-background-color: #f8f8f8 !default; + +$border-color: #828282 !default; +$border-color-light: lighten($border-color, 40%) !default; +$border-color-dark: darken($border-color, 25%) !default; + +$link-base-color: #003be4 !default; +$link-visited-color: darken($link-base-color, 15%) !default; + +$table-text-color: lighten($text-color, 18%) !default; +$table-zebra-color: mix($background-color, $border-color, 90%) !default; +$table-header-bg-color: mix($background-color, $border-color, 80%) !default; +$table-header-border: $border-color !default; +$table-border-color: lighten($border-color, 20%) !default; + +$pre-shadow: 0 0 4px rgba(17,17,17,0.4) inset !default; +$dropdown-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2) !default; + +$subscribe-color: #b21000 !default; + +// Generated by running `rougify style github`; The version of rougify is 3.16.0 +// ============================================================================= +.highlight table td { padding: 5px; } +.highlight table pre { margin: 0; } +.highlight .cm { + color: #999988; + font-style: italic; +} +.highlight .cp { + color: #999999; + font-weight: bold; +} +.highlight .c1 { + color: #999988; + font-style: italic; +} +.highlight .cs { + color: #999999; + font-weight: bold; + font-style: italic; +} +.highlight .c, .highlight .ch, .highlight .cd, .highlight .cpf { + color: #999988; + font-style: italic; +} +.highlight .err { + color: #a61717; + background-color: #e3d2d2; +} +.highlight .gd { + color: #000000; + background-color: #ffdddd; +} +.highlight .ge { + color: #000000; + font-style: italic; +} +.highlight .gr { + color: #aa0000; +} +.highlight .gh { + color: #999999; +} +.highlight .gi { + color: #000000; + background-color: #ddffdd; +} +.highlight .go { + color: #888888; +} +.highlight .gp { + color: #555555; +} +.highlight .gs { + font-weight: bold; +} +.highlight .gu { + color: #aaaaaa; +} +.highlight .gt { + color: #aa0000; +} +.highlight .kc { + color: #000000; + font-weight: bold; +} +.highlight .kd { + color: #000000; + font-weight: bold; +} +.highlight .kn { + color: #000000; + font-weight: bold; +} +.highlight .kp { + color: #000000; + font-weight: bold; +} +.highlight .kr { + color: #000000; + font-weight: bold; +} +.highlight .kt { + color: #445588; + font-weight: bold; +} +.highlight .k, .highlight .kv { + color: #000000; + font-weight: bold; +} +.highlight .mf { + color: #009999; +} +.highlight .mh { + color: #009999; +} +.highlight .il { + color: #009999; +} +.highlight .mi { + color: #009999; +} +.highlight .mo { + color: #009999; +} +.highlight .m, .highlight .mb, .highlight .mx { + color: #009999; +} +.highlight .sb { + color: #d14; +} +.highlight .sc { + color: #d14; +} +.highlight .sd { + color: #d14; +} +.highlight .s2 { + color: #d14; +} +.highlight .se { + color: #d14; +} +.highlight .sh { + color: #d14; +} +.highlight .si { + color: #d14; +} +.highlight .sx { + color: #d14; +} +.highlight .sr { + color: #009926; +} +.highlight .s1 { + color: #d14; +} +.highlight .ss { + color: #990073; +} +.highlight .s, .highlight .sa, .highlight .dl { + color: #d14; +} +.highlight .na { + color: #008080; +} +.highlight .bp { + color: #999999; +} +.highlight .nb { + color: #0086B3; +} +.highlight .nc { + color: #445588; + font-weight: bold; +} +.highlight .no { + color: #008080; +} +.highlight .nd { + color: #3c5d5d; + font-weight: bold; +} +.highlight .ni { + color: #800080; +} +.highlight .ne { + color: #990000; + font-weight: bold; +} +.highlight .nf, .highlight .fm { + color: #990000; + font-weight: bold; +} +.highlight .nl { + color: #990000; + font-weight: bold; +} +.highlight .nn { + color: #555555; +} +.highlight .nt { + color: #000080; +} +.highlight .vc { + color: #008080; +} +.highlight .vg { + color: #008080; +} +.highlight .vi { + color: #008080; +} +.highlight .nv, .highlight .vm { + color: #008080; +} +.highlight .ow { + color: #000000; + font-weight: bold; +} +.highlight .o { + color: #000000; + font-weight: bold; +} +.highlight .w { + color: #bbbbbb; +} +.highlight { + background-color: #f8f8f8; +} diff --git a/_sass/hamilton/skins/midnight.scss b/_sass/hamilton/skins/midnight.scss new file mode 100644 index 0000000..fb9b60d --- /dev/null +++ b/_sass/hamilton/skins/midnight.scss @@ -0,0 +1,235 @@ +$text-color: lightgrey !default; +$text-color-light: silver !default; +$background-color: #121212 !default; +$code-background-color: #49483e !default; + +$border-color: mix($text-color, $background-color, 30%) !default; +$border-color-light: darken($border-color, 5%) !default; +$border-color-dark: lighten($border-color, 10%) !default; + +$link-base-color: #00b1c9 !default; +$link-visited-color: darken($link-base-color, 5%) !default; + +$table-text-color: lighten($text-color, 18%) !default; +$table-zebra-color: mix($background-color, $border-color-light, 50%) !default; +$table-header-bg-color: mix($background-color, $border-color-light, 5%) !default; +$table-header-border: lighten($border-color, 30%) !default; +$table-border-color: lighten($border-color, 20%) !default; + +$pre-shadow: 0 0 4px rgba(255,255,255,0.4) inset !default; +$dropdown-shadow: 0px 8px 16px 0px rgba(255,255,255,0.2) !default; + +$subscribe-color: tomato !default; + +// Generated by running `rougify style base16.monokai.dark`; The version of rougify is 3.15.0 +// ============================================================================= +.highlight table td { padding: 5px; } +.highlight table pre { margin: 0; } +.highlight .c, .highlight .ch, .highlight .cd, .highlight .cpf { + color: #75715e; + font-style: italic; +} +.highlight .cm { + color: #75715e; + font-style: italic; +} +.highlight .c1 { + color: #75715e; + font-style: italic; +} +.highlight .cp { + color: #75715e; + font-weight: bold; +} +.highlight .cs { + color: #75715e; + font-weight: bold; + font-style: italic; +} +.highlight .err { + color: #960050; + background-color: #1e0010; +} +.highlight .gi { + color: #ffffff; + background-color: #324932; +} +.highlight .gd { + color: #ffffff; + background-color: #493131; +} +.highlight .ge { + color: #000000; + font-style: italic; +} +.highlight .gr { + color: #aa0000; +} +.highlight .gt { + color: #aa0000; +} +.highlight .gh { + color: #999999; +} +.highlight .go { + color: #888888; +} +.highlight .gp { + color: #555555; +} +.highlight .gs { + font-weight: bold; +} +.highlight .gu { + color: #aaaaaa; +} +.highlight .k, .highlight .kv { + color: #66d9ef; + font-weight: bold; +} +.highlight .kc { + color: #66d9ef; + font-weight: bold; +} +.highlight .kd { + color: #66d9ef; + font-weight: bold; +} +.highlight .kp { + color: #66d9ef; + font-weight: bold; +} +.highlight .kr { + color: #66d9ef; + font-weight: bold; +} +.highlight .kt { + color: #66d9ef; + font-weight: bold; +} +.highlight .kn { + color: #f92672; + font-weight: bold; +} +.highlight .ow { + color: #f92672; + font-weight: bold; +} +.highlight .o { + color: #f92672; + font-weight: bold; +} +.highlight .mf { + color: #ae81ff; +} +.highlight .mh { + color: #ae81ff; +} +.highlight .il { + color: #ae81ff; +} +.highlight .mi { + color: #ae81ff; +} +.highlight .mo { + color: #ae81ff; +} +.highlight .m, .highlight .mb, .highlight .mx { + color: #ae81ff; +} +.highlight .se { + color: #ae81ff; +} +.highlight .sb { + color: #e6db74; +} +.highlight .sc { + color: #e6db74; +} +.highlight .sd { + color: #e6db74; +} +.highlight .s2 { + color: #e6db74; +} +.highlight .sh { + color: #e6db74; +} +.highlight .si { + color: #e6db74; +} +.highlight .sx { + color: #e6db74; +} +.highlight .sr { + color: #e6db74; +} +.highlight .s1 { + color: #e6db74; +} +.highlight .ss { + color: #e6db74; +} +.highlight .s, .highlight .sa, .highlight .dl { + color: #e6db74; +} +.highlight .na { + color: #a6e22e; +} +.highlight .nc { + color: #a6e22e; + font-weight: bold; +} +.highlight .nd { + color: #a6e22e; + font-weight: bold; +} +.highlight .ne { + color: #a6e22e; + font-weight: bold; +} +.highlight .nf, .highlight .fm { + color: #a6e22e; + font-weight: bold; +} +.highlight .no { + color: #66d9ef; +} +.highlight .bp { + color: #f8f8f2; +} +.highlight .nb { + color: #f8f8f2; +} +.highlight .ni { + color: #f8f8f2; +} +.highlight .nn { + color: #f8f8f2; +} +.highlight .vc { + color: #f8f8f2; +} +.highlight .vg { + color: #f8f8f2; +} +.highlight .vi { + color: #f8f8f2; +} +.highlight .nv, .highlight .vm { + color: #f8f8f2; +} +.highlight .w { + color: #f8f8f2; +} +.highlight .nl { + color: #f8f8f2; + font-weight: bold; +} +.highlight .nt { + color: #f92672; +} +.highlight { + color: #f8f8f2; + background-color: #49483e; +} diff --git a/_sass/hamilton/skins/sunrise.scss b/_sass/hamilton/skins/sunrise.scss new file mode 100644 index 0000000..d695689 --- /dev/null +++ b/_sass/hamilton/skins/sunrise.scss @@ -0,0 +1,109 @@ +$text-color: #222 !default; +$text-color-light: #373737 !default; +$background-color: #ecdbbb !default; +$code-background-color: #fbf1c7 !default; + +$border-color: mix(#000, $background-color, 20%) !default; +$border-color-light: lighten($border-color, 10%) !default; +$border-color-dark: darken($border-color, 25%) !default; + +$link-base-color: #760000 !default; +$link-visited-color: darken($link-base-color, 5%) !default; + +$table-text-color: lighten($text-color, 18%) !default; +$table-zebra-color: mix($background-color, $border-color, 80%) !default; +$table-header-bg-color: mix($background-color, $border-color, 70%) !default; +$table-header-border: $border-color !default; +$table-border-color: $border-color-light !default; + +$pre-shadow: 0 0 4px rgba(34,34,34,0.4) inset !default; +$dropdown-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2) !default; + +$subscribe-color: #004e00 !default; + +// Generated by running `rougify style gruvbox.light`; The version of rougify is 3.15.0 +// ============================================================================= +.highlight table td { padding: 5px; } +.highlight table pre { margin: 0; } +.highlight, .highlight .w { + color: #282828; + background-color: #fbf1c7; +} +.highlight .err { + color: #9d0006; + background-color: #fbf1c7; + font-weight: bold; +} +.highlight .c, .highlight .ch, .highlight .cd, .highlight .cm, .highlight .cpf, .highlight .c1, .highlight .cs { + color: #928374; + font-style: italic; +} +.highlight .cp { + color: #427b58; +} +.highlight .nt { + color: #9d0006; +} +.highlight .o, .highlight .ow { + color: #282828; +} +.highlight .p, .highlight .pi { + color: #282828; +} +.highlight .gi { + color: #79740e; + background-color: #fbf1c7; +} +.highlight .gd { + color: #9d0006; + background-color: #fbf1c7; +} +.highlight .gh { + color: #79740e; + font-weight: bold; +} +.highlight .k, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kv { + color: #9d0006; +} +.highlight .kc { + color: #8f3f71; +} +.highlight .kt { + color: #b57614; +} +.highlight .kd { + color: #af3a03; +} +.highlight .s, .highlight .sa, .highlight .sb, .highlight .sc, .highlight .dl, .highlight .sd, .highlight .s2, .highlight .sh, .highlight .sx, .highlight .s1 { + color: #79740e; + font-style: italic; +} +.highlight .si { + color: #79740e; + font-style: italic; +} +.highlight .sr { + color: #79740e; + font-style: italic; +} +.highlight .se { + color: #af3a03; +} +.highlight .nn { + color: #427b58; +} +.highlight .nc { + color: #427b58; +} +.highlight .no { + color: #8f3f71; +} +.highlight .na { + color: #79740e; +} +.highlight .m, .highlight .mb, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mx { + color: #8f3f71; +} +.highlight .ss { + color: #076678; +} diff --git a/_sass/hamilton/skins/sunset.scss b/_sass/hamilton/skins/sunset.scss new file mode 100644 index 0000000..9bd0f2c --- /dev/null +++ b/_sass/hamilton/skins/sunset.scss @@ -0,0 +1 @@ +@import "hamilton/skins/sunrise"; diff --git a/_sass/hamilton/variables.scss b/_sass/hamilton/variables.scss new file mode 100644 index 0000000..34f4d02 --- /dev/null +++ b/_sass/hamilton/variables.scss @@ -0,0 +1,16 @@ +// Fonts +$base-font-family: "Open Sans" !default; +$reading-font-family: "Roboto Slab", "Noto Serif SC", "Noto Serif TC" !default; +$headline-font-family: Roboto, "Noto Sans SC", "Noto Sans TC" !default; +$code-font-family: Inconsolata !default; +$handwriting-font-family: "Dancing Script", "Ma Shan Zheng" !default; +$base-font-size: 18px !default; +$base-line-height: 1.5 !default; + +// Layouts +$spacing-unit: 2rem !default; +$content-width: 1100px !default; + +$on-small: 600px !default; +$on-medium: 900px !default; +$on-large: 1100px !default; diff --git a/about.md b/about.md new file mode 100644 index 0000000..1705bdd --- /dev/null +++ b/about.md @@ -0,0 +1,7 @@ +--- +layout: page +title: About +permalink: /about/ +--- + +Another minimal style of Jekyll theme for writers. diff --git a/announcements.md b/announcements.md new file mode 100644 index 0000000..f11dc7d --- /dev/null +++ b/announcements.md @@ -0,0 +1,6 @@ +--- +layout: archive-taxonomies +type: tags +title: Announcements +permalink: /announcements/ +--- diff --git a/assets/css/main.scss b/assets/css/main.scss new file mode 100644 index 0000000..259d385 --- /dev/null +++ b/assets/css/main.scss @@ -0,0 +1,4 @@ +--- +--- + +@import "hamilton/main"; diff --git a/assets/css/skin-daylight.scss b/assets/css/skin-daylight.scss new file mode 100644 index 0000000..c151d2c --- /dev/null +++ b/assets/css/skin-daylight.scss @@ -0,0 +1,7 @@ +--- +--- + +@import + "hamilton/skins/daylight", + "hamilton/skin" +; diff --git a/assets/css/skin-midnight.scss b/assets/css/skin-midnight.scss new file mode 100644 index 0000000..81181e5 --- /dev/null +++ b/assets/css/skin-midnight.scss @@ -0,0 +1,7 @@ +--- +--- + +@import + "hamilton/skins/midnight", + "hamilton/skin" +; diff --git a/assets/css/skin-sunrise.scss b/assets/css/skin-sunrise.scss new file mode 100644 index 0000000..5d66760 --- /dev/null +++ b/assets/css/skin-sunrise.scss @@ -0,0 +1,7 @@ +--- +--- + +@import + "hamilton/skins/sunrise", + "hamilton/skin" +; diff --git a/assets/css/skin-sunset.scss b/assets/css/skin-sunset.scss new file mode 100644 index 0000000..322264f --- /dev/null +++ b/assets/css/skin-sunset.scss @@ -0,0 +1,7 @@ +--- +--- + +@import + "hamilton/skins/sunset", + "hamilton/skin" +; diff --git a/assets/css/skin.scss b/assets/css/skin.scss new file mode 100644 index 0000000..f7e2c0c --- /dev/null +++ b/assets/css/skin.scss @@ -0,0 +1,7 @@ +--- +--- + +@import + "hamilton/skins/{{ site.skin | default: 'daylight' }}", + "hamilton/skin" +; diff --git a/docs.md b/docs.md new file mode 100644 index 0000000..bfabd8e --- /dev/null +++ b/docs.md @@ -0,0 +1,7 @@ +--- +layout: page +title: Docs +permalink: /docs/ +--- + +A documentation page. diff --git a/faq.md b/faq.md new file mode 100644 index 0000000..b0593d6 --- /dev/null +++ b/faq.md @@ -0,0 +1,7 @@ +--- +layout: page +title: FAQ +permalink: /faq/ +--- + +An FAQ page. diff --git a/index.html b/index.html new file mode 100644 index 0000000..e4d427d --- /dev/null +++ b/index.html @@ -0,0 +1,3 @@ +--- +layout: home +--- diff --git a/initial_pass.png b/initial_pass.png new file mode 100644 index 0000000..3a335ec Binary files /dev/null and b/initial_pass.png differ diff --git a/jekyll-theme-hamilton.gemspec b/jekyll-theme-hamilton.gemspec new file mode 100644 index 0000000..bcb9c48 --- /dev/null +++ b/jekyll-theme-hamilton.gemspec @@ -0,0 +1,24 @@ +# frozen_string_literal: true + +Gem::Specification.new do |spec| + spec.name = "jekyll-theme-hamilton" + spec.version = "4.0.0" + spec.authors = ["Shangzhi Huang"] + spec.email = ["ngzhio@gmail.com"] + + spec.summary = "A minimal and beautiful Jekyll theme best for writing and note-taking." + spec.homepage = "https://github.com/ngzhio/jekyll-theme-hamilton" + spec.license = "MIT" + + spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r!^(assets|_layouts|_includes|_sass|LICENSE|README)!i) } + + spec.add_runtime_dependency "jekyll", "~> 3.9" + spec.add_runtime_dependency "jekyll-seo-tag", "~> 2.6" + spec.add_runtime_dependency "jekyll-feed", "~> 0.13" + spec.add_runtime_dependency "jekyll-sitemap", "~> 1.4" + spec.add_runtime_dependency "jekyll-paginate", "~> 1.1" + spec.add_runtime_dependency "kramdown-parser-gfm", "~> 1.1" + + spec.add_development_dependency "bundler", "~> 2.0" + spec.add_development_dependency "rake", "~> 12.0" +end diff --git a/local.md b/local.md new file mode 100644 index 0000000..721fc96 --- /dev/null +++ b/local.md @@ -0,0 +1,6 @@ +--- +layout: archive-taxonomies +type: local +title: Local Companies +permalink: /local/ +--- diff --git a/members.md b/members.md new file mode 100644 index 0000000..0ad02d9 --- /dev/null +++ b/members.md @@ -0,0 +1,6 @@ +--- +layout: archive-taxonomies +type: members +title: Members +permalink: /members/ +--- diff --git a/news.md b/news.md new file mode 100644 index 0000000..b47ed6c --- /dev/null +++ b/news.md @@ -0,0 +1,6 @@ +--- +layout: archive-taxonomies +type: news +title: Kotlin News +permalink: /news/ +--- diff --git a/previous.md b/previous.md new file mode 100644 index 0000000..0f884fb --- /dev/null +++ b/previous.md @@ -0,0 +1,6 @@ +--- +layout: archive-taxonomies +type: previous +title: Previous +permalink: /previous/ +--- diff --git a/screenshot-midnight.png b/screenshot-midnight.png new file mode 100644 index 0000000..9103421 Binary files /dev/null and b/screenshot-midnight.png differ diff --git a/screenshot-sunrise.png b/screenshot-sunrise.png new file mode 100644 index 0000000..9e9f863 Binary files /dev/null and b/screenshot-sunrise.png differ diff --git a/screenshot.png b/screenshot.png new file mode 100644 index 0000000..1b92b69 Binary files /dev/null and b/screenshot.png differ diff --git a/scripts/server b/scripts/server new file mode 100755 index 0000000..c093910 --- /dev/null +++ b/scripts/server @@ -0,0 +1,3 @@ +#!/bin/sh + +bundle exec jekyll serve --trace \ No newline at end of file diff --git a/sdkotlin.github.io.iml b/sdkotlin.github.io.iml new file mode 100644 index 0000000..8021953 --- /dev/null +++ b/sdkotlin.github.io.iml @@ -0,0 +1,9 @@ + +