Skip to content

Commit

Permalink
basic scaffolding
Browse files Browse the repository at this point in the history
  • Loading branch information
utaal committed May 3, 2024
1 parent 7f98024 commit 9454011
Show file tree
Hide file tree
Showing 11 changed files with 457 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pages/2024/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/vendor/
/_site/
6 changes: 6 additions & 0 deletions pages/2024/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
source "https://rubygems.org"
gem 'jekyll'
gem 'kramdown'
gem 'rouge'
gem 'jekyll-feed'
gem 'webrick'
78 changes: 78 additions & 0 deletions pages/2024/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
colorator (1.1.0)
concurrent-ruby (1.2.3)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
ffi (1.16.3)
forwardable-extended (2.6.0)
google-protobuf (4.26.1-x86_64-linux)
rake (>= 13)
http_parser.rb (0.8.0)
i18n (1.14.4)
concurrent-ruby (~> 1.0)
jekyll (4.3.3)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (>= 2.0, < 4.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.3, >= 2.3.1)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (>= 0.3.6, < 0.5)
pathutil (~> 0.9)
rouge (>= 3.0, < 5.0)
safe_yaml (~> 1.0)
terminal-table (>= 1.8, < 4.0)
webrick (~> 1.7)
jekyll-feed (0.17.0)
jekyll (>= 3.7, < 5.0)
jekyll-sass-converter (3.0.0)
sass-embedded (~> 1.54)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.4)
listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (5.0.5)
rake (13.2.1)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.2.6)
rouge (4.2.1)
safe_yaml (1.0.5)
sass-embedded (1.76.0-x86_64-linux-musl)
google-protobuf (>= 3.25, < 5.0)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
unicode-display_width (2.5.0)
webrick (1.8.1)

PLATFORMS
x86_64-linux-musl

DEPENDENCIES
jekyll
jekyll-feed
kramdown
rouge
webrick

BUNDLED WITH
2.3.25
12 changes: 12 additions & 0 deletions pages/2024/_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
markdown: kramdown
highlighter: rouge

permalink: /blog/:year/:title:output_ext

# plugins:
# - jekyll-feed
#
# feed:
# path: blog/feed.xml
#
# url:
49 changes: 49 additions & 0 deletions pages/2024/css/base.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
* { margin: 0; padding: 0;}

body, html { height:100%; }
body {
padding-top: 20px;
font-family: 'Open Sans', sans-serif;
font-size: 11pt;
}
a {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}

div.main {
display: block;
background-color: white;
padding: 30px 10px 30px 10px;
color: #222;
border-bottom: 1px solid #999;
}
div.posts {
display: block;
flex-grow: 1;
margin-left: 30px;
margin-right: 30px;
max-width: 500px;
}
div.posts .excerpt {
text-align: justify;
}
div.main:first-child {
margin-top: 20px;
border-top: 1px solid #999;
}
div.main:last-child {
margin-bottom: 40px;
}
div.main.highlight {
background-color: #d0d0ff;
}

div.base_header {
display: flex;
justify-content: space-between;
padding-left: 40px;
padding-right: 40px;
}
113 changes: 113 additions & 0 deletions pages/2024/css/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
div.container {
display: flex;
align-items: flex-start;
}
div.hero {
margin-left: 30px;
margin-right: 30px;
}
h1#title {
display: none;
margin-top: 20px;
text-shadow: #666 2px -2px 4px;
color: white;
text-align: center;
}
span.name-span {
font-weight: bold;
}
@media screen and (min-width: 880px) {
div.hero > div.main {
width: 800px;
}
div.base_header {
width: 800px;
}
}
@media screen and (max-width: 879px) {
div.container {
flex-direction: column;
}
div.hero, div.posts {
margin-left: 30px;
margin-right: 30px;
align-self: stretch;
max-width: none;
}
div.base_header {
}
}
@media screen and (max-width: 660px) {
.main.header > img {
padding: 0;
padding-top: 20px;
padding-bottom: 10px;
float: none;
}
}
p {
padding: 0px;
margin: 5px 0px 0px 0px;
}
span.email {
color: #555;
}
p:first-child {
margin-top: 0px;

}
div.relative {
position: relative;
}
.card.header > img {
float: right;
height: 240px;
padding-left: 20px;
margin-right: -10px;
margin-top: -30px;
}
.card-name {
}
p.text, .text > p {
text-align: justify;
-webkit-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
}
.excerpt {
margin-top: 6pt;
margin-bottom: 6pt;
}
div.attribution {
font-size: 0.75em;
border-bottom: none;
}

ul.blog > li.post > div.title {
font-weight: bold;
}

div.main.activity {
display: none;
}

div.main > h3 {
margin-top: 20px;
padding-bottom: 10px;
}

div.main > h3:first-child {
margin-top: 0px;
}

div.main > h3.small-h3 {
margin: 0;
padding: 0;
font-size: 100%;
line-height: 100%;
}

span.comment {
font-size: 80%;
}

94 changes: 94 additions & 0 deletions pages/2024/css/post.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
div.content p, div.content ul, div.content ol {
font-family: 'Source Serif Pro', serif;
font-size: 13pt;
}
div.content ul, div.content ol {
margin-left: 20pt;
}
div.content img {
padding-top: 10pt;
padding-bottom: 10pt;
}
div.content h2 {
margin-top: 18pt;
margin-bottom: 12pt;
}
div.content h3,
div.content h4 {
margin-top: 12pt;
margin-bottom: 8pt;
}
div.content p {
margin: 5px 0px 0px 0px;
text-align: justify;
-webkit-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
}
div.author {
text-align: center;
}
/* images */
div.content div.image {
padding:10px;
margin:20px 10px 20px 10px;
background-color: #eee;
}
/* code lines and highlight */
td.gutter.gl {
padding-right: 10px;
color: #aaa;
}
figure.highlight > pre, pre.highlight {
border-left: 1px solid #aaa;
padding-left: 10px;
margin-top: 10pt;
margin-bottom: 10pt;
overflow: auto;
}
hr {
margin-top: 20pt;
margin-bottom: 20pt;
border: 0;
border-top: 1px solid #aaa;
}

div.container {
display: block;
padding-left: 30px;
padding-right: 30px;
max-width: 800px;
}
div.base_header {
max-width: 780px;
margin-left: 30px;
margin-right: 30px;
}
@media (min-width: 600px) {
div.container {
margin-left: 30px;
margin-right: 30px;
}
}
@media (max-width: 600px) {
div.container {
padding-left: 10px;
padding-right: 10px;
}
div.base_header {
margin-left: 10px;
margin-right: 10px;
padding-left: 10px;
padding-right: 10px;
}
}

div.footnotes::before {
content: "Footnotes"
}
div.footnotes {
margin-top: 3em;
}
div.footnotes ol, div.footnotes p {
font-size: 11pt;
}
Loading

0 comments on commit 9454011

Please sign in to comment.