summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Touhey <thomas@touhey.fr>2019-05-10 13:42:45 +0200
committerThomas Touhey <thomas@touhey.fr>2019-05-10 13:42:45 +0200
commit9d42883ecdbc54a0d0e9a5612866b776f85f0c1f (patch)
tree78227c2701869a08984f0d4f94fd007111598693
parentd0d3b9ed488b43d36e2f598f34c06587dc4f402e (diff)
Added pip install command with colors :D
-rw-r--r--_assets/css/main.scss11
-rw-r--r--_layouts/default.html2
2 files changed, 12 insertions, 1 deletions
diff --git a/_assets/css/main.scss b/_assets/css/main.scss
index 6530a88..daf5b45 100644
--- a/_assets/css/main.scss
+++ b/_assets/css/main.scss
@@ -41,8 +41,9 @@ h1 {
.code {
display: block;
- margin: 10px auto 20px;
+ margin: 10px auto 0;
text-align: center;
+ font-size: 1.5em;
max-width: 400px;
background-color: lightgray;
@@ -50,7 +51,15 @@ h1 {
.code-content {
display: inline-block;
+ color: #BD0009;
margin: 0; }
+
+ .green {
+ color: #00A000; }
+ .navy {
+ color: navy; }
+ .orange {
+ color: #DD8F00; }
}
.nav {
diff --git a/_layouts/default.html b/_layouts/default.html
index d944e03..8c45987 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -30,6 +30,8 @@
<div class="title">{% asset logo.png class="logo" %}<h1>thcolor</h1></div>
<p class="subtitle">a color management module for Python 3</p>
+<div class="code"><pre class="code-content"><span class="green">$</span> <span class="navy">pip</span> <span class="orange">install</span> thcolor</pre></div>
+
<ul class="nav">
<li><a href="https://forge.touhey.org/thcolor.git/">
Source