Skip to content

Commit

Permalink
some minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Apr 20, 2023
1 parent dfa859f commit 05bc700
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 24 deletions.
31 changes: 16 additions & 15 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
{
"name": "My Bookmarks Extension",
"version": "1.0",
"description": "Save and display bookmarks",
"permissions": ["activeTab", "bookmarks", "storage"],
"manifest_version": 2,
"browser_action": {
"default_popup": "popup.html",
"default_icon":"logo.png"
},
"icon": {
"128": "logo.png"
},
"permission": ["activeTab"]
"name": "My Bookmarks Extension",
"version": "1.0",
"description": "Save and display bookmarks",
"manifest_version": 3,
"action": {
"default_popup": "popup.html",
"default_icon": "logo.png"
},
"permissions": [
"activeTab",
"bookmarks",
"storage"
],
"content_security_policy": {
"extension_pages": "script-src 'self'; object-src 'self';"
}
}


18 changes: 9 additions & 9 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
/* Add some styles for the bookmarks */
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
font-size: 16px;
line-height: 1.5;
min-width: 470px; /* Set max-width of body to 600px */
margin: 0 auto; /* Center body horizontally */
min-width: 470px;
margin: 0 auto;
}
.mainpart{
margin: 0 20px;
Expand Down Expand Up @@ -80,8 +79,9 @@ transition: 500ms;
font-size: 24px;
font-weight: bold;
color: #546E7A;
display: flex; /* Set display to flex */
align-items: center; /* Vertically center items */
display: flex;
align-items: center;
cursor: pointer;
}
.bookmark{
border: 1px solid black;
Expand All @@ -90,10 +90,10 @@ transition: 500ms;
border: 2px solid black;
}
.bookmark-img {
margin-right: 10px; /* Add margin to separate image from title */
width: 24px; /* Set image width */
height: 24px; /* Set image height */
border-radius: 50%; /* Make image round */
margin-right: 10px;
width: 24px;
height: 24px;
border-radius: 50%;
}
.bookmark-url {
font-size: 16px;
Expand Down

0 comments on commit 05bc700

Please sign in to comment.