1
1
mirror of https://github.com/casey/just.git synced 2024-11-26 00:24:22 +03:00
This commit is contained in:
casey 2022-05-04 06:28:56 +00:00
parent 84910a2fa3
commit 4f69bdda8a
112 changed files with 56 additions and 44 deletions

View File

@ -1,55 +1,68 @@
:root {
--width-target: calc(100vw / 6);
--height-target: calc(100vh / 3);
--size: min(var(--width-target), var(--height-target));
--margin-vertical: calc((100vh - var(--size) * 2) / 2);
--margin-horizontal: calc((100vw - var(--size) * 5) / 2);
--width-target: calc(100vw / 6);
--height-target: calc(100vh / 3);
--size: min(var(--width-target), var(--height-target));
--margin-vertical: calc((100vh - var(--size) * 2) / 2);
--margin-horizontal: calc((100vw - var(--size) * 5) / 2);
}
* {
margin: 0;
margin: 0;
padding: 0;
}
html {
background-color: black;
color: white;
overflow: hidden;
text-align: center;
color: white;
overflow: hidden;
text-align: center;
font-family: sans-serif;
font-size: var(--size);
line-height: var(--size);
}
a {
color: white;
color: white;
text-decoration: none;
}
#just {
font-family: sans-serif;
font-size: var(--size);
line-height: var(--size);
display: grid;
a:hover {
text-shadow: 0 0 5px #fff;
}
body {
display: grid;
grid-template-columns: repeat(4, 1fr);
margin-bottom: var(--margin-vertical);
margin-left: var(--margin-horizontal);
margin-right: var(--margin-horizontal);
margin-top: var(--margin-vertical);
margin-bottom: var(--margin-vertical);
margin-left: var(--margin-horizontal);
margin-right: var(--margin-horizontal);
margin-top: var(--margin-vertical);
}
#just > * {
height: var(--size);
width: 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 */
#j:after { content: 'j'; }
#j:hover:after { content: 'J'; }
#u:after { content: 'u'; }
#u:hover:after { content: 'U'; }
#s:after { content: 's'; }
#s:hover:after { content: 'S'; }
#t:after { content: 't'; }
#t:hover:after { content: 'T'; }
#j:after { content: 'j'; }
#j:hover:after { content: 'J'; }
#u:after { content: 'u'; }
#u:hover:after { content: 'U'; }
#s:after { content: 's'; }
#s:hover:after { content: 'S'; }
#t:after { content: 't'; }
#t:hover:after { content: 'T'; }

View File

@ -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>
<div id="j"></div>
<div id="u"></div>
<div id="s"></div>
<div id="t"></div>
<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 -->

View File

Before

Width:  |  Height:  |  Size: 434 KiB

After

Width:  |  Height:  |  Size: 434 KiB

View File

@ -141,7 +141,7 @@
<a href="https://discord.gg/ezYScXR"><img src="https://img.shields.io/discord/695580069837406228?logo=discord" alt="chat on discord" /></a>
<a href="mailto:casey@rodarmor.com?subject=Thanks%20for%20Just!"><img src="https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg" alt="say thanks" /></a></p>
<p><code>just</code> is a handy way to save and run project-specific commands.</p>
<p>This readme is also available as a <a href="https://just.systems/book/">book</a>;</p>
<p>This readme is also available as a <a href="https://just.systems/man/">book</a>;</p>
<p>(非官方中文文档,<a href="https://github.com/chinanf-boy/just-zh">这里</a>,快看过来!)</p>
<p>Commands, called recipes, are stored in a file called <code>justfile</code> with syntax inspired by <code>make</code>:</p>
<p><img src="screenshot.png" alt="screenshot" /></p>

View File

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Some files were not shown because too many files have changed in this diff Show More