Style and add links to homepage (#1177)
This commit is contained in:
parent
9a7067e624
commit
3adef6d4b7
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,7 +1,6 @@
|
|||||||
/.vagrant
|
/.vagrant
|
||||||
/README.html
|
/README.html
|
||||||
/book/src
|
/book/src
|
||||||
/www/book
|
|
||||||
/fuzz/artifacts
|
/fuzz/artifacts
|
||||||
/fuzz/corpus
|
/fuzz/corpus
|
||||||
/fuzz/target
|
/fuzz/target
|
||||||
@ -9,3 +8,4 @@
|
|||||||
/test-utilities/Cargo.lock
|
/test-utilities/Cargo.lock
|
||||||
/test-utilities/target
|
/test-utilities/target
|
||||||
/tmp
|
/tmp
|
||||||
|
/www/man
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
`just` is a handy way to save and run project-specific commands.
|
`just` is a handy way to save and run project-specific commands.
|
||||||
|
|
||||||
This readme is also available as a [book](https://just.systems/book/);
|
This readme is also available as a [book](https://just.systems/man/);
|
||||||
|
|
||||||
(非官方中文文档,[这里](https://github.com/chinanf-boy/just-zh),快看过来!)
|
(非官方中文文档,[这里](https://github.com/chinanf-boy/just-zh),快看过来!)
|
||||||
|
|
||||||
|
@ -6,4 +6,4 @@ src = "src"
|
|||||||
title = "Just Programmer's Manual"
|
title = "Just Programmer's Manual"
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
build-dir = "../www/book"
|
build-dir = "../www/man"
|
||||||
|
@ -16,6 +16,9 @@ html {
|
|||||||
color: white;
|
color: white;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
font-family: sans-serif;
|
||||||
|
font-size: var(--size);
|
||||||
|
line-height: var(--size);
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
@ -23,10 +26,11 @@ a {
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#just {
|
a:hover {
|
||||||
font-family: sans-serif;
|
text-shadow: 0 0 5px #fff;
|
||||||
font-size: var(--size);
|
}
|
||||||
line-height: var(--size);
|
|
||||||
|
body {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(4, 1fr);
|
grid-template-columns: repeat(4, 1fr);
|
||||||
margin-bottom: var(--margin-vertical);
|
margin-bottom: var(--margin-vertical);
|
||||||
@ -35,13 +39,22 @@ a {
|
|||||||
margin-top: var(--margin-vertical);
|
margin-top: var(--margin-vertical);
|
||||||
}
|
}
|
||||||
|
|
||||||
#just > * {
|
body > * {
|
||||||
height: var(--size);
|
|
||||||
width: var(--size);
|
width: var(--size);
|
||||||
}
|
}
|
||||||
|
|
||||||
#subtitle {
|
body > div {
|
||||||
font-style: italic;
|
height: var(--size);
|
||||||
|
text-shadow: 0 0 5px #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
body > a {
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
font-size: calc(var(--size) / 9);
|
||||||
|
height: calc(var(--size) / 2);
|
||||||
|
justify-content: center;
|
||||||
|
line-height: calc(var(--size) / 9);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* just is an isogram */
|
/* just is an isogram */
|
||||||
|
@ -7,15 +7,14 @@
|
|||||||
<link href="index.css" rel="stylesheet" type="text/css">
|
<link href="index.css" rel="stylesheet" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<a href="https://github.com/casey/just">
|
|
||||||
<div id="just">
|
|
||||||
<div id="j"></div>
|
<div id="j"></div>
|
||||||
<div id="u"></div>
|
<div id="u"></div>
|
||||||
<div id="s"></div>
|
<div id="s"></div>
|
||||||
<div id="t"></div>
|
<div id="t"></div>
|
||||||
</div>
|
<a href="https://github.com/casey/just">github</a>
|
||||||
<div id="subtitle">a command runner</div>
|
<a href="man/">manual</a>
|
||||||
</a>
|
<a href="https://discord.gg/ezYScXR">discord</a>
|
||||||
|
<a href="https://crates.io/crates/just">crates.io</a>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
<!-- Love, Casey -->
|
<!-- Love, Casey -->
|
||||||
|
Loading…
Reference in New Issue
Block a user