4,554
edits
No edit summary |
No edit summary |
||
Line 105: | Line 105: | ||
/* Style the article window */ | /* Style the article window */ | ||
#show-article { | #show-article { | ||
display: none; position: fixed; top: 0; right: 0; width: 37%; height: | display: none; position: fixed; top: 0; right: 0; width: 37%; height: max-content; margin-right: 2%; margin-top: 2%; background-color: white; padding: 20px; border: 1px solid; | ||
} | |||
#inner-show-article:hover { | |||
/* Adjust border size on hover */ | |||
border-width: 1px 1px 5px 5px; /* top, right, bottom, left */ | |||
box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); | |||
transform: rotate(-5deg); /* Tilt the border to the left */ | |||
} | } | ||
.article-metadata { | .article-metadata { |