From d12175b2419cc26da13d6bdd6c81724f684ce270 Mon Sep 17 00:00:00 2001 From: Farshad Date: Thu, 21 Mar 2024 14:41:46 +0100 Subject: [PATCH 01/11] logo and left side bar completed --- assets/img/plus1.png | Bin 0 -> 132 bytes css/style.css | 188 +++++++++++++++++++++++++++++++++++++++++++ index.html | 89 +++++++++++++++++++- 3 files changed, 274 insertions(+), 3 deletions(-) create mode 100644 assets/img/plus1.png diff --git a/assets/img/plus1.png b/assets/img/plus1.png new file mode 100644 index 0000000000000000000000000000000000000000..a774424483d926ad8d393336bc002e65f7b86194 GIT binary patch literal 132 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM1|%Pp+x`GjoCO|{#S9GG!XV7ZFl!D-g_);| zV@SoE - Document + Spotify + - - + +
+ +
+
+ +
+ + +
+ +
\ No newline at end of file From a6962518b40cc8278fc2d8bbca4548040d41bf57 Mon Sep 17 00:00:00 2001 From: Farshad Date: Fri, 22 Mar 2024 17:43:24 +0100 Subject: [PATCH 02/11] main header + recently played --- css/style.css | 75 ++++++++++++++++++++++++++++++++++++++++++++------- index.html | 74 +++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 139 insertions(+), 10 deletions(-) diff --git a/css/style.css b/css/style.css index 8ce84590..f3eb1923 100644 --- a/css/style.css +++ b/css/style.css @@ -1,10 +1,11 @@ * { margin: 0; + font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; } .body-container { display: grid; - grid-template-columns: minmax(100px,250px) 8fr; + grid-template-columns: 250px 1fr; grid-template-rows: 90px 1fr 90px; grid-template-areas: 'left-side-bar header' @@ -15,9 +16,21 @@ } header { + position: relative; grid-area: header; background-color: #080B12; } +header button { + color: white; + position: fixed; + right: 5px; + top: 30px; + height: 30px; + width: 200px; + border-radius: 15px; + background-color: #080B12; + border: 1px solid white; +} .left-side-bar { grid-area: left-side-bar; @@ -101,10 +114,6 @@ header { margin: 20px 0px 10px 20px; } - - - - .big-profile-side { margin: 5px 20px 0px 20px; color: #6F6F6F; @@ -151,7 +160,55 @@ header { main { grid-area: main; - background-color: bisque; + background-color: #141922; + display: grid; + grid-template-rows: .1fr 1fr; +} + +.header-con { + display: grid; + grid-auto-columns: .001fr 1fr .001fr; + text-align: center; + grid-template-areas: '. main-header .'; +} +.main-header { + grid-area: main-header; + display: flex; + justify-content: center; + flex-wrap: wrap; + gap: 10px; +} + +.main-header h3 { + color: #7A7D81; + padding: 15px 3px 10px 3px; + font-size: 1rem; +} + +.main-main { + padding: 10px; + color: white; +} + +.main-main h2 { + font-size: 30px; + padding-left: 10px; +} + +.recentlyPlayed-items { + padding: 10px ; + display: grid; + grid-template-columns: repeat(auto-fill,240px); +} + +.article-item { + margin-right: 5px; +} + + +.article-item img { + max-width: 100%; + height: auto; } footer { @@ -161,10 +218,10 @@ footer { .small-left-sidebar { grid-area: left-side-bar; background-color: blueviolet; - width: 1fr; + width: .5fr; } -@media screen and (max-width:530px) { +@media screen and (max-width:635px) { .left-side-bar { display: none; } @@ -181,7 +238,7 @@ footer { } } -@media screen and (min-width:530px ) { +@media screen and (min-width:635px ) { .small-left-sidebar { display: none; } diff --git a/index.html b/index.html index 519c3c5b..b01ce1c2 100644 --- a/index.html +++ b/index.html @@ -10,11 +10,83 @@
+
+
+

IN EVIDENCE

+

PODCAST

+

RANKINGS

+

GENERS AND MOODS

+

NEW RELEASES

+

EXPLORE

+
+
+
+

Recently Played

+
+
+
+ +

+ h2name +

+

+ h4name +

+
+
+ +

+ h2name +

+

+ h4name +

+
+
+ +

+ h2name +

+

+ h4name +

+
+
+ +

+ h2name +

+

+ h4name +

+
+
+ +

+ h2name +

+

+ h4name +

+
+
+ +

+ h2name +

+

+ h4name +

+
+
+
+ +