From 8527e9bfdf29b54e3422c39f024a4ef3254b07bd Mon Sep 17 00:00:00 2001 From: K4USTU3H Date: Sun, 8 Dec 2019 20:28:48 +0530 Subject: [PATCH] Remove every Blog related code --- assets/blog/blog.json | 1 - assets/blog/blogTemplate.html | 125 ---------------- assets/index.css | 188 ------------------------ assets/index.html | 35 ----- assets/themes/dark.css | 43 ++---- assets/themes/light.css | 13 +- bin/gitfolio.js | 5 - default/blog.json | 1 - package.json | 19 +-- populate.js | 5 - ui.js | 176 ----------------------- utils.js | 24 ++-- views/blog.ejs | 259 ---------------------------------- views/css/index.css | 128 +---------------- views/index.ejs | 2 - 15 files changed, 41 insertions(+), 983 deletions(-) delete mode 100644 assets/blog/blog.json delete mode 100644 assets/blog/blogTemplate.html delete mode 100644 default/blog.json delete mode 100644 views/blog.ejs diff --git a/assets/blog/blog.json b/assets/blog/blog.json deleted file mode 100644 index fe51488..0000000 --- a/assets/blog/blog.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/assets/blog/blogTemplate.html b/assets/blog/blogTemplate.html deleted file mode 100644 index 588b6b5..0000000 --- a/assets/blog/blogTemplate.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - Lorem ipsum dolor - - - - - -
-
-
- -
-
- - - - - - - -
-
-
-
-

Lorem ipsum dolor

-

- Lorem ipsum dolor sit amet, consectetur adipiscing elit. -

-
- -

- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut placerat - pretium sem, ac maximus dui sodales a. Nunc aliquet hendrerit turpis - ac egestas. Phasellus volutpat tristique maximus. - Pellentesque feugiat eget nisi et dignissim. Nam nibh erat, - sollicitudin non facilisis nec, scelerisque nec ipsum. Sed accumsan - velit condimentum, pharetra felis vitae, commodo tellus. - Mauris consequat luctus orci. -

-

- Vivamus pharetra lobortis dui non tincidunt. Mauris vitae nisi - vestibulum, mollis magna a, maximus mi. Suspendisse dictum eget augue - quis sodales. Quisque rutrum ligula nec dapibus tincidunt. - Proin hendrerit massa a tellus vestibulum, a hendrerit ipsum - iaculis. Suspendisse potenti. - Praesent eget erat blandit, finibus sapien vitae, ullamcorper erat. - Integer blandit, felis at ullamcorper maximus, odio lectus pretium - mauris, vel consequat lectus quam eu risus. Pellentesque gravida nec - diam eget vehicula. -

- -

- Donec hendrerit turpis non libero eleifend dignissim. Mauris non - tempor metus, et tristique massa. Integer consequat justo quam, vitae - aliquam arcu vestibulum at. Donec porttitor quam in tempus convallis. - Praesent feugiat eget eros vitae accumsan. Duis ultricies odio quis - nisl volutpat, consectetur imperdiet sem laoreet. Quisque maximus - semper ligula at tincidunt. Pellentesque accumsan varius vehicula. -

-
-
- - - - diff --git a/assets/index.css b/assets/index.css index 7739467..68c03e7 100644 --- a/assets/index.css +++ b/assets/index.css @@ -84,48 +84,6 @@ body { height: 18px; } -#profile_img_blog { - border-radius: 50%; - width: 90px; - height: 90px; - background-size: cover !important; - background-repeat: no-repeat; -} - -#username_blog { - font-size: 18px; - color: var(--text-color); - font-family: "Asap Condensed", sans-serif; - font-weight: bold; -} - -#username_blog span { - font-size: 24px; - font-family: "Asap Condensed", sans-serif !important; -} - -#username_blog b { - font-size: 12px; - font-family: "Asap Condensed", sans-serif; - font-weight: bold; -} - -#blog-display { - width: 60vw; - margin: 0px 20vw; - text-align: left; - margin-top: 3vh; - z-index: 1; -} - -#profile_blog { - width: 60vw; - margin: 0px 20vw; - margin-top: 34vh; - text-align: left; - z-index: 1; -} - #background_overlay { width: 100vw; height: 55vh; @@ -146,42 +104,6 @@ body { left: 0; } -#blog-display h1 { - font-size: 50px; - color: var(--text-color); - font-weight: bold; - font-family: "Asap", sans-serif; -} - -#blog-display h2 { - color: var(--blog-gray-color); -} - -#blog-display { - padding: 1vh 0px; - font-family: "Asap", sans-serif; -} - -#blog p { - font-size: 17px; - line-height: 25px; - word-spacing: 1.2px; - margin: 5vh 0px; -} - -#blog p span { - padding: 2px 4px; - background: var(--text-color); - color: var(--bg-color) !important; -} - -#blog img { - width: 100%; - margin: 2vh 0px; - border-radius: 5px; - border: 1px solid rgb(0, 0, 0, 0.08); -} - #header { width: 63vw; text-align: right; @@ -196,19 +118,6 @@ body { font-weight: bold; } -#footer_blog { - width: 90vw; - padding: 8vh 5vw; - text-align: center; -} - -#footer_blog a { - color: var(--text-color) !important; - text-decoration: none; - font-family: "Asap", sans-serif; - font-weight: bold; -} - #footer { width: 100%; padding: 8vh 0px; @@ -372,53 +281,6 @@ body { font-weight: normal !important; } -#blog_section { - margin: 2vh 0px; - padding: 2vh 0px !important; -} - -#blogs { - columns: 2; -} - -#blog_title { - font-size: 50px; -} - -#blog_sub_title { - font-size: 36px; - margin-top: -2vh; -} - -#blogs section { - width: 100%; - display: inline-block; - border-radius: 5px; - color: var(--text-color); - border: 1px solid rgb(0, 0, 0, 0.04); - box-shadow: 0px 0px 0px rgb(0, 0, 0, 0); - transition: 0.4s ease-in-out; - transform: scale(1); - padding: 0px; - margin: 2vh 0px; -} - -#blogs section img { - width: 100%; - border-radius: 5px 5px 0px 0px; -} - -.blog_container { - padding: 2.5vh 5%; -} - -#blogs section:hover { - cursor: pointer; - border: 1px solid rgb(0, 0, 0, 0); - box-shadow: 0px 15px 35px rgb(0, 0, 0, 0.06); - transform: scale(1.03); -} - .go_back { position: absolute; color: var(--text-color); @@ -476,48 +338,6 @@ body { width: 88%; } - #blogs { - columns: 1; - } - - #blogs section { - width: 98%; - } - - #blog_section { - margin: 0px; - } - - #blog-display { - width: 90vw; - margin: 0px 5vw; - text-align: left; - margin-top: 0vh; - z-index: 1; - } - - #blog_title { - font-size: 32px !important; - } - - #blog_sub_title { - font-size: 24px; - margin-top: -1vh; - } - - #profile_blog { - width: 90vw; - margin: 0px 5vw; - margin-top: 36vh; - text-align: left; - z-index: 1; - } - - #profile_img_blog { - width: 65px; - height: 65px; - } - .go_back { position: relative; color: var(--text-color); @@ -525,14 +345,6 @@ body { margin-left: 5vw; top: 5vh; } - - #blog img { - margin: 1vh 0px !important; - } - - #blog p { - margin: 2vh 0px; - } } ::-webkit-scrollbar { diff --git a/assets/index.html b/assets/index.html index 1d926ab..46f16de 100644 --- a/assets/index.html +++ b/assets/index.html @@ -41,46 +41,11 @@
-
-

Blog.

-
-
- - - - - diff --git a/views/css/index.css b/views/css/index.css index d8528cd..1e77aaf 100644 --- a/views/css/index.css +++ b/views/css/index.css @@ -104,93 +104,6 @@ button:hover { cursor: pointer; } -#profile_blog { - width: 60vw; - margin: 0px 20vw; - margin-top: 42vh !important; - text-align: left; - z-index: 1; - transition: 0.4s ease-in-out; - z-index: 2; - position: relative; -} - -#profile_img_blog { - border-radius: 50%; - width: 90px; - height: 90px; - background-size: cover !important; - background-repeat: no-repeat; -} - -#username_blog { - font-size: 18px; - color: #000; - font-family: "Poppins", sans-serif; - font-weight: bold; - padding-left: 0px; -} - -#username_blog span { - font-size: 24px; - font-family: "Questrial", sans-serif !important; -} - -#username_blog b { - font-size: 12px; - font-family: "Poppins", sans-serif; - font-weight: bold; -} - -#blog-display { - width: 60vw; - margin: 3vh 20vw; - text-align: left; - z-index: 1; - transition: 0.4s ease-in-out; - z-index: 2; - position: relative; -} - -#blog_title { - font-size: 50px; - color: #000; - font-weight: bold; - font-family: "Questrial", sans-serif; - background: transparent; - border: 0px; - width: 100%; - resize: none; - height: auto; - overflow-y: hidden; -} - -#blog_sub_title { - font-size: 36px; - color: rgb(100, 100, 100); - font-weight: bold; - font-family: "Questrial", sans-serif; - background: transparent; - border: 0px; - width: 100%; - resize: none; - height: auto; - overflow-y: hidden; -} - -#blog_sub_title::placeholder { - color: rgb(100, 100, 100); -} - -#blog-display h2 { - color: var(--blog-gray-color); -} - -#blog-display { - padding: 1vh 0px; - font-family: "Questrial", sans-serif; -} - .div_for_buttons { margin-top: 5vh; } @@ -215,17 +128,6 @@ button:hover { color: #fff !important; } -#blog { - margin-top: 2vh; -} - -#blog img { - width: 100%; - margin: 2vh 0px; - border-radius: 5px; - border: 1px solid rgb(0, 0, 0, 0.08); -} - .remove { margin-bottom: 2vh 0px; font-weight: bold; @@ -243,34 +145,6 @@ button:hover { color: rgb(255, 70, 70); } -@media (max-width: 800px) { - #blog-display { - width: 90vw; - margin: 0px 5vw; - text-align: left; - margin-top: 0vh; - z-index: 1; - } - - #profile_blog { - width: 90vw; - margin: 0px 5vw; - } - - #profile_img_blog { - width: 70px; - height: 70px; - } - - #blog img { - margin: 1vh 0px !important; - } - - #blog p { - margin: 2vh 0px; - } -} - ::selection { color: #fff; background: #000; @@ -296,4 +170,4 @@ textarea:focus { ::placeholder { color: #000; -} +} \ No newline at end of file diff --git a/views/index.ejs b/views/index.ejs index cc08c0b..4daeb31 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -24,8 +24,6 @@
gitfolio - New Blog Update