From bccace12d963c5cfdeb7883ebfd97988a1306f15 Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Wed, 6 Dec 2023 02:05:26 -0800 Subject: [PATCH] update ioccc.css to print all as if they were not visited Explicitly set default link to blue. --- ioccc.css | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/ioccc.css b/ioccc.css index aebfc884f..1d483abf1 100644 --- a/ioccc.css +++ b/ioccc.css @@ -607,6 +607,7 @@ ul.task-list li input[type="checkbox"] { .sidenav a { float: left; display: block; + color: blue; text-align: left; padding: 14px 16px; text-decoration: none; @@ -785,7 +786,7 @@ ul.task-list li input[type="checkbox"] { } /* - * When printing + * When printing: * * These values are produced by pandoc when converting markdown to HTML * when using the --standalone option. @@ -806,4 +807,14 @@ ul.task-list li input[type="checkbox"] { h2, h3, h4 { page-break-after: avoid; } + /* IOCCC addition - print all as if they were not visited */ + a:focus, a:hover, a:visited, a:active { + color: blue; + } + .topnav a, .topnav a:focus, .topnav a:hover, .topnav a:visited, .topnav a:active { + color: lightblue; + } + .sidenav a, .sidenav a:focus, .sidenav a:hover, .sidenav a:visited, .sidenav a:active { + color: blue; + } }