Code Monkey home page Code Monkey logo

Comments (5)

kolbyjack avatar kolbyjack commented on July 17, 2024

If your photos are making the text unreadable, you could try changing the filter config. I actually have mine set to grayscale(0.5) brightness(0.3), which is a little darker than the default, and makes everything a little more readable.

As for shrinking the image and adding a polaroid-like border, that may be possible, you could try editing MMM-Wallpaper.css like so:

.MMM-Wallpaper .wallpaper {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%) rotate(-6deg);
  box-shadow: 10px 10px 15px #aaa;
  padding: 10px 10px 30px 10px;
  border: 1px solid #bfbfbf;
  background-color: #fff;
}

.MMM-Wallpaper .tall {
  width: 30%;
}

.MMM-Wallpaper .wide {
  height: 30%;
}

You can try playing with the .wide and .tall values to adjust the size of the images, and the left and top values of .wallpaper can move the image to where you want it on the screen.

from mmm-wallpaper.

datamunk avatar datamunk commented on July 17, 2024

from mmm-wallpaper.

datamunk avatar datamunk commented on July 17, 2024

from mmm-wallpaper.

datamunk avatar datamunk commented on July 17, 2024

Hey @kolbyjack. Just curious, still loving the tweak ya gave me. I'm wondering, is there a way to change the width and height % depending on if the photo is portrait or landscape? The settings I have are 50% for both and I changed the top to 35% and its great for portrait, Landscape photos it shrinks down pretty small to fit the same width. Could honestly probably grow by to like 50% for width or something

from mmm-wallpaper.

kolbyjack avatar kolbyjack commented on July 17, 2024

The .MMM-Wallpaper .tall style should take effect for portrait photos, and .MMM-Wallpaper .wide should take effect for landscape.

from mmm-wallpaper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.