From eb33d3c4c9e38bffa16d0ef41cf7e7a4dc0853af Mon Sep 17 00:00:00 2001 From: sairaj mote Date: Sat, 8 Aug 2020 14:32:21 +0530 Subject: [PATCH] minor changes --- index.html | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/index.html b/index.html index 2de8b12..4b7322b 100644 --- a/index.html +++ b/index.html @@ -40,7 +40,7 @@ p { margin: 1.2rem 0; } - p::first-letter{ + p:not(:first-of-type)::first-letter{ margin-left: 4rem; } @@ -388,16 +388,16 @@ ` //debugger; //columns.append(columnhtml) - columns.innerHTML = columns.innerHTML + columnhtml + columns.innerHTML += columnhtml //debugger } } function switchtoArticle(element){ - document.getElementById("homepage").style.display = "none" + document.getElementById("homepage").classList.add('hide') document.getElementById("displaypage").innerHTML = articles[element.dataset.articlekey] - document.getElementById("displaypagemain").style.display = "initial" + document.getElementById("display_page_main").classList.remove('hide') } @@ -530,15 +530,15 @@ -