Skip to content

Commit 8e36ce8

Browse files
authored
Merge pull request #58 from tbrockman/fix
Fixes and restyling
2 parents 2e0b7df + d3bc049 commit 8e36ce8

File tree

126 files changed

+99257
-1358
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+99257
-1358
lines changed

.dockerignore

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
Gemfile.lock
2+
jsnix

Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@ COPY Gemfile Gemfile
66
RUN bundle install
77
COPY . .
88
RUN bundle exec jekyll build
9-
ENTRYPOINT [ "bundle", "exec", "jekyll", "serve", "--force_polling", "--host", "0.0.0.0", "-P", "4000", "--drafts"]
9+
ENTRYPOINT [ "bundle", "exec", "jekyll", "serve", "--force_polling", "--host", "0.0.0.0", "-P", "4000", "--drafts"]
10+
# https:
11+
# ENTRYPOINT [ "bundle", "exec", "jekyll", "serve", "--force_polling", "--host", "0.0.0.0", "-P", "4000", "--drafts", "--ssl-cert", "./cert.pem", "--ssl-key", "./key.pem"]

_config.yml

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ plugins:
2828
feed:
2929
tags: true
3030
url: https://theo.lol
31+
3132
# Exclude from processing.
3233
# The following items will not be processed, by default. Create a custom list
3334
# to override the default setting.
@@ -41,3 +42,4 @@ exclude:
4142
- vendor/ruby/
4243
- scripts
4344
- tmp
45+
- jsnix

_layouts/home.html

+28-23
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,28 @@
1-
<!DOCTYPE html>
2-
<html>
3-
<head>
4-
<meta charset="utf-8">
5-
<meta name="viewport" content="width=device-width, initial-scale=1">
6-
<link rel="preconnect" href="https://fonts.gstatic.com">
7-
<link rel="stylesheet" type="text/css" href="/assets/css/home.css">
8-
<link rel="stylesheet" type="text/css" href="font-awesome-4.7.0/css/font-awesome.min.css">
9-
<link rel="icon" type="image/png" href="favicon-32x32.png" sizes="32x32" />
10-
<link rel="icon" type="image/png" href="favicon-16x16.png" sizes="16x16" />
11-
<title>
12-
theodore brockman - home
13-
</title>
14-
{% seo %}
15-
</head>
16-
<body style="background-color:#252525;">
17-
{% include navbar.html %}
18-
<div class="page-container">
19-
<div id="terminal"></div>
20-
</div>
21-
<script src="page.js" type="module"></script>
22-
<body>
23-
</html>
1+
<!DOCTYPE html>
2+
<!-- generated from jsnix/index.html, do not edit -->
3+
<html>
4+
5+
<head>
6+
<meta charset="utf-8">
7+
<meta name="viewport" content="width=device-width, initial-scale=1">
8+
<link rel="stylesheet" type="text/css" href="assets/css/home.css">
9+
<link rel="stylesheet" type="text/css" href="font-awesome-4.7.0/css/font-awesome.min.css">
10+
<link rel="icon" type="image/png" href="favicon-32x32.png" sizes="32x32" />
11+
<link rel="icon" type="image/png" href="favicon-16x16.png" sizes="16x16" />
12+
<title>
13+
theodore brockman - home
14+
</title>
15+
{% seo %}
16+
<script type="module" crossorigin src="assets/jsnix/assets/index-_VYMQI8U.js"></script>
17+
<link rel="stylesheet" crossorigin href="assets/jsnix/assets/index-D7KvUkdH.css">
18+
</head>
19+
20+
<body style="background-color:#252525;">
21+
{% include navbar.html %}
22+
<div class="page-container">
23+
<div id="jsnix"></div>
24+
</div>
25+
<script src="sw.js"></script>
26+
</body>
27+
28+
</html>

_layouts/old-resume.html

-206
This file was deleted.

_sass/home.scss

+12-17
Original file line numberDiff line numberDiff line change
@@ -31,25 +31,20 @@ $font-family-primary: Consolas, Menlo, Monaco, Lucida Console, Liberation Mono,
3131
padding: initial !important;
3232
display: flex;
3333
justify-content: center;
34+
overflow: hidden;
35+
max-height: calc(100% - var(--navbar-height))
36+
// max-height: calc(100% - 157.5px);
3437
}
3538

36-
.terminal-input {
37-
display: flex;
38-
flex-direction: column;
39-
border: none;
40-
background: #252525;
41-
color: #fff;
42-
outline: none;
43-
caret-color: transparent;
44-
flex-grow: 1;
45-
padding: 2rem 2rem;
46-
font-weight: normal;
47-
font-family: $font-family-primary;
48-
white-space: pre-wrap;
49-
overflow-y: auto;
50-
overflow-x: hidden;
51-
max-width: 80ch;
52-
font-size: 1rem;
39+
#jsnix {
40+
width: 100%;
41+
text-transform: initial;
42+
font-size: 15px;
43+
44+
> .jsnix-container {
45+
display: flex;
46+
justify-content: center;
47+
}
5348
}
5449

5550
#terminal > .input-row {

_sass/navbar.scss

+19-9
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,15 @@ $color-mouseover: #fff;
44
$breakpoint-main: 1400px;
55
$breakpoint-mobile: 800px;
66

7+
:root {
8+
--navbar-height: 157.5px;
9+
}
10+
711
@media(max-width: $breakpoint-mobile) {
12+
:root {
13+
--navbar-height: 114px;
14+
}
15+
816
.navbar {
917

1018
.navbar-drawer.open {
@@ -15,15 +23,15 @@ $breakpoint-mobile: 800px;
1523
padding: 1rem 0 !important;
1624
}
1725
}
18-
19-
div.page-container {
20-
margin-top: 114px !important;
21-
}
2226
}
2327

2428
@media(max-width: $breakpoint-main) {
29+
30+
:root {
31+
--navbar-height: 136px;
32+
}
33+
2534
.navbar {
26-
position: fixed;
2735
z-index: 10;
2836
flex-direction: column;
2937
transition: all 0.2s ease-in;
@@ -104,12 +112,11 @@ $breakpoint-mobile: 800px;
104112
a.fa {
105113
font-size: 3rem !important;
106114
color: #252525;
107-
margin-top: 10px !important;
108115
}
116+
}
109117

110-
div.page-container {
111-
margin-top: 146px;
112-
}
118+
div.page-container {
119+
margin-top: var(--navbar-height);
113120
}
114121

115122
.navbar {
@@ -118,6 +125,9 @@ $breakpoint-mobile: 800px;
118125
background-color: $color-primary;
119126
align-items: center;
120127
justify-content: center;
128+
height: var(--navbar-height);
129+
z-index: 10;
130+
position: fixed;
121131

122132
.container {
123133
display: flex;

0 commit comments

Comments
 (0)