A Note Layout
Kind of a rite of passage to do a notebook layout, I think. Yeah, I used to run a studyblr...
I kind of pictured this as a sort of long-scrolling, single column 'blog' layout?
Resources:
- Header Font is Lodrina Solid
- Body Font is Sara Linsley's Pretzel
- CSS tape comes from Suzanne Aitchison
- Images for the writing utensils were all found on Pixabay:
A bit simple, but its cute. Feel free to snatch the code and run and edit to your heart's content!
Code Notes
You can find the HTML code here, and the CSS here!
Some warnings: Getting the text to align with the lined paper might be tricky with some non <p> elements, especially with lists. It's mostly OK, but you may have to hard-code some margins in the html (see the <ul> elements above.)
It will also be annoying to include images on the lined paper. But you just need to ensure that you give the image a height that is a multiple of 30px.
It should be easy to change the colors/tape patterns/fonts with the CSS variables! Make sure you host your custom font and link to it properly on your website!
Heading 1
And now, it's time for some demo text!
Bolded text gets highlighted! Italicized text gets underlined!
Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi.
Nam eget dui. Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem.
Maecenas nec odio et ante tincidunt tempus. Donec vitae sapien ut libero venenatis faucibus. Nullam quis ante. Etiam sit amet orci eget eros faucibus tincidunt. Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc.
Heading 2!
- Morbi in sem quis dui placerat ornare. Pellentesque odio nisi, euismod in, pharetra a, ultricies in, diam. Sed arcu. Cras consequat.
- Praesent dapibus, neque id cursus faucibus, tortor neque egestas augue, eu vulputate magna eros eu erat. Aliquam erat volutpat. Nam dui mi, tincidunt quis, accumsan porttitor, facilisis luctus, metus.
- Phasellus ultrices nulla quis nibh. Quisque a lectus. Donec consectetuer ligula vulputate sem tristique cursus. Nam nulla quam, gravida non, commodo a, sodales sit amet, nisi.
- Pellentesque fermentum dolor. Aliquam quam lectus, facilisis auctor, ultrices ut, elementum vulputate, nunc.
Heading 3!
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.