From 33018241bf18ac6c69d0e22e124703d6a92afb97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenzo=20Dellac=C3=A0?= Date: Thu, 2 Jul 2020 18:49:20 +0200 Subject: [PATCH] trying out text-selection colors --- index.html | 1 - pages/about.html | 4 ++-- styles/pages-style.css | 5 +++++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 84e7a25..d77901e 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,6 @@ Mind Overflow : Home - diff --git a/pages/about.html b/pages/about.html index 5cfa58b..3ff5063 100644 --- a/pages/about.html +++ b/pages/about.html @@ -25,8 +25,8 @@

A little biography

-

Hi. I'm Lorenzo and I'm an 18 years old high school student.

-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas risus nibh, ornare eu eleifend et, facilisis eget odio. Suspendisse tellus leo, cursus vel mi ullamcorper, ultrices commodo nisl. Donec auctor sodales urna id vehicula. Nunc mattis dapibus tincidunt. Sed ac euismod ante. Nunc laoreet ante vitae dolor vulputate, quis volutpat ex posuere. Duis in porttitor odio. Sed id accumsan dolor. Donec eu dictum nibh.

+

Hi. I'm Lorenzo and I'm an 18-years-old high school student.

+

I'm a young developer, but I'm also a pianist, a DJ and a passionate photographer.

Curabitur ac efficitur eros. Etiam elementum nibh hendrerit, commodo urna ut, convallis eros. Aenean ac feugiat elit. Quisque vestibulum ante in ipsum feugiat, in malesuada dolor mattis. Morbi id quam malesuada, molestie tortor quis, iaculis odio. Maecenas efficitur, elit et dictum volutpat, mauris dui dignissim ex, in laoreet tellus felis nec risus. Cras tincidunt consectetur magna ac tincidunt.

diff --git a/styles/pages-style.css b/styles/pages-style.css index a29a1f5..da309a9 100644 --- a/styles/pages-style.css +++ b/styles/pages-style.css @@ -135,6 +135,11 @@ li { padding: 16px; } +/* COLORED TEXT SELECTION */ +::selection { + color: black; + background: paleturquoise; +} /* ANIMATED GRADIENT BACKGROUND */ @keyframes gradient {