Code Monkey home page Code Monkey logo

oatcake's Introduction

oatcake's People

Contributors

dependabot[bot] avatar seanh avatar

Watchers

 avatar  avatar

oatcake's Issues

Add optional rounded image corners

Probably using a CSS class "rounded". Using the same radius as the rounded corners on preformatted text boxes and notes.

Might also apply to some other elements: videos? iframes?

Remove styling of nested `<kbd>`'s

Trying to show the nesting of <kbd>'s visually doesn't work very well: there isn't enough space so it ends up looking bad. I think it's going to work better if nested <kbd>'s just look the same as a sequence of non-nested <kbd>'s, allow the nesting to be for semantic purposes only (plus it also disallows line-wrapping within the <kbd>). Should give more space for <kbd>'s to have a bit more padding and border and/or a larger font.

Style `<details>` and `<summary>` elements

It's hard to see where the contents of an expanded <details> element begin and end. These are easily improved with a background color and maybe some border and border radius. Or alternatively just a border, no background color. Background color is tough because <pre>'s and notes need to work inside <details> and <details> needs to work inside notes so all three need to have different but compatible background colors. So just a border might be easier.

It's also possible to put some vertical space between the <summary> (if present) and the rest of <details> content only when the <details> is open with a rule like details[open] summary { margin-bottom: var(--body-line-height); }.

Add fancy footnotes

There may already exist a drop-in JavaScript library for this, rather than it being a CSS thing.

Style `<abbr>`

Bootstrap adds a dotted underline to these (in all browsers?) and changes the cursor style.

If this is done then <abbr> should be added to the examples of inline styles in headings, figcaptions, lead paragraphs, and secondary text.

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.