From 3bfa9f8fc88d5aaad29eb96be3afa35d9828ba7a Mon Sep 17 00:00:00 2001 From: luca0N! Date: Wed, 22 Jun 2022 21:34:16 -0300 Subject: [PATCH] Minor CSS updates Changed warning box class names and its increased bottom padding. --- src/en/assets/luca0n.css | 16 ++++++++-------- src/en/assets/luca0n_theme_dark.css | 14 +++++++------- src/en/assets/luca0n_theme_light.css | 14 +++++++------- 3 files changed, 22 insertions(+), 22 deletions(-) diff --git a/src/en/assets/luca0n.css b/src/en/assets/luca0n.css index 9440920..a7bf6a8 100644 --- a/src/en/assets/luca0n.css +++ b/src/en/assets/luca0n.css @@ -110,10 +110,10 @@ p { line-height: 1.8em; } -.contentWarning { +.warning-box { color: rgb(202, 67, 15); background-color: rgb(200, 77, 16); - padding: 4px 12px 4px 4px; + padding: 4px 12px 32px 4px; margin-top: 12px; margin-bottom: 12px; display: flex; @@ -121,16 +121,16 @@ p { background: linear-gradient(rgb(253, 215, 142), rgb(247, 185, 72)); } -.contentWarning .content { +.warning-box .content { margin-top: 1em; } -.contentWarning img { +.warning-box img { height: 64px; margin: 12px; } -.contentWarning .cwReturnIndex { +.warning-box .wb-action-button { /* padding: 8px; background-color: rgb(255, 170, 37); text-decoration: none; */ @@ -138,10 +138,10 @@ p { /* transition: background-color 0.08s linear 0s; */ } -/*.contentWarning .cwReturnIndex:hover { +/*.warning-box .wb-action-button:hover { background-color: rgb(223, 147, 28); } -.contentWarning .cwReturnIndex:active { +.warning-box .wb-action-button:active { background-color: rgb(204, 133, 22); }*/ @@ -179,7 +179,7 @@ p { background-color: rgb(225, 178, 117); } - .contentWarning { + .warning-box { color: black; background: linear-gradient(to top, rgb(238, 112, 0), rgb(255, 178, 30)); } diff --git a/src/en/assets/luca0n_theme_dark.css b/src/en/assets/luca0n_theme_dark.css index 88155ec..6b8e2a2 100644 --- a/src/en/assets/luca0n_theme_dark.css +++ b/src/en/assets/luca0n_theme_dark.css @@ -124,10 +124,10 @@ p { line-height: 1.8em; } -.contentWarning { +.warning-box { color: black; background-color: rgb(200, 77, 16); - padding: 4px 12px 4px 4px; + padding: 4px 12px 32px 4px; margin-top: 12px; margin-bottom: 12px; display: flex; @@ -135,16 +135,16 @@ p { background: linear-gradient(to top, rgb(238, 112, 0), rgb(255, 178, 30)); } -.contentWarning .content { +.warning-box .content { margin-top: 1em; } -.contentWarning img { +.warning-box img { height: 64px; margin: 12px; } -.contentWarning .cwReturnIndex { +.warning-box .wb-action-button { /* padding: 8px; background-color: rgb(255, 170, 37); text-decoration: none; */ @@ -152,10 +152,10 @@ p { /* transition: background-color 0.08s linear 0s; */ } -/*.contentWarning .cwReturnIndex:hover { +/*.warning-box .wb-action-button:hover { background-color: rgb(223, 147, 28); } -.contentWarning .cwReturnIndex:active { +.warning-box .wb-action-button:active { background-color: rgb(204, 133, 22); }*/ diff --git a/src/en/assets/luca0n_theme_light.css b/src/en/assets/luca0n_theme_light.css index af93b1a..d8160b2 100644 --- a/src/en/assets/luca0n_theme_light.css +++ b/src/en/assets/luca0n_theme_light.css @@ -106,10 +106,10 @@ p { line-height: 1.8em; } -.contentWarning { +.warning-box { color: rgb(202, 67, 15); background-color: rgb(200, 77, 16); - padding: 4px 12px 4px 4px; + padding: 4px 12px 32px 4px; margin-top: 12px; margin-bottom: 12px; display: flex; @@ -117,16 +117,16 @@ p { background: linear-gradient(rgb(253, 215, 142), rgb(247, 185, 72)); } -.contentWarning .content { +.warning-box .content { margin-top: 1em; } -.contentWarning img { +.warning-box img { height: 64px; margin: 12px; } -.contentWarning .cwReturnIndex { +.warning-box .wb-action-button { /* padding: 8px; background-color: rgb(255, 170, 37); text-decoration: none; */ @@ -134,10 +134,10 @@ p { /* transition: background-color 0.08s linear 0s; */ } -/*.contentWarning .cwReturnIndex:hover { +/*.warning-box .wb-action-button:hover { background-color: rgb(223, 147, 28); } -.contentWarning .cwReturnIndex:active { +.warning-box .wb-action-button:active { background-color: rgb(204, 133, 22); }*/