Comments (29)
I am using Tufte CSS — and Tufte-LaTeX — on my site Secretary of Foreign Relations (Github repo). Each page on that site exists as both a web page and as a PDF file in the Tufte Handout class, both generated from the same markup with Pollen.
To see the markup used by Pollen to generate each page (except for the main page), you can click the “◊Pollen source” link at the top (example). Pollen is really nice in that it allows you to design your own markup and target any text-sourced format. So even though the HTML markup in Tufte CSS is a bit fiddly, it becomes quite easy to use in practice: e.g., ◊numbered-note{Sidenote text}
will generate all the markup for a side-note.
In addition, Pollen is used to stitch individual pages together into a complete print-ready PDF of the book ‘Flatland’, also in Tufte style.
I’m using the latest version of Tufte CSS with no real changes; I’ve kept any CSS of my own in a separate stylesheet.
from tufte-css.
I created a Jekyll theme that implements Tufte CSS! It's AMP-compliant too, so it's super fast. Check it out: Immaculate.
from tufte-css.
I've got an interesting combination with bootstrap that i'm using in a project page: http://frostbitten.github.io/ByeBox/
from tufte-css.
Using it for my blog at markbucciarelli.com. Very happy with the work, thanks! (I am using it with code wrapping pull request.)
from tufte-css.
I have adopted TufteCSS for my site and love it. So far, tweaks were neither needed nor done (to the main page and a few others) and I've used the framework as is. Great work!
from tufte-css.
I'm using TufteCSS for my personal site through a project I created called ox-tufte that exports Emacs' Org-mode documents in HTML compatible with TufteCSS.
from tufte-css.
I created a project named tufte-markdown so you can simply write your articles with Markdown, then you can convert them to beautiful HTML and PDF articles using Tufte's style.
You can find out how it is on tufte-markdown.
from tufte-css.
I'm attempting to build a Tufte CSS layout using Bootstrap 4.
https://github.com/dylan-k/tufte-bootstrap
Contributors welcome.
I took a look at your bug in the inspector tools & couldn't figure out what was pushing the paragraph down. The original Tufte CSS uses a right float to accomplish the sidenotes & marginnotes. Your solution is more elegant — I hope you are able to fix it!
from tufte-css.
I used TufteCSS here: gwydion.uk.
I made a very few CSS changes (all in index.html), including tightening up the sidenote leading and padding the top to re-align baselines (see #29). Other changes were to integrate Lightbox, and hence to avoid bottom borders on linked images. I also bodged an alternate caption style, as (to my eye) the sidebar-inclined caption looked odd with photos rather than figures.
What I'm less certain about is whether this is the sort of page for which TufteCSS is really appropriate. It's certainly bending the intended use case. However, there's an in-joke element to my using it here, so it works for the intended audience… it's just that the intended audience is modest!
from tufte-css.
Congratulations @jjsanderson! I admit I had not thought of a birth announcement as a use case, but it's quite nice.
from tufte-css.
Thanks! Yes, it's an odd use case. You're welcome to add it to the docs as an example, of course, though it's rather far from the intended type of document.
from tufte-css.
I use it on a little blog-ish thing I started a few weeks ago. People that read what I write there have liked it! That said, it's pretty much a personal project.
Off-topic, but I made that site about three weeks ago (October 22~ ish). Has there been any significant updates to Tufte CSS since then that I should know about?
Update: Don't use that project anymore, so I removed the link.
from tufte-css.
@sotojuan nice! I too prefer Palatino over Bembo. 👍
from tufte-css.
@jjsanderson I love that you added the open graph stuff!
from tufte-css.
@mandaris Hah! You know, I'd forgotten I'd done that. I may be against carpet-bombing baby photos all over Facebook, but in this case Facebook was pretty much the intended audience. So… yeah, opengraph. :-)
from tufte-css.
@otherjoel Very nice stuff. Thanks for sharing!
from tufte-css.
I've also made a fork that compartmentalizes the tufte-css format so I can create modular content blocks like so:
I just prefixed all the css selectors with a custom identifier .tufte-body
Another iteration:
This one incorporates customized form elements:
from tufte-css.
I used it for Ranked Situational Fury, which is mostly lists of words, their definitions, and the sources of their definitions.
from tufte-css.
I have started to write a new blog with Tufte CSS. I really like how it looks. I had previously done my own CSS for another site which came pretty close to Tufte CSS so I figured I could just use Tufte instead of porting the old code to the new static site generator.
I'm using Lekor now which IMO has fixed some of the issues of all the previous static site generators (like hexo etc.).
One thing I noticed is that there isn't any print media CSS. Would that be something you could add?
from tufte-css.
@steckerhalter There actually used to be some basic print media CSS back in the beginning. I'm not sure if it got removed in the big upgrade last ~June/July or if it was earlier than that, but the reason was a lack of desire to QA an entirely different use case. I suggest checking the commit history from way back. Cheers!
from tufte-css.
@siawyoung (and @clayh53 ) have partially beaten me to it, but I've also compiled a wee Jekyll theme. It tries to stick as close to tufte-css as possible. https://github.com/sdruskat/tufte-css-jekyll.
from tufte-css.
I use Tufte CSS in mplewis.com (source code).
from tufte-css.
It's a work in progress, but I'm using my own adaptation of Tufte CSS at mercury.photo. I'll be posting an article on how to use the margin-note and side-note Wordpress shortcodes I created to speed up my workflow later; I'll link to it when it's ready.
from tufte-css.
I've just finished rebuilding my personal website to use tufte-css:
I wrote up my learnings and tools used to generate my website from markdown using Pandoc, Pandocomatic, pandoc-sidenote, and tufte-pandoc-css:
https://jasonpeacock.com/projects/markdown-websites/
Everything is available in my repo:
https://github.com/jasonpeacock/websites/tree/master/jasonpeacock.markdown
from tufte-css.
I'm attempting to build a Tufte CSS layout using Bootstrap 4.
https://github.com/dylan-k/tufte-bootstrap
Contributors welcome.
from tufte-css.
I recently rebuilt my site with Tufte CSS by shoehorning it into Jekyll, using it as-is. Major points are:
- Blends well with MathJax.
- Simple horizontal nav added to the top of each page.
- Homepage lists the 5 most recent posts.
- The Archives page includes permalinks to all posts in reverse chronological order.
- Each posting is written in html markup, with Jekyll wrapping each post in an
<article>
tag. - Feasibility of using Markdown for posts with the theme is uncertain.
from tufte-css.
Hey folks, after a long time collecting uses of Tufte CSS here, I decided to move things to the wiki, where it fits a bit better. I think I copied everything over; if I missed something, please feel free to edit the wiki yourself.
Thanks for sharing :)
from tufte-css.
I have a somewhat unconventional use for Tufte CSS on my small site for palindromes I've written in Finnish: palindromi.fi
from tufte-css.
Another site I just took Tufte CSS into use in is etätunnit.taiteilijat.fi (so far only in Finnish) which contains guides for using the Zoom video conferencing app for remote music instrument lessons, and configuring its unique ability to get good sound quality for music instead of optimizing for speech.
from tufte-css.
Related Issues (20)
- No styling for table elements anymore? HOT 1
- Tables are all black HOT 2
- navbar support/advice? HOT 1
- links look weird when highlighted HOT 2
- tufte.css and tufte.min.css have different update dates HOT 1
- Inconsistent spacing due to inline labels as sidenote numbers HOT 1
- dark mode HOT 4
- Sidenotes on list items are misaligned
- Lists in sidenotes have body-sized fonts.
- Figcaption text overlays the image on fullwidth iframe-wrapper
- Apply section style to header and footer elements, too
- Embedding superscripts breaks line height.
- Anything in the margin disappears with narrow browser window HOT 2
- Sidenote indexing HOT 8
- .margin-toggle:checked + .sidenote ... {vertical-align: ...}
- Underlines missing at certain zoom levels HOT 8
- sidenote becomes footnote
- Using srcset inside fullwidth figure renders an image that is not full width
- Darkmode background is too dark HOT 2
- Does tufte-css play nicely with screen readers? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tufte-css.