From 9ec276ec3ddbbaad554657333453317947f98d63 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sun, 16 Dec 2018 12:42:21 +0100 Subject: generate single page with -i --- site/assets/css/css.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'site/assets/css') diff --git a/site/assets/css/css.css b/site/assets/css/css.css index 83db7f23..b6742cdc 100644 --- a/site/assets/css/css.css +++ b/site/assets/css/css.css @@ -11,6 +11,14 @@ html { background: #191919; } +.content { + opacity: 0; + transition: opacity 0.2s cubic-bezier(0,1,1,1); +} +html.desktop .content, html.mobile .content { + opacity: 1; +} + /* header */ header { @@ -130,6 +138,14 @@ h2, h3 { font-weight: 500; transition: color 0.2s cubic-bezier(0,0,1,1); } +.content h2 a { + color: #888; + text-decoration: none; +} +.desktop .content h2 a:hover { + color: #fff; + text-decoration: underline; +} th, .gray, h2, h3 { font-family: 'Roboto Mono', monospace; -- cgit v1.2.3-70-g09d2