Skip to content

Commit

Permalink
smaller font in content items
Browse files Browse the repository at this point in the history
  • Loading branch information
nrchtct committed Jan 4, 2024
1 parent 8f9756b commit 2aa5999
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -211,21 +211,20 @@ p {
.content {
position: absolute;
padding: 0.25em .75em;
max-width: 20em;
max-width: 25em;
background-color: var(--background-content);
visibility: hidden;
z-index:2;
border-radius: .5em;
font-size: 0.85em;
}
.content img, .cursor img {
max-width: 100%;
height: 20em;
max-height: 20em;
object-fit: contain;
}
/* .content:hover, .content:active, .content:focus{
z-index: 2;
} */

a {
text-decoration:underline;
line-height: 0.1em;
Expand Down Expand Up @@ -322,13 +321,13 @@ footer a:hover img, footer a:active img {
font-size: 16px !important;
}
.content{
max-width: 17.5em;
max-width: 20em;
transform: unset !important
}
.content img, #cursor img {
max-width: 15em;
max-height: 15em;
height: 15em;
max-width: 17.5em;
max-height: 17.5em;
height: 17.5em;
}
.cursor{
max-width: 85%;
Expand Down

0 comments on commit 2aa5999

Please sign in to comment.