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
|
||||
/README.html
|
||||
/book/src
|
||||
/www/book
|
||||
/fuzz/artifacts
|
||||
/fuzz/corpus
|
||||
/fuzz/target
|
||||
@ -9,3 +8,4 @@
|
||||
/test-utilities/Cargo.lock
|
||||
/test-utilities/target
|
||||
/tmp
|
||||
/www/man
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
`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),快看过来!)
|
||||
|
||||
|
@ -6,4 +6,4 @@ src = "src"
|
||||
title = "Just Programmer's Manual"
|
||||
|
||||
[build]
|
||||
build-dir = "../www/book"
|
||||
build-dir = "../www/man"
|
||||
|
@ -16,6 +16,9 @@ html {
|
||||
color: white;
|
||||
overflow: hidden;
|
||||
text-align: center;
|
||||
font-family: sans-serif;
|
||||
font-size: var(--size);
|
||||
line-height: var(--size);
|
||||
}
|
||||
|
||||
a {
|
||||
@ -23,10 +26,11 @@ a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#just {
|
||||
font-family: sans-serif;
|
||||
font-size: var(--size);
|
||||
line-height: var(--size);
|
||||
a:hover {
|
||||
text-shadow: 0 0 5px #fff;
|
||||
}
|
||||
|
||||
body {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
margin-bottom: var(--margin-vertical);
|
||||
@ -35,13 +39,22 @@ a {
|
||||
margin-top: var(--margin-vertical);
|
||||
}
|
||||
|
||||
#just > * {
|
||||
height: var(--size);
|
||||
body > * {
|
||||
width: var(--size);
|
||||
}
|
||||
|
||||
#subtitle {
|
||||
font-style: italic;
|
||||
body > div {
|
||||
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 */
|
||||
|
@ -7,15 +7,14 @@
|
||||
<link href="index.css" rel="stylesheet" type="text/css">
|
||||
</head>
|
||||
<body>
|
||||
<a href="https://github.com/casey/just">
|
||||
<div id="just">
|
||||
<div id="j"></div>
|
||||
<div id="u"></div>
|
||||
<div id="s"></div>
|
||||
<div id="t"></div>
|
||||
</div>
|
||||
<div id="subtitle">a command runner</div>
|
||||
</a>
|
||||
<a href="https://github.com/casey/just">github</a>
|
||||
<a href="man/">manual</a>
|
||||
<a href="https://discord.gg/ezYScXR">discord</a>
|
||||
<a href="https://crates.io/crates/just">crates.io</a>
|
||||
</body>
|
||||
</html>
|
||||
<!-- Love, Casey -->
|
||||
|
Loading…
Reference in New Issue
Block a user