mirror of
https://github.com/TangentFoxy/memex.git
synced 2024-11-22 04:54:23 +00:00
Clean up css and grid.js.
This commit is contained in:
parent
1a6e63e3be
commit
e343f528a7
@ -271,7 +271,6 @@ main:after {
|
||||
position: relative;
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
/*padding-bottom: var(--size-grid-gutter);*/
|
||||
}
|
||||
@media screen and (min-width: 886px) {
|
||||
.article-wide {
|
||||
@ -295,23 +294,17 @@ article::selection {
|
||||
display: inline-block;
|
||||
z-index: 100;
|
||||
}
|
||||
/*.article-containerlower:empty {
|
||||
display: none;
|
||||
}*/
|
||||
|
||||
/*IMAGE*/
|
||||
.article-imageType-imgContainer {
|
||||
z-index: 200;
|
||||
position: relative;
|
||||
/*display: none;*/
|
||||
}
|
||||
.article-containerupper-image {
|
||||
cursor: var(--cursor-expandImage);
|
||||
padding: var(--size-grid-gutter) var(--size-grid-gutter) 0 var(--size-grid-gutter);
|
||||
/*display: inline-block;*/
|
||||
display: none;
|
||||
position: absolute;
|
||||
/*height: 100%;*/
|
||||
width: 100%;
|
||||
left: 0;
|
||||
z-index: 300;
|
||||
@ -324,7 +317,6 @@ article:hover .article-containerupper-image {
|
||||
cursor: var(--cursor-expandImage);
|
||||
padding: var(--size-grid-gutter);
|
||||
position: absolute;
|
||||
/*width: 100%;*/
|
||||
bottom: 0;
|
||||
z-index: 200;
|
||||
left: 0;
|
||||
|
@ -88,13 +88,6 @@ function Grid()
|
||||
let articleIsImageType = (SETTINGS.SHOWIMAG && main.util.isType(value.TYPE, 'image'));
|
||||
if (articleIsImageType)
|
||||
{
|
||||
// itemClass += " article-image";
|
||||
// itemClass = 'article-typeImg';
|
||||
// if (SETTINGS.WIDEARTICLE && main.util.isDefined(value.WIDE) && value.WIDE)
|
||||
// {
|
||||
// itemClass = 'article-typeImg-wide';
|
||||
// }
|
||||
// article += `<div class='article-image'>`;
|
||||
onclickImage = `onclick="main.grid.handleImageClick(event, this, '${value.FILE}');"`;
|
||||
}
|
||||
|
||||
@ -223,8 +216,6 @@ function Grid()
|
||||
article += this.doRowMulti('progress', value.PROG);
|
||||
}
|
||||
article += `</div>`;
|
||||
|
||||
// article += `</div>`;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user