From 32920ae6610657eee8738d25ea575b981b93e6fe Mon Sep 17 00:00:00 2001 From: Fernando Unger Date: Sat, 8 Oct 2022 23:56:19 -0300 Subject: [PATCH 1/3] fix: color of website links --- docs/assets/style.css | 71 +++++++++++++++++++++++++++++++++---------- 1 file changed, 55 insertions(+), 16 deletions(-) diff --git a/docs/assets/style.css b/docs/assets/style.css index 77e51554..457872cb 100644 --- a/docs/assets/style.css +++ b/docs/assets/style.css @@ -2,6 +2,10 @@ transition: color 1s ease, background-color 1s ease; } +ul li a strong { + color: #f0d313; +} + .dark { background-color: #202123; color: #fff; @@ -19,16 +23,45 @@ h1 { margin-bottom: 1.8rem; } -h2 {font-size: 1.5em;} -h3 {font-size: 1.17em;} -h4 {font-size: 1.12em;} -h5 {font-size: .83em;} -h6 {font-size: .75em;} -blockquote p {text-align: left;} -a {color: #008234;} -p {text-align: justify;} -ul {text-align: left;} -pre {text-align: left;} +h2 { + font-size: 1.5em; +} + +h3 { + font-size: 1.17em; +} + +h4 { + font-size: 1.12em; +} + +h5 { + font-size: .83em; +} + +h6 { + font-size: .75em; +} + +blockquote p { + text-align: left; +} + +a { + color: #008234; +} + +p { + text-align: justify; +} + +ul { + text-align: left; +} + +pre { + text-align: left; +} li strong a { gap: 0.3rem; @@ -58,7 +91,7 @@ li strong a { border-bottom: 16px solid transparent; } -.btn::before{ +.btn::before { top: 6px; right: -10px; z-index: 7; @@ -70,7 +103,8 @@ li strong a { } /** materialize roadmap fix **/ -[type="checkbox"]:not(:checked), [type="checkbox"]:checked { +[type="checkbox"]:not(:checked), +[type="checkbox"]:checked { position: initial; opacity: initial; pointer-events: initial; @@ -78,14 +112,19 @@ li strong a { } nav { - background: linear-gradient(-45deg, #f0d313, #008234,#00349e, #008234, #f0d313, #008234); + background: linear-gradient(-45deg, #f0d313, #008234, #00349e, #008234, #f0d313, #008234); animation: 3s linear 0s infinite running brazil-anim; background-size: 600% 600%; } @keyframes brazil-anim { - from {background-position: 100% 100%;} - to {background-position: 4% 4%;} + from { + background-position: 100% 100%; + } + + to { + background-position: 4% 4%; + } } img[alt$=">"] { @@ -110,6 +149,6 @@ img[alt$="><"] { @media print { .dont-print { - display: none; + display: none; } } \ No newline at end of file From 5f0327de55fc9d37b095e285669e82b13df25faa Mon Sep 17 00:00:00 2001 From: Fernando Unger Date: Sun, 9 Oct 2022 00:10:22 -0300 Subject: [PATCH 2/3] style: returning to previous formatting --- docs/assets/style.css | 67 +++++++++++-------------------------------- 1 file changed, 16 insertions(+), 51 deletions(-) diff --git a/docs/assets/style.css b/docs/assets/style.css index 457872cb..c26c14ef 100644 --- a/docs/assets/style.css +++ b/docs/assets/style.css @@ -23,45 +23,16 @@ h1 { margin-bottom: 1.8rem; } -h2 { - font-size: 1.5em; -} - -h3 { - font-size: 1.17em; -} - -h4 { - font-size: 1.12em; -} - -h5 { - font-size: .83em; -} - -h6 { - font-size: .75em; -} - -blockquote p { - text-align: left; -} - -a { - color: #008234; -} - -p { - text-align: justify; -} - -ul { - text-align: left; -} - -pre { - text-align: left; -} +h2 {font-size: 1.5em;} +h3 {font-size: 1.17em;} +h4 {font-size: 1.12em;} +h5 {font-size: .83em;} +h6 {font-size: .75em;} +blockquote p {text-align: left;} +a {color: #008234;} +p {text-align: justify;} +ul {text-align: left;} +pre {text-align: left;} li strong a { gap: 0.3rem; @@ -91,7 +62,7 @@ li strong a { border-bottom: 16px solid transparent; } -.btn::before { +.btn::before{ top: 6px; right: -10px; z-index: 7; @@ -103,8 +74,7 @@ li strong a { } /** materialize roadmap fix **/ -[type="checkbox"]:not(:checked), -[type="checkbox"]:checked { +[type="checkbox"]:not(:checked), [type="checkbox"]:checked { position: initial; opacity: initial; pointer-events: initial; @@ -112,19 +82,14 @@ li strong a { } nav { - background: linear-gradient(-45deg, #f0d313, #008234, #00349e, #008234, #f0d313, #008234); + background: linear-gradient(-45deg, #f0d313, #008234,#00349e, #008234, #f0d313, #008234); animation: 3s linear 0s infinite running brazil-anim; background-size: 600% 600%; } @keyframes brazil-anim { - from { - background-position: 100% 100%; - } - - to { - background-position: 4% 4%; - } + from {background-position: 100% 100%;} + to {background-position: 4% 4%;} } img[alt$=">"] { @@ -149,6 +114,6 @@ img[alt$="><"] { @media print { .dont-print { - display: none; + display: none; } } \ No newline at end of file From bd65a4774db619899f8cc06de8a8ca0a3bbb78a9 Mon Sep 17 00:00:00 2001 From: Fernando Unger <87918106+fernandounger@users.noreply.github.com> Date: Mon, 10 Oct 2022 00:35:09 -0300 Subject: [PATCH 3/3] fix: color change only in dark theme --- docs/assets/style.css | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/assets/style.css b/docs/assets/style.css index c26c14ef..58e1e404 100644 --- a/docs/assets/style.css +++ b/docs/assets/style.css @@ -2,15 +2,15 @@ transition: color 1s ease, background-color 1s ease; } -ul li a strong { - color: #f0d313; -} - .dark { background-color: #202123; color: #fff; } +.dark section div ul li a{ + color: #f0d313; +} + .theme { cursor: pointer; user-select: none; @@ -116,4 +116,4 @@ img[alt$="><"] { .dont-print { display: none; } -} \ No newline at end of file +}