Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ site
janet_modules
build
/jpm/

.vscode
37 changes: 27 additions & 10 deletions static/css/docpage.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
padding: 5px;
background: gray;
}

}

/*
Expand All @@ -76,11 +75,11 @@
}

.toc span.selected {
background: #0765911a;
background: #0765911a;
}

.toc span:hover {
background: #0765911a;
background: #0765911a;
}

.toc ul {
Expand Down Expand Up @@ -111,6 +110,12 @@
color: #888;
}

@media (prefers-color-scheme: dark) {
.binding-type {
color: #ccc;
}
}

.binding-sym {
font-family: serif;
font-weight: 600;
Expand All @@ -119,13 +124,25 @@
.binding-text {
color: #444;
margin-top: 14px;
font-family: 'Dosis','Helvetica', sans-serif;
font-family: 'Dosis', 'Helvetica', sans-serif;
}

@media (prefers-color-scheme: dark) {
.binding-text {
color: unset;
}
}

.example-title {
margin-top: 28px;
color: #888;
font-family: 'Dosis','Helvetica', sans-serif;
font-family: 'Dosis', 'Helvetica', sans-serif;
}

@media (prefers-color-scheme: dark) {
.example-title {
color: #ccc;
}
}

/* Toc Toggle */
Expand All @@ -144,7 +161,7 @@
height: 4px;
width: 28px;
border-radius: 2px;
background: #CCC;
background: #ccc;
}

#toc-toggle.open .topbar {
Expand All @@ -171,7 +188,7 @@
}

.prev .prevnext-text::before {
content: "< ";
content: '< ';
}

.next {
Expand All @@ -180,5 +197,5 @@
}

.next .prevnext-text::after {
content: " >";
}
content: ' >';
}
58 changes: 40 additions & 18 deletions static/css/landing.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@

#replterm {
border-radius: 2px 2px 0 0;
border-top: solid #CCC 1px;
border-left: solid #CCC 1px;
border-right: solid #CCC 1px;
border-top: solid #ccc 1px;
border-left: solid #ccc 1px;
border-right: solid #ccc 1px;
font-family: 'Inconsolata', monospace;
padding: 10px;
height: 350px;
Expand All @@ -74,14 +74,30 @@
overflow-y: auto;
}

@media (prefers-color-scheme: dark) {
#replterm {
border-color: #333;
background: #333;
color: #ccc;
}
}

#replinbar {
border-radius: 0 0 2px 2px;
border: solid #CCC 1px;
border: solid #ccc 1px;
font-family: 'Inconsolata', monospace;
margin: 0 10px 10px 10px;
color: black;
display: flex;
background: #F8F8F8;
background: #f8f8f8;
}

@media (prefers-color-scheme: dark) {
#replinbar {
border-color: #333;
color: unset;
background: #1a1a1a;
}
}

#replprompt {
Expand All @@ -99,12 +115,18 @@
margin: 0;
width: 100%;
transition: background 0.3s;
text-indent 2px;
text-indent: 2px;
}

#replin:focus {
outline: none;
background: #F0F0F0;
background: #f0f0f0;
}

@media (prefers-color-scheme: dark) {
#replin:focus {
background: unset;
}
}

#replin br {
Expand All @@ -118,8 +140,8 @@

/* Github Banner */

.github-corner:hover .octo-arm{
animation:octocat-wave 560ms ease-in-out;
.github-corner:hover .octo-arm {
animation: octocat-wave 560ms ease-in-out;
}

/* Donate button */
Expand All @@ -128,23 +150,23 @@
margin: 0 15px;
}

@keyframes octocat-wave{
@keyframes octocat-wave {
0%, 100% {
transform:rotate(0);
transform: rotate(0);
}
20%, 60% {
transform:rotate(-25deg);
transform: rotate(-25deg);
}
40%, 80%{
transform:rotate(10deg);
40%, 80% {
transform: rotate(10deg);
}
}

@media (max-width:500px) {
@media (max-width: 500px) {
.github-corner:hover .octo-arm {
animation:none;
animation: none;
}
.github-corner .octo-arm {
animation:octocat-wave 560ms ease-in-out;
animation: octocat-wave 560ms ease-in-out;
}
}
}
Loading