4,554
edits
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
Line 399: | Line 399: | ||
/* Style the article window */ | /* Style the article window */ | ||
#show-article | #show-article-wrapper { | ||
display: none; | display: none; | ||
position: fixed; /* | position: fixed; /* Change to fixed */ | ||
top: 0; | top: 0; | ||
right: 0; | right: 0; | ||
width: 40%; | width: 40%; | ||
height: 100vh; /* | height: 100vh; /* Set to full viewport height */ | ||
overflow | overflow: auto; /* Enables scrolling if content overflows */ | ||
z-index: | scrollbar-width: none; /* Firefox */ | ||
-ms-overflow-style: none; /* Internet Explorer 10+ */ | |||
z-index: 2; /* Ensure it's above #list */ | |||
} | } | ||
#show-article-wrapper { | /* Hides scrollbar for Webkit browsers */ | ||
#show-article-wrapper::-webkit-scrollbar { | |||
display: none; | |||
} | } | ||
#show-article { | #show-article { | ||
background-color: white; | background-color: white; | ||
border: 1px solid; | border: 1px solid; | ||
padding: 10px; | padding: 0px 10px 0 10px; | ||
position: relative; | position: relative; | ||
top: 86px; | |||
right: 25px; | |||
margin-left: 35px; | |||
} | } | ||
#show-article:before { | #show-article:before { |