Giter Club home page Giter Club logo

doodlecss's Introduction

Doodle CSS is a simple hand drawn HTML/CSS theme.

Doodle CSS screenshot

Demo and more HTML elements.

How to use it

The main stylesheet is doodle.css.

<link rel="stylesheet" href="doodle.css">

Then add the class doodle to the top level element you want to apply the theme to:

<body class="doodle">...</body>

Load the Short Stack web font:

<style>
@import url('https://fonts.googleapis.com/css2?family=Short+Stack&display=swap');
body {
  font-family: 'Short Stack', cursive;
}
</style>

There's also an npm installable version:

npm install doodle.css

The npm package can be imported with:

import 'doodle.css/doodle.css'

There are are bunch of other vectors you can use in doodles.svg.

You can also put a doodle box around anything using the class .doodle .border or .doodle-border.

Who

By Chris McCormick (@mccrmx).

See the demo for thanks and resources used.

doodlecss's People

Contributors

adorianm avatar artemixed avatar chr15m avatar o-t-w avatar querkmachine avatar realzzz1874 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  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  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  avatar

doodlecss's Issues

introduce some variation

Hey! Saw your post on Reddit and really like this project.

While scrolling through the demo page, I immediately got an idea that could be a nice addition. Currently, when there are multiple elements of the same type next to each other, the "hand-drawn" illusion kind of disappears, because their squiggly outlines look exactly the same.

I didn't take a look at the source code yet but maybe something like this could achieve what I'm talking about:

.outline:nth-of-type(4n) {
	/* style for squiggly line */
}

.outline:nth-of-type(4n+1) {
	/* style for slightly different squiggly line */
}

/*
	and so on...
*/

iOS Overwrites

Some of the intended css is overwritten in iOS.

image
image
image

Hope this is the right place for this. Love your work!

License?

Very nice. What is the license for this?

HTML headers not included in style sheet

image
Would it perhaps be a possible to add this to the doodle.css?
It'd be as simple as:

.doodle h1 {
  font-family: 'Short Stack', cursive;
  color: #3c3c3c;
}

thanks in advance! ⚡

Fix/add focus styling

Hi. I maintain a list of CSS frameworks and there is a PR to add DoodleCSS.

While checking out your project, I noticed that the focus styling is a little lacking on some elements.

  • Text inputs have an additional border around the doodle border. It might make sense to think about combining them into a single border. The doodle border could be blue, for example.

  • Some elements like radio buttons and checkboxes do not have a focus styling at all.

Also note that empty paragraphs (e.g. within the fieldset) are not a good way to add vertical spacing.

Gravity Forms

Hey - I was trying to figure out how to add this style to a Gravity Form in Wordpress. I've added the CSS style to the custom CSS, loaded the font through the theme font manager, and have added the class name to the form. Thanks!

Secondary development request

Hey, guys, thanks� for you created this creative project, It's incredible, I used it in my blog in my and so many side projects.

I love it, But as I use it, I have my own ideas and requirements, such as I prefer white background, I created a modal component, so I had got to override it. so I hope to do a secondary development based on it and release it, would like your permission

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.