Giter Club home page Giter Club logo

linkstack-default-theme's People

Contributors

jaschaurbach avatar julianprieber avatar magiclike avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

linkstack-default-theme's Issues

Spacing between title and description

Hi,

I really like your theming system, it's straight forward and easy to edit!

For our company, I changed the default theme a bit; some custom fonts, different colors and sizes, and so on. However, I ran into a problem. We want to use the description of the website as a subtitle, that is, a one-liner with little text. Therefore I want to reduce the space between the title and the description. I noticed that in the skeleton-auto.css file there is no special section for the description, so using the browser's inspector I found out that the spacing is controlled by the .description_parent class. So I added something like the following to the skeleton_auto.css file:

  .description-parent {
    margin-bottom: 50px !important;;
    font-size: 30px;
    line-height: 1.2em;
    padding-bottom: 0px !important;
}

But that didn't produce the desired result, there was still some spacing. I then noticed that the problem was caused by this inline CSS rule that uses the universal selector (*) and seems to override my CSS in some way:

.description-parent * {
 margin-bottom: 0em;
}

When I remove the asterisk it works:
Screenshot 1
Screenshot 2

It seems that this inline styling comes from the /resources/views/littlelink.blade.php file. I'm not an CSS expert, so there might be a better way, but the only one I found to reduce the spacing was to remove the <style> tag from that file. But this change is reverted after every update I guess?

I think it would be great if there was the possibility to change the descriptions syling directly in the thme's CSS files without any style tags coming from the application itself overriding it. If there is already, I would be grateful for someone pointing it out to me.

Thanks again for this awesome software!

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.