mirror of
https://github.com/Gioni06/terminal.css
synced 2025-03-08 15:49:04 -05:00
Do some housekeeping in preparation for next release
This commit is contained in:
parent
aa003f2339
commit
de5b368df3
@ -13,9 +13,10 @@
|
||||
--error-color: #d20962;
|
||||
--progress-bar-background: #727578;
|
||||
--progress-bar-fill: #151515;
|
||||
--code-bg-color: var(--background-color);
|
||||
--code-bg-color: #e8eff2;
|
||||
--input-style: solid;
|
||||
--display-h1-decoration: none;
|
||||
--block-background-color: var(--background-color);
|
||||
}
|
||||
|
||||
* {
|
||||
@ -177,7 +178,7 @@ pre {
|
||||
word-break: break-all;
|
||||
word-wrap: break-word;
|
||||
color: var(--secondary-color);
|
||||
background-color: var(--background-color);
|
||||
background-color: var(--block-background-color);
|
||||
border: 1px solid var(--secondary-color);
|
||||
padding: var(--global-space);
|
||||
white-space: pre-wrap;
|
||||
@ -192,10 +193,10 @@ pre code {
|
||||
display: inline-block;
|
||||
min-width: 100%;
|
||||
font-family: var(--mono-font-stack);
|
||||
background-color: var(--block-background-color);
|
||||
}
|
||||
|
||||
.terminal blockquote,
|
||||
.terminal code,
|
||||
.terminal h1,
|
||||
.terminal h2,
|
||||
.terminal h3,
|
||||
@ -210,6 +211,12 @@ pre code {
|
||||
color: var(--font-color);
|
||||
}
|
||||
|
||||
.terminal code {
|
||||
font-size: var(--global-font-size);
|
||||
font-style: normal;
|
||||
color: var(--font-color);
|
||||
}
|
||||
|
||||
.terminal-prompt {
|
||||
position: relative;
|
||||
white-space: nowrap;
|
||||
@ -908,7 +915,7 @@ figure > figcaption {
|
||||
display: block;
|
||||
overflow-x: auto;
|
||||
padding: 0.5em;
|
||||
background: var(--code-bg-color);
|
||||
background: var(--block-background-color);
|
||||
color: var(--font-color);
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Terminal CSS - Dark
|
||||
description: Terminal CSS is a modern, simple, and accessible CSS framework.
|
||||
description: A modern and minimal CSS framework for terminal lovers.
|
||||
layout: dark
|
||||
---
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Terminal CSS
|
||||
description: Terminal CSS is a modern, simple, and accessible CSS framework.
|
||||
description: A modern and minimal CSS framework for terminal lovers.
|
||||
layout: default
|
||||
---
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Terminal CSS
|
||||
description: Terminal CSS is a modern, simple, and accessible CSS framework.
|
||||
description: A modern and minimal CSS framework for terminal lovers.
|
||||
layout: sans-dark
|
||||
---
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Terminal CSS
|
||||
description: Terminal CSS is a modern, simple, and accessible CSS framework.
|
||||
description: A modern and minimal CSS framework for terminal lovers.
|
||||
layout: sans
|
||||
---
|
||||
|
||||
|
@ -30,7 +30,7 @@
|
||||
</style>
|
||||
</head>
|
||||
<body class="terminal">
|
||||
{{ template "navigation.html" }}
|
||||
{{ template "navigation.html" . }}
|
||||
<div class="container">
|
||||
{{ .Content }}
|
||||
<div class="components components-grid">
|
||||
|
@ -4,7 +4,7 @@
|
||||
{{ template "head.html" . }}
|
||||
</head>
|
||||
<body class="terminal">
|
||||
{{ template "navigation.html" }}
|
||||
{{ template "navigation.html" . }}
|
||||
<div class="container">
|
||||
{{ .Content }}
|
||||
<div class="components components-grid">
|
||||
|
@ -25,7 +25,7 @@
|
||||
</style>
|
||||
</head>
|
||||
<body class="terminal">
|
||||
{{ template "navigation.html" }}
|
||||
{{ template "navigation.html" . }}
|
||||
<div class="container">
|
||||
{{ .Content }}
|
||||
<div class="components components-grid">
|
||||
|
@ -12,7 +12,7 @@
|
||||
</style>
|
||||
</head>
|
||||
<body class="terminal">
|
||||
{{ template "navigation.html" }}
|
||||
{{ template "navigation.html" . }}
|
||||
<div class="container">
|
||||
{{ .Content }}
|
||||
<div class="components components-grid">
|
||||
|
@ -21,7 +21,7 @@
|
||||
<dt>--global-font-size</dt>
|
||||
<dd>The Base font size</dd>
|
||||
<dt>--global-line-height</dt>
|
||||
<dd>The base line height. Modify this to achieve the best readability.</dd>
|
||||
<dd>The baseline height. Modify this to achieve the best readability.</dd>
|
||||
<dt>--font-stack</dt>
|
||||
<dd>The fonts for the website.</dd>
|
||||
<dd>Use <code>@font-face</code> or any other font provider to include your custom fonts.</dd>
|
||||
@ -36,7 +36,7 @@
|
||||
<dt>--primary-color</dt>
|
||||
<dd>The primary color is used for links and buttons.</dd>
|
||||
<dt>--secondary-color</dt>
|
||||
<dd>The secondary color is more subtle then the primary color. It's used for code highlighting and image captions.</dd>
|
||||
<dd>The secondary color is more subtle than the primary color. It's used for code highlighting and image captions.</dd>
|
||||
<dt>--error-color</dt>
|
||||
<dd>Used for error alerts and form validation.</dd>
|
||||
<dt>--progress-bar-background</dt>
|
||||
@ -45,6 +45,8 @@
|
||||
<dd>The fill color, indicating the progress in progress bars.</dd>
|
||||
<dt>--code-bg-color</dt>
|
||||
<dd>The background color of <code><code></code> elements.</dd>
|
||||
<dt>--block-background-color</dt>
|
||||
<dd>The background color of <code><pre></code> elements. Also applies to <code><code></code> elements inside a <code><pre></code> element.</dd>
|
||||
<dt>--input-style</dt>
|
||||
<dd>The style of input element borders. Possible values are:</dd>
|
||||
<dd class="italic">none, solid, dotted, dashed, double, groove, ridge, inset, outset, hidden, inherit, initial, unset</dd>
|
||||
@ -61,7 +63,7 @@
|
||||
<p>Terminal CSS uses a single font size for almost all elements. However, there is a way to use browser default font sizes if you wish.</p>
|
||||
<dl class="custom-dl">
|
||||
<dt>Single font size</dt>
|
||||
<dd>Use <code><body class="terminal"></code>. If you leave that option, it will fallback to browser defaults. See <a href="/sans-serif/">here</a>.</dd>
|
||||
<dd>Use <code><body class="terminal"></code>. If you leave that option, it will fall back to browser defaults. See <a href="/sans-serif/">here</a>.</dd>
|
||||
</dl>
|
||||
</section>
|
||||
</section>
|
@ -25,7 +25,7 @@
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="check">Checkbox input:</label>
|
||||
<input for="check" type="checkbox" id="check" />
|
||||
<input type="checkbox" id="check" />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="select">Select field:</label>
|
||||
|
@ -91,9 +91,7 @@
|
||||
.image-grid {
|
||||
display: grid;
|
||||
grid-template-rows: auto;
|
||||
display: grid;
|
||||
grid-gap: 1em;
|
||||
grid-template-rows: auto;
|
||||
grid-template-columns: repeat(
|
||||
auto-fit,
|
||||
minmax(calc(var(--page-width) / 12), 1fr)
|
||||
|
@ -11,4 +11,5 @@
|
||||
<li><a class="menu-item" href="#">Item #3</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</section>
|
||||
|
@ -14,3 +14,6 @@
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<p>{{ .FrontMatter.Description }}</p>
|
||||
</div>
|
||||
|
@ -10,7 +10,7 @@
|
||||
progress by weight.
|
||||
</p>
|
||||
<footer>
|
||||
<cite><a href="http://www.thegatesnotes.com">Bill Gates</a></cite>
|
||||
<cite><a href="https://www.gatesnotes.com/">Bill Gates</a></cite>
|
||||
</footer>
|
||||
</blockquote>
|
||||
<h3 id="Misc">Misc</h3>
|
||||
|
Loading…
x
Reference in New Issue
Block a user