Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
aksylumoed committed Feb 8, 2024
1 parent 93809ab commit 4b4f7c3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist/
19 changes: 11 additions & 8 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ body {
text-align: left;
display: flex;
flex-direction: column; /* Stack items vertically */
max-width: 150px;
}

.artwork-title {
Expand All @@ -122,7 +123,6 @@ body {
font-size: 14px;
margin-top: 5px;
text-align: left;
max-width: 140px; /* Set a max-width to control the width of the description */
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
Expand Down Expand Up @@ -197,11 +197,13 @@ body {
}

#homeLink {
top: 50px;
top: 40px;
font-size: 15px;
}

#homeLink:hover {
top: 30px;
top: 36px;
font-size: 21px;
}

.artwork-container {
Expand All @@ -214,12 +216,13 @@ body {

.info-navigation-container {
font-size: 12px;
position: absolute;
right: 0px;
bottom: 15px;
text-align: left;
display: flex;
flex-direction: column; /* Stack items vertically */
color: #6c6c6c;
}

.artwork-description {
font-size: 11px;
max-width: 120px
}

}

0 comments on commit 4b4f7c3

Please sign in to comment.