summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Touhey <thomas@touhey.fr>2019-04-27 23:30:30 +0200
committerThomas Touhey <thomas@touhey.fr>2019-04-27 23:30:30 +0200
commitb03851d94fdddc760633df5eb85d4d19497b2715 (patch)
treec32855248c7c17f0d6a13cbaec4b81be0b46f96c
parent9e6c4c2333e73a7238897a9e3a55b032e9334236 (diff)
Added a fancier button styleHEADmaster
-rw-r--r--_assets/css/main.scss28
-rw-r--r--_layouts/default.html6
2 files changed, 31 insertions, 3 deletions
diff --git a/_assets/css/main.scss b/_assets/css/main.scss
index e467098..be31bc3 100644
--- a/_assets/css/main.scss
+++ b/_assets/css/main.scss
@@ -77,5 +77,33 @@ body {
border: 4px solid #404040;
border-top: none;
border-right: none; }
+
+ a.blue, a.blue:visited, a.blue:active, a.blue:hover {
+ color: black;
+ background-color: #BFB8D9;
+ border: 4px solid #282395;
+ border-top: none;
+ border-right: none; }
+ a.blue:hover {
+ background-color: #AEA7C8; }
+ a.blue:active {
+ background-color: #9D96B7;
+ border: 4px solid #171284;
+ border-top: none;
+ border-right: none; }
+
+ a.orange, a.orange:visited, a.orange:active, a.orange:hover {
+ color: black;
+ background-color: #FAD49C;
+ border: 4px solid #F09400;
+ border-top: none;
+ border-right: none; }
+ a.orange:hover {
+ background-color: #E9C38B; }
+ a.orange:active {
+ background-color: #D8B27A;
+ border: 4px solid #E08300;
+ border-top: none;
+ border-right: none; }
}
}
diff --git a/_layouts/default.html b/_layouts/default.html
index f55fc44..2dcf1de 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -37,11 +37,11 @@
</div>
<ul class="nav">
- <li><a href="https://forge.touhey.org/sgdf/sgdfi.git/">
+ <li><a class="blue" href="https://forge.touhey.org/sgdf/sgdfi.git/">
Source
- </a></li><li><a href="https://pypi.org/project/sgdfi/">
+ </a></li><li><a class="orange" href="https://pypi.org/project/sgdfi/">
PyPI
- </a></li><li><a href="{{ site.baseurl }}/docs/">
+ </a></li><li><a class="blue" href="{{ site.baseurl }}/docs/">
Docs
</a></li>
</ul>