Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gallery feature improvements #3

Closed
jwillmer opened this issue May 22, 2016 · 2 comments
Closed

Gallery feature improvements #3

jwillmer opened this issue May 22, 2016 · 2 comments

Comments

@jwillmer
Copy link

jwillmer commented May 22, 2016

I think the gallery has to much shadows. Does not look that good with the rest of the design.

How about this:
image

insted of this:
image

new css (background & border is same as the bg from code tag):

.single-post .album {
    height: 400px;
    white-space: nowrap;
    /* background: rgb(204, 204, 204); */
    padding: 20px;
    background: rgba(250,250,250,0.8);
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    /* -webkit-box-shadow: 0 -2px 5px rgba(0,0,0,0.5) inset,0 2px 5px rgba(0,0,0,0.5) inset; */
    /*  -moz-box-shadow: 0 -2px 5px rgba(0,0,0,0.5) inset,0 2px 5px rgba(0,0,0,0.5) inset; */
    /* box-shadow: 0 -2px 5px rgba(0,0,0,0.5) inset,0 2px 5px rgba(0,0,0,0.5) inset; */
    overflow-x: auto;
    overflow-y: hidden;
    margin: 30px 0;
}

.single-post .album img {
    display: inline-block;
    height: 100%;
    width: auto;
    border: 3px solid rgba(255,255,255,0.5);
    -webkit-box-shadow: 0 3px 5px rgba(0,0,0,0.5);
    -moz-box-shadow: 0 3px 5px rgba(0,0,0,0.5);
    /* box-shadow: 0 3px 5px rgba(0,0,0,0.5); */
    margin: 0 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
}
@serenader2014
Copy link
Owner

That was great! I will try it later.

And I plan to add swipe support in desktop browsers, in image gallery.

@serenader2014
Copy link
Owner

Feature improvements accepted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants