Spaces:
Running
Running
can you put back all the background with the same colored theme as myspace
Browse files- components/comments-section.js +3 -3
- components/friend-list.js +1 -4
- components/profile-card.js +1 -4
- components/profile-editor.js +3 -3
- index.html +5 -11
- style.css +3 -7
components/comments-section.js
CHANGED
|
@@ -4,13 +4,13 @@ class CustomCommentsSection extends HTMLElement {
|
|
| 4 |
this.shadowRoot.innerHTML = `
|
| 5 |
<style>
|
| 6 |
.comments-section {
|
| 7 |
-
background:
|
| 8 |
padding: 20px;
|
| 9 |
border-radius: 10px;
|
| 10 |
margin-top: 20px;
|
| 11 |
color: #00ff00;
|
| 12 |
-
}
|
| 13 |
-
|
| 14 |
font-size: 1.2rem;
|
| 15 |
margin-bottom: 15px;
|
| 16 |
padding-bottom: 5px;
|
|
|
|
| 4 |
this.shadowRoot.innerHTML = `
|
| 5 |
<style>
|
| 6 |
.comments-section {
|
| 7 |
+
background: linear-gradient(135deg, #3b5998 0%, #2c3e50 100%);
|
| 8 |
padding: 20px;
|
| 9 |
border-radius: 10px;
|
| 10 |
margin-top: 20px;
|
| 11 |
color: #00ff00;
|
| 12 |
+
}
|
| 13 |
+
.comments-header {
|
| 14 |
font-size: 1.2rem;
|
| 15 |
margin-bottom: 15px;
|
| 16 |
padding-bottom: 5px;
|
components/friend-list.js
CHANGED
|
@@ -20,10 +20,7 @@ class CustomFriendList extends HTMLElement {
|
|
| 20 |
this.shadowRoot.innerHTML = `
|
| 21 |
<style>
|
| 22 |
.friend-list {
|
| 23 |
-
background
|
| 24 |
-
background-image: url('https://huggingface.co/spaces/mrdreamers/retrospace-blastoff/resolve/main/images/756781.jpg');
|
| 25 |
-
background-size: cover;
|
| 26 |
-
background-blend-mode: overlay;
|
| 27 |
border-radius: 10px;
|
| 28 |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
| 29 |
padding: 1.5rem;
|
|
|
|
| 20 |
this.shadowRoot.innerHTML = `
|
| 21 |
<style>
|
| 22 |
.friend-list {
|
| 23 |
+
background: linear-gradient(135deg, #3b5998 0%, #2c3e50 100%);
|
|
|
|
|
|
|
|
|
|
| 24 |
border-radius: 10px;
|
| 25 |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
| 26 |
padding: 1.5rem;
|
components/profile-card.js
CHANGED
|
@@ -4,10 +4,7 @@ class CustomProfileCard extends HTMLElement {
|
|
| 4 |
this.shadowRoot.innerHTML = `
|
| 5 |
<style>
|
| 6 |
.profile-card {
|
| 7 |
-
background
|
| 8 |
-
background-image: url('https://huggingface.co/spaces/mrdreamers/retrospace-blastoff/resolve/main/images/756781.jpg');
|
| 9 |
-
background-size: cover;
|
| 10 |
-
background-blend-mode: overlay;
|
| 11 |
border-radius: 10px;
|
| 12 |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
| 13 |
overflow: hidden;
|
|
|
|
| 4 |
this.shadowRoot.innerHTML = `
|
| 5 |
<style>
|
| 6 |
.profile-card {
|
| 7 |
+
background: linear-gradient(135deg, #3b5998 0%, #2c3e50 100%);
|
|
|
|
|
|
|
|
|
|
| 8 |
border-radius: 10px;
|
| 9 |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
| 10 |
overflow: hidden;
|
components/profile-editor.js
CHANGED
|
@@ -4,13 +4,13 @@ class CustomProfileEditor extends HTMLElement {
|
|
| 4 |
this.shadowRoot.innerHTML = `
|
| 5 |
<style>
|
| 6 |
.editor-container {
|
| 7 |
-
background:
|
| 8 |
padding: 20px;
|
| 9 |
border-radius: 10px;
|
| 10 |
color: #00ff00;
|
| 11 |
-
margin: 20px 0;
|
| 12 |
}
|
| 13 |
-
|
| 14 |
display: flex;
|
| 15 |
margin-bottom: 15px;
|
| 16 |
}
|
|
|
|
| 4 |
this.shadowRoot.innerHTML = `
|
| 5 |
<style>
|
| 6 |
.editor-container {
|
| 7 |
+
background: linear-gradient(135deg, #3b5998 0%, #2c3e50 100%);
|
| 8 |
padding: 20px;
|
| 9 |
border-radius: 10px;
|
| 10 |
color: #00ff00;
|
| 11 |
+
margin: 20px 0;
|
| 12 |
}
|
| 13 |
+
.editor-tabs {
|
| 14 |
display: flex;
|
| 15 |
margin-bottom: 15px;
|
| 16 |
}
|
index.html
CHANGED
|
@@ -30,9 +30,7 @@
|
|
| 30 |
|
| 31 |
<!-- Main Content -->
|
| 32 |
<div class="w-full lg:w-2/4">
|
| 33 |
-
<div class="bg-
|
| 34 |
-
background-image: url('https://huggingface.co/spaces/mrdreamers/retrospace-blastoff/resolve/main/images/756781.jpg');
|
| 35 |
-
background-size: cover; background-blend-mode: overlay;">
|
| 36 |
<div class="flex items-center mb-4">
|
| 37 |
<img src="http://static.photos/people/200x200/1" alt="User" class="w-12 h-12 rounded-full mr-3">
|
| 38 |
<textarea class="flex-1 border border-gray-300 rounded-lg p-3" placeholder="What's on your mind?"></textarea>
|
|
@@ -46,9 +44,7 @@ background-size: cover; background-blend-mode: overlay;">
|
|
| 46 |
</button>
|
| 47 |
</div>
|
| 48 |
</div>
|
| 49 |
-
<div class="bg-
|
| 50 |
-
background-image: url('https://huggingface.co/spaces/mrdreamers/retrospace-blastoff/resolve/main/images/756781.jpg');
|
| 51 |
-
background-size: cover; background-blend-mode: overlay;">
|
| 52 |
<div class="flex items-center mb-4">
|
| 53 |
<img src="http://static.photos/people/200x200/2" alt="Friend" class="w-10 h-10 rounded-full mr-3">
|
| 54 |
<div>
|
|
@@ -67,9 +63,7 @@ background-size: cover; background-blend-mode: overlay;">
|
|
| 67 |
|
| 68 |
<!-- Right Sidebar -->
|
| 69 |
<div class="w-full lg:w-1/4">
|
| 70 |
-
<div class="bg-
|
| 71 |
-
background-image: url('https://huggingface.co/spaces/mrdreamers/retrospace-blastoff/resolve/main/images/756781.jpg');
|
| 72 |
-
background-size: cover; background-blend-mode: overlay;">
|
| 73 |
<h2 class="text-xl font-bold mb-4">Top Friends</h2>
|
| 74 |
<div class="space-y-4">
|
| 75 |
<div class="flex items-center">
|
|
@@ -86,9 +80,9 @@ background-size: cover; background-blend-mode: overlay;">
|
|
| 86 |
</div>
|
| 87 |
</div>
|
| 88 |
</div>
|
| 89 |
-
<div class="bg-
|
| 90 |
<h2 class="text-xl font-bold mb-4">Music Player</h2>
|
| 91 |
-
<div class="bg-
|
| 92 |
<div class="flex items-center mb-4">
|
| 93 |
<img src="http://static.photos/music/200x200/1" alt="Album" class="w-12 h-12 rounded mr-3">
|
| 94 |
<div>
|
|
|
|
| 30 |
|
| 31 |
<!-- Main Content -->
|
| 32 |
<div class="w-full lg:w-2/4">
|
| 33 |
+
<div class="bg-gradient-to-r from-blue-800 to-blue-900 rounded-lg shadow p-6 mb-6">
|
|
|
|
|
|
|
| 34 |
<div class="flex items-center mb-4">
|
| 35 |
<img src="http://static.photos/people/200x200/1" alt="User" class="w-12 h-12 rounded-full mr-3">
|
| 36 |
<textarea class="flex-1 border border-gray-300 rounded-lg p-3" placeholder="What's on your mind?"></textarea>
|
|
|
|
| 44 |
</button>
|
| 45 |
</div>
|
| 46 |
</div>
|
| 47 |
+
<div class="bg-gradient-to-r from-blue-800 to-blue-900 rounded-lg shadow p-6 mb-6">
|
|
|
|
|
|
|
| 48 |
<div class="flex items-center mb-4">
|
| 49 |
<img src="http://static.photos/people/200x200/2" alt="Friend" class="w-10 h-10 rounded-full mr-3">
|
| 50 |
<div>
|
|
|
|
| 63 |
|
| 64 |
<!-- Right Sidebar -->
|
| 65 |
<div class="w-full lg:w-1/4">
|
| 66 |
+
<div class="bg-gradient-to-r from-blue-800 to-blue-900 rounded-lg shadow p-6 mb-6">
|
|
|
|
|
|
|
| 67 |
<h2 class="text-xl font-bold mb-4">Top Friends</h2>
|
| 68 |
<div class="space-y-4">
|
| 69 |
<div class="flex items-center">
|
|
|
|
| 80 |
</div>
|
| 81 |
</div>
|
| 82 |
</div>
|
| 83 |
+
<div class="bg-gradient-to-r from-blue-800 to-blue-900 rounded-lg shadow p-6">
|
| 84 |
<h2 class="text-xl font-bold mb-4">Music Player</h2>
|
| 85 |
+
<div class="bg-blue-900 p-4 rounded-lg mb-4">
|
| 86 |
<div class="flex items-center mb-4">
|
| 87 |
<img src="http://static.photos/music/200x200/1" alt="Album" class="w-12 h-12 rounded mr-3">
|
| 88 |
<div>
|
style.css
CHANGED
|
@@ -2,21 +2,17 @@
|
|
| 2 |
/* Custom styles for MySpace Rewind */
|
| 3 |
body {
|
| 4 |
font-family: 'Arial', sans-serif;
|
| 5 |
-
background-color: #
|
| 6 |
color: #00ff00;
|
| 7 |
transition: all 0.3s ease;
|
| 8 |
-
background
|
| 9 |
-
background-size: cover;
|
| 10 |
background-attachment: fixed;
|
| 11 |
background-position: center;
|
| 12 |
}
|
| 13 |
.retro-mode {
|
| 14 |
-
background
|
| 15 |
-
background-image: url('https://huggingface.co/spaces/mrdreamers/retrospace-blastoff/resolve/main/images/756781.jpg');
|
| 16 |
-
background-size: cover;
|
| 17 |
background-attachment: fixed;
|
| 18 |
color: #00ff00;
|
| 19 |
-
background-blend-mode: overlay;
|
| 20 |
}
|
| 21 |
/* Custom scrollbar */
|
| 22 |
::-webkit-scrollbar {
|
|
|
|
| 2 |
/* Custom styles for MySpace Rewind */
|
| 3 |
body {
|
| 4 |
font-family: 'Arial', sans-serif;
|
| 5 |
+
background-color: #2c3e50;
|
| 6 |
color: #00ff00;
|
| 7 |
transition: all 0.3s ease;
|
| 8 |
+
background: linear-gradient(135deg, #3b5998 0%, #2c3e50 100%);
|
|
|
|
| 9 |
background-attachment: fixed;
|
| 10 |
background-position: center;
|
| 11 |
}
|
| 12 |
.retro-mode {
|
| 13 |
+
background: linear-gradient(135deg, #1a1a3a 0%, #000033 100%);
|
|
|
|
|
|
|
| 14 |
background-attachment: fixed;
|
| 15 |
color: #00ff00;
|
|
|
|
| 16 |
}
|
| 17 |
/* Custom scrollbar */
|
| 18 |
::-webkit-scrollbar {
|