Code Monkey home page Code Monkey logo

buttercake-legacy's Issues

Scale font size with media queries by default

Hi, I have been playing around with Butter Cake for the past few days and I like it. I do not know SASS, as I mostly work in LESS, so please answer my following ignorant questions regarding the distribution compiled CSS:

  • Why did you decide to use px for text-size instead of relatives such as em/rem?
  • As they are, font-size does not automatically scale with media queries, will this be addressed?

Navbar documentation

I could not get the navbar menu to open on mobile, the documentation does not say it but it is necessary for jquery and butterCake.min.js to be loaded in the footer and not in the header. You should make that clear

Container width $xl-media

Hi,
In the compiled CSS the .container class does not use the 1260px breakpoint

.container {
    margin: 0 auto;
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
    /* Breakpoints | Min Width */
}

@media (min-width: 590px) {
    .container {
        max-width: calc(100% - 50px);
    }
}

@media (min-width: 790px) {
    .container {
        max-width: calc(100% - 100px);
    }
}

@media (min-width: 1160px) {
    .container {
        max-width: 1150px;
    }
}

This is because the _containers.scss file does not define container widths for $xl-media. I recommend adding a definition for $xl-media

P.S. you shouldn't close issues until they're resolved. For example, the issue about jQuery should stay open until the jQuery dependency is deprecated. That is to provide a todo-list to you and your contributors and to prevent other people from accidentally opening an issue about the same thing.

Move away from jQuery

Because butterCake identifies as a lightweight framework, it makes sense to ship vanilla JS scripts without jQuery dependency

Removing jQuery would also make Butter Cake easier to use with front-end frameworks such as react

Different offsets at different breakpoints

Hi,

Is there a way to have no offset on mobile and also have an offset on desktop?

<!-- 
With this code the offset-2 is always applied 
I want the offset to only be applied when col-md-8 applies
-->
<div class="col-12 col-md-8 offset-2">

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.