From 493d3f8e12a5fa8cc6fa94ca6c04f8a75d906601 Mon Sep 17 00:00:00 2001 From: Lucio Vignotto Date: Mon, 13 Jul 2020 18:29:28 +0200 Subject: [PATCH] #Added A New Theme! --- Src/profilo.html | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/Src/profilo.html b/Src/profilo.html index 284fb24..824b566 100644 --- a/Src/profilo.html +++ b/Src/profilo.html @@ -17,18 +17,29 @@ border: 1px solid black; /* --gradient-background: rgba(34, 35, 48, 0.93); */ background: var(--gradient-background); + } #mainbody.DefaultTheme{ --gradient-background: linear-gradient(90deg, hsla(205, 46%, 30%, 1) 0%, hsla(260, 29%, 36%, 1) 100%); --gradient-cards-background: linear-gradient(90deg, hsla(347, 89%, 61%, 1) 0%, hsla(242, 42%, 40%, 1) 100%); + --card-comments-border-left: 5px solid #1B98E0; /* background: -moz-linear-gradient(90deg, hsla(205, 46%, 30%, 1) 0%, hsla(260, 29%, 36%, 1) 100%); background: -webkit-linear-gradient(90deg, hsla(205, 46%, 30%, 1) 0%, hsla(260, 29%, 36%, 1) 100%); */ } + #mainbody.NightMidnight{ + --gradient-background: #0f0c29; /* fallback for old browsers */ + --gradient-background: -webkit-linear-gradient(to right, #24243e, #302b63, #0f0c29); /* Chrome 10-25, Safari 5.1-6 */ + --gradient-background: linear-gradient(to right, #24243e, #302b63, #0f0c29); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */ + --card-comments-border-left: 5px solid #FFF8F0; + --gradient-cards-background: hsla(245, 39%, 28%, 1); + --gradient-cards-background: linear-gradient(225deg, hsla(245, 39%, 28%, 1) 0%, hsla(194, 100%, 66%, 1) 100%); + } + #biografia{ padding: 20px 35px; } .card-comments{ - border-left: 5px solid #1B98E0; + border-left: var(--card-comments-border-left); background: var(--gradient-cards-background); /* background: hsla(347, 89%, 61%, 1); background: linear-gradient(90deg, hsla(347, 89%, 61%, 1) 0%, hsla(242, 42%, 40%, 1) 100%); @@ -131,7 +142,7 @@ -
+